joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4113ab
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x44c4bb
call fcn.0043dcde
mov edi, dword [ebp + 8]
mov ebx, ecx
call fcn.0041099b
call fcn.004150af
push eax
lea ecx, [ebp - 0x94]
call fcn.0041200d
xor esi, esi
mov dword [ebp - 4], esi
call fcn.004150b5
mov ecx, eax
call fcn.00411a59
test al, al
je 0x4114f3
push edi
lea ecx, [ebp - 0x94]
call fcn.00411ae5
push esi
push 0x80
push 3
push esi
push 1
push Ordinal_4
lea ecx, [ebp - 0x94]
call fcn.004118d8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push esi
cmp eax, 0xffffffff
jne 0x41144f
push str.Error_opening_file
mov ecx, ebx
call fcn.00410b71
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0041192e
mov al, bl
call fcn.0043dd28
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x411464
push esi
push str.File_is_empty
jmp 0x41142d
cmp edi, 0x400000
jbe 0x411474
push esi
push 0x44f6d4
jmp 0x41142d
push edi
mov dword [ebp - 0x2cc], esi
call fcn.0043b998
pop ecx
push esi
lea ecx, [ebp - 0x2cc]
push ecx
push edi
push eax
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2c8], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], edi
je 0x4114cf
push dword [ebp - 0x2c8]
call fcn.0043ce7b
pop ecx
mov ecx, ebx
call fcn.0041099b
push esi
push str.Could_not_read_file
jmp 0x41142d
push dword [ebp + 0xc]
mov ecx, ebx
push edi
push dword [ebp - 0x2c8]
call fcn.00411258
push dword [ebp - 0x2c8]
mov bl, al
call fcn.0043ce7b
pop ecx
jmp 0x411436
call fcn.004150b5
push eax
lea ecx, [ebp - 0x94]
call fcn.00411ac8
call fcn.004150bb
test al, al
je 0x411514
call fcn.004150c1
jmp 0x41152b
push 2
push esi
lea ecx, [ebp - 0x94]
call fcn.004118d8
push eax
call fcn.00427d74
add esp, 0xc
mov dword [ebp - 0x2c8], eax
cmp eax, esi
jne 0x411540
push esi
push str.Error_opening_zip_file
jmp 0x41142d
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d0]
push eax
push 1
push edi
push dword [ebp - 0x2c8]
call fcn.0042648c
add esp, 0x14
test eax, eax
je 0x41156e
push esi
push str.Could_not_find_ziped_file
jmp 0x41142d
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x2cc], eax
cmp eax, esi
je 0x41145c
cmp eax, 0x400000
ja 0x41146c
push eax
call fcn.0043b998
push 3
push dword [ebp - 0x2cc]
mov edi, eax
push edi
push dword [ebp - 0x2d0]
push dword [ebp - 0x2c8]
call fcn.00427dd2
add esp, 0x18
cmp eax, esi
je 0x4115e4
cmp eax, 0x600
je 0x4115e4
push edi
call fcn.0043ce7b
pop ecx
call fcn.004150bb
test al, al
jne 0x4115d9
push dword [ebp - 0x2c8]
call fcn.00427e0a
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x41142d
call fcn.004150bb
test al, al
jne 0x4115f9
push dword [ebp - 0x2c8]
call fcn.00427e0a
pop ecx
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp - 0x2cc]
push edi
call fcn.00411258
push edi
jmp 0x4114e6
Function at 0x4133fe
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3b4], ebx
je 0x413466
cmp dword [ebp + 8], 0x100
jne 0x413455
cmp word [ebp + 0xc], 0xd
jne 0x413455
cmp byte [esi + 0x3be], bl
je 0x41343c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x413455
cmp byte [esi + 0x3bf], bl
jne 0x413455
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x413451
push ebx
push ebx
push ebx
push str.return
push esi
call fcn.00416356
xor eax, eax
jmp 0x413469
mov eax, dword [esi + 0x3b4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x4148d5
Capabilities:
Create process on windows

Disassembly:
push 0x124
mov eax, 0x44c5da
call fcn.0043dcde
cmp dword [ebp + 8], 0x701
mov edi, dword [ebp + 0xc]
mov esi, ecx
jne 0x41492f
lea eax, [ebp - 0x128]
push eax
call fcn.00412f11
mov eax, dword [edi + 0x18]
add eax, dword [ebp - 0x124]
mov ecx, esi
mov dword [ebp - 0x11c], eax
mov eax, dword [edi + 0x14]
add eax, dword [ebp - 0x128]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x128]
push eax
call fcn.00412dd7
jmp 0x4149ec
cmp dword [ebp + 8], 0x70b
jne 0x4149dd
cmp dword [edi + 0xc], 0x201
jne 0x4149ec
lea ecx, [ebp - 0x94]
call fcn.00411906
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x130]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00413203
mov ecx, dword [esi + 4]
add edi, 0x18
push edi
call fcn.0041321e
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x118]
push eax
call fcn.0041328b
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.00411a92
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], bl
call fcn.0041192e
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x130]
push eax
call fcn.0041321e
push 1
push ebx
push ebx
lea ecx, [ebp - 0x94]
call fcn.004118d8
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0041192e
jmp 0x4149ec
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push edi
push dword [ebp + 8]
call dword [eax + 0x1b0]
xor eax, eax
call fcn.0043dd28
ret 8

Function at 0x414d7b
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
jns 0x414d91
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x414d9d
or edi, 1
push 1
call esi
test ax, ax
jns 0x414da9
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x414db5
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x414dc1
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x414e1c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x45fbf0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x118]
push eax
mov esi, ecx
mov dword [ebp - 0x118], 0x114
call edi
test eax, eax
je 0x414f9c
push ebx
push 2
pop ebx
xor ecx, ecx
cmp dword [ebp - 0x108], ebx
jne 0x414f4d
cmp dword [ebp - 0x114], 5
jne 0x414ee0
cmp dword [ebp - 0x110], ecx
jne 0x414e83
mov dword [esi + 8], 7
jmp 0x414f9b
cmp dword [ebp - 0x110], 1
jne 0x414e98
mov dword [esi + 8], 8
jmp 0x414f9b
cmp dword [ebp - 0x110], ebx
jne 0x414f98
lea eax, [ebp - 0x234]
push eax
mov dword [ebp - 0x234], 0x11c
call edi
cmp byte [ebp - 0x11a], 3
je 0x414ed4
cmp byte [ebp - 0x11a], bl
je 0x414ed4
mov dword [esi + 8], 9
jmp 0x414f9b
mov dword [esi + 8], 0xa
jmp 0x414f9b
push 6
pop eax
cmp dword [ebp - 0x114], eax
jne 0x414f44
cmp dword [ebp - 0x110], ecx
jne 0x414f29
lea eax, [ebp - 0x234]
push eax
mov dword [ebp - 0x234], 0x11c
call edi
cmp byte [ebp - 0x11a], 3
je 0x414f20
cmp byte [ebp - 0x11a], bl
je 0x414f20
mov dword [esi + 8], 0xb
jmp 0x414f9b
mov dword [esi + 8], 0xc
jmp 0x414f9b
cmp dword [ebp - 0x110], 1
jne 0x414f98
mov ecx, esi
call fcn.00414dd3
neg eax
sbb eax, eax
neg eax
add eax, 0xd
jmp 0x414f93
cmp dword [ebp - 0x114], 4
jmp 0x414f91
xor eax, eax
inc eax
cmp dword [ebp - 0x108], eax
jne 0x414f8b
push 4
pop eax
cmp dword [ebp - 0x114], eax
jne 0x414f98
cmp dword [ebp - 0x110], ecx
jne 0x414f70
mov dword [esi + 8], ebx
jmp 0x414f9b
cmp dword [ebp - 0x110], 0xa
jne 0x414f82
mov dword [esi + 8], 3
jmp 0x414f9b
cmp dword [ebp - 0x110], 0x5a
jmp 0x414f91
cmp dword [ebp - 0x108], ecx
jne 0x414f98
mov dword [esi + 8], eax
jmp 0x414f9b
mov dword [esi + 8], ecx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043bc52
leave
ret
Function at 0x41685b
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 0x416880
cmp ebx, dword [esi + 0x54]
je 0x416880
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x416942
push edi
test eax, eax
je 0x4168d3
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 + 0x100]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.00416356
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x416941
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x416941
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc0]
test al, al
je 0x416941
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xcc]
test al, al
je 0x416941
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 + 0x100]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.00416356
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x416b45
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xd0]
xor ebx, ebx
call fcn.00411c84
test eax, eax
jle 0x416b9a
push ebx
lea ecx, [esi + 0xd0]
mov byte [ebp - 1], 0
call fcn.004118f7
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 0x416bfb
lea ecx, [esi + 0xd0]
inc ebx
call fcn.00411c84
cmp ebx, eax
jl 0x416b61
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x416c54
sub eax, 4
je 0x416bff
dec eax
dec eax
jne 0x416c4b
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.0043f481
pop ecx
mov ecx, dword [esi + 0x50]
push 0x8000000a
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x415e95
call dword [eax + 0xf4]
mov esi, eax
test esi, esi
je 0x416c4b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x416c4d
cmp dword [esi + 0x54], 0
je 0x416c4b
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.00414d7b
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 + 0x100]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x416c4b
cmp dword [esi + 0x54], 0
je 0x416ca3
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc0]
test al, al
je 0x416ca3
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xcc]
test al, al
je 0x416ca3
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.0043dd65
pop ecx
pop ecx
test eax, eax
je 0x416ca3
mov ecx, dword [esi + 0x54]
call fcn.00413043
test al, al
jne 0x416c4b
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call fcn.004169f3
jmp 0x416bfb
Function at 0x418185
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x45fbf0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
push 0xfffffffffffffff0
push dword [esi]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x48], eax
push 0x20
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x4181e5
lea eax, [ebp - 0x44]
push str.UIActiveX
push eax
call fcn.0043d354
pop ecx
pop ecx
test eax, eax
jne 0x4181e5
cmp dword [esi + 4], 0x204
jne 0x4181e5
mov al, 1
jmp 0x418245
push ebx
push edi
mov edi, 0x46117c
mov ecx, edi
xor ebx, ebx
call fcn.00411c84
test eax, eax
jle 0x418241
push ebx
mov ecx, edi
call fcn.004118f7
mov ecx, eax
call fcn.004118d8
cmp dword [esi], eax
je 0x41821f
call fcn.004118d8
cmp dword [ebp - 0x4c], eax
jne 0x418235
test dword [ebp - 0x48], 0x40000000
je 0x418235
lea eax, [ebp - 0x48]
push eax
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call fcn.00416b45
test al, al
jne 0x418252
mov ecx, edi
inc ebx
call fcn.00411c84
cmp ebx, eax
jl 0x4181f9
xor al, al
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043bc52
leave
ret
mov al, 1
jmp 0x418243

Function at 0x41ab9d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x45fbf0]
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 0x41ac0e
cmp dword [esi + 0x10], ebx
je 0x41ac0e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0043f770
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x41ac0e
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, 0x134
call fcn.00411ab1
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.00416356
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc52
leave
ret 0x10
Function at 0x424fe8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x424ff6
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x4250b1
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 + 0x453430]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x453430]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x453430]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x453430]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x453430]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x453430]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x453430]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x453430]
add edx, 8
sub edi, 8
dec esi
jne 0x425014
pop ebx
test edi, edi
je 0x4250ca
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x453430]
inc edx
dec edi
jne 0x4250b5
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x425577
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 0x4255ab
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 0x4255a6
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4255d3
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x4255bc
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0043d530
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 0x4263d6
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x45fbf0]
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 0x42647e
movzx ecx, word [esi]
test cx, cx
je 0x42647e
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x426411
cmp cx, 0x5c
jne 0x426413
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x426405
cmp eax, esi
je 0x426452
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0043d392
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.004263d6
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0043ddf6
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0043ddc5
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.0043bc52
leave
ret
Function at 0x4279ab
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x427a26
cmp dword [esi + 4], 0xffffffff
jne 0x427a26
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4580e8
push edi
call fcn.0043ddc5
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x4279f8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4279f8
mov eax, 0x2000000
jmp 0x427a2b
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00425384
add esp, 0x10
test eax, eax
jne 0x427a16
mov eax, dword [ebp + 0x10]
jmp 0x427a2b
push eax
call fcn.0042759a
mov dword [esi], eax
mov eax, dword [0x4612a4]
pop ecx
jmp 0x427a2b
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x437fe9
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 0x43800e
cmp eax, edi
jge 0x438006
mov eax, esi
call fcn.004379a7
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edi, dword [esi + 8]
xor ecx, ecx
test edi, edi
jle 0x43803b
mov eax, dword [esi + 0xc]
push ebx
mov dl, byte [esi + 0xc]
sub edi, 8
mov byte [ebp + ecx - 4], dl
shr eax, 8
mov ebx, edi
inc ecx
mov dword [esi + 0xc], eax
test ebx, ebx
jg 0x43801b
mov dword [esi + 8], ebx
pop ebx
cmp ecx, 4
jge 0x43805a
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x438048
xor eax, eax
jmp 0x438050
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 0x43803e
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 0x43808c
mov eax, str.zlib_corrupt
call fcn.004356b4
jmp 0x4380c7
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x43809c
mov eax, str.read_past_buffer
jmp 0x438085
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x4380b1
mov ecx, edi
call fcn.004379dd
test eax, eax
je 0x4380c7
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0043d530
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 0x43bc52
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45fbf0]
jne 0x43bc5c
repz ret
jmp fcn.0044142a
Function at 0x4476b2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45fbf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004420e7
and dword [ebp - 0x14], 0
cmp dword [0x4622a0], 0
mov dword [ebp - 0x18], eax
jne 0x447765
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x44780d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x44780d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4622a0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4622a4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4622a8], eax
call edi
push eax
call esi
mov dword [0x4622b0], eax
test eax, eax
je 0x447765
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4622ac], eax
mov eax, dword [0x4622ac]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4477be
cmp dword [0x4622b0], ecx
je 0x4477be
push eax
call esi
push dword [0x4622b0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4477be
test ebx, ebx
je 0x4477be
call edi
test eax, eax
je 0x4477b5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4477b5
test byte [ebp - 8], 1
jne 0x4477be
or dword [ebp + 0x10], 0x200000
jmp 0x4477f1
mov eax, dword [0x4622a4]
cmp eax, dword [ebp - 0x18]
je 0x4477f1
push eax
call esi
test eax, eax
je 0x4477f1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4477f1
mov eax, dword [0x4622a8]
cmp eax, dword [ebp - 0x18]
je 0x4477f1
push eax
call esi
test eax, eax
je 0x4477f1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4622a0]
call esi
test eax, eax
je 0x44780d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x44780f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043bc52
leave
ret