joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431992
Capabilities:
Create process on windows

Disassembly:
push 0x2c
mov eax, 0x469ff8
call fcn.004516bd
cmp dword [0x49a024], 1
mov ebx, ecx
jg 0x4319ed
lea eax, [ebp - 0x30]
push str.Executor.exec__:
lea edi, [ebx + 0x38]
push eax
call fcn.004089f6
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Executor::startExecution
push 0x93
push str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Executor.cpp
push 1
mov edx, eax
mov ecx, 0x49a024
call fcn.0042432e
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00403353
push 0x44
pop esi
push esi
lea edi, [ebx + 0x7c]
push 0
push edi
call fcn.0044b630
add esp, 0xc
push 0x10
lea eax, [ebx + 0x6c]
push 0
push eax
mov dword [edi], esi
call fcn.0044b630
add esp, 0xc
cmp dword [ebx + 0xc0], 1
jne 0x431a31
or dword [ebx + 0xa8], 1
xor eax, eax
mov word [ebx + 0xac], ax
mov dword [ebx + 0x60], 0x8000000
cmp byte [ebx + 0xcd], 0
je 0x431a41
mov esi, ebx
call fcn.00431ed2
lea eax, [ebx + 0x38]
mov edx, dword [eax + 0x14]
cmp edx, 0x10
jb 0x431a50
mov esi, dword [eax]
jmp 0x431a52
mov esi, eax
mov ecx, dword [eax + 0x10]
add ecx, esi
cmp edx, 0x10
jb 0x431a5e
mov eax, dword [eax]
push dword [ebp - 0x35]
xor edx, edx
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
call fcn.0041405a
mov dword [ebp - 4], 1
lea eax, [ebp - 0x31]
lea esi, [ebp - 0x24]
mov byte [ebp - 0x31], 0
call fcn.0040ecb7
cmp dword [ebx + 0x14], 0x10
jb 0x431a97
mov ecx, dword [ebx]
jmp 0x431a99
mov ecx, ebx
lea eax, [ebx + 0x6c]
push eax
push edi
push dword [ebx + 0x68]
push dword [ebx + 0x64]
push dword [ebx + 0x60]
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push dword [ebp - 0x24]
push ecx
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
setne bl
cmp dword [ebp - 0x24], 0
je 0x431ace
push dword [ebp - 0x24]
call fcn.00461382
pop ecx
mov al, bl
call fcn.00451740
ret
Function at 0x4330d2
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0x466548
call fcn.00451654
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.kernel32.dll_GetThreadLocale]
push eax
mov eax, esi
call fcn.00461382
pop ecx
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.00461382
pop ecx
call dword [sym.imp.kernel32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.00461382
mov eax, esi
mov dword [esp], 0x409
call fcn.00461382
pop ecx
mov eax, esi
call fcn.0045172c
ret
Function at 0x443268
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x4956a0]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x14
mov eax, 0x468966
call fcn.00451654
xor esi, esi
lea eax, [ebp + 0x38]
push eax
push esi
push esi
push 0x2c
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.shell32.dll_SHGetFolderPathW]
cmp eax, esi
je 0x4432be
push 0xc8
lea esi, [ebp - 0x20]
call fcn.00461382
push 0x486924
mov eax, esi
push eax
call fcn.00461382
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp]
call fcn.0041edb8
push 0x481204
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.00461382
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00441fd4
add esp, 0xc
push 1
xor edi, edi
lea esi, [ebp + 0x1c]
call fcn.0041b812
push 1
lea esi, [ebp]
call fcn.0041b812
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.00449589
add ebp, 0x244
leave
ret

Function at 0x449589
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4956a0]
jne 0x449593
repz ret
jmp fcn.00453a75
Function at 0x410050
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x410072
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410079
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410068
mov eax, 1
add ebx, ebx
jne 0x41008b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410080
jne 0x41009c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410080
xor ecx, ecx
sub eax, 3
jb 0x4100b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x410122
mov ebp, eax
add ebx, ebx
jne 0x4100bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4100c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4100ec
inc ecx
add ebx, ebx
jne 0x4100d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4100cd
jne 0x4100e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4100cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41010c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4100fd
jmp 0x41006e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41010c
add edi, ecx
jmp 0x41006e
pop esi
mov edi, esi
mov ecx, 3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41012a
cmp byte [edi], 1
jne 0x41012a
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 0x41012f
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x4101a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10934]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10970]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41015c
mov ecx, edi
jns 0x41018b
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 + 0x10974]
or eax, eax
je 0x4101a1
mov dword [ebx], eax
add ebx, 4
jmp 0x410179
call dword [esi + 0x10984]
mov ebp, dword [esi + 0x10978]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x4101db
sub esp, 0xffffff80
jmp 0x401178
Function at 0x401106
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ac004]
jne 0x401110
repz ret
jmp fcn.004014b0

Function at 0x4041ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ac004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004029d8
and dword [ebp - 0x14], 0
cmp dword [0x4ae9d0], 0
mov dword [ebp - 0x18], eax
jne 0x40425e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404306
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404306
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4ae9d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4ae9d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4ae9d8], eax
call edi
push eax
call esi
mov dword [0x4ae9e0], eax
test eax, eax
je 0x40425e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4ae9dc], eax
mov eax, dword [0x4ae9dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4042b7
cmp dword [0x4ae9e0], ecx
je 0x4042b7
push eax
call esi
push dword [0x4ae9e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4042b7
test ebx, ebx
je 0x4042b7
call edi
test eax, eax
je 0x4042ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4042ae
test byte [ebp - 8], 1
jne 0x4042b7
or dword [ebp + 0x10], 0x200000
jmp 0x4042ea
mov eax, dword [0x4ae9d4]
cmp eax, dword [ebp - 0x18]
je 0x4042ea
push eax
call esi
test eax, eax
je 0x4042ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4042ea
mov eax, dword [0x4ae9d8]
cmp eax, dword [ebp - 0x18]
je 0x4042ea
push eax
call esi
test eax, eax
je 0x4042ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4ae9d0]
call esi
test eax, eax
je 0x404306
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404308
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401106
leave
ret
Function at 0x49ae60
Capabilities:
Create pipe

Disassembly:
mov eax, dword [0x4acb20]
sub esp, 0x14
push ebx
mov ebx, dword [0x2c51f9c]
push edi
mov edi, dword [0x2c5441c]
call fcn.0049ade0
cmp dword [0x2c5441c], 0x2f
jne 0x49aec2
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.0049ae10
pop edi
pop ebx
add esp, 0x14
ret
Function at 0x49b1b0
Capabilities:
Get disk information
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x4ac004]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
jmp 0x49b1d5
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1519a5
jge 0x49b21e
mov dword [0x2c54084], 0x8e46a6f0
cmp dword [0x2c5441c], 0x3dc
jne 0x49b21c
xor ecx, ecx
mov word [ebp - 8], cx
xor edx, edx
mov word [ebp - 6], dx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
jmp 0x49b1cc
mov dword [ebp - 0x10], 0
jmp 0x49b230
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12cad2a
jge 0x49b2c3
cmp dword [0x2c5441c], 0xa5f
jne 0x49b27a
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x820]
push ecx
push str.dojiyizemukejuwoxovadanol
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp dword [ebp - 0x10], 0x84620b
jne 0x49b29e
mov edx, dword [0x4ad940]
mov dword [0x2c5441c], edx
mov eax, dword [0x2c5441c]
add eax, 0xa231
mov dword [0x2c5441c], eax
cmp dword [0x2c5441c], 0x141
jne 0x49b2be
mov dword [0x4aef08], 0xec58acac
mov dword [0x4aef0c], 0xffffffff
jmp 0x49b227
call fcn.0049aed0
jmp dword [0x2c51f9c]
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp int.00401219
Function at 0x10001b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, 0x14c
push edi
mov edx, dword [ebx + 0x3c]
lea eax, [ebx + 0x88]
add eax, edx
lea ecx, [ebx + 0x78]
add ecx, edx
cmp word [edx + ebx + 4], si
cmovne ecx, eax
mov eax, dword [ecx]
test eax, eax
je 0x10001c34
cmp dword [ebp + 0x10], 0
lea ecx, [eax + ebx]
mov dword [ebp - 8], ecx
ja 0x10001b7c
mov eax, dword [ebp + 0xc]
jb 0x10001b4b
cmp eax, 0xffff
ja 0x10001b7c
movzx edx, ax
xor eax, eax
sub edx, dword [ecx + 0x10]
sbb eax, eax
test eax, eax
ja 0x10001c34
jb 0x10001b68
cmp edx, dword [ecx + 0x14]
jae 0x10001c34
mov eax, dword [ecx + 0x1c]
pop edi
pop esi
lea eax, [eax + edx*4]
mov eax, dword [eax + ebx]
add eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x20]
add eax, ebx
mov dword [ebp - 0x14], eax
add edx, ebx
xor eax, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
cmp dword [ecx + 0x18], eax
jbe 0x10001c34
nop word [eax + eax]
mov ecx, dword [edx + eax*4]
add ecx, ebx
mov esi, ecx
mov dword [ebp - 0xc], ecx
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10001bb0
mov edi, dword [0x10004048]
sub esi, edx
push 0xeeeeeeee
push 0x7fed7fed
push edi
push 1
push esi
push ecx
call fcn.10002320
push 0xeeeeeeee
push 0x7fed7fed
push edi
push 2
push esi
push dword [ebp - 0xc]
mov ebx, eax
call fcn.10002320
xor ecx, ecx
or ecx, ebx
cmp dword [ebp + 0xc], eax
jne 0x10001bf9
cmp dword [ebp + 0x10], ecx
je 0x10001c10
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ecx + 0x18]
jae 0x10001c34
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
jmp 0x10001ba0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
movzx ecx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx]
add eax, ecx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10002320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1000237a
shl dword [ebp + 0x10], 8
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
nop word [eax + eax]
mov cl, byte [ecx]
movsx edx, cl
sub cl, 0x61
cmp cl, 0x19
mov ecx, dword [ebp + 0x10]
lea esi, [edx - 0x20]
cmova esi, edx
mov edx, dword [ebp + 0x14]
add ecx, esi
add eax, ebx
xor eax, dword [edx + ecx*4]
mov ecx, ebx
shl ecx, 5
add ecx, 3
add ecx, esi
add ebx, ecx
mov ecx, dword [ebp + 8]
inc ecx
add ebx, eax
mov dword [ebp + 8], ecx
sub edi, 1
jne 0x10002340
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
Function at 0x410050
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x410072
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410079
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410068
mov eax, 1
add ebx, ebx
jne 0x41008b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410080
jne 0x41009c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410080
xor ecx, ecx
sub eax, 3
jb 0x4100b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x410122
mov ebp, eax
add ebx, ebx
jne 0x4100bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4100c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4100ec
inc ecx
add ebx, ebx
jne 0x4100d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4100cd
jne 0x4100e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4100cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41010c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4100fd
jmp 0x41006e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41010c
add edi, ecx
jmp 0x41006e
pop esi
mov edi, esi
mov ecx, 3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41012a
cmp byte [edi], 1
jne 0x41012a
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 0x41012f
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x4101a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10930]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1096c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41015c
mov ecx, edi
jns 0x41018b
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 + 0x10970]
or eax, eax
je 0x4101a1
mov dword [ebx], eax
add ebx, 4
jmp 0x410179
call dword [esi + 0x10980]
mov ebp, dword [esi + 0x10974]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x4101db
sub esp, 0xffffff80
jmp 0x401178
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x69
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x79d71c
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x79d722
pop ebp
sub ebp, 6
sub ebp, 0x39d71c
jmp 0x79d780
jmp 0x79d789
mov eax, 0x39d71c
add eax, ebp
add eax, 0x93
mov ecx, 0x61e
mov edx, 0x1ba001d6
xor byte [eax], dl
inc eax
dec ecx
jne 0x79d7a0
jmp 0x79d7b3
mov esp, 0xc6d6be96
salc
salc
mov esi, 0xd6fa1ad6
in eax, 0x16
xchg byte [ecx], ch
inc ebx
adc dh, byte [esi - 0x1a]
salc
xchg byte [ebp + 0x1b], bl
pop ebp
pop edi
ljmp 0x2e17
Function at 0x401eb8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
mov esi, ecx
cmp dword [esi + 0x58], 0
jne 0x401ed8
call fcn.0041068d
test eax, eax
je 0x401fd9
push edi
mov edi, dword [esi + 0x54]
mov dword [ebp - 0xc], edi
cmp edi, 0x40
jb 0x401fd8
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x3c]
lea edx, [ecx + 0xf8]
cmp edi, edx
jb 0x401fd8
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x401fd8
add eax, ecx
cmp edi, dword [eax + 0x54]
jb 0x401fd8
mov esi, dword [esi + 0x58]
xor ecx, ecx
inc ecx
mov dword [ebp - 8], esi
test esi, esi
jne 0x401f2c
movzx ecx, word [eax + 0x16]
and ecx, 0x2000
cmp dword [eax], 0x4550
jne 0x401fd8
test ecx, ecx
je 0x401fd8
test byte [eax + 0x16], 2
je 0x401fd8
movzx ecx, word [eax + 6]
test cx, cx
je 0x401fd8
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x401fd8
add ecx, 0x2b
cmp word [eax + 0x18], cx
jne 0x401fd8
mov esi, dword [eax + 0x74]
xor ecx, ecx
push ebx
test esi, esi
je 0x401fb0
mov edx, dword [eax + ecx*8 + 0x7c]
mov edi, dword [eax + ecx*8 + 0x78]
cmp ecx, 0xe
ja 0x401fa8
movzx ebx, byte [ecx + 0x271ff0]
jmp dword [ebx*4 + 0x271fe0]
inc ecx
cmp ecx, esi
jb 0x401f75
mov edi, dword [ebp - 0xc]
movzx ecx, word [eax + 6]
xor edx, edx
test ecx, ecx
jle 0x401fd0
add eax, 0x108
mov esi, dword [eax + 4]
add esi, dword [eax]
cmp esi, edi
ja 0x401fd7
inc edx
add eax, 0x28
cmp edx, ecx
jl 0x401fbf
mov dword [ebp - 4], 1
pop ebx
pop edi
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x1000783a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov dword [ebp - 0x1b4], str.IDATlB
mov eax, dword [ebp - 0x1b4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [esp], eax