joyce8/EMBER2024-capa huggingface dataset:
Function at 0x536050
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x553166
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x5973cc]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5973cc]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xec]
xor edi, edi
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.0052b5f0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0xe8], edi
call fcn.00536030
mov eax, dword [esp + 0x30]
mov ebp, 8
mov byte [esp + 0xe4], 1
cmp dword [esp + 0x44], ebp
jae 0x5360e6
lea eax, [esp + 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push ecx
push eax
call ebx
test eax, eax
jne 0x5361a8
push 2
push 0xffffffffffffffff
push 0x56e038
lea ecx, [esp + 0x38]
call fcn.004c93b0
mov esi, eax
cmp esi, 0xffffffff
jne 0x53612a
push eax
push edi
lea ecx, [esp + 0x34]
call fcn.00405dd0
push 0xffffffffffffffff
inc esi
push esi
lea ecx, [esp + 0x34]
call fcn.00405dd0
push 0x5c
push 1
lea ecx, [esp + 0x34]
call fcn.00406e30
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebp
jae 0x536152
lea eax, [esp + 0x30]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call ebx
test eax, eax
jne 0x5361a8
cmp dword [esp + 0x44], ebp
jb 0x53617b
mov eax, dword [esp + 0x30]
push eax
call fcn.00505cfe
add esp, 4
xor ecx, ecx
mov word [esp + 0x30], cx
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov dword [esp + 0xe4], 0xffffffff
call fcn.0053a300
xor eax, eax
xor edx, edx
jmp 0x5361ee
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x44], ebp
jb 0x5361c3
mov edx, dword [esp + 0x30]
push edx
call fcn.00505cfe
add esp, 4
xor eax, eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], ax
mov dword [esp + 0xe4], 0xffffffff
call fcn.0053a300
mov eax, esi
mov edx, ebx
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.005060ef
add esp, 0xd4
ret
Function at 0x536220
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5531ab
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x5973cc]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
mov eax, dword [0x5973cc]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc8]
push eax
lea ecx, [esp + 0x28]
call fcn.0052b5f0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0xc4], 0
call fcn.00536030
cmp dword [eax + 0x18], 8
jb 0x53628d
mov eax, dword [eax + 4]
jmp 0x536290
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
sete bl
cmp dword [esp + 0x20], 8
jb 0x5362b1
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00505cfe
add esp, 4
xor edx, edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], dx
mov dword [esp + 0xc0], 0xffffffff
call fcn.0053a300
mov al, bl
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.005060ef
add esp, 0xbc
ret
Function at 0x419aec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x419afb
pop dword [ebp - 0xc]
mov eax, 0xf55fc3af
add eax, 0xae1d74c
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x3cff7
push 0
mov eax, 0xb2e3220
sub eax, 0xaee1fe8
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x76fa6dba
add ecx, 0x8905cfb1
mov esi, eax
mov edi, 0x4661a45f
add edi, 0xb9e41da1
add edi, dword [ebp - 0xc]
mov ebx, 0x39501c9c
xor dword [ebp - 8], 0x150f1b44
mov edx, dword [edi]
add dword [ebp - 8], 0x14712993
add edx, ebx
xor dword [ebp - 4], 0x67a50229
mov dword [esi], edx
xor dword [ebp - 4], ecx
add esi, 0x375d9ee5
add esi, 0xc8a2611f
add edi, 0xa5a8597b
add edi, 0x5a57a689
loop 0x419b54
add eax, 0xe87f
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x41c202
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp + 0x198], eax
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.00408720
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
mov esi, 0x104
push esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
call dword [sym.imp.kernel32.dll_GetTempPathW]
test eax, eax
jne 0x41c28e
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, edi
jle 0x41c269
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x41c274
mov esi, 0x80004005
push esi
push 0x24e
push 0x44403e
call fcn.004314ce
push 0x444022
jmp 0x41c33c
lea eax, [ebp - 0x78]
push eax
push esi
lea eax, [ebp - 0x70]
push eax
call fcn.0041c14a
mov esi, eax
cmp esi, edi
jge 0x41c2ac
push 0x443ffc
jmp 0x41c33c
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.kernel32.dll_ProcessIdToSessionId]
test eax, eax
je 0x41c324
push dword [ebp - 0x80]
lea eax, [ebp - 0x74]
push 0x443ff4
push eax
call fcn.0042ff9c
mov esi, eax
add esp, 0xc
cmp esi, edi
jge 0x41c2e2
push 0x443fca
jmp 0x41c33c
lea eax, [ebp - 0x7c]
push eax
push SysReAllocString
push dword [ebp - 0x74]
call fcn.0041c14a
mov esi, eax
cmp esi, edi
jge 0x41c300
push 0x443f9e
jmp 0x41c33c
push dword [ebp - 0x7c]
mov esi, dword [ebp - 0x78]
push dword [ebp - 0x74]
sub esi, dword [ebp - 0x7c]
push dword [ebp - 0x7c]
lea eax, [ebp + esi*2 - 0x70]
push eax
push edi
push edi
call dword [sym.imp.kernel32.dll_CompareStringW]
cmp eax, 2
jne 0x41c324
mov dword [ebp - 0x78], esi
push dword [ebp - 0x78]
lea eax, [ebp - 0x70]
push eax
push ebx
call main
mov esi, eax
cmp esi, edi
jge 0x41c344
push 0x443f82
push esi
call fcn.004314ba
pop ecx
pop ecx
cmp dword [ebp - 0x74], edi
je 0x41c351
push dword [ebp - 0x74]
call fcn.0042ead8
mov ecx, dword [ebp + 0x198]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00408498
add ebp, 0x19c
leave
ret
Function at 0x2580ef29
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x2580ef38
pop dword [ebp - 0x50]
mov eax, 0x8bd5f740
add eax, 0x99aaf7f8
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x6b691d8c
add dword [ebp - 0x60], 0xe2e927bf
mov dword [ebp - 0x5c], 0x1c2ae2d8
add dword [ebp - 0x5c], 0x1608696d
mov dword [ebp - 0x58], 0x8fec4d52
sub dword [ebp - 0x58], 0x43a00924
mov dword [ebp - 0x54], 0xf3ede6a4
sub dword [ebp - 0x54], 0xf3ede6a4
lea eax, [ebp - 0x60]
push eax
mov eax, 0x42e6a39b
sub eax, 0x1d64d357
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xc44623cb
add dword [ebp - 0x60], 0xb02c458b
mov dword [ebp - 0x5c], 0xd7f64280
sub dword [ebp - 0x5c], 0x9689e10b
mov dword [ebp - 0x58], 0xb2c87f93
sub dword [ebp - 0x58], 0x4f591327
mov dword [ebp - 0x54], 0xbee4d617
sub dword [ebp - 0x54], 0xbee4d617
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x19854df4
sub eax, 0xf4037d74
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3cc63
push 0
call eax
mov ecx, 0x48f4
xor edi, edi
add edi, eax
mov ebx, 0x9e1c9418
sub ebx, 0x7899fe18
add ebx, dword [ebp - 0x50]
mov esi, 0xbc5251f9
sub dword [ebp - 0x18], edx
mov edx, dword [ebx]
sub edx, esi
xor dword [ebp - 0x10], edi
mov dword [edi], edx
add edi, 4
add ebx, 0xcb29a80a
add ebx, 0x34d657fa
loop 0x2580f050
add eax, 0x116a3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x760971fa
sub ecx, 0x508971fa
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.100080c7
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100080c7
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100080c7
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.100080c7
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.100080c7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.100080c7
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.100080c7
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.100080c7
push 0xd008
push edi
call fcn.100080c7
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.100080c7
int3

Function at 0x100080c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x100080d6
pop dword [ebp - 0x18]
mov eax, 0x37cac1a5
sub eax, 0x27ca40cf
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x345ca
push 0
mov eax, 0x49a3c529
add eax, 0xc65d7b3b
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x8f1d3d99
add ecx, 0x70e2f7d7
xor edi, edi
add edi, eax
mov edx, 0x10018600
add edx, dword [ebp - 0x18]
mov esi, 0x44f32233
sub esi, 0x6c9de6f2
mov ebx, dword [edx]
xor dword [ebp - 0x14], 0xe4fe8ff8
xor ebx, esi
mov dword [edi], ebx
mov dword [ebp - 8], 0xc97f67c9
add edi, 0x3a3f2e8f
sub edi, 0x3a3f2e8b
add edx, 4
loop 0x10008131
add eax, 0xc893
xor ebx, ebx
add ebx, eax
add eax, 0x4e194487
add eax, 0xb1e6bb7e
mov ecx, 0x68d5cd59
add ecx, 0xa72a32a7
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40596d
pop dword [ebp - 0x28]
mov eax, 0x98b9f2b9
add eax, 0x678666b4
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xceddc0ca
sub dword [ebp - 0x38], 0x808b7b7f
mov dword [ebp - 0x34], 0x60e6104
sub dword [ebp - 0x34], 0xd3db14bf
mov dword [ebp - 0x30], 0x78174361
sub dword [ebp - 0x30], 0x2bcaff33
mov dword [ebp - 0x2c], 0xe3a641ea
add dword [ebp - 0x2c], 0x1c59be16
lea eax, [ebp - 0x38]
push eax
mov eax, 0x98cbabf4
sub eax, 0x988b3b94
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x96935be8
sub dword [ebp - 0x38], 0x2220f292
mov dword [ebp - 0x34], 0x34a7e29f
add dword [ebp - 0x34], 0xcc47ed6
mov dword [ebp - 0x30], 0xa5a20e4e
sub dword [ebp - 0x30], 0x4232a1e2
mov dword [ebp - 0x2c], 0xd215fd05
add dword [ebp - 0x2c], 0x2dea02fb
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 0x3431f
push 0
call eax
mov ecx, 0x3dea
xor edx, edx
add edx, eax
mov ebx, 0x7990ac7a
sub ebx, 0x794fac7a
add ebx, dword [ebp - 0x28]
mov edi, 0x401d13d0
sub edi, 0xae0ca626
xor dword [ebp - 0xc], 0x3012382
mov esi, dword [ebx]
xor dword [ebp - 8], ecx
xor esi, edi
add dword [ebp - 4], eax
mov dword [edx], esi
add edx, 4
add ebx, 0xb27f3494
add ebx, 0x4d80cb70
loop 0x405a86
add eax, 0x6b37dd12
sub eax, 0x6b36f297
mov ebx, eax
add eax, 0x3eb927b9
add eax, 0xc146d84c
mov ecx, 0x4adc9e01
sub ecx, 0x4a9c9e01
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x401c66
pop dword [ebp - 0x40]
mov eax, 0xc185d86e
sub eax, 0xc145bc08
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xcfe6da78
sub dword [ebp - 0x50], 0x8194952d
mov dword [ebp - 0x4c], 0xc1aa25d1
sub dword [ebp - 0x4c], 0x8f76d98c
mov dword [ebp - 0x48], 0x829a011a
add dword [ebp - 0x48], 0xc9b24314
mov dword [ebp - 0x44], 0x94c2b00e
sub dword [ebp - 0x44], 0x94c2b00e
lea eax, [ebp - 0x50]
push eax
mov eax, 0xa96ca88c
sub eax, 0xa92c7838
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xdcb3e519
sub dword [ebp - 0x50], 0x68417bc3
mov dword [ebp - 0x4c], 0x935a6886
sub dword [ebp - 0x4c], 0x51ee0711
mov dword [ebp - 0x48], 0x5ccebcfc
sub dword [ebp - 0x48], 0xf95f5090
mov dword [ebp - 0x44], 0xa8509356
sub dword [ebp - 0x44], 0xa8509356
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x374ce
push 0
call eax
mov ecx, 0xfdf07585
add ecx, 0x20fd5c2
xor ebx, ebx
add ebx, eax
mov esi, 0xd1ef7917
add esi, 0x2e50f6e9
add esi, dword [ebp - 0x40]
mov edx, 0xd6e13fcd
sub edx, 0x5c06e380
xor dword [ebp - 0x24], ebx
mov edi, dword [esi]
xor dword [ebp - 0x34], ebx
sub edi, edx
xor dword [ebp - 8], 0xb930679
mov dword [ebx], edi
mov dword [ebp - 0x30], 0xf765ee70
add ebx, 0x7705d611
sub ebx, 0x7705d60d
add esi, 0xda7cdbae
add esi, 0x25832456
loop 0x401d85
add eax, 0x11fef
xor ebx, ebx
add ebx, eax
add eax, 0x410519d0
sub eax, 0x410519cb
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x258095ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x258095d9
pop dword [ebp - 0x3c]
mov eax, 0x258095d9
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x608b3d82
sub dword [ebp - 0x4c], 0x1238f837
mov dword [ebp - 0x48], 0x1e6ce91d
add dword [ebp - 0x48], 0x13c66328
mov dword [ebp - 0x44], 0xaa2dc2d2
add dword [ebp - 0x44], 0xa21e815c
mov dword [ebp - 0x40], 0xe313bada
sub dword [ebp - 0x40], 0xe313bada
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xbf28ed66
sub eax, 0x99a7ad02
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x1dc10f87
add dword [ebp - 0x4c], 0x56b159cf
mov dword [ebp - 0x48], 0x3de6a2b4
sub dword [ebp - 0x48], 0xfc7a413f
mov dword [ebp - 0x44], 0xfb42d2ea
sub dword [ebp - 0x44], 0x97d3667e
mov dword [ebp - 0x40], 0xb4b6ce5b
add dword [ebp - 0x40], 0x4b4931a5
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xcc4207
sub eax, 0xdb4b0197
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3908a
push 0
call eax
mov ecx, 0x40d9
xor esi, esi
add esi, eax
mov edx, 0xb4fee6ce
sub edx, 0x8f7d0ace
add edx, dword [ebp - 0x3c]
mov ebx, 0xbb01135b
add ebx, 0x87a5999d
xor dword [ebp - 0x18], ecx
mov edi, dword [edx]
xor dword [ebp - 0x10], eax
xor edi, ebx
sub dword [ebp - 0x28], 0x132730ee
mov dword [esi], edi
xor dword [ebp - 0x28], 0x7491d77c
add esi, 4
add edx, 0xc0d08bfe
add edx, 0x3f2f7406
loop 0x258096f2
add eax, 0xdb5bc122
add eax, 0x24a53515
mov ebx, eax
add eax, 5
mov ecx, 0x379777a5
sub ecx, 0x121777a5
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
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 0x409d7a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x409d89
pop dword [ebp - 0x34]
mov eax, 0xf2609d17
sub eax, 0xf21fff8e
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x3c72c
push 0
mov eax, 0x749aa382
add eax, 0x8ba63d9e
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0xcc287b9
add ecx, 0xf33dcc7e
mov edi, eax
mov ebx, 0x1025ab76
add ebx, 0xf01bcc8a
add ebx, dword [ebp - 0x34]
mov esi, 0x589d1615
add esi, 0x969e5c36
xor dword [ebp - 0x10], ecx
mov edx, dword [ebx]
add edx, esi
add dword [ebp - 4], 0x63986f4a
mov dword [edi], edx
sub dword [ebp - 0x14], 0xd63b72b0
add edi, 4
add ebx, 0xff05c291
sub ebx, 0xff05c28d
loop 0x409de8
add eax, 0x143af
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x75824726
add ecx, 0x8abdb8da
add ecx, dword [ebp - 0x34]
call ebx
leave
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 0x40121c
Capabilities:
Print debug messages
Terminate process

Disassembly:
sub esp, 0x804
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00401c8f
test al, al
je 0x4012c7
xor edi, edi
cmp dword [esi + 0x10], edi
je 0x401407
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Calling_Terminate...
call ebp
mov ecx, esi
call fcn.00401c25
test al, al
je 0x4012b7
push 0x436da0
push dword [esi + 0x18]
call fcn.00401412
cmp dword [0x436da4], edi
pop ecx
pop ecx
jbe 0x4012b7
mov eax, dword [0x436da0]
push dword [eax + edi*4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov eax, dword [0x436da0]
push ebx
push dword [eax + edi*4]
lea eax, [esp + 0x1c]
push str.Terminating_child__d___x_
push eax
call fcn.004177f3
add esp, 0x10
lea eax, [esp + 0x14]
push eax
call ebp
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
inc edi
cmp edi, dword [0x436da4]
jb 0x40126f
push 0
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x401407
lea eax, [esp + 0x10]
mov ebx, 0x1f4
push eax
push ebx
push 2
push 0
push 0
push 0x10
mov ecx, esi
call fcn.00401d4e
mov edi, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
push eax
call edi
push 0x7d0
mov ecx, esi
call fcn.004011ec
mov ecx, esi
call fcn.004011a0
test al, al
je 0x40132b
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push ebx
push 2
push 0
push 0xf060
push 0x112
call fcn.00401d4e
push eax
call edi
push 0x3e8
mov ecx, esi
call fcn.004011ec
mov ecx, esi
call fcn.004011a0
test al, al
je 0x40135a
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push ebx
push 2
push 0
push 0
push 0x12
call fcn.00401d4e
push eax
call edi
push 0x3e8
mov ecx, esi
call fcn.004011ec
mov ecx, esi
call fcn.004011a0
test al, al
je 0x401389
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push ebx
push 2
push 0
push 0
push 2
call fcn.00401d4e
push eax
call edi
push 0x3e8
mov ecx, esi
call fcn.004011ec
xor edi, edi
cmp dword [esi + 0x10], edi
je 0x401407
mov ecx, esi
call fcn.00401c25
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
test al, al
je 0x401400
push 0x436da0
push dword [esi + 0x18]
call fcn.00401412
cmp dword [0x436da4], edi
pop ecx
pop ecx
jbe 0x401400
mov eax, dword [0x436da0]
push dword [eax + edi*4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov eax, dword [0x436da0]
push ebx
push dword [eax + edi*4]
lea eax, [esp + 0x1c]
push str.Terminating_child__d___x_
push eax
call fcn.004177f3
add esp, 0x10
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push ebx
call ebp
inc edi
cmp edi, dword [0x436da4]
jb 0x4013b8
push 0xffffffffffffffff
push dword [esi + 0x10]
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x804
ret