joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c9093
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x4c90ad
mov edi, dword [esi + 0xc]
jmp 0x4c90ed
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4c90c6
call fcn.004235ea
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4c90db
call fcn.004235ea
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4c90ed
call fcn.004235ea
call fcn.0042710b
cmp dword [eax + 0x3c], 0
je 0x4c9102
push edi
mov ecx, ebx
call fcn.004c87cc
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004c92df
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4c912b
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4c9137
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4c99e5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00427ed3
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4c9a21
call fcn.004c9c07
mov dword [esi + 0xc], 1
jmp 0x4c9a26
call fcn.004c9c07
cmp dword [esi], 0
je 0x4c9a6f
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4c9a49
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00411698
jmp 0x4c9a5a
push 0xff
mov ecx, esi
call fcn.00402ab0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00404250
jmp 0x4c9a93
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4c9a93
push dword [esi]
push dword [ebp - 4]
call fcn.00432d4c
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4c9b5c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004c9c07
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4c9ba4
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00411698
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00404250
jmp 0x4c9baf
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00432d4c
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4dd1df
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x57c0bd
call fcn.00555401
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00402ec0
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5b491c
call fcn.0040b460
cmp eax, 0xffffffff
jne 0x4dd2aa
push 0
push 0x586764
lea ecx, [ebp - 0x4d0]
call fcn.0040b460
cmp eax, 0xffffffff
jne 0x4dd2aa
push 0
push 0x5b4c8c
lea ecx, [ebp - 0x4d0]
call fcn.0040b460
cmp eax, 0xffffffff
jne 0x4dd2aa
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00402ec0
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4dd287
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00555390
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00402fb0
jmp 0x4dd2e2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00402c40
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00402fb0
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4dd2d0
mov edi, dword [ebp - 0x4cc]
jmp 0x4dd2e2
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00555390
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00402fb0
mov eax, edi
call fcn.005553ab
ret
Function at 0x56dca1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0056d961
Function at 0x401077
Capabilities:
Delete directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x4010ab
mov eax, dword [ebp + 8]
push eax
push str.cannot_change_curdir_to__s_n
call fcn.00401200
add esp, 8
jmp 0x4010cd
push 0x407050
call fcn.004010d2
add esp, 4
push 0x407054
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4010d2
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xffffffff
jne 0x401107
jmp 0x4011a3
push 0x407058
lea eax, [ebp - 0x114]
push eax
call fcn.00401240
add esp, 8
test eax, eax
je 0x40117a
push 0x40705c
lea eax, [ebp - 0x114]
push eax
call fcn.00401240
add esp, 8
test eax, eax
je 0x40117a
test byte [ebp - 0x140], 0x10
je 0x40116d
lea eax, [ebp - 0x114]
push eax
call fcn.00401077
add esp, 4
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40117a
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401107
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402e90
Capabilities:
Terminate process

Disassembly:
cmp dword [0x40735c], 1
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
jne 0x402eae
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x407358], 1
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x18]
mov byte [0x407354], bl
jne 0x402f08
cmp dword [0x4084e8], 0
je 0x402ef6
mov edi, dword [0x4084e4]
sub edi, 4
cmp edi, dword [0x4084e8]
jb 0x402ef6
mov eax, dword [edi]
test eax, eax
je 0x402eeb
call eax
sub edi, 4
cmp edi, dword [0x4084e8]
jae 0x402ee3
push 0x40701c
push 0x407014
call fcn.00402f40
add esp, 8
push 0x407024
push 0x407020
call fcn.00402f40
add esp, 8
test ebx, ebx
jne 0x402f2f
mov dword [0x40735c], 1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
pop ebx
ret
Function at 0x403550
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
push ebx
push esi
push edi
xor ebx, ebx
push ebp
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp dword [0x407400], ebx
jne 0x40359f
call esi
cmp eax, ebx
mov edi, eax
je 0x40357d
mov dword [0x407400], 1
jmp 0x40359f
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
je 0x403595
mov dword [0x407400], 2
jmp 0x40359f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x407400], 1
jne 0x40364e
test edi, edi
jne 0x4035c2
call esi
mov edi, eax
test edi, edi
jne 0x4035c2
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp word [edi], 0
mov esi, edi
je 0x4035dc
add esi, 2
cmp word [esi], 0
jne 0x4035ca
add esi, 2
cmp word [esi], 0
jne 0x4035ca
sub esi, edi
push 0
sar esi, 1
push 0
inc esi
push 0
push 0
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
test ebp, ebp
je 0x40363d
push ebp
call fcn.00404290
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x40363d
push 0
push 0
push ebp
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x40362c
push ebx
call fcn.004048d0
add esp, 4
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x407400], 2
jne 0x4036d2
test ebx, ebx
jne 0x403671
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
jne 0x403671
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov ebp, ebx
cmp byte [ebx], 0
je 0x403686
inc ebp
cmp byte [ebp], 0
jne 0x403678
inc ebp
cmp byte [ebp], 0
jne 0x403678
sub ebp, ebx
inc ebp
push ebp
call fcn.00404290
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
jne 0x4036ab
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov esi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x403cf0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1a8
xor ecx, ecx
mov eax, 0x407630
push ebx
mov edx, dword [esp + 0x1b0]
push esi
push edi
push ebp
cmp dword [eax], edx
je 0x403d17
add eax, 8
inc ecx
cmp eax, 0x4076c0
jb 0x403d08
cmp dword [ecx*8 + 0x407630], edx
lea ebx, [ecx*8]
jne 0x403edb
cmp dword [0x40706c], 1
je 0x403e97
cmp dword [0x40706c], 0
jne 0x403d4e
cmp dword [0x407070], 1
je 0x403e97
cmp edx, 0xfc
je 0x403edb
lea eax, [esp + 0xb4]
push 0x104
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call ebp
test eax, eax
jne 0x403d8b
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ebp, [esp + 0xb4]
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x403dcf
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
push 3
repne scasb al, byte es:[edi]
not ecx
lea ebp, [esp + ecx + 0x7c]
push 0x406358
push ebp
call fcn.00405120
add esp, 0xc
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, ebp
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x406338
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x407634]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x12010
and ecx, 3
push str.Microsoft_Visual_C_Runtime_Library
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x1c]
push eax
call fcn.00405080
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
cmp dword [0x4083e0], 0
je 0x403ead
mov eax, dword [0x4083e0]
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x403eb7
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebx + 0x407634]
push 0
lea eax, [esp + 0x14]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
Function at 0x4056c0
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x418
cmp dword [0x4084e0], edx
push ebx
push esi
push edi
push ebp
jbe 0x4058c7
mov eax, edx
and eax, 0xffffffe7
sar eax, 3
add eax, 0x4083e0
mov dword [esp + 0x18], eax
mov eax, edx
and eax, 0x1f
mov ecx, dword [esp + 0x18]
shl eax, 3
mov ebx, dword [ecx]
mov ebp, eax
mov dword [esp + 0x1c], eax
mov al, byte [ebx + ebp + 4]
test al, 1
je 0x4058c7
xor esi, esi
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x20], esi
cmp ebp, esi
jne 0x405729
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
test al, 0x20
je 0x40573a
push 2
push 0
push edx
call fcn.00405960
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add ecx, dword [eax]
test byte [ecx + 4], 0x80
je 0x4057d6
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x430]
mov eax, ebx
sub eax, dword [esp + 0x430]
cmp eax, ebp
jae 0x40580f
lea edi, [esp + 0x24]
mov eax, ebx
sub eax, dword [esp + 0x430]
cmp eax, ebp
jae 0x40579d
mov al, byte [ebx]
inc ebx
cmp al, 0xa
jne 0x40578b
mov byte [edi], 0xd
inc esi
inc edi
mov byte [edi], al
inc edi
mov eax, edi
lea ecx, [esp + 0x24]
sub eax, ecx
cmp eax, 0x400
jl 0x405772
lea eax, [esp + 0x24]
push 0
sub edi, eax
lea ecx, [esp + 0x28]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
push edi
push ecx
mov eax, dword [edx]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x405805
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], eax
cmp eax, edi
jge 0x40575d
jmp 0x40580f
lea eax, [esp + 0x14]
push 0
mov edx, dword [esp + 0x434]
push eax
push ebp
mov ecx, dword [ecx]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x405805
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jmp 0x40580f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x20], 0
jne 0x4058b6
cmp dword [esp + 0x10], 0
je 0x405868
cmp dword [esp + 0x10], 5
jne 0x40584b
mov dword [0x407314], 9
mov eax, dword [esp + 0x10]
pop ebp
pop edi
mov dword [0x407318], eax
mov eax, 0xffffffff
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x10]
push eax
call fcn.00405b70
add esp, 4
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
test byte [edx + ecx + 4], 0x40
je 0x405892
mov eax, dword [esp + 0x430]
cmp byte [eax], 0x1a
jne 0x405892
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, 0xffffffff
pop ebp
mov dword [0x407314], 0x1c
mov dword [0x407318], 0
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x20]
pop ebp
sub eax, esi
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, 0xffffffff
pop ebp
mov dword [0x407314], 9
mov dword [0x407318], 0
pop edi
pop esi
pop ebx
add esp, 0x418
ret
Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403161
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x403161
lcall 0x5de5, 0x8b10c483
jmp loc.00791034
Function at 0x1000e9b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1000e9bf
pop dword [ebp - 0x20]
mov eax, 0xab50be83
sub eax, 0x9b4fd4c4
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x56f410b
sub dword [ebp - 0x30], 0xb71cfbc0
mov dword [ebp - 0x2c], 0x7de95f33
sub dword [ebp - 0x2c], 0x4bb612ee
mov dword [ebp - 0x28], 0x2be25879
add dword [ebp - 0x28], 0x2069ebb5
mov dword [ebp - 0x24], 0xa08cc972
sub dword [ebp - 0x24], 0xa08cc972
lea eax, [ebp - 0x30]
push eax
mov eax, 0xe204d862
add eax, 0x2dfcb7da
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x2fb80104
add dword [ebp - 0x30], 0x44ba6852
mov dword [ebp - 0x2c], 0x4a96ce4b
add dword [ebp - 0x2c], 0xf6d5932a
mov dword [ebp - 0x28], 0x533c8a1a
add dword [ebp - 0x28], 0x1032e252
mov dword [ebp - 0x24], 0xdbc1cca3
sub dword [ebp - 0x24], 0xdbc1cca3
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x4376dca1
sub eax, 0x33754c69
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x33509
push 0
call eax
mov ecx, 0x3b05
xor ebx, ebx
add ebx, eax
mov esi, 0x10022800
add esi, dword [ebp - 0x20]
mov edx, 0xfe11d0e
sub edx, 0xa25f51e4
mov dword [ebp - 0x14], 0x34947a84
mov edi, dword [esi]
mov dword [ebp - 0x1c], 0x1186c708
xor edi, edx
mov dword [ebx], edi
mov dword [ebp - 4], 0xf283bccb
add ebx, 0x7a02da21
add ebx, 0x85fd25e3
add esi, 4
loop 0x1000ead7
add eax, 0x7036906e
add eax, 0x8fca4e79
mov ebx, eax
add eax, 0xd08738d8
sub eax, 0xd08738d3
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x10014d90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x1001f83c]
push dword [esp + 4]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x234]
call eax
test eax, eax
je 0x10014dd2
push 0x51b
push str.hprof_util.c
push str.Unable_to_get_necessary_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret

Function at 0x10016400
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
xorps xmm0, xmm0
push edx
movups xmmword [edx], xmm0
mov eax, dword [0x1001f83c]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x22c]
call eax
test eax, eax
je 0x10016449
push 0x50e
push str.hprof_util.c
push str.Unable_to_get_potential_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret
Function at 0x4780a0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 2
pop eax
lea ecx, [ebp - 0x10]
mov word [edi], ax
call fcn.00405c18
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call fcn.0047830b
push dword [ebp - 0x10]
call dword [sym.imp.WSOCK32.dll_inet_addr]
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00405a64
cmp ebx, 0xffffffff
jne 0x4780f7
mov ecx, dword [ebp + 0xc]
mov edx, str.255.255.255.255
call fcn.0045a36d
test al, al
je 0x4780f7
push 0
push 1
jmp 0x47811a
mov ecx, dword [ebp + 0x10]
mov dword [edi + 4], ebx
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja 0x478116
push ecx
call dword [sym.imp.WSOCK32.dll_htons]
mov word [edi + 2], ax
mov al, 1
jmp 0x478128
push 0
push 2
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00456aa3
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x478131
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
and dword [ebx], 0
mov edi, ecx
mov dword [ebx + 4], eax
mov ecx, 0x3e8
mov eax, esi
inc dword [ebx]
cdq
idiv ecx
mov dword [ebp - 8], eax
imul eax, eax, 0x3e8
sub esi, eax
imul eax, esi, 0x3e8
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
cmp byte [ebp + 0x14], al
je 0x47817a
push ebx
push eax
jmp 0x47817c
push eax
push ebx
push eax
call dword [sym.imp.WSOCK32.dll_select]
mov esi, eax
test esi, esi
jne 0x478196
cmp byte [ebp + 0x14], al
je 0x4781c2
push eax
push 0x274c
jmp 0x4781b6
jle 0x4781ad
push ebx
push dword [ebp + 8]
call dword [sym.imp.WSOCK32.dll___WSAFDIsSet]
test eax, eax
jne 0x4781c2
push 0xfffffffffffffffe
pop esi
push eax
push esi
jmp 0x4781b6
push 0
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00456aa3
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x47b7b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0047b3e3
push eax
push esi
push dword [ebp + 8]
call fcn.0047b398
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0047b3e3
push eax
push esi
push dword [ebp + 8]
call fcn.0047b398
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0047b3d3
Function at 0x47b851
Capabilities:
Contain obfuscated stackstrings

Disassembly:
das
scasd eax, dword es:[edi]
ja 0x47b89c
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0047b3d3
sbb byte [edx - 0x7a725677], dl
jl 0x47b8be
mov edi, dword [eax - 0x3a]
inc ebp
invalid
invalid
invalid