joyce8/EMBER2024-capa huggingface dataset:
Function at 0x638f34
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda8
xor edx, edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409f4c
xor eax, eax
push ebp
push 0x6390c2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.00637f68
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x23c], 0x22c
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 0x10]
call fcn.00637f88
mov dword [ebp - 0xc], eax
jmp 0x639087
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.0040a918
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.00423834
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x240]
call fcn.00421dc0
mov eax, dword [ebp - 0x240]
push eax
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 4]
call fcn.00421dc0
mov edx, dword [ebp - 0x24c]
pop eax
call fcn.0040ac00
je 0x63905b
lea eax, [ebp - 0x254]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.0040a918
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x250]
call fcn.00421dc0
mov eax, dword [ebp - 0x250]
push eax
lea edx, [ebp - 0x258]
mov eax, dword [ebp - 4]
call fcn.00421dc0
mov edx, dword [ebp - 0x258]
pop eax
call fcn.0040ac00
jne 0x639076
push 0
mov eax, dword [ebp - 0x234]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 8], eax
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 0x10]
call fcn.00637fa8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x638fb6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6390c9
lea eax, [ebp - 0x258]
mov edx, 7
call fcn.00409eb8
lea eax, [ebp - 4]
call fcn.00409e58
pop eax
jmp eax

Function at 0x6390d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00409e58
xor eax, eax
push ebp
push 0x639154
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040a864
push eax
call sub.kernel32.dll_GetEnvironmentVariableW
test eax, eax
jns 0x639110
call fcn.00407f48
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x63914a
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0040a9f0
mov eax, dword [ebp - 0xc]
test eax, eax
jns 0x639130
call fcn.00407f48
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040a864
push eax
mov eax, dword [ebp - 4]
call fcn.0040a864
push eax
call sub.kernel32.dll_GetEnvironmentVariableW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x639166
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x639364
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
mov dword [ebp - 4], eax
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x6393a0
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x208]
mov ecx, pe_nt_image_headers32
call fcn.0040a918
jmp 0x6393a8
mov eax, dword [ebp - 4]
call fcn.00409e58
mov esp, ebp
pop ebp
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 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 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 0x4564a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x44d015
lea edi, [esi - 0x4c015]
push edi
jmp 0x4564ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4564c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4564b0
mov eax, 1
add ebx, ebx
jne 0x4564d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4564c8
jne 0x4564e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4564c8
xor ecx, ecx
sub eax, 3
jb 0x4564f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45656a
mov ebp, eax
add ebx, ebx
jne 0x456503
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x456510
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x456534
inc ecx
add ebx, ebx
jne 0x456520
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x456515
jne 0x456531
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x456515
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x456554
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x456545
jmp 0x4564b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x456554
add edi, ecx
jmp 0x4564b6
pop esi
mov edi, esi
mov ecx, 0x5af
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x456572
cmp byte [edi], 6
jne 0x456572
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 0x456577
lea edi, [esi + 0x54000]
mov eax, dword [edi]
or eax, eax
je 0x4565e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x56000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5603c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4565a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x56040]
or eax, eax
je 0x4565e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4565c1
call dword [esi + 0x56050]
mov ebp, dword [esi + 0x56044]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x45661a
sub esp, 0xffffff80
jmp 0x410260
Function at 0x4026a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push 1
call sym.__configure_narrow_argv
add esp, 4
call sym.__initialize_narrow_environment
call sym.___p___argc
mov edi, dword [eax]
call sym.___p___argv
mov ebx, dword [eax]
call sym.__get_initial_narrow_environment
mov esi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
xor edx, edx
cmp word [eax + ecx + 0x5c], 2
sete dl
inc edx
push edx
call sym.__set_app_type
add esp, 4
push esi
push ebx
push edi
call dbg.main
add esp, 0xc
push eax
call sym._exit
int3

Function at 0x402700
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x44
call dbg.__main
xor ebx, ebx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov esi, eax
xor eax, eax
jmp 0x402729
xor edx, edx
test eax, eax
je 0x402765
inc esi
mov ebx, edx
movzx ecx, byte [esi]
cmp ecx, 9
je 0x402720
test ecx, ecx
je 0x402765
cmp cl, 0x20
jne 0x40273e
test eax, eax
je 0x402765
xor edx, edx
cmp ecx, 0x22
je 0x40274f
cmp ecx, 0x5c
jne 0x402726
inc ebx
mov edx, ebx
jmp 0x402726
xor ecx, ecx
test eax, eax
sete cl
test bl, 1
cmove eax, ecx
jmp 0x402726
movzx ecx, byte [esi + 1]
inc esi
cmp cl, 0x20
je 0x402760
movzx eax, cl
cmp eax, 9
je 0x402760
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
test byte [ebp - 0x20], 1
jne 0x402788
mov word [ebp - 0x1c], 1
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
movzx ecx, word [ebp - 0x1c]
push ecx
push esi
push 0
push eax
call dbg._WinMain@16
add esp, 0x44
pop esi
pop ebx
pop ebp
ret
Function at 0x403d17
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [0x42a270]
push edi
push 2
call fcn.00406a35
xor edi, edi
cmp eax, edi
je 0x403d43
call eax
movzx eax, ax
push eax
push 0x437000
call fcn.004065af
jmp 0x403d9d
mov ebx, 0x423748
push edi
push ebx
push edi
push str.Control_PanelDesktopResourceLocale
push 0x80000001
mov word [0x437000], 0x30
mov word [0x437002], 0x78
mov word [0x437004], di
call fcn.00406536
cmp word [0x423748], di
jne 0x403d92
push edi
push ebx
push 0x4083d4
push str..DEFAULTControl_PanelInternational
push 0x80000003
call fcn.00406536
push ebx
push 0x437000
call sub.KERNEL32.dll_lstrcatW
call fcn.00403fed
mov eax, dword [0x42a278]
mov ebp, 0x435800
and eax, 0x20
push ebp
mov dword [0x42a2e0], eax
mov dword [0x42a2fc], 0x10000
call fcn.0040603f
test eax, eax
jne 0x403e58
mov ecx, dword [esi + 0x48]
cmp ecx, edi
je 0x403e58
mov edx, dword [esi + 0x4c]
mov eax, dword [0x42a298]
mov ebx, 0x428200
push edi
lea edx, [eax + edx*2]
push ebx
lea eax, [eax + ecx*2]
push edx
push eax
push dword [esi + 0x44]
call fcn.00406536
mov ax, word [0x428200]
cmp ax, di
je 0x403e58
cmp ax, 0x22
jne 0x403e17
mov ebx, 0x428202
push 0x22
push ebx
call fcn.00405f64
mov word [eax], di
push ebx
call sub.KERNEL32.dll_lstrlenW
lea eax, [ebx + eax*2 - 8]
cmp eax, ebx
jbe 0x403e4b
push str..exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x403e4b
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x403e45
test al, 0x10
jne 0x403e4b
push ebx
call fcn.00405f83
push ebx
call fcn.00405f37
push eax
push ebp
call fcn.00406668
push ebp
call fcn.0040603f
test eax, eax
jne 0x403e6e
push dword [esi + 0x118]
push ebp
call fcn.004066a5
push 0x8040
push edi
push edi
push 1
push 0x67
push dword [0x42a260]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [0x429248], eax
cmp dword [esi + 0x50], 0xffffffff
mov ebx, 0x429200
je 0x403f14
mov ecx, dword [0x42a260]
mov esi, 0x40a3b4
push ebx
mov dword [0x429204], 0x401000
mov dword [0x429210], ecx
mov dword [0x429214], eax
mov dword [0x429224], esi
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x403fe3
lea eax, [esp + 0x10]
push edi
push eax
push edi
push 0x30
invalid
invalid

Function at 0x403fa5
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x403fe0
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x403fc7
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x403fd8
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x403fe2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x403fbd
xor eax, eax
pop edi
Function at 0x406113
Capabilities:
Access peb ldr_data

Disassembly:
cwde
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x406129
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.00403f65
mov ch, 0xbe
mov esi, 0xf88b95ba
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
invalid
xlatb
sbb byte [ebx - 0x20fcdfa6], cl

Function at 0x4062ae
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x426de8], 0x55004e
mov dword [0x426dec], 0x4c
mov edi, 0x400
mov ebp, 0x426de8
je 0x406304
push 1
push 0
push esi
call fcn.00406158
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x406423
cmp eax, edi
jg 0x406423
mov esi, 0x4275e8
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x406423
cmp eax, edi
jg 0x406423
push esi
push ebp
push str._ls_ls_r_n
push 0x4269e8
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x42a270]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.004066a5
push 4
push 0xc0000000
push esi
call fcn.00406158
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x406423
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40641c
push edi
push esi
push ebp
call fcn.004061db
test eax, eax
je 0x40641c
push str._Rename__r_n
push esi
call fcn.004060bd
test eax, eax
jne 0x4063ba
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x4063ef
add eax, 0xa
push 0x40a5b0
push eax
call fcn.004060bd
mov ebp, eax
test ebp, ebp
je 0x4063eb
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x4063dc
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x4063d6
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x4063f1
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x4269e8
push eax
call fcn.00406113
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.0040620a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406428
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40644b
push dword [esp + 8]
push dword [esp + 8]
call fcn.004062ae
pop ecx
pop ecx
inc dword [0x42a2f0]
ret 8
Function at 0x401906
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x401915
pop dword [ebp - 0x30]
mov eax, 0x1ffd4f2c
add eax, 0xe042c9e9
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x38d72
push 0
mov eax, 0x58f562de
sub eax, 0x58b481be
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x36ee6272
sub ecx, 0x36ee1c74
mov ebx, eax
mov esi, 0x8bc128cc
sub esi, 0x8b7fb0cc
add esi, dword [ebp - 0x30]
mov edi, 0x59bfcbc
add dword [ebp - 0x18], eax
mov edx, dword [esi]
sub dword [ebp - 0x14], 0x62f011a9
xor edx, edi
xor dword [ebp - 0x20], 0x18d4e166
mov dword [ebx], edx
xor dword [ebp - 0x28], edi
add ebx, 4
add esi, 0xf54f73cc
sub esi, 0xf54f73c8
loop 0x40196e
add eax, 0x9eb30dfa
sub eax, 0x9eb2032f
xor ebx, ebx
add ebx, eax
add eax, 0xa51195e1
add eax, 0x5aee6a24
mov ecx, 0x26da4164
add ecx, 0xd965be9c
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x401d25
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1a4]
sub esp, 0x224
mov eax, dword [0x412320]
xor eax, ebp
mov dword [ebp + 0x1a0], eax
mov eax, dword [ebp + 0x1ac]
push ebx
push esi
mov esi, dword [ebp + 0x1b0]
push 0x104
lea ecx, [ebp - 0x68]
push ecx
push 0xffffffffffffffff
push eax
xor ebx, ebx
push ebx
push 0xfde9
mov dword [ebp - 0x6c], 0xfffffffd
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
je 0x401e01
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x78], eax
cmp eax, ebx
je 0x401e01
push edi
mov edi, dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
push ebx
call edi
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x70], eax
cmp eax, ebx
je 0x401e00
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x68]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x401df3
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x40e484
push dword [ebp - 0x70]
mov dword [ebp - 0x74], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x401df3
mov eax, dword [ebp - 0x7c]
movzx ecx, word [eax + 0xa]
mov dword [esi], ecx
movzx ecx, word [eax + 8]
mov dword [esi + 4], ecx
movzx ecx, word [eax + 0xe]
mov dword [esi + 8], ecx
movzx eax, word [eax + 0xc]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x6c], ebx
push dword [ebp - 0x70]
push ebx
call edi
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
pop edi
mov ecx, dword [ebp + 0x1a0]
mov eax, dword [ebp - 0x6c]
pop esi
xor ecx, ebp
pop ebx
call fcn.004024bc
add ebp, 0x1a4
leave
ret

Function at 0x4024bc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412320]
jne 0x4024c6
repz ret
jmp fcn.00403ae7
Function at 0x40333c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x410aa0
call fcn.00406024
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40323d
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40323d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40323d
cmp dword [eax + 0x400074], 0xe
jbe 0x40323d
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x403241
and dword [ebp - 0x1c], 0
push 1
call main
pop ecx
test eax, eax
jne 0x403255
push 0x1c
call main
pop ecx
call fcn.00407199
test eax, eax
jne 0x403266
push 0x10
call main
pop ecx
call fcn.00406d3d
and dword [ebp - 4], 0
call fcn.00403bed
test eax, eax
jge 0x403280
push 0x1b
call main
pop ecx
call sub.kernel32.dll_GetCommandLineW
mov dword [0x413d00], eax
call fcn.00406ce0
mov dword [0x412ff8], eax
call main
test eax, eax
jge 0x4032a5
push 8
call main
pop ecx
call fcn.00406a03
test eax, eax
jge 0x4032b6
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x4032c9
push eax
call main
pop ecx
mov eax, dword [0x413340]
mov dword [0x413344], eax
push eax
push dword [0x413334]
push dword [0x41332c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4032f7
push eax
call main
call fcn.0040428b
jmp 0x40332c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00406069
ret
call main
jmp 0x4031eb

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 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 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 0x46ac38
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046a81f

Function at 0x46ac43
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046a9ae

Function at 0x46b166
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042b110
mov eax, dword [0x497040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00469587
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x46b1a8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x46b304
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00480540
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4e6680]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0046c6f9
mov ecx, dword [esi*4 + 0x4e6680]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x46b2fd
cmp eax, dword [edi + ecx + 0x24]
jne 0x46b2fd
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46b2fd
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0046c6f9
add esp, 0x14
test edx, edx
jl 0x46b2fd
jg 0x46b273
test eax, eax
jb 0x46b2fd
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x46b2fd
jl 0x46b28d
cmp dword [ebp - 0x1008], eax
ja 0x46b2fd
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x46b2ab
test ebx, ebx
je 0x46b2e4
cmp ecx, edi
jae 0x46b2e4
mov al, byte [ecx]
cmp al, 0xd
jne 0x46b2c5
lea eax, [edi - 1]
cmp ecx, eax
jae 0x46b2d1
cmp byte [ecx + 1], 0xa
jne 0x46b2d1
inc ecx
jmp 0x46b2d1
movzx eax, al
movsx eax, byte [eax + 0x497308]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x46b2ab
cmp edx, ebx
jne 0x46b2ab
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x46b302
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00429cbf
leave
ret