joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d180
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x2b8]
test eax, eax
jne 0x45d193
xor eax, eax
pop ebp
pop ecx
ret
push ebx
mov ebx, dword [ebp + 0x2c0]
push edi
sub ebx, dword [ebp + 0x2bc]
push 0
inc ebx
call dword [fcn.00401314]
test eax, eax
jne 0x45d1ce
mov eax, dword [ebp + 0x140]
push 0x10
push 0x434400
push 0x43444c
push eax
call dword [fcn.00401370]
pop edi
pop ebx
xor eax, eax
pop ebp
pop ecx
ret
lea ecx, [ebx + 4]
push ecx
push 0x2042
call dword [fcn.004011b4]
test eax, eax
mov dword [esp + 0xc], eax
jne 0x45d20b
call dword [fcn.00401320]
mov edx, dword [ebp + 0x140]
push 0x10
push 0x434400
push 0x43442c
push edx
call dword [fcn.00401370]
pop edi
pop ebx
xor eax, eax
pop ebp
pop ecx
ret
push esi
push eax
call dword [fcn.00401084]
mov edi, dword [ebp + 0x2bc]
mov esi, dword [ebp + 0x150]
mov ecx, ebx
mov edx, ecx
add esi, edi
shr ecx, 2
lea edi, [eax + 4]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
push esi
mov dword [eax], ebx
call dword [fcn.004010a4]
call dword [0x401318]
mov eax, dword [ebp + 0x308]
push esi
push eax
call dword [fcn.0040131c]
test eax, eax
jne 0x45d287
push esi
call dword [fcn.004011c0]
call dword [fcn.00401320]
mov ecx, dword [ebp + 0x140]
push 0x10
push 0x434400
push 0x434408
push ecx
call dword [fcn.00401370]
pop esi
pop edi
pop ebx
xor eax, eax
pop ebp
pop ecx
ret
call dword [fcn.00401320]
pop esi
pop edi
pop ebx
mov eax, 1
pop ebp
pop ecx
ret
Function at 0x45d539
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46d4bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x148]
mov dword [esp + 0xc], esi
call fcn.00460e80
xor ebx, ebx
lea ecx, [esi + 0x168]
mov dword [esp + 0x54], ebx
call fcn.00460f50
push ebx
mov byte [esp + 0x58], 1
call dword [fcn.004010ac]
mov ecx, esi
mov dword [esi + 0x13c], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x34], ebx
call fcn.0045ca10
xor eax, eax
mov ecx, 0xb
lea edi, [esi + 0x2cc]
rep stosd dword es:[edi], eax
mov eax, dword [0x471e28]
push 0x104
lea edi, [esi + 0x43c]
push edi
push eax
call dword [fcn.004011c8]
push edi
call fcn.00461510
push edi
call fcn.00461540
push edi
lea ecx, [esi + 0x38]
push 0x434514
push ecx
call dword [fcn.0040124c]
add esp, 0x14
xor eax, eax
push 0x406dd4
lea edx, [esp + 0x30]
mov ecx, 0xf
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x18], 0xfffffff5
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x190
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], 3
mov byte [esp + 0x31], 2
mov byte [esp + 0x32], 1
mov byte [esp + 0x33], 0x31
call dword [fcn.00401088]
mov edi, dword [sym.imp.gdi32.dll_CreateFontIndirectA]
lea eax, [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
mov dword [esi], eax
call edi
push 0x434508
mov dword [esi + 4], eax
call dword [fcn.004012b4]
mov dword [esi + 0x308], eax
call dword [fcn.00401334]
push 0x434500
push 0x1001
push ebx
mov dword [esi + 0x438], eax
push eax
mov edi, dword [0x4012b8]
call edi
mov edx, dword [esi + 0x438]
push 0x4344f8
push 0x1002
push ebx
push edx
call edi
mov ecx, dword [esp + 0x4c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x45d800
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x3e0]
xor eax, eax
mov ecx, 0x16
mov edi, ebx
rep stosd dword es:[edi], eax
push 0x434538
lea edi, [esi + 0x3f8]
push edi
mov dword [ebx], 0x58
call dword [fcn.00401088]
lea ebp, [esi + 0x168]
mov ecx, ebp
call fcn.00460f10
test eax, eax
je 0x45d87f
mov ecx, ebp
call fcn.00460f30
push eax
call fcn.004614e0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x45d895
push ebp
call dword [fcn.004010a0]
cmp eax, 0x34
ja 0x45d895
push 0x434534
push edi
call dword [fcn.004010b0]
push ebp
push edi
call dword [fcn.004010b0]
push edi
call dword [fcn.004010a0]
jmp 0x45d895
mov ebp, dword [fcn.004010b0]
push 0x434534
push edi
call ebp
push 0x434524
push edi
call ebp
mov eax, dword [esi + 0x140]
push 0xfffffffffffffff2
push eax
mov dword [esi + 0x3e4], eax
mov dword [esi + 0x3e8], 0x2001
mov dword [esi + 0x3ec], 7
call dword [0x4012a0]
push ebx
push 0
mov dword [esi + 0x3f4], eax
mov dword [esi + 0x3f0], 0x1400
call dword [fcn.00401210]
test eax, eax
jne 0x45d8e0
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esi + 0x140]
push 0
push eax
call dword [fcn.00401310]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x460f20
Capabilities:
Get file size

Disassembly:
mov eax, dword [ecx + 0xc]
push 0
push eax
call dword [fcn.004011ec]
ret

Function at 0x461190
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0xc]
cmp eax, 0xffffffff
jne 0x4611a1
xor eax, eax
pop edi
pop ecx
ret
push esi
push 0
push eax
call dword [fcn.004011ec]
mov esi, eax
push esi
call fcn.00462e86
add esp, 4
test eax, eax
mov dword [edi + 4], eax
jne 0x4611c3
pop esi
xor eax, eax
pop edi
pop ecx
ret
mov edx, dword [edi + 0xc]
push 0
lea ecx, [esp + 0xc]
push ecx
push esi
push eax
push edx
call dword [fcn.004010bc]
test eax, eax
je 0x4611bd
mov dword [edi], esi
pop esi
mov eax, 1
pop edi
pop ecx
ret

Function at 0x4611f0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0xc]
push 0
push eax
call dword [fcn.004010c0]
cmp eax, 0xffffffff
je 0x461217
mov ecx, dword [esi + 0xc]
push ecx
call dword [0x4010c4]
test eax, eax
jne 0x46121c
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 4]
push edi
mov edi, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push edi
push eax
mov eax, dword [esi + 0xc]
push eax
call dword [fcn.00401204]
test eax, eax
je 0x461248
cmp edi, dword [esp + 8]
jne 0x461248
pop edi
mov eax, 1
pop esi
pop ecx
ret
pop edi
xor eax, eax
pop esi
pop ecx
ret
Function at 0x46624e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x46627c
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x466283
cmp ebx, dword [eax + 4]
jae 0x466283
xor eax, eax
jmp 0x466473
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x466294
xor eax, eax
inc eax
jmp 0x466472
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4662aa
cmp ecx, edx
jae 0x4663ef
cmp dword [eax + 4], 0
je 0x4662b3
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x46629b
cmp dword [ebp + 8], 0
je 0x4662d5
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4663ef
cmp eax, esi
jae 0x4663ef
mov eax, dword [0x472548]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4662fa
cmp dword [esi*4 + 0x472550], edi
je 0x4663f3
inc esi
cmp esi, eax
jl 0x4662e8
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x401154]
test eax, eax
je 0x46646f
cmp dword [ebp - 8], 0x1000000
jne 0x46646f
test byte [ebp - 0xc], 0xcc
je 0x466378
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x46646f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x46646f
cmp word [eax + 0x18], 0x10b
jne 0x46646f
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x46646f
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x466378
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x466378
test byte [ecx + 0x27], 0x80
jne 0x4663ef
push 1
push 0x472590
call dword [0x401158]
test eax, eax
jne 0x46628c
mov ecx, dword [0x472548]
test ecx, ecx
mov edx, ecx
jle 0x4663ac
lea eax, [ecx*4 + 0x47254c]
cmp dword [eax], edi
je 0x4663ac
dec edx
sub eax, 4
test edx, edx
jg 0x4663a0
test edx, edx
jne 0x4663dd
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4663b9
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4663d1
lea eax, [edx*4 + 0x472550]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4663bf
cmp ecx, 0x10
jge 0x4663dd
inc ecx
mov dword [0x472548], ecx
push 0
push 0x472590
call dword [0x401158]
jmp 0x46628c
xor eax, eax
jmp 0x466472
test esi, esi
jle 0x46628c
mov ebx, dword [0x401158]
push 1
push 0x472590
call ebx
test eax, eax
jne 0x46628c
cmp dword [esi*4 + 0x472550], edi
je 0x466449
mov eax, dword [0x472548]
lea esi, [eax - 1]
test esi, esi
jl 0x466437
cmp dword [esi*4 + 0x472550], edi
je 0x466433
dec esi
jns 0x466427
test esi, esi
jge 0x466447
cmp eax, 0x10
jge 0x466442
inc eax
mov dword [0x472548], eax
lea esi, [eax - 1]
jmp 0x466449
je 0x466461
xor ecx, ecx
test esi, esi
jl 0x466461
lea eax, [ecx*4 + 0x472550]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x46644f
push 0
push 0x472590
call ebx
jmp 0x46628c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46653b
Capabilities:
Terminate process

Disassembly:
push 8
push 0x434db8
call fcn.004642ac
push 8
call fcn.0046427b
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x4725d8], esi
jne 0x46656f
push dword [ebp + 8]
call dword [0x4011d4]
push eax
call dword [fcn.004011dc]
mov dword [0x4725d4], esi
mov al, byte [ebp + 0x10]
mov byte [0x4725d0], al
cmp dword [ebp + 0xc], edi
jne 0x4665b9
cmp dword [0x473c28], edi
je 0x4665a9
mov eax, dword [0x473c24]
sub eax, 4
mov dword [0x473c24], eax
cmp eax, dword [0x473c28]
jb 0x4665a9
mov eax, dword [eax]
cmp eax, edi
je 0x46658a
call eax
jmp 0x46658a
push 0x40141c
mov eax, 0x401414
call fcn.004664b9
pop ecx
push 0x401428
mov eax, 0x401420
call fcn.004664b9
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x4665ea
cmp dword [ebp + 0x10], edi
jne 0x4665f8
mov dword [0x4725d8], esi
push dword [ebp + 8]
call fcn.00466477
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x4665f7
push 8
call fcn.004641c6
pop ecx
ret
call fcn.004642e7
ret

Function at 0x466739
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x404174]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x4045d0]
je 0x46676e
inc eax
cmp eax, 0x13
jb 0x46675f
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x4045d0]
jne 0x466894
mov eax, dword [0x4723cc]
cmp eax, 1
je 0x46686c
cmp eax, edx
jne 0x46679e
cmp dword [0x404164], 1
je 0x46686c
cmp ecx, 0xfc
je 0x466894
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [fcn.004011c8]
test eax, eax
jne 0x4667d4
lea eax, [ebp - 0x80]
push 0x4356cc
push eax
call fcn.00464030
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00462fa0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x466808
mov eax, edi
push eax
call fcn.00462fa0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x4356c8
push edi
call fcn.00462440
add esp, 0x10
push edi
call fcn.00462fa0
push dword [esi + 0x4045d4]
mov ebx, eax
call fcn.00462fa0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00462760
mov ebx, esp
push 0x4356ac
push ebx
call fcn.00464030
push edi
push ebx
call fcn.00464040
push 0x4356a8
push ebx
call fcn.00464040
push dword [esi + 0x4045d4]
push ebx
call fcn.00464040
push 0x12010
push 0x435680
push ebx
call fcn.00469f40
add esp, 0x2c
jmp 0x466894
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x4045d4]
push dword [esi]
call fcn.00462fa0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [0x401148]
push eax
call dword [fcn.00401204]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00468d30
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x466ea1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x48
push ebx
mov ebx, 0x480
push ebx
call fcn.00462e86
test eax, eax
pop ecx
jne 0x466ebd
or eax, 0xffffffff
jmp 0x46709a
mov dword [0x473b20], eax
mov dword [0x473b04], 0x20
lea ecx, [eax + 0x480]
jmp 0x466ef2
or dword [eax], 0xffffffff
and dword [eax + 8], 0
mov byte [eax + 4], 0
mov byte [eax + 5], 0xa
mov ecx, dword [0x473b20]
add eax, 0x24
add ecx, 0x480
cmp eax, ecx
jb 0x466ed4
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push eax
call dword [0x401198]
cmp word [esp + 0x46], 0
je 0x466ff9
mov eax, dword [esp + 0x48]
test eax, eax
je 0x466ff9
mov edi, dword [eax]
lea ebp, [eax + 4]
lea eax, [edi + ebp]
mov dword [esp + 0x10], eax
mov eax, 0x800
cmp edi, eax
jl 0x466f33
mov edi, eax
cmp dword [0x473b04], edi
jge 0x466f89
mov esi, 0x473b24
push ebx
call fcn.00462e86
test eax, eax
pop ecx
je 0x466f83
add dword [0x473b04], 0x20
mov dword [esi], eax
lea ecx, [eax + 0x480]
jmp 0x466f72
or dword [eax], 0xffffffff
and dword [eax + 8], 0
mov byte [eax + 4], 0
mov byte [eax + 5], 0xa
mov ecx, dword [esi]
add eax, 0x24
add ecx, ebx
cmp eax, ecx
jb 0x466f5c
add esi, 4
cmp dword [0x473b04], edi
jl 0x466f40
jmp 0x466f89
mov edi, dword [0x473b04]
xor ebx, ebx
test edi, edi
jle 0x466ff9
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x466fee
mov cl, byte [ebp]
test cl, 1
je 0x466fee
test cl, 8
jne 0x466fb2
push eax
call dword [0x40112c]
test eax, eax
je 0x466fee
mov ecx, ebx
mov eax, ebx
and eax, 0x1f
lea eax, [eax + eax*8]
sar ecx, 5
mov ecx, dword [ecx*4 + 0x473b20]
lea esi, [ecx + eax*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esi], eax
mov al, byte [ebp]
mov byte [esi + 4], al
lea eax, [esi + 0xc]
push 0xfa0
push eax
call fcn.00468686
test eax, eax
pop ecx
pop ecx
je 0x467019
inc dword [esi + 8]
add dword [esp + 0x10], 4
inc ebx
inc ebp
cmp ebx, edi
jl 0x466f8f
xor ebx, ebx
mov ecx, dword [0x473b20]
lea eax, [ebx + ebx*8]
lea esi, [ecx + eax*4]
cmp dword [esi], 0xffffffff
jne 0x46707b
test ebx, ebx
mov byte [esi + 4], 0x81
jne 0x46701e
push 0xfffffffffffffff6
pop eax
jmp 0x467028
or eax, 0xffffffff
jmp 0x467097
mov eax, ebx
dec eax
neg eax
sbb eax, eax
add eax, 0xfffffff5
push eax
call dword [0x401148]
mov edi, eax
cmp edi, 0xffffffff
je 0x467075
push edi
call dword [0x40112c]
test eax, eax
je 0x467075
and eax, 0xff
cmp eax, 2
mov dword [esi], edi
jne 0x467053
or byte [esi + 4], 0x40
jmp 0x46705c
cmp eax, 3
jne 0x46705c
or byte [esi + 4], 8
lea eax, [esi + 0xc]
push 0xfa0
push eax
call fcn.00468686
test eax, eax
pop ecx
pop ecx
je 0x467019
inc dword [esi + 8]
jmp 0x46707f
or byte [esi + 4], 0x40
jmp 0x46707f
or byte [esi + 4], 0x80
inc ebx
cmp ebx, 3
jl 0x466ffb
push dword [0x473b04]
call dword [0x401130]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
Function at 0x468830
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x404174]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x468861
xor eax, eax
jmp 0x4689ea
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x473b20]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x46889d
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.0046a5b2
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x468978
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x4689b6
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x468901
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x4688f2
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x4688d2
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [fcn.00401204]
test eax, eax
je 0x468941
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x46894a
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x4688c3
jmp 0x46894c
call dword [fcn.004011d0]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x4689e5
cmp dword [ebp - 0x6c], edi
je 0x4689b6
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x4689ab
call fcn.004666b4
mov dword [eax], 9
call fcn.004666bd
mov dword [eax], esi
jmp 0x4689e0
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [fcn.00401204]
test eax, eax
je 0x4689a0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x46894c
call dword [fcn.004011d0]
mov dword [ebp - 0x6c], eax
jmp 0x46894c
push dword [ebp - 0x6c]
call fcn.004666c6
pop ecx
jmp 0x4689e0
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x4689ce
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x4689ce
xor eax, eax
jmp 0x4689e8
call fcn.004666b4
mov dword [eax], 0x1c
call fcn.004666bd
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x4689e8
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.00468d30
add ebp, 0x3a0
leave
ret
Function at 0x469809
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00462760
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [0x401154]
test eax, eax
je 0x4698a4
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [0x401208]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x472598]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4698a4
cmp eax, 1
je 0x4698c5
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [0x401154]
test eax, eax
je 0x4698a4
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x469871
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4698a0
xor eax, eax
inc eax
jmp 0x4698e4
cmp edi, eax
jae 0x4698a8
xor eax, eax
jmp 0x4698e4
cmp eax, esi
jae 0x4698af
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [fcn.0040111c]
mov eax, dword [0x472598]
jmp 0x4698c8
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [0x4010f4]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x469f40
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x472778], ebx
push esi
push edi
jne 0x469fc0
push 0x435954
call dword [0x401094]
mov edi, eax
cmp edi, ebx
je 0x469ffb
mov esi, dword [fcn.00401090]
push 0x435948
push edi
call esi
test eax, eax
mov dword [0x472778], eax
je 0x469ffb
push 0x435938
push edi
call esi
push 0x435924
push edi
mov dword [0x47277c], eax
call esi
cmp dword [0x472598], 2
mov dword [0x472780], eax
jne 0x469fc0
push 0x435908
push edi
call esi
test eax, eax
mov dword [0x472788], eax
je 0x469fc0
push 0x4358f0
push edi
call esi
mov dword [0x472784], eax
mov eax, dword [0x472784]
test eax, eax
je 0x46a005
call eax
test eax, eax
je 0x469fec
lea ecx, [ebp - 4]
push ecx
push pe_nt_image_headers32
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x472788]
test eax, eax
je 0x469fec
test byte [ebp - 8], 1
jne 0x46a005
cmp dword [0x4725a4], 4
jb 0x469fff
or byte [ebp + 0x12], 0x20
jmp 0x46a024
xor eax, eax
jmp 0x46a034
or byte [ebp + 0x12], 4
jmp 0x46a024
mov eax, dword [0x47277c]
test eax, eax
je 0x46a024
call eax
mov ebx, eax
test ebx, ebx
je 0x46a024
mov eax, dword [0x472780]
test eax, eax
je 0x46a024
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x472778]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46b261
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x46b435
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x473b20]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x46b435
test cl, 0x48
je 0x46b2cc
cmp byte [eax + 5], 0xa
je 0x46b2cc
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [fcn.004010bc]
test eax, eax
jne 0x46b31e
call dword [fcn.004011d0]
push 5
pop esi
cmp eax, esi
jne 0x46b306
call fcn.004666b4
mov dword [eax], 9
call fcn.004666bd
mov dword [eax], esi
jmp 0x46b316
cmp eax, 0x6d
je 0x46b435
push eax
call fcn.004666c6
pop ecx
or eax, 0xffffffff
jmp 0x46b437
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x46b430
test eax, eax
je 0x46b345
cmp byte [ebx], 0xa
jne 0x46b345
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x46b34e
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x46b42a
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x46b41a
cmp al, 0xd
je 0x46b380
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x46b40c
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x46b39a
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x46b395
add dword [ebp + 0x10], 2
jmp 0x46b3ee
mov dword [ebp + 0x10], eax
jmp 0x46b408
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [fcn.004010bc]
test eax, eax
jne 0x46b3c2
call dword [fcn.004011d0]
test eax, eax
jne 0x46b408
cmp dword [ebp - 0xc], 0
je 0x46b408
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x46b3e3
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x46b3ee
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x46b40b
cmp ebx, dword [ebp + 0xc]
jne 0x46b3f3
cmp byte [ebp - 1], 0xa
jne 0x46b3f3
mov byte [ebx], 0xa
jmp 0x46b40b
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00468711
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x46b40c
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x46b364
jmp 0x46b42a
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x46b42a
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x46b437
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret