joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4535dc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4535ee
add esp, 0xfffffff0
call fcn.00403aa8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c8c4
mov eax, dword [0x4a2848]
mov dword [eax + 4], ebx
mov dword [eax], 0x453980
mov eax, dword [0x4a2854]
mov dword [eax + 4], ebx
mov dword [eax], 0x45398c
mov eax, ebx
call fcn.00453998
push 0
call fcn.004071f0
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412298]
call fcn.00403714
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412298]
call fcn.00403714
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412298]
call fcn.00403714
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412298]
call fcn.00403714
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412298]
call fcn.00403714
mov dword [ebx + 0x7c], eax
push 0
call fcn.004071b0
mov esi, eax
push 0x5a
push esi
call fcn.00406eb0
mov dword [ebx + 0x40], eax
push esi
push 0
call fcn.00407408
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44fe60
push eax
push 0
push 0
mov eax, dword [0x4a2988]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e2a4]
call fcn.0041fa18
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e2a4]
call fcn.0041fa18
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e2a4]
call fcn.0041fa18
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00453db8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453c94
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453c94
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453c94
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45372b
call fcn.00403b00
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x453a78
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x453c23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453c04
mov dl, 1
mov eax, dword [0x412788]
call fcn.00403714
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404534
lea eax, [ebp - 0x114]
push eax
push 0x40
call fcn.004071f8
dec eax
test eax, eax
jl 0x453bf3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004415d8
test al, al
je 0x453be6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x453c34
lea eax, [ebp - 0x254]
call fcn.00409674
push eax
push 0x80000002
call fcn.00406b78
test eax, eax
jne 0x453be6
xor eax, eax
push ebp
push 0x453bdf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x453c6c
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406b80
test eax, eax
jne 0x453bc8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040479c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x453bc8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040479c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453be6
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406b58
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x453ae9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041692c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453c2a
lea eax, [ebp - 0x260]
call fcn.00404534
ret

Function at 0x454558
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4a3c30]
cmp byte [eax + 0xa5], 0
jne 0x4545c9
cmp dword [0x4a3c48], 0
jne 0x45458a
call fcn.00406c40
push eax
push 0
mov eax, 0x454514
push eax
push 3
call fcn.004074e8
mov dword [0x4a3c48], eax
cmp dword [0x4a3c44], 0
jne 0x4545a5
push 0
push 0
push 0
push 0
call fcn.00406ba0
mov dword [0x4a3c44], eax
cmp dword [0x4a3c4c], 0
jne 0x4545c9
push esp
push 0
push 0
push 0x4544b8
push 0x3e8
push 0
call fcn.00406bb8
mov dword [0x4a3c4c], eax
pop edx
ret
Function at 0x4546c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4546d7
add esp, 0xfffffff0
call fcn.00403aa8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c8c4
mov eax, dword [0x4a2978]
cmp word [eax + 2], 0
jne 0x4546ff
mov eax, dword [0x4a2978]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455d84
mov eax, dword [0x4a2a10]
cmp word [eax + 2], 0
jne 0x454719
mov eax, dword [0x4a2a10]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455f7c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412298]
call fcn.00403714
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412298]
call fcn.00403714
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41edc4]
call fcn.004269b8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4548a0
mov eax, dword [0x4a28a4]
mov eax, dword [eax]
push eax
call fcn.00407368
mov edx, eax
mov eax, esi
call fcn.00426d88
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4564fc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a28a4]
mov eax, dword [eax]
push eax
call fcn.00406c68
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call fcn.004073a8
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040b160
test eax, eax
je 0x45480e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408fd0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b188
test eax, eax
je 0x454822
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call fcn.00407028
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040479c
mov eax, dword [0x4a2788]
cmp byte [eax], 0
jne 0x454856
mov eax, ebx
call fcn.004549c8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004566d8
mov eax, ebx
call fcn.00457018
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454896
call fcn.00403b00
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454c3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a3c30]
cmp dword [eax + 0x30], 0
je 0x454ce6
cmp dword [ebx + 0x94], 0
jne 0x454ce0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454bcc
call fcn.00407140
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454ce0
push 3
mov eax, dword [esp + 4]
push eax
call fcn.004072a0
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call fcn.004072b0
test al, 8
je 0x454ca6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454ce0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414994
push eax
call fcn.004074d8
dec esi
cmp esi, 0xffffffff
jne 0x454cb5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4557c4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4557f9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call fcn.004072c8
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404624
jmp 0x455806
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404588
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4568b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4568f5
mov eax, esi
call fcn.0043cd54
test al, al
je 0x4568f5
mov eax, dword [ebx + 0x84]
call fcn.0043ca50
push eax
call fcn.00407340
test eax, eax
je 0x4568f5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ca50
push eax
call fcn.00407508
pop esi
pop ebx
ret
Function at 0x45758c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4118d8]
call fcn.00404f3c
xor eax, eax
push ebp
push 0x4576d0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a1cbc], 0
jne 0x4575df
mov ecx, dword [0x4a2798]
mov dl, 1
mov eax, dword [0x407a80]
call fcn.0040a74c
call fcn.00403f10
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402fd0
mov eax, ebx
call fcn.00404dac
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4576e0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406398
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404dbc
test eax, eax
jle 0x457677
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00406c30
test eax, eax
je 0x457670
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004047b4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040479c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004088f8
test eax, eax
jne 0x457670
mov ebx, 0x15
jmp 0x45767c
mov ebx, 0x10
jmp 0x45767c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4a1cbc]
call fcn.00457488
mov eax, dword [ebp - 8]
call fcn.00457488
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004063b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4576d7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404558
lea eax, [ebp - 0x10]
mov edx, dword [0x4118d8]
call fcn.0040500c
ret

Function at 0x461820
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46184e
mov eax, ebx
call fcn.004622d8
cmp dword [ebx + 0x3c], 0
je 0x461847
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4618bf
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4618b1
cmp dword [ebx + 8], 0
je 0x461870
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x461882
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4618b1
cmp dword [ebx + 8], 0
je 0x461863
cmp eax, 3
je 0x461895
dec eax
jne 0x461863
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x461863
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x461863
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4618dd
cmp dword [ebx + 0x10], 0xcc
je 0x4618dd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004618e8
pop ebx
ret
Function at 0x471d6c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004719b0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004049e4
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.00406b88
test eax, eax
je 0x471dca
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a2990]
mov dl, 1
mov eax, dword [0x4718a8]
call fcn.0040a788
call fcn.00403f10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x471dd4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004049e4
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.00406b80
test eax, eax
je 0x471e2c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a2b7c]
mov dl, 1
mov eax, dword [0x4718a8]
call fcn.0040a788
call fcn.00403f10
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004719e0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x476a40
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x476baa
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 2], 0
lea eax, [ebp - 0x1c]
mov edx, 0x476bc8
call fcn.004045cc
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004049e4
push eax
call fcn.0042ce78
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0x1388
push 4
lea eax, [ebp - 0x14]
push eax
push 2
mov eax, dword [ebp - 8]
push eax
call fcn.0042ce90
xor eax, eax
push ebp
push 0x476b81
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x84000000
push 0
push 0
mov eax, ebx
call fcn.004049e4
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.0042ce80
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x476ae8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x476b94
mov eax, dword [ebp - 0xc]
call fcn.00476984
mov dword [ebp - 0x18], eax
xor ebx, ebx
xor eax, eax
push ebp
push 0x476b64
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042ce88
lea edx, [ebp - 0x41c]
mov ecx, dword [ebp - 0x10]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
add ebx, dword [ebp - 0x10]
cmp byte [ebp - 1], 0
je 0x476b3a
call fcn.004768bc
cmp word [ebp + 0xa], 0
je 0x476b50
mov ecx, dword [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
test al, al
jne 0x476b56
cmp dword [ebp - 0x10], 0
jne 0x476b03
mov byte [ebp - 2], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x476b77
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x476b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476bb1
lea eax, [ebp - 0x1c]
call fcn.00404534
ret
Function at 0x479fc4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
xor eax, eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47cb7e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x108]
push eax
call fcn.00406cc0
jmp 0x47a1ed
mov byte [0x4a3d30], 0
jmp 0x47a565
lea eax, [ebp - 8]
call fcn.00404534
jmp 0x47a8b6
mov eax, 0x10000
call fcn.00402ff0
lea edx, [ebp - 0x208]
call fcn.0040306c
lea edx, [ebp - 0x208]
lea eax, [ebp - 4]
call fcn.00404790
jmp 0x47ac72
mov eax, dword [0x4a3d18]
mov eax, dword [eax + 0x348]
mov edx, 0x47cb94
call fcn.004363c8
jmp 0x47b138
push 0
push 0
push 0x47cbac
push dword [0x4a3d1c]
push 0x47cbdc
push dword [ebp - 4]
push 0x47cbf0
push dword [0x4a2760]
lea eax, [ebp - 0x20c]
mov edx, 6
call fcn.004048ac
mov eax, dword [ebp - 0x20c]
lea edx, [ebp - 8]
xor ecx, ecx
call fcn.00476c58
jmp 0x47b513
mov eax, dword [0x4a3d18]
mov eax, dword [eax + 0x308]
mov edx, dword [ebp - 8]
call fcn.004363c8
jmp 0x47b6df
mov edx, dword [ebp - 8]
mov eax, dword [0x4a3d38]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x47b9e5
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.0040479c
lea eax, [ebp - 0x210]
mov edx, dword [0x4a2768]
call fcn.004047f4
mov eax, dword [ebp - 0x210]
call fcn.00408e08
jmp 0x47bea0
lea eax, [ebp - 0x214]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.0040479c
lea eax, [ebp - 0x214]
mov edx, dword [0x4a2768]
call fcn.004047f4
mov edx, dword [ebp - 0x214]
mov eax, dword [0x4a3d38]
mov ecx, dword [eax]
call dword [ecx + 0x74]
jmp 0x47c180
lea eax, [ebp - 0x218]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.0040479c
lea eax, [ebp - 0x218]
mov edx, dword [0x4a2768]
call fcn.004047f4
mov eax, dword [ebp - 0x218]
mov edx, 6
call fcn.00408de0
jmp 0x47c370
mov byte [0x4a3d25], 1
jmp 0x47c6c0
mov dword [0x4a3d28], 1
jmp 0x47cb53
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cb85
lea eax, [ebp - 0x218]
mov edx, 4
call fcn.00404558
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404558
ret
Function at 0x40380c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x47f700]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x403875
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00402655
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.00406309
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x40388d
lea ecx, [esp + 0x14]
add edi, 4
call fcn.004053a0
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x40383d
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409f50
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.004053a0
jmp 0x403877

Function at 0x4067de
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x481048], eax
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0x27
push 0x47f030
push 0x547
mov esi, 0x47f058
push esi
call fcn.004038ab
push 1
push 0x427554
call fcn.00406896
add esp, 0x18
mov ecx, 0x481350
push 0
call fcn.004031a4
push eax
call fcn.00402227
push 0x8aafdc01
push dword [0x481048]
call fcn.0040380c
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
test eax, eax
je 0x406892
lea eax, [ebp - 0xc]
push 0x40663b
push eax
call fcn.004020fb
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
call fcn.0040671a
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x406892
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x406892
call fcn.0040407b
xor eax, eax
leave
ret
Function at 0x41c31c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c18d

Function at 0x41c716
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040acb0
mov eax, dword [0x47f700]
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.0041a20e
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41c758
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41c8b4
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425f10
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 + 0x481d00]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041d4b5
mov ecx, dword [esi*4 + 0x481d00]
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 0x41c8ad
cmp eax, dword [edi + ecx + 0x24]
jne 0x41c8ad
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 0x41c8ad
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041d4b5
add esp, 0x14
test edx, edx
jl 0x41c8ad
jg 0x41c823
test eax, eax
jb 0x41c8ad
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41c8ad
jl 0x41c83d
cmp dword [ebp - 0x1008], eax
ja 0x41c8ad
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41c85b
test ebx, ebx
je 0x41c894
cmp ecx, edi
jae 0x41c894
mov al, byte [ecx]
cmp al, 0xd
jne 0x41c875
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41c881
cmp byte [ecx + 1], 0xa
jne 0x41c881
inc ecx
jmp 0x41c881
movzx eax, al
movsx eax, byte [eax + 0x47f9c8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41c85b
cmp edx, ebx
jne 0x41c85b
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41c8b2
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409f50
leave
ret