joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421a65
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 8]
push 2
mov ebx, 0xc4
call fcn.004495d0
add esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x421aee
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.00446c10
add esp, 0x1c
mov dword [ebp - 4], eax
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 8]
push 2
mov ebx, 0xc4
call fcn.004495d0
add esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x421b60
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.00446c10
add esp, 0x1c
mov dword [ebp - 4], eax
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 8]
push 2
mov ebx, 0xc4
call fcn.004495d0
add esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x421bd2
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.00446c10
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x421bda
mov esp, ebp
pop ebp
ret

Function at 0x425674
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
nop
nop
nop
nop
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x499aa3]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.00402524
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.00446340
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4256f8
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
push dword [ebp - 4]
push dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
mov eax, dword [ebp - 8]
test eax, eax
je 0x425738
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.004430f3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x42573d
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42574e
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4411ba
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x441407
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x441304
cmp byte [edx + edi], 0xd
jne 0x441304
cmp byte [edx + edi + 1], 0xa
je 0x44133d
mov al, byte [edx + edi]
cmp al, 0xa
je 0x44133d
cmp al, 0x3d
jne 0x441319
inc ecx
cmp ecx, 2
ja 0x441415
cmp al, 0x7f
ja 0x441415
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x441415
cmp al, 0x40
jae 0x44133c
test ecx, ecx
jne 0x441415
inc esi
inc edx
cmp edx, ebx
jb 0x4412ee
test esi, esi
je 0x441407
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x441426
cmp dword [ecx], eax
jb 0x441426
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x4413f6
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x4413f2
cmp al, 0xa
je 0x4413f2
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x4413f2
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x4413dd
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x4413ea
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x4413f2
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x44138e
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10
Function at 0x441591
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x48
push ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0xc], 0x44434241
mov dword [esp + 0x10], 0x48474645
mov dword [esp + 0x14], 0x4c4b4a49
mov dword [esp + 0x18], 0x504f4e4d
mov dword [esp + 0x1c], 0x54535251
mov dword [esp + 0x20], 0x58575655
mov dword [esp + 0x24], 0x62615a59
mov dword [esp + 0x28], 0x66656463
mov dword [esp + 0x2c], 0x6a696867
mov dword [esp + 0x30], 0x6e6d6c6b
mov dword [esp + 0x34], 0x7271706f
mov dword [esp + 0x38], 0x76757473
mov dword [esp + 0x3c], 0x7a797877
mov dword [esp + 0x40], 0x33323130
mov dword [esp + 0x44], 0x37363534
mov dword [esp + 0x48], 0x2f2b3938
test ebp, ebp
jne 0x44162a
xor eax, eax
pop ebp
add esp, 0x48
ret 0x10
lea ecx, [ebp*8]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea ecx, [ebp*8]
lea eax, [edx + edx*2]
add eax, eax
sub ecx, eax
sub ecx, 2
je 0x441658
sub ecx, 2
jne 0x44165b
add edx, 2
jmp 0x44165b
add edx, 3
push edi
mov edi, dword [esp + 0x58]
inc edx
cmp dword [edi], edx
jae 0x441672
mov dword [edi], edx
pop edi
or eax, 0xffffffff
pop ebp
add esp, 0x48
ret 0x10
mov ecx, dword [esp + 0x54]
mov eax, 0xaaaaaaab
mul ebp
shr edx, 1
push ebx
mov ebx, dword [esp + 0x60]
lea edx, [edx + edx*2]
xor eax, eax
push esi
test edx, edx
je 0x44170a
dec edx
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
shr eax, 1
inc eax
mov dword [esp + 0x10], eax
mov ebp, eax
lea eax, [eax + eax*2]
mov dword [esp + 0x14], eax
movzx edx, byte [ebx]
movzx esi, byte [ebx + 1]
movzx edi, byte [ebx + 2]
mov eax, edx
sar eax, 2
and eax, 0x3f
shl edx, 4
movzx eax, byte [esp + eax + 0x18]
mov byte [ecx], al
mov eax, esi
sar eax, 4
add eax, edx
and eax, 0x3f
add ebx, 3
movzx eax, byte [esp + eax + 0x18]
mov byte [ecx + 1], al
mov eax, edi
sar eax, 6
and edi, 0x3f
lea eax, [eax + esi*4]
and eax, 0x3f
add ecx, 4
movzx eax, byte [esp + eax + 0x18]
mov byte [ecx - 2], al
movzx eax, byte [esp + edi + 0x18]
mov byte [ecx - 1], al
dec ebp
jne 0x4416a8
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
cmp eax, ebp
jae 0x441764
movzx esi, byte [ebx]
inc eax
mov dword [esp + 0x68], eax
cmp eax, ebp
jae 0x441720
movzx edx, byte [ebx + 1]
jmp 0x441722
xor edx, edx
mov eax, esi
sar eax, 2
and eax, 0x3f
shl esi, 4
movzx eax, byte [esp + eax + 0x18]
mov byte [ecx], al
mov eax, edx
sar eax, 4
add eax, esi
and eax, 0x3f
movzx eax, byte [esp + eax + 0x18]
mov byte [ecx + 1], al
cmp dword [esp + 0x68], ebp
jae 0x441758
and edx, 0xf
mov al, byte [esp + edx*4 + 0x18]
mov byte [ecx + 2], al
jmp 0x44175c
mov byte [ecx + 2], 0x3d
add ecx, 3
inc ecx
mov byte [ecx - 1], 0x3d
mov eax, ecx
sub eax, dword [esp + 0x5c]
pop esi
mov dword [edi], eax
pop ebx
pop edi
mov byte [ecx], 0
xor eax, eax
pop ebp
add esp, 0x48
ret 0x10

Function at 0x443260
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x443284
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x20
je 0x443284
mov eax, 1
pop esi
ret 4
xor eax, eax
pop esi
ret 4
Function at 0x4433f0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44342a
lea ecx, [esp + 4]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x443430
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add esp, 0x1c
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0
push 0x10
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
push 0
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x44347c
mov ecx, dword [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add esp, 0x1c
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add esp, 0x1c
ret

Function at 0x443700
Capabilities:
Check http status code

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x443711
xor eax, eax
pop esi
pop ecx
ret 8
cmp dword [esp + 0x10], 0
ja 0x443720
mov dword [esp + 0x10], 5
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpQueryInfoA]
push ebp
mov ebp, dword [sym.imp.WININET.dll_HttpSendRequestA]
push edi
mov dword [esp + 0x10], 4
xor edi, edi
lea esp, [esp]
push 0
push 0
push 0
push 0
push esi
call ebp
test eax, eax
je 0x443788
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x20000013
push esi
mov dword [esp + 0x2c], 0
call ebx
test eax, eax
je 0x443788
mov eax, dword [esp + 0x18]
cmp eax, 0xc8
je 0x443799
cmp eax, 0xce
je 0x443799
cmp eax, 0x194
je 0x44378f
inc edi
cmp edi, dword [esp + 0x1c]
jbe 0x443740
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
pop ecx
ret 8
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret 8
Function at 0x444420
Capabilities:
Check if file exists
Copy file
Create process on windows
Delete file
Get file attributes

Disassembly:
sub esp, 0x104
mov eax, dword [0x4a23d0]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
mov esi, dword [esp + 0x10c]
push 0x100
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0x20
push 3
push 0
push 0
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x444488
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push esi
lea ecx, [esp + 0xc]
push ecx
jmp 0x4444a6
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x44449e
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x20
jne 0x4444ac
push 0
push esi
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 5
push 0
push 0
push esi
push 0x4688f8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x104]
pop esi
xor ecx, esp
call fcn.00443250
add esp, 0x104
ret 4
Function at 0x4444e0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x450
mov eax, dword [0x4a23d0]
xor eax, esp
mov dword [esp + 0x44c], eax
push ebx
mov ebx, dword [esp + 0x45c]
push ebp
mov ebp, dword [esp + 0x45c]
push esi
push edi
cmp ebx, 0x10002
ja 0x4445a5
je 0x444586
mov eax, ebx
sub eax, 0xffff
je 0x444567
sub eax, 1
je 0x44454c
sub eax, 1
jne 0x4445be
mov ecx, 8
mov esi, 0x468a2c
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x60]
movsw word es:[edi], word [esi]
push ecx
jmp 0x444651
mov ecx, 0xd
mov esi, 0x4689f4
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [esp + 0x10]
jmp 0x44464b
mov ecx, 8
mov esi, 0x4689d4
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x60]
push edx
jmp 0x444651
mov ecx, 8
mov esi, 0x4689d4
lea edi, [esp + 0x10]
lea eax, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x60]
push ecx
jmp 0x444651
cmp ebx, 0x10003
je 0x444637
cmp ebx, 0x10004
je 0x44461b
cmp ebx, 0xffffffff
je 0x4445fe
mov edx, dword [0x4689bc]
mov eax, dword [0x4689c0]
mov ecx, dword [0x4689c4]
mov dword [esp + 0x10], edx
mov edx, dword [0x4689c8]
mov dword [esp + 0x14], eax
mov eax, dword [0x4689cc]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x4689d0]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x10]
jmp 0x44464b
mov ecx, 0x12
mov esi, 0x468970
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x60]
movsb byte es:[edi], byte [esi]
push edx
jmp 0x444651
mov ecx, 8
mov esi, 0x468950
lea edi, [esp + 0x10]
lea eax, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x60]
push ecx
jmp 0x444651
mov ecx, 0xd
mov esi, 0x46891c
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x264]
push 0x46890c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
push 0x10
push 0x468900
lea eax, [esp + 0x268]
push eax
push ebp
call fcn.004440d0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00443250
add esp, 0x450
ret 8
Function at 0x4449c0
Capabilities:
Check if file exists
Copy file
Create process on windows
Get file attributes
Get file size

Disassembly:
sub esp, 0x250
mov eax, dword [0x4a23d0]
xor eax, esp
mov dword [esp + 0x24c], eax
mov eax, dword [esp + 0x25c]
mov ecx, dword [esp + 0x260]
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push ebp
push esi
mov esi, dword [esp + 0x264]
push edi
mov edi, dword [esp + 0x264]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test eax, eax
je 0x444a16
push edi
call ebp
test al, 0x20
jne 0x444a3c
push esi
call ebx
test eax, eax
je 0x444b53
push esi
call ebp
test al, 0x20
je 0x444b53
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea edx, [esp + 0x60]
push edx
call edi
jmp 0x444a5a
push esi
call ebx
test eax, eax
je 0x444a4a
push esi
call ebp
test al, 0x20
jne 0x444a54
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea eax, [esp + 0x60]
push eax
call edi
push 0
push 0
push 3
push 0
push 1
push 8
lea ecx, [esp + 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x444ac6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x6acfc0
push esi
jle 0x444ac0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
push 0x468b68
push ecx
call edi
xor eax, eax
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00443250
add esp, 0x250
ret 0x10
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40
lea edx, [esp + 0x20]
push 0
push edx
call fcn.0044b820
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x4000020
push 0
push 0
mov eax, 5
push 0
mov word [esp + 0x68], ax
push 0
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x444b3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x10]
push eax
push 0x468b3c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x444aa3
mov ecx, dword [esp + 0x10]
push 0x468b28
push ecx
call edi
mov eax, 1
jmp 0x444aa5
mov eax, dword [esp + 0x10]
push 0x468ab0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x444aa3
Function at 0x444b70
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
call fcn.004456a0
test eax, eax
jne 0x444ba9
mov ecx, dword [esp + 0x110]
push 7
push eax
mov eax, dword [esp + 0x124]
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor eax, eax
add esp, 0x10c
ret 0x10
push ebx
mov ebx, dword [esp + 0x114]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PostMessageA]
push esi
push edi
mov edi, dword [esp + 0x12c]
push 6
push 0
push edi
push ebx
call ebp
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call fcn.004457a0
mov esi, eax
test esi, esi
ja 0x444c03
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
call fcn.004456e0
push 1
push 0
push edi
push ebx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0x10
push 0
push esi
call fcn.00445770
test eax, eax
jne 0x444c37
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
call fcn.004456f0
call fcn.004456e0
push 2
push 0
push edi
push ebx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0x10
mov edx, dword [esp + 0x128]
mov eax, dword [esp + 0x124]
push edx
push eax
push esi
call fcn.00445620
test eax, eax
jne 0x444c62
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x444c62
test eax, eax
jne 0x444c9e
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0
mov dword [esp + 0x24], 5
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x444cc0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
call fcn.004456f0
call fcn.004456e0
push 3
push 0
push edi
push ebx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0x10
push 1
push esi
call fcn.00445770
test eax, eax
jne 0x444cf4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
call fcn.004456f0
call fcn.004456e0
push 4
push 0
push edi
push ebx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0x10
push esi
call fcn.004456f0
call fcn.004456e0
push 5
push 0
push edi
push ebx
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret 0x10

Function at 0x4450a0
Capabilities:
Get system information on windows

Disassembly:
lea eax, [esp - 0x24]
sub esp, 0x24
test eax, eax
je 0x4450d8
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4450ce
lea ecx, [esp]
push ecx
call eax
jmp 0x4450d8
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [esp]
cmp ax, 9
je 0x4450ee
cmp ax, 6
je 0x4450ee
xor eax, eax
add esp, 0x24
ret
mov eax, 1
add esp, 0x24
ret
Function at 0x445100
Capabilities:
Get common file path

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push 0
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x44514d
mov ecx, dword [esp]
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push 0x468c88
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
pop edi
pop esi
pop ecx
ret 4
xor eax, eax
pop ecx
ret 4

Function at 0x445400
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x445432
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x20
je 0x445432
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret 4
xor eax, eax
pop esi
ret 4

Function at 0x445440
Capabilities:
Terminate process

Disassembly:
sub esp, 0x104
mov eax, dword [0x4a23d0]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
push 0x100
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov esi, eax
push esi
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
test eax, eax
je 0x445501
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [0x4a23cc], eax
test eax, eax
je 0x4454e6
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4454e6
mov edx, dword [0x4a23cc]
push 0xfffffffffffffffa
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push esi
push 0x444030
push 5
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
push 0
push 0x468cdc
mov dword [0x4a23c8], eax
mov eax, dword [0x4a23cc]
push 0x468c90
push eax
jmp 0x4454f4
push 0
push 0x468cdc
push 0x468c90
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.0044bd4c
push esi
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, dword [esp + 0x104]
pop esi
xor ecx, esp
call fcn.00443250
add esp, 0x104
ret