joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f77a
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0043f92a
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x43f878
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x43f81b
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x43f85e
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x43f832
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x43f84d
test al, 0x40
je 0x43f844
mov ecx, dword [edi + 0x20]
jmp 0x43f84b
test al, 0x80
je 0x43f85e
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x43f85e
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x43f7ea
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x43fd54
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x965814], 0
jne 0x43fd77
mov eax, dword [ebp + 8]
mov dword [0x965814], eax
jmp 0x43fd81
mov eax, 1
jmp 0x43ff5d
mov dword [ebp - 4], esp
push 0x5d3cd8
call sub.KERNEL32.DLL_GetModuleHandleA
cmp dword [ebp - 4], esp
je 0x43fdaa
push 0x9b
push 0x41710e7
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x619818
push dword [ebp - 8]
call sub.KERNEL32.DLL_GetProcAddress
cmp dword [ebp - 0xc], esp
je 0x43fdd9
push 0x9b
push 0x41710e7
push 6
call fcn.004b785a
add esp, 0xc
mov dword [0x965818], eax
cmp dword [0x965818], 0
jne 0x43fdf5
mov eax, 0
jmp 0x43ff5d
mov dword [ebp - 4], esp
push 0x96581c
push 0x40
push 8
push dword [0x965818]
call sub.KERNEL32.DLL_VirtualProtect
cmp dword [ebp - 4], esp
je 0x43fe2e
push 0x11f
push 0x41710e7
push 6
call fcn.004b785a
add esp, 0xc
push reloc.OLEAUT32.dll_SysStringLen
push 0
push 0x4402db
push 1
mov ebx, 0x4b93a0
call fcn.004b7854
add esp, 0x10
mov dword [ebp - 4], eax
push 0x619824
push dword [ebp - 4]
push 0x619830
mov ecx, 3
call fcn.0040205c
add esp, 0xc
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x43fe7c
push ebx
call fcn.004b784e
add esp, 4
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [0x965820]
test ebx, ebx
je 0x43fe93
push ebx
call fcn.004b784e
add esp, 4
pop eax
mov dword [0x965820], eax
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push dword [0x965818]
push 2
mov ebx, 0x4bc1c0
call fcn.004b7854
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ebx, dword [0x965824]
test ebx, ebx
je 0x43fede
push ebx
call fcn.004b784e
add esp, 4
pop eax
mov dword [0x965824], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [0x965820]
test eax, eax
jne 0x43fef9
mov eax, 0x5d3c00
push eax
push 1
mov ebx, 0x4b7f40
call fcn.004b7854
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
push dword [ebp - 4]
mov eax, dword [0x965820]
test eax, eax
je 0x43ff26
add eax, 8
push eax
push dword [0x965818]
push 0xffffffff
call sub.KERNEL32.DLL_WriteProcessMemory
cmp dword [ebp - 8], esp
je 0x43ff53
push 0x21c
push 0x41710e7
push 6
call fcn.004b785a
add esp, 0xc
mov eax, 1
jmp 0x43ff5d
mov esp, ebp
pop ebp
ret 4
Function at 0x447748
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
call sub.USER32.dll_GetWindowTextLengthW
cmp dword [ebp - 0xc], esp
je 0x447786
push 0x19
push 0x4170f43
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x44779d
mov eax, 0x5d3c00
jmp 0x447847
inc dword [ebp - 4]
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x5d3bf8]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.004020b4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x4b99e0
call fcn.004b7854
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4477eb
push ebx
call fcn.004b784e
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00402d78
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
call sub.USER32.dll_GetWindowTextW
cmp dword [ebp - 0x10], esp
je 0x447828
push 0x136
push 0x4170f43
push 6
call fcn.004b785a
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x447842
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004b7848
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x447847
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x447858
push ebx
call fcn.004b784e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4504b8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
call sub.USER32.dll_GetWindowTextLengthA
cmp dword [ebp - 0xc], esp
je 0x4504f6
push 0x19
push 0x4170275
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x4b9450
call fcn.004b7854
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x45052c
push ebx
call fcn.004b784e
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x5d3c50]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], esp
fld qword [ebp - 0x18]
call fcn.004020b4
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call sub.USER32.dll_GetWindowTextA
cmp dword [ebp - 0x1c], esp
je 0x450575
push 0x88
push 0x4170275
push 6
call fcn.004b785a
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x450591
push eax
mov ebx, eax
call fcn.00401680
inc eax
push eax
call fcn.004b7848
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x450596
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4505a7
push ebx
call fcn.004b784e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4510c8
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4510e7
add eax, 8
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp dword [ebp - 8], esp
je 0x451109
push 0x19
push 0x4170f8c
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x451120
mov eax, 0
jmp 0x45115c
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x4b7d00
call fcn.004b7854
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x45115c
mov esp, ebp
pop ebp
ret 4

Function at 0x451860
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call sub.KERNEL32.DLL_CopyFileA
cmp dword [ebp - 4], esp
je 0x45189a
push 0x12
push 0x4170323
push 6
call fcn.004b785a
add esp, 0xc
jmp 0x45189f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x460598
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x4605e5
mov dword [ebp - 0xc], esp
call sub.KERNEL32.DLL_GetCurrentProcess
cmp dword [ebp - 0xc], esp
je 0x4605dd
push 0x4f
push 0x41698c8
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x460619
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
cmp dword [ebp - 0xc], esp
je 0x460616
push 0x7d
push 0x41698c8
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x46062d
mov eax, 0
jmp 0x46068b
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
call sub.KERNEL32.DLL_TerminateProcess
cmp dword [ebp - 0xc], esp
je 0x460659
push 0x10b
push 0x41698c8
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
cmp dword [ebp - 0xc], esp
je 0x460683
push 0x12f
push 0x41698c8
push 6
call fcn.004b785a
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x46068b
mov esp, ebp
pop ebp
ret 8

Function at 0x46b2cc
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push dword [ebp + 0xc]
call fcn.0046b350
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46b307
mov eax, 0
jmp 0x46b34a
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call sub.KERNEL32.DLL_MoveFileA
cmp dword [ebp - 8], esp
je 0x46b335
push 0xe1
push 0x416981b
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x46b342
mov eax, dword [ebp - 4]
jmp 0x46b34a
mov esp, ebp
pop ebp
ret 8

Function at 0x46f9a8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0x1c], 1
jne 0x46f9d0
mov dword [ebp - 4], 4
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 0xa
jg 0x46fa56
mov dword [ebp - 0xc], esp
push dword [ebp + 0x24]
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
cmp dword [ebp - 0xc], esp
je 0x46fa17
push 0x9e
push 0x41620b9
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46fa29
jmp 0x46fa56
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0041f7cc
pop ecx
jmp 0x46f9d2
add esp, 4
cmp dword [ebp + 0x14], 0
je 0x46fa96
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
mov eax, 0x3c
call fcn.004b7860
cmp dword [ebp - 0xc], esp
je 0x46fa8f
push 0x192
push 0x41620b9
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
jmp 0x46fa9e
mov esp, ebp
pop ebp
ret 0x24
Function at 0x470238
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call sub.KERNEL32.DLL_GetFileAttributesA
cmp dword [ebp - 4], esp
je 0x47026a
push 0x24
push 0x41620db
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
mov eax, 0
setne al
jmp 0x47027e
mov esp, ebp
pop ebp
ret 4

Function at 0x4705f4
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], esp
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.KERNEL32.DLL_GetFileSizeEx
cmp dword [ebp - 0xc], esp
je 0x470636
push 0
push 0x41620ca
push 6
call fcn.004b785a
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
jmp 0x470641
mov esp, ebp
pop ebp
ret 4

Function at 0x470648
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x4b99e0
call fcn.004b7854
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x470692
push ebx
call fcn.004b784e
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4706af
add eax, 8
push eax
push dword [ebp + 8]
call sub.KERNEL32.DLL_ReadFile
cmp dword [ebp - 0xc], esp
je 0x4706d4
push 0x34
push 0x41620cb
push 6
call fcn.004b785a
add esp, 0xc
mov eax, dword [ebp - 8]
cmp dword [ebp + 0xc], eax
jne 0x4706ff
mov eax, dword [ebp - 4]
test eax, eax
je 0x4706fa
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004b7848
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x47073a
push 0x80000301
push 0
push dword [ebp - 8]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x47071c
mov eax, 0x5d3c00
push eax
push 2
mov ebx, 0x4b9750
call fcn.004b7854
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
jmp 0x47073a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x47074b
push ebx
call fcn.004b784e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8

Function at 0x47198c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4719b8
mov eax, 0x5d3c00
push eax
push 1
mov ebx, 0x4b7f40
call fcn.004b7854
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x4719e9
add eax, 8
push eax
push dword [ebp + 8]
call sub.KERNEL32.DLL_WriteFile
cmp dword [ebp - 0xc], esp
je 0x471a0e
push 0x4d
push 0x41620cc
push 6
call fcn.004b785a
add esp, 0xc
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov eax, dword [ebp - 8]
jmp 0x471a1b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x471a24
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
push 8
call fcn.004b7848
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
add ebx, 4
push ebx
push 0x107
call fcn.004b7848
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x896e4c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0xff
rep stosb byte es:[edi], al
cmp dword [0x9658cc], 0
jne 0x471acd
mov dword [ebp - 0xc], esp
push str.shell32.dll
call sub.KERNEL32.DLL_LoadLibraryA
cmp dword [ebp - 0xc], esp
je 0x471ab1
push 0x4f
push 0x41620fb
push 6
call fcn.004b785a
add esp, 0xc
mov dword [0x9658cc], eax
cmp dword [0x9658cc], 0
jne 0x471acd
mov eax, 0x5d3b7c
jmp 0x471c26
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x4b9450
call fcn.004b7854
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x471b02
push ebx
call fcn.004b784e
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
mov eax, dword [ebp - 8]
push eax
push 0x103
call fcn.004b7848
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xff
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp + 8]
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 0xc], esp
je 0x471b6d
push 0x110
push 0x41620fb
push 6
call fcn.004b785a
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.004b7842
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x471bae
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x471bac
imul eax, dword [edi]
jmp 0x471ba1
mov ecx, eax
cmp ecx, 0xff
jle 0x471bbb
mov ecx, 0xff
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0xff
call fcn.004b784e
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call sub.SHELL32.dll_SHGetPathFromIDListA
cmp dword [ebp - 0x10], esp
je 0x471c05
push 0x13a
push 0x41620fb
push 6
call fcn.004b785a
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x471c21
push eax
mov ebx, eax
call fcn.00401680
inc eax
push eax
call fcn.004b7848
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x471c26
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x471c37
push ebx
call fcn.004b784e
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004b784e
add esp, 4
pop ebx
call fcn.004b784e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x471de0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x4b9450
call fcn.004b7854
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x471e25
push ebx
call fcn.004b784e
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xffffffff
push dword [ebp - 4]
call sub.KERNEL32.DLL_GetWindowsDirectoryA
cmp dword [ebp - 8], esp
je 0x471e55
push 0x36
push 0x4161774
push 6
call fcn.004b785a
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x471e71
push eax
mov ebx, eax
call fcn.00401680
inc eax
push eax
call fcn.004b7848
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x471e76
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x471e87
push ebx
call fcn.004b784e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x471e8c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x32
push 1
mov ebx, 0x4b9450
call fcn.004b7854
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x471ed1
push ebx
call fcn.004b784e
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x471ee8
mov eax, 0x5d3b7c
push eax
push 1
mov ebx, 0x4b7f20
call fcn.004b7854
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call sub.ADVAPI32.dll_GetUserNameA
cmp dword [ebp - 0xc], esp
je 0x471f29
push 0x73
push 0x4161777
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x471f57
mov eax, dword [ebp - 4]
test eax, eax
je 0x471f52
push eax
mov ebx, eax
call fcn.00401680
inc eax
push eax
call fcn.004b7848
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x471f61
mov eax, 0x5d3b7c
jmp 0x471f61
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x471f72
push ebx
call fcn.004b784e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4727d8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
call sub.KERNEL32.DLL_GetCurrentProcessId
cmp dword [ebp - 8], esp
je 0x47280c
push 0x19
push 0x4162104
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x472879
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xffffffff
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
cmp dword [ebp - 8], esp
je 0x47284a
push 0x59
push 0x4162104
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_TerminateProcess
cmp dword [ebp - 0x10], esp
je 0x472879
push 0x59
push 0x4162104
push 6
call fcn.004b785a
add esp, 0xc
push 1
push dword [ebp - 4]
call fcn.004728fc
mov dword [ebp - 8], esp
mov eax, 0x43
call fcn.004b7860
cmp dword [ebp - 8], esp
je 0x4728ac
push 0xab
push 0x4162104
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 8], esp
push 0
call sub.KERNEL32.DLL_ExitProcess
cmp dword [ebp - 8], esp
je 0x4728d5
push 0xbe
push 0x4162104
push 6
call fcn.004b785a
add esp, 0xc
push 0
call fcn.004b787e
add esp, 4
push 1
push dword [ebp - 4]
call fcn.004728fc
push 0
call fcn.004b787e
add esp, 4
mov esp, ebp
pop ebp
ret 8

Function at 0x4728fc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x472953
mov dword [ebp - 0xc], esp
call sub.KERNEL32.DLL_GetCurrentProcessId
cmp dword [ebp - 0xc], esp
je 0x472950
push 0x5c
push 0x4162105
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp + 8], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push 1
push 0x1f0fff
call fcn.00472a30
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47297d
mov eax, 0
jmp 0x472a2a
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
mov eax, 0x44
call fcn.004b7860
cmp dword [ebp - 0xc], esp
je 0x4729ae
push 0xf6
push 0x4162105
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4729cd
push dword [ebp - 4]
call fcn.00472b8c
mov eax, 1
jmp 0x472a2a
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
call sub.KERNEL32.DLL_TerminateProcess
cmp dword [ebp - 0xc], esp
je 0x4729f9
push 0x19b
push 0x4162105
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x472a18
push dword [ebp - 4]
call fcn.00472b8c
mov eax, 1
jmp 0x472a2a
push dword [ebp - 4]
call fcn.00472b8c
mov eax, 0
jmp 0x472a2a
mov esp, ebp
pop ebp
ret 8
Function at 0x47b4a4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push reloc.OLEAUT32.dll_SysStringLen
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x4b8a20
call fcn.004b7854
add esp, 0x10
mov dword [ebp - 4], eax
push dword [ebp + 0x14]
call fcn.0047b520
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
cmp dword [ebp - 0xc], esp
je 0x47b513
push 0x60
push 0x417ff26
push 6
call fcn.004b785a
add esp, 0xc
jmp 0x47b518
mov esp, ebp
pop ebp
ret 0x14
Function at 0x481954
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push dword [ebp + 0xc]
call fcn.004819d8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x48198f
mov eax, 0
jmp 0x4819d2
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call sub.KERNEL32.DLL_MoveFileA
cmp dword [ebp - 8], esp
je 0x4819bd
push 0xe1
push 0x417fe28
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4819ca
mov eax, dword [ebp - 4]
jmp 0x4819d2
mov esp, ebp
pop ebp
ret 8
Function at 0x485ac0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.KERNEL32.DLL_GetExitCodeThread
cmp dword [ebp - 8], esp
je 0x485afb
push 0
push 0x417ff45
push 6
call fcn.004b785a
add esp, 0xc
mov dword [ebp - 8], esp
push dword [ebp - 4]
push dword [ebp + 8]
call sub.KERNEL32.DLL_TerminateThread
cmp dword [ebp - 8], esp
je 0x485b25
push 0x33
push 0x417ff45
push 6
call fcn.004b785a
add esp, 0xc
jmp 0x485b2a
mov esp, ebp
pop ebp
ret 4