joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4120b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464788
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x486350]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
cmp dword [ebx + 0x38], 0
je 0x41226f
cmp byte [ebx + 0x3d], 0
je 0x41226f
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x41210c
xor al, al
jmp 0x412271
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00411ee0
lea eax, [ebx + 0x40]
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
nop dword [eax]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
cmp edx, 0x10
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
mov ecx, dword [ecx + 0x38]
cmovae edi, ebx
cmovae esi, ebx
add eax, edi
push eax
push esi
mov edx, dword [ecx]
push dword [ebp - 0x30]
call dword [edx + 0x20]
sub eax, 0
je 0x41217b
sub eax, 1
jne 0x412244
mov edi, dword [ebp - 0x2c]
jmp 0x412182
mov edi, dword [ebp - 0x2c]
mov byte [edi + 0x3d], 0
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
cmp edx, 0x10
mov esi, dword [ebp - 0x34]
cmovae eax, ebx
sub esi, eax
je 0x4121be
push dword [edi + 0x4c]
cmp edx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, ebx
push 1
push eax
call fcn.004545ec
add esp, 0x10
cmp esi, eax
jne 0x412249
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
cmp byte [edi + 0x3d], 0
je 0x412261
test esi, esi
jne 0x412140
mov ecx, dword [ebp - 0x18]
or eax, 0xffffffff
sub eax, ecx
cmp eax, 8
jbe 0x412257
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x412257
cmp edx, esi
jae 0x41222c
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004037b0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
test esi, esi
je 0x412140
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edx, 0x10
xorps xmm0, xmm0
cmovae ecx, ebx
movq qword [ecx + eax], xmm0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x18], esi
cmovae eax, dword [ebp - 0x28]
mov byte [eax + esi], 0
jmp 0x412137
test esi, esi
jne 0x412201
cmp edx, 0x10
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x28]
cmovae eax, ebx
mov byte [eax], 0
jmp 0x412137
sub eax, 2
je 0x412261
lea ecx, [ebp - 0x28]
xor bl, bl
call fcn.00406580
mov al, bl
jmp 0x412271
push str.string_too_long
call fcn.00412b51
lea ecx, [ebp - 0x28]
mov bl, 1
call fcn.00406580
mov al, bl
jmp 0x412271
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004461e5
mov esp, ebp
pop ebp
ret
Function at 0x412430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464846
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x486350]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004461f6
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00412f56
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x34], esi
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov ecx, edi
mov eax, dword [edi + 0x20]
push 0
push 0
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.00412290
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x414e7a
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x414e9d
or esi, 1
push 1
call edi
test ax, ax
jns 0x414ea9
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x414eb5
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x414ec1
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x416265
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0xd0]
call fcn.0042278a
mov edi, dword [ebp + 8]
test eax, eax
jle 0x4162bb
push ebx
lea ecx, [esi + 0xd0]
mov byte [ebp + 0xb], 0
call fcn.0041f0e3
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x416318
lea ecx, [esi + 0xd0]
inc ebx
call fcn.0042278a
cmp ebx, eax
jl 0x416284
sub edi, 0x100
je 0x416372
sub edi, 4
je 0x41631c
dec edi
sub edi, 1
jne 0x416367
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0044e7df
pop ecx
mov ecx, dword [esi + 0x50]
lea edx, [ebp + 8]
push 0x8000000a
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x4173ab
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x416367
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x416369
cmp dword [esi + 0x54], 0
je 0x416367
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.00414e7a
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x416367
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x4163bf
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4163bf
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x4163bf
mov ecx, dword [esi + 0x54]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.00448734
pop ecx
pop ecx
test eax, eax
je 0x4163bf
mov ecx, dword [esi + 0x54]
call fcn.00423438
test al, al
jne 0x416367
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.00416db9
jmp 0x416318
Function at 0x416bb6
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx]
je 0x416bde
cmp esi, dword [ebx + 0x54]
je 0x416ca0
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [ebx + 0x54]
je 0x416ca0
cmp dword [ebx + 0x54], 0
push edi
je 0x416c31
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x54]
call fcn.00416995
mov dword [ebx + 0x54], edi
test esi, esi
je 0x416c9f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x416c9f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
test al, al
je 0x416c9f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x416c9f
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x54], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x54]
call fcn.00416995
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x420214
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x420246
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x4247a5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x4d4], edi
je 0x42480f
cmp dword [ebp + 8], 0x100
jne 0x4247fe
cmp word [ebp + 0xc], 0xd
jne 0x4247fe
cmp byte [esi + 0x4da], 0
je 0x4247e5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4247fe
cmp byte [esi + 0x4db], 0
jne 0x4247fe
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4247fa
push edi
push edi
push edi
push str.return
push esi
call fcn.00416995
xor eax, eax
jmp 0x424812
mov eax, dword [esi + 0x4d4]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x424ae9
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x486350]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x424b9f
movzx eax, word [esi]
test ax, ax
je 0x424b9f
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x424b29
cmp ax, 0x5c
jne 0x424b2b
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x424b1d
cmp edi, esi
je 0x424b72
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.0044e258
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x424baf
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00424ae9
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00450bce
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00450b9d
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004461e5
mov esp, ebp
pop ebp
ret
call fcn.00446387
int3

Function at 0x425174
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x4251f0
cmp dword [edi + 4], 0xffffffff
jne 0x4251f0
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x47b108
push esi
call fcn.00450b9d
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x4251c2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4251c2
mov eax, 0x2000000
jmp 0x4251f5
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042768f
add esp, 0x10
test eax, eax
jne 0x4251e0
mov eax, dword [ebp - 4]
jmp 0x4251f5
push eax
call fcn.00427d97
mov dword [edi], eax
mov eax, dword [0x488690]
pop ecx
jmp 0x4251f5
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42779c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x4277d0
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4277cb
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4277f7
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x4277e0
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.00449110
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x42796a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x427978
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x427a37
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46ba80]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46ba80]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46ba80]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46ba80]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46ba80]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46ba80]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46ba80]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46ba80]
sub edi, 1
jne 0x427990
pop edi
test esi, esi
je 0x427a53
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46ba80]
inc edx
sub esi, 1
jne 0x427a3b
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x42cc89
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x42ccad
cmp dword [esi + 8], edi
jge 0x42cca5
push esi
call fcn.0042af2a
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x42ccd6
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x42ccb9
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x42ccf3
mov edx, dword [esi]
cmp edx, dword [esi + 4]
jb 0x42cce1
xor eax, eax
jmp 0x42cce9
mov al, byte [edx]
inc edx
mov dword [esi], edx
movzx eax, al
mov byte [ebp + ecx + 8], al
inc ecx
cmp ecx, 4
jl 0x42ccd8
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x42cd28
push str.zlib_corrupt
call fcn.0042ade5
add esp, 4
jmp 0x42cd65
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x42cd38
push str.read_past_buffer
jmp 0x42cd1e
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x42cd4f
push edi
push esi
call fcn.0042adf4
pop ecx
pop ecx
test eax, eax
je 0x42cd65
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00449110
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x4303b7
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x46517e
call fcn.00446ba0
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.00430746
call fcn.00414cb4
push eax
lea ecx, [ebp - 0x94]
call fcn.0041eed2
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00414cba
mov ecx, eax
call fcn.0041f62c
test al, al
je 0x4304cd
push ebx
lea ecx, [ebp - 0x94]
call fcn.0041f10f
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.0041f4ce
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x43043e
push str.Error_opening_file
jmp 0x4305ae
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x430547
cmp edi, 0x400000
ja 0x430558
and dword [ebp - 0x2c8], 0
push edi
call fcn.00446463
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x4304b6
push ebx
call fcn.0044625f
pop ecx
mov ecx, esi
call fcn.00430746
push 0
push str.Could_not_read_file
jmp 0x4305ae
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004305f9
push dword [ebp - 0x2cc]
jmp 0x4305dc
call fcn.00414cba
push eax
lea ecx, [ebp - 0x94]
call fcn.0041f0f2
call fcn.00414d6a
test al, al
je 0x4304ee
call fcn.00414cc0
jmp 0x430505
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.0041f4ce
push eax
call fcn.004251fc
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x430516
push eax
push str.Error_opening_zip_file
jmp 0x4305ae
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.00424c3d
add esp, 0x14
test eax, eax
je 0x43053d
push 0
push str.Could_not_find_ziped_file
jmp 0x4305ae
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x430550
push 0
push str.File_is_empty
jmp 0x4305ae
cmp ebx, 0x400000
jbe 0x430561
push 0
push str.File_too_large
jmp 0x4305ae
push ebx
call fcn.00446463
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.004255bc
add esp, 0x18
test eax, eax
je 0x4305b9
cmp eax, 0x600
je 0x4305b9
push dword [ebp - 0x2c8]
call fcn.0044625f
pop ecx
call fcn.00414d6a
test al, al
jne 0x4305a7
push edi
call fcn.00424a97
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.0043076e
mov bl, al
jmp 0x4305e4
call fcn.00414d6a
test al, al
jne 0x4305c9
push edi
call fcn.00424a97
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.004305f9
push edi
mov bl, al
call fcn.0044625f
pop ecx
lea ecx, [ebp - 0x94]
call fcn.0041f00d
mov al, bl
call fcn.00446b5b
ret 8
Function at 0x441a32
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x486350]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x441a9f
cmp dword [esi + 0x10], 0
je 0x441a9f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00446c10
mov ebx, esp
test ebx, ebx
je 0x441a9f
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1b8
call fcn.0041f0ab
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00416995
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004461e5
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4431f3
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x465c9f
call fcn.00446ba0
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x5b8], ebx
cmp dword [edi + 4], ebx
jne 0x443285
lea eax, [ebp - 0xa8]
push eax
call fcn.00442ef4
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xa8]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0041f4ce
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.0041fd3c
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00436054
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00414a0d
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0041f62c
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.0041f00d
mov esi, 0x5a8
test bl, bl
je 0x4432c0
mov eax, dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.00446b5b
ret 4

Function at 0x45d0af
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045cf2e
Function at 0x562a43d3
Capabilities:
Set environment variable

Disassembly:
sub esp, 4
push ebx
push esi
push edi
push ebp
mov edi, dword [esp + 0x18]
test edi, edi
je 0x562a4446
push 0x3d
push edi
call sym.MSVCRT20.dll_wcschr
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x562a4446
cmp edi, ebx
je 0x562a4446
cmp word [ebx + 2], 1
sbb eax, eax
mov ecx, dword [sym.MSVCRT20.dll__wenviron]
neg eax
mov dword [esp + 0x10], eax
cmp dword [sym.MSVCRT20.dll___winitenv], ecx
jne 0x562a4420
push ecx
call fcn.562a460f
add esp, 4
mov dword [sym.MSVCRT20.dll__wenviron], eax
cmp dword [sym.MSVCRT20.dll__wenviron], 0
jne 0x562a44ac
cmp dword [esp + 0x1c], 0
je 0x562a444d
cmp dword [sym.MSVCRT20.dll__environ], 0
je 0x562a444d
call fcn.562a2c43
test eax, eax
je 0x562a44ac
mov eax, 0xffffffff
jmp 0x562a4456
cmp dword [esp + 0x10], 0
je 0x562a445e
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [sym.MSVCRT20.dll__environ], 0
jne 0x562a4485
push 4
call sym.MSVCRT20.dll_malloc
add esp, 4
mov dword [sym.MSVCRT20.dll__environ], eax
test eax, eax
je 0x562a4446
mov eax, dword [sym.MSVCRT20.dll__environ]
mov dword [eax], 0
cmp dword [sym.MSVCRT20.dll__wenviron], 0
jne 0x562a44ac
push 4
call sym.MSVCRT20.dll_malloc
add esp, 4
mov dword [sym.MSVCRT20.dll__wenviron], eax
test eax, eax
je 0x562a4446
mov eax, dword [sym.MSVCRT20.dll__wenviron]
mov dword [eax], 0
mov esi, dword [sym.MSVCRT20.dll__wenviron]
sub ebx, edi
mov eax, ebx
sar eax, 1
push eax
push edi
call fcn.562a45ae
add esp, 8
mov ebp, eax
test ebp, ebp
jl 0x562a4570
cmp dword [esi], 0
je 0x562a4570
cmp dword [esp + 0x10], 0
je 0x562a450e
lea eax, [esi + ebp*4]
cmp dword [eax], 0
je 0x562a44f2
mov ecx, dword [eax + 4]
inc ebp
mov dword [eax], ecx
add eax, 4
cmp dword [eax], 0
jne 0x562a44e4
lea eax, [ebp*4]
push eax
push esi
call fcn.562caddc
add esp, 8
test eax, eax
je 0x562a4511
mov dword [sym.MSVCRT20.dll__wenviron], eax
jmp 0x562a4511
mov dword [esi + ebp*4], edi
cmp dword [esp + 0x1c], 0
je 0x562a4569
push edi
call sym.MSVCRT20.dll_wcslen
add esp, 4
lea eax, [eax*2 + 4]
push eax
call sym.MSVCRT20.dll_malloc
add esp, 4
mov esi, eax
test esi, esi
je 0x562a4569
push edi
and bl, 0xfe
push esi
call sym.MSVCRT20.dll_wcscpy
add esp, 8
lea ecx, [ebx + esi]
cmp dword [esp + 0x10], 1
mov word [ecx], 0
lea ecx, [ecx + 2]
sbb eax, eax
and eax, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push esi
call sym.MSVCRT20.dll_free
add esp, 4
xor eax, eax
jmp 0x562a4456
cmp dword [esp + 0x10], 0
jne 0x562a45a7
test ebp, ebp
jge 0x562a457d
neg ebp
lea eax, [ebp*4 + 8]
push eax
push esi
call sym.MSVCRT20.dll_realloc
add esp, 8
test eax, eax
je 0x562a4446
lea ecx, [eax + ebp*4]
mov dword [ecx], edi
mov dword [ecx + 4], 0
jmp 0x562a4507
xor eax, eax
jmp 0x562a4456