joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e051
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a4]
sub esp, 0x224
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0x1a0], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea ecx, [ebp - 0x78]
push ecx
xor eax, eax
xor ebx, ebx
inc ebx
push ebx
push eax
push str.SOFTWAREMicrosoft.NETFrameworkpolicy_v2.0
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
call esi
test eax, eax
jne 0x41e0a6
push dword [ebp - 0x78]
mov dword [ebp - 0x70], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x80]
push eax
push ebx
push 0
push str.SOFTWAREMicrosoft.NETFrameworkpolicy_v2.0.50727
push edi
call esi
test eax, eax
jne 0x41e0c5
push dword [ebp - 0x80]
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0x70], eax
jne 0x41e0d1
cmp dword [ebp - 0x6c], eax
je 0x41e13b
lea ecx, [ebp - 0x70]
push ecx
push ebx
push eax
push str.SOFTWAREMicrosoft.NETFramework_
push edi
call esi
test eax, eax
jne 0x41e13b
xor esi, esi
push 0x206
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push esi
push eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x7c], 0x104
call fcn.00450fd0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push str.InstallRoot
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41e132
cmp dword [ebp - 0x6c], ebx
jne 0x41e132
cmp word [ebp - 0x68], si
je 0x41e132
mov dword [ebp - 0x74], ebx
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x1a0]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044bafb
add ebp, 0x1a4
leave
ret
Function at 0x41e156
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0x1c
mov eax, 0x46adbb
call fcn.00450ec5
lea eax, [ebp + 8]
xor ebx, ebx
push eax
mov ecx, 0x478d3c
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00404069
test eax, eax
je 0x41e252
call fcn.0041e051
test eax, eax
je 0x41e252
lea eax, [ebp - 0x10]
push eax
push 3
push ebx
push str.SOFTWAREMicrosoft.NETFramework_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x24], eax
cmp eax, ebx
jne 0x41e1ef
push 4
pop edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
mov esi, str.NoGuiFromShim
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x14], ebx
jne 0x41e1ef
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
push edi
push ebx
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8003
call esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov edi, esp
call fcn.004021fc
add eax, 0x10
mov dword [edi], eax
call fcn.0041df36
pop ecx
cmp eax, ebx
je 0x41e22c
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x20]
call esi
cmp dword [ebp - 0x24], ebx
jne 0x41e252
cmp dword [ebp - 0x14], ebx
jne 0x41e249
push str.NoGuiFromShim
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004026f8
mov eax, dword [ebp - 0x1c]
call fcn.00450f9d
ret
Function at 0x41e9a3
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x3f90]
mov eax, 0x4010
call fcn.00453650
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0x3f8c], eax
xor eax, eax
push 0x3ffe
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.00450fd0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x41ea3e
lea ecx, [ebp - 0x74]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41ea3e
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x478d68
lea eax, [ebp - 0x74]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41ea3e
mov eax, dword [ebp - 0x78]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
mov eax, edi
call fcn.004044d7
xor eax, eax
add esp, 0x14
inc eax
jmp 0x41ea40
xor eax, eax
mov ecx, dword [ebp + 0x3f8c]
xor ecx, ebp
call fcn.0044bafb
add ebp, 0x3f90
leave
ret

Function at 0x41eb81
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
lea eax, [ebp - 0x20c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [ebp + eax*2 - 0x20e], 0x5c
je 0x41ebca
push 0x478d68
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.00402676
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.0044bafb
leave
ret
Function at 0x420f8a
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x46e227
call fcn.00450ec5
mov edi, ecx
mov eax, dword [ebp + 8]
sub eax, 0x111
push 1
pop ebx
je 0x421079
sub eax, 0x7f53
je 0x42104e
dec eax
je 0x421028
dec eax
je 0x421018
dec eax
je 0x420ffe
sub eax, 0x155
je 0x420fdf
sub eax, 0x604
jne 0x421166
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
call fcn.00423135
jmp 0x421161
mov dword [edi + 0x394], ebx
call fcn.004225b3
mov eax, edi
call fcn.004230b9
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x421161
xor esi, esi
push esi
push esi
push 0x8064
call fcn.004271ee
push esi
push esi
push 0x8065
jmp 0x42115a
call fcn.0042168c
mov eax, edi
call fcn.004230b9
push ebx
push ebx
jmp 0x4210a1
mov eax, edi
call fcn.004214bc
xor eax, eax
push eax
push eax
push edi
push 0x4225a2
push eax
push eax
call fcn.0045087e
add esp, 0x18
mov dword [edi + 0x3a0], eax
jmp 0x421161
xor eax, eax
cmp dword [edi + 0x39c], eax
jne 0x421161
push eax
push eax
push edi
push 0x422594
push eax
push eax
call fcn.0045087e
add esp, 0x18
mov dword [edi + 0x39c], eax
jmp 0x421161
cmp dword [ebp + 0xc], 0x208
jne 0x421161
mov eax, dword [edi + 0x3b8]
mov byte [edi + 0x7b9], bl
cmp eax, 2
jne 0x4210ad
mov eax, edi
call fcn.004230b9
push ebx
push 0
mov ecx, edi
call fcn.00426eab
jmp 0x421161
cmp eax, ebx
jne 0x421129
mov eax, dword [edi + 0x3c0]
push ecx
sub eax, 0x10
mov dword [ebp + 0xc], esp
mov esi, esp
call fcn.004021fc
add eax, 0x10
mov dword [esi], eax
push dword [edi + 0x3bc]
call fcn.0041deea
pop ecx
pop ecx
test eax, eax
jne 0x421139
push 0x40
push ecx
mov eax, esp
mov dword [ebp + 0xc], esp
push str.Information
push eax
call fcn.00402676
and dword [ebp - 4], 0
push ecx
mov dword [ebp + 8], esp
mov esi, esp
push ecx
mov eax, esp
mov dword [ebp + 8], esp
push str.tipmsg_close
push eax
call fcn.00402676
push esi
push dword [edi + 0x384]
call fcn.0040dd02
or dword [ebp - 4], 0xffffffff
xor eax, eax
inc eax
mov ecx, edi
call fcn.00422f2b
cmp eax, ebx
je 0x421139
jmp 0x421161
cmp eax, 3
jne 0x421139
mov ecx, dword [edi + 0x380]
call fcn.0041b0d0
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [ebp + 0xc], esp
push str.closetype
call fcn.004070e1
call fcn.00413d35
push 0
push 0
push 0x81bc
mov ecx, edi
call fcn.004271ee
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
mov eax, ebx
call fcn.00450f9d
ret 0x10
Function at 0x4236d8
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x4236ee
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x4236fa
or edi, 1
push 1
call esi
test ax, ax
jge 0x423706
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x423712
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x42371e
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x42528c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x4252b1
cmp ebx, dword [esi + 0x54]
je 0x4252b1
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x425373
push edi
test eax, eax
je 0x425304
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], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.00424dc1
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x425372
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x425372
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x425372
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x425372
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x54], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.00424dc1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x425570
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xd0]
mov ecx, edi
xor ebx, ebx
call fcn.00426e75
test eax, eax
jle 0x4255bf
push ebx
mov ecx, edi
mov byte [ebp - 1], 0
call fcn.004282ac
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x425620
mov ecx, edi
inc ebx
call fcn.00426e75
cmp ebx, eax
jl 0x42558e
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x425679
sub eax, 4
je 0x425624
dec eax
dec eax
jne 0x425670
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.0044f354
pop ecx
mov ecx, dword [esi + 0x50]
push reloc.WS2_32.dll_ioctlsocket
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x424848
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x425670
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x425672
cmp dword [esi + 0x54], 0
je 0x425670
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.004236d8
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x425670
cmp dword [esi + 0x54], 0
je 0x4256c8
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4256c8
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x4256c8
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.0044c811
pop ecx
pop ecx
test eax, eax
je 0x4256c8
mov ecx, dword [esi + 0x54]
call fcn.0043727a
test al, al
jne 0x425670
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
mov ecx, esi
call fcn.00425424
jmp 0x425620
Function at 0x429e25
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x429e96
cmp dword [esi + 0x10], ebx
je 0x429e96
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.00451a70
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x429e96
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.00428459
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00424dc1
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044bafb
leave
ret 0x10
Function at 0x42f8ea
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x42f8f5
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x42f9b0
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471f50]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471f50]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471f50]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471f50]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471f50]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471f50]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471f50]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471f50]
inc edx
sub edi, 8
dec esi
jne 0x42f915
pop ebx
test edi, edi
je 0x42f9c9
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x471f50]
inc edx
dec edi
jne 0x42f9b4
pop edi
not eax
pop esi
ret

Function at 0x42fe60
Capabilities:
Read file on windows

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

Function at 0x430c59
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x486ba4]
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 0x430d03
movzx ecx, word [esi]
test cx, cx
je 0x430d03
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x430c97
cmp cx, 0x5c
jne 0x430c99
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x430c8b
cmp eax, esi
je 0x430cd7
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0044e9a2
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00430c59
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004519bd
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0045198f
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044bafb
leave
ret
Function at 0x432234
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4322af
cmp dword [esi + 4], 0xffffffff
jne 0x4322af
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x478d68
push edi
call fcn.0045198f
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x432281
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x432281
mov eax, 0x2000000
jmp 0x4322b4
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042fc76
add esp, 0x10
test eax, eax
jne 0x43229f
mov eax, dword [ebp + 0x10]
jmp 0x4322b4
push eax
call fcn.00431e30
mov dword [esi], eax
mov eax, dword [0x488fc8]
pop ecx
jmp 0x4322b4
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x437d7b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
sub esp, 0x2b4
lea ebp, [esp - 4]
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0x2b4], eax
push 0xc
mov eax, 0x46a455
call fcn.00450ec5
mov edi, dword [ebp + 0x2c0]
mov ebx, ecx
call fcn.00437364
call fcn.004238a0
push eax
lea ecx, [ebp + 0x230]
call fcn.004286ec
xor esi, esi
mov dword [ebp - 4], esi
call fcn.004238a6
mov ecx, eax
call fcn.00428405
test al, al
je 0x437edd
push edi
lea ecx, [ebp + 0x230]
call fcn.00428495
push esi
push 0x80
push 3
push esi
push 1
push connect
lea ecx, [ebp + 0x230]
call fcn.004282f7
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
push esi
cmp eax, 0xffffffff
jne 0x437e51
push str.Error_opening_file
mov ecx, ebx
call fcn.0043753a
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x230]
call fcn.004282dd
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2b4]
xor ecx, ebp
call fcn.0044bafb
add ebp, 0x2b8
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x437e66
push esi
push str.File_is_empty
jmp 0x437e12
cmp edi, 0x400000
jbe 0x437e76
push esi
push 0x4729ac
jmp 0x437e12
push edi
mov dword [ebp - 0x14], esi
call fcn.0044b6ce
pop ecx
push esi
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x437ebc
push dword [ebp - 0x10]
call fcn.0044c11c
pop ecx
mov ecx, ebx
call fcn.00437364
push esi
push str.Could_not_read_file
jmp 0x437e12
push dword [ebp + 0x2c4]
mov ecx, ebx
push edi
push dword [ebp - 0x10]
call fcn.00437c2a
push dword [ebp - 0x10]
mov bl, al
call fcn.0044c11c
pop ecx
jmp 0x437e1b
call fcn.004238a6
push eax
lea ecx, [ebp + 0x230]
call fcn.0042847b
call fcn.004238ac
test al, al
je 0x437efe
call fcn.004238b2
jmp 0x437f15
push 2
push esi
lea ecx, [ebp + 0x230]
call fcn.004282f7
push eax
call fcn.00432613
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x437f27
push esi
push str.Error_opening_zip_file
jmp 0x437e12
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push dword [ebp - 0x10]
call fcn.00430d11
add esp, 0x14
test eax, eax
je 0x437f4c
push esi
push str.Could_not_find_ziped_file
jmp 0x437e12
mov eax, dword [ebp + 0x22c]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x437e5e
cmp eax, 0x400000
ja 0x437e6e
push eax
call fcn.0044b6ce
push 3
push dword [ebp - 0x14]
mov edi, eax
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.00432670
add esp, 0x18
cmp eax, esi
je 0x437fb3
cmp eax, 0x600
je 0x437fb3
push edi
call fcn.0044c11c
pop ecx
call fcn.004238ac
test al, al
jne 0x437fa8
push dword [ebp - 0x10]
call fcn.004326aa
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x437e12
call fcn.004238ac
test al, al
jne 0x437fc5
push dword [ebp - 0x10]
call fcn.004326aa
pop ecx
push dword [ebp + 0x2c4]
mov ecx, ebx
push dword [ebp - 0x14]
push edi
call fcn.00437c2a
push edi
jmp 0x437ed0
Function at 0x4416e2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x441707
cmp eax, edi
jge 0x4416ff
mov eax, esi
call fcn.00441096
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x441729
mov al, byte [esi + 0xc]
shr dword [esi + 0xc], 8
add dword [esi + 8], 0xfffffff8
mov byte [ebp + ecx - 4], al
inc ecx
cmp dword [esi + 8], 0
jg 0x44170e
cmp ecx, 4
jge 0x441748
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x441736
xor eax, eax
jmp 0x44173e
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x44172c
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x44177a
mov eax, str.zlib_corrupt
call fcn.0043ecb3
jmp 0x4417b5
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x44178a
mov eax, str.read_past_buffer
jmp 0x441773
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x44179f
mov ecx, edi
call fcn.004410c1
test eax, eax
je 0x4417b5
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00451090
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret

Function at 0x44bafb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x486ba4]
jne 0x44bb05
repz ret
jmp fcn.00453a87
Function at 0x4634ef
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00453d0e
and dword [ebp - 4], 0
cmp dword [0x489c38], 0
mov ebx, eax
jne 0x4635a0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x463651
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x463651
push eax
call fcn.00453c9c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x489c38], eax
call esi
push eax
call fcn.00453c9c
mov dword [esp], 0x47880c
push edi
mov dword [0x489c3c], eax
call esi
push eax
call fcn.00453c9c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x489c40], eax
call esi
push eax
call fcn.00453c9c
pop ecx
mov dword [0x489c48], eax
test eax, eax
je 0x4635a0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00453c9c
pop ecx
mov dword [0x489c44], eax
mov eax, dword [0x489c44]
cmp eax, ebx
je 0x4635f8
cmp dword [0x489c48], ebx
je 0x4635f8
push eax
call fcn.00453d17
push dword [0x489c48]
mov esi, eax
call fcn.00453d17
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4635f8
test edi, edi
je 0x4635f8
call esi
test eax, eax
je 0x4635ef
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4635ef
test byte [ebp - 0xc], 1
jne 0x4635f8
or dword [ebp + 0x10], 0x200000
jmp 0x463631
mov eax, dword [0x489c3c]
cmp eax, ebx
je 0x463631
push eax
call fcn.00453d17
pop ecx
test eax, eax
je 0x463631
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x463631
mov eax, dword [0x489c40]
cmp eax, ebx
je 0x463631
push eax
call fcn.00453d17
pop ecx
test eax, eax
je 0x463631
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x489c38]
call fcn.00453d17
pop ecx
test eax, eax
je 0x463651
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x463653
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret