joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53bef0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x553d54], 0
mov byte [0x553d58], 0
mov dword [0x553d48], 0x25ec
mov dword [0x553d50], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x53bf5e
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x553d50], 0
mov edx, eax
add edx, 0xffffd26b
add eax, 0x2417
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
jmp 0x53bfaa
mov eax, dword [ebp - 0x1c]
mov dword [0x553d4c], 0xaf6
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x553d4c]
mov esi, eax
add esi, 0xffffe4f3
mov dword [0x553d48], esi
mov esi, dword [0x553d50]
add esi, 1
mov dword [0x553d50], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x53bf5e
jmp 0x53bf37
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x1b14
mov edi, 0xfffff02c
mov ebx, 0x100
mov dword [0x553d5c], 0
mov dword [0x553d48], eax
mov eax, dword [0x553d54]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + ecx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x3c], edx
mov edx, ecx
mov ecx, dword [ebp - 0x10]
div ecx
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx]
mov ecx, dword [ebp - 0x38]
add ecx, edx
mov dword [0x553d5c], ecx
mov eax, ecx
cdq
idiv ebx
mov dword [0x553d54], edx
mov dword [0x553d48], 0x1802
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x34]
mov cl, byte [ecx + ebx]
mov byte [0x553d58], cl
mov ecx, dword [ebp - 0x3c]
mov dword [0x553d48], ecx
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
mov cl, byte [0x553d58]
mov edx, dword [0x553d54]
mov ebx, dword [ebp - 0x18]
mov byte [ebx + edx], cl
mov dword [0x553d48], 0x2b4
mov dword [0x553d4c], 0xfffff6fd
mov edx, dword [0x553d50]
add edx, 1
mov dword [0x553d50], edx
cmp edx, 0x100
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], edi
jl 0x53bfaa
mov dword [0x553d48], 0xffffeb3b
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x53c140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x553d50], 0
mov dword [0x553d54], 0
mov dword [0x553d60], 0
mov edi, dword [0x553d48]
add edi, 0x3c3
mov dword [0x553d48], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [0x553d4c], 0x5f1
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x53c312
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x53c1ba
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x553d4c], 0x1cfd
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x553d50], edx
mov dword [0x553d48], 0x18db
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x553d54], edx
mov dword [0x553d4c], 0x198a
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x553d58], cl
mov dword [0x553d48], 0x13a5
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x553d4c], 0x1ce8
mov dword [0x553d48], 0x15f
mov cl, byte [0x553d58]
mov edx, dword [0x553d54]
mov byte [edi + edx], cl
mov edx, dword [0x553d48]
add edx, 0xffffedd6
mov dword [0x553d48], edx
mov edx, dword [0x553d50]
movzx edx, byte [edi + edx]
mov ebx, dword [0x553d54]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x553d60], ebx
mov dword [0x553d48], 0x2cc
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov edx, dword [0x553d4c]
mov bl, cl
add bl, byte [0x553d65]
mov byte [0x553d64], bl
mov byte [0x553d65], ch
mov byte [0x553d66], cl
xor ch, cl
add edx, 0xffffee6e
mov dword [0x553d4c], edx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov byte [edx + esi], ch
mov dword [0x553d48], 0x13c3
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x38], esi
je 0x53c310
mov eax, dword [0x553d50]
mov ecx, dword [0x553d54]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x53c1ba
jmp 0x53c312
mov dword [0x553d48], 0xb60
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x53cb10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [0x553d4c], 0x1626
mov ecx, dword [0x553d48]
add ecx, 0x31
mov dword [0x553d48], ecx
mov dword [ebp - 0x10], eax
call fcn.0053c4e0
mov ecx, eax
mov eax, dword [eax + 0x3c]
mov dword [0x553d48], 0xd6b
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov esi, dword [ecx + edx + 0x78]
mov dword [0x553d48], 0x12
add ecx, dword [ecx + esi + 0x20]
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + esi + 0x24]
mov dword [0x553d4c], 0x40a
mov edx, dword [edi + esi + 0x18]
cmp edx, 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
je 0x53ccac
jmp 0x53cc00
mov eax, dword [ebp - 0x30]
add eax, 2
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x24]
cmp ecx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
jb 0x53cc18
jmp 0x53cca5
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], dl
mov al, byte [ebp - 0x4a]
mov cl, byte [ebp - 0x49]
and al, cl
mov edx, dword [ebp - 0x48]
cmp edx, 0x20
setb ah
and al, ah
test al, 1
mov al, byte [ebp - 0x4a]
mov dword [ebp - 0x50], edx
mov byte [ebp - 0x51], al
jne 0x53cc32
jmp 0x53cc64
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
add eax, ecx
mov dword [ebp - 0x58], eax
xor eax, eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jmp 0x53cc18
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [ebp - 0x5c]
add ecx, edx
mov esi, dword [ebp - 0x14]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x4a], cl
mov byte [ebp - 0x51], bl
jne 0x53cbc4
mov al, byte [ebp - 0x51]
test al, 1
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x60], ecx
jne 0x53cc76
jmp 0x53cba1
mov eax, dword [ebp - 0x60]
movzx eax, word [eax]
mov dword [0x553d4c], 0x182a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x14]
add esi, dword [ecx + eax*4]
mov dword [0x553d48], 0x274
mov dword [ebp - 0x2c], esi
jmp 0x53ccac
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x53ccac
mov eax, dword [ebp - 0x2c]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x53ccc0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov eax, dword [0x553d4c]
add eax, 0x1c78
mov dword [0x553d4c], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x553d4c], 0x19
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x53cd2b
mov eax, dword [ebp - 0x14]
add esp, 0x2c
pop ebp
ret
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0x104
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], ecx
jge 0x53cd41
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], edx
jne 0x53cd0d
mov eax, dword [ebp - 0x20]
mov dword [0x553d4c], 0x56e
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
jne 0x53ce12
mov dword [0x553d48], 0x582
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2], 0x6f
jne 0x53ce12
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x53ce12
mov dword [0x553d48], 0x7df
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff6
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2], 0x64
jne 0x53ce12
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x53ce12
mov dword [0x553d48], 0x91c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x53ce12
mov dword [0x553d4c], 0x153e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0xe], 0x6c
jne 0x53ce12
mov dword [0x553d4c], 0x190e
mov eax, 1
mov dword [ebp - 0x14], eax
jmp 0x53cd05
xor eax, eax
mov dword [0x553d48], 0x10e3
mov dword [ebp - 0x14], eax
jmp 0x53cd05
Function at 0x53d720
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov dword [0x553d48], 0x1594
call fcn.00401090
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x53d7e3
jmp 0x53d8b7
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jne 0x53d89b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x38]
mov dword [esp + 0x88], eax
mov dword [0x553d4c], 0x2099
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x6c], eax
mov dword [0x553d48], 0xa15
mov eax, dword [esp + 0x30]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0053c840
mov ecx, dword [0x553d48]
add ecx, 0xbd7
mov dword [0x553d48], ecx
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x553d48], 0x1824
mov dword [esp + 0x14], eax
jmp 0x53d8af
lea eax, [esp + 0x38]
mov dword [0x553d4c], 0x1aa1
mov dword [esp + 0x10], eax
mov dword [0x553d48], 0x17ad
call fcn.0053ccc0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
jne 0x53d8af
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.0053cf10
lea ecx, [0x53bbe0]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], edx
mov dword [0x553d4c], 0x1364
mov dword [esp + 0x64], 0x118c00
mov edx, dword [0x553d34]
mov dword [esp + 0x48], edx
mov edx, dword [0x553d38]
mov dword [esp + 0x74], edx
mov edx, dword [0x553d3c]
mov dword [esp + 0x78], edx
mov edx, dword [0x553d40]
mov dword [esp + 0x4c], edx
mov edx, dword [0x553d44]
mov dword [esp + 0x44], edx
mov dword [0x553d48], 0x423
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 8]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x53d751
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 8], eax
jmp 0x53d888
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x410b15
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x449f08
call fcn.00410b20
push 1
call fcn.004105dd
pop ecx
test al, al
je 0x410aff
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004105ab
mov byte [ebp - 0x24], al
mov eax, dword [0x4680e4]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x410aff
test eax, eax
jne 0x410a23
mov dword [0x4680e4], ecx
push 0x43a2cc
push 0x43a2b0
call fcn.00426788
pop ecx
pop ecx
test eax, eax
je 0x410a06
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x410aef
push 0x43a2ac
push 0x43a29c
call fcn.00426743
pop ecx
pop ecx
mov dword [0x4680e4], 2
jmp 0x410a28
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0041074f
pop ecx
call fcn.0041111b
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x410a59
push esi
call fcn.004106bb
pop ecx
test al, al
je 0x410a59
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x43a298]
call esi
call fcn.00411121
mov esi, eax
cmp dword [esi], edi
je 0x410a77
push esi
call fcn.004106bb
pop ecx
test al, al
je 0x410a77
push dword [esi]
call fcn.0042088f
pop ecx
call fcn.00410f53
movzx eax, ax
push eax
call fcn.004266f9
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00410f8c
test al, al
je 0x410b06
test bl, bl
jne 0x410aa5
call fcn.0042086a
push edi
push 1
call fcn.0041076c
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x410aef
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00410e39
push esi
call fcn.004208b5
push dword [ebp - 0x20]
call fcn.00420879
int3
call 0x597000
jmp 0x410999

Function at 0x42b2bb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042ae0e

Function at 0x42fdfc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042faad

Function at 0x42fe07
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042fc37
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x9aa76a1
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..text_1
mov ebx, 0x42f314
nop
nop
mov ecx, 0x6be03765
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4039e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462b53
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4745a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
or ecx, 0xffffffff
mov dword [edi + 8], ecx
mov dword [edi + 4], ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x20], 0x49f224
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [ebp - 4], eax
lea ebx, [edi + 0x34]
mov dword [edi], vtable.TiXmlDocument.0
mov dword [ebx], 0x49f224
mov byte [ebp - 4], 1
mov dword [edi + 0x40], ecx
mov dword [edi + 0x3c], ecx
push 0x46c3e8
xor esi, esi
mov dword [edi + 0x38], 4
mov byte [edi + 0x44], al
mov byte [edi + 0x2c], al
mov dword [edi + 0x30], eax
call fcn.0040a620
xor eax, eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403d80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
jne 0x403dcc
cmp byte [edi + 0x2c], bl
jne 0x403dc4
mov byte [edi + 0x2c], 1
mov dword [edi + 0x30], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403da7
sub eax, esi
push edx
lea ebx, [edi + 0x34]
mov esi, eax
call fcn.0040a620
or eax, 0xffffffff
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
pop esi
xor al, al
pop ebx
pop ebp
ret 8
mov esi, dword [edi + 0x18]
test esi, esi
je 0x403de4
mov ecx, esi
mov eax, dword [ecx]
mov edx, dword [eax]
mov esi, dword [esi + 0x28]
push 1
call edx
test esi, esi
jne 0x403dd3
xor ecx, ecx
push 2
or eax, 0xffffffff
push ecx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], ecx
push ebx
mov dword [edi + 8], eax
mov dword [edi + 4], eax
call fcn.0043b882
push ebx
call fcn.0043b793
push 0
mov ebx, eax
mov eax, dword [ebp + 8]
push 0
push eax
call fcn.0043b882
add esp, 0x1c
test ebx, ebx
jg 0x403e42
cmp byte [edi + 0x2c], 0
jne 0x403dc4
mov byte [edi + 0x2c], 1
mov dword [edi + 0x30], 0xc
mov edx, dword [str.Error_document_empty.]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403e36
jmp 0x403dae
lea ecx, [ebx + 1]
push ecx
call fcn.0043a677
mov edx, dword [ebp + 8]
push edx
push 1
mov esi, eax
push ebx
push esi
mov byte [esi], 0
call fcn.0043b5e2
add esp, 0x14
cmp eax, 1
je 0x403e9c
push esi
call fcn.00439f71
add esp, 4
cmp byte [edi + 0x2c], 0
jne 0x403dc4
mov byte [edi + 0x2c], 1
mov dword [edi + 0x30], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403e90
jmp 0x403dae
mov byte [esi + ebx], 0
cmp byte [esi], 0
mov eax, esi
mov ecx, esi
je 0x403ecc
lea esp, [esp]
mov dl, byte [eax]
cmp dl, 0xd
jne 0x403ec3
mov byte [ecx], 0xa
inc eax
inc ecx
cmp byte [eax], 0xa
jne 0x403ec7
jmp 0x403ec6
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x403eb0
mov byte [ecx], 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi]
mov edx, dword [eax + 8]
push ecx
push 0
push esi
mov ecx, edi
call edx
push esi
call fcn.00439f71
add esp, 4
xor eax, eax
cmp byte [edi + 0x2c], al
pop esi
sete al
pop ebx
pop ebp
ret 8
Function at 0x40aa60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x40aa86
push str.createSnapshot__of_processes_
call fcn.00420660
add esp, 4
xor eax, eax
pop edi
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
push esi
push edi
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40aaa2
push str.process32First
jmp 0x40aacb
push ebx
mov ebx, dword [ebp + 8]
cmp dword [esi + 8], ebx
je 0x40aac3
jmp 0x40aab0
push esi
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40aac0
cmp dword [esi + 8], ebx
jne 0x40aab0
cmp dword [esi + 8], ebx
pop ebx
je 0x40aae0
push str.finding_proc_failed.
call fcn.00420660
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop edi
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop edi
pop ebp
ret
Function at 0x40df90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f54b
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4745a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [esi + 0x6c], 0
mov dword [ebp - 0x224], eax
je 0x40e12c
push 0x464a3c
lea ecx, [ebp - 0x274]
call fcn.00402de0
push edi
push 0x104
lea edx, [ebp - 0x220]
push edx
push 0x46c3e8
push str.EadIpv6Addr
lea ecx, [ebp - 0x274]
push 0x4662a4
mov dword [ebp - 4], 0
mov dword [esi + 0x6c], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x220]
push eax
push str.eadIpv6Addr
mov ecx, esi
call fcn.00406dc0
push str..MaxUserCtrl
push 0x4662a4
lea ecx, [ebp - 0x118]
push 0x4660ac
push ecx
call fcn.0043ac3a
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x10
push edi
push 0xffffffffffffffff
lea edx, [ebp - 0x118]
push edx
push str.Common
call ebx
cmp eax, 0xffffffff
je 0x40e072
push eax
push str.MaxUserCtrl
mov ecx, esi
call fcn.00407040
push str..ProbationCtrl
push 0x4662a4
lea eax, [ebp - 0x118]
push 0x4660ac
push eax
call fcn.0043ac3a
add esp, 0x10
push edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
push ecx
push str.Common
call ebx
cmp eax, 0xffffffff
je 0x40e0b3
push eax
push str.ProbationCtrl
mov ecx, esi
call fcn.00407040
push str..TimeStamp
push 0x4662a4
lea edx, [ebp - 0x118]
push 0x4660ac
push edx
call fcn.0043ac3a
add esp, 0x10
push edi
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x46c3e8
lea ecx, [ebp - 0x118]
push ecx
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x220]
push edx
push str.TimeStamp
mov ecx, esi
call fcn.00406dc0
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x274]
push eax
call fcn.00402720
lea ecx, [ebp - 0x274]
mov dword [ebp - 4], 0xffffffff
call fcn.00402fa0
push 1
mov ecx, esi
call fcn.00407280
movzx eax, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00439bf4
mov esp, ebp
pop ebp
ret 8