joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004bf97
Capabilities:
Encode data using xor

Disassembly:
call fcn.1004b1b8
add byte [eax], al
inc edi
je 0x1004beca
outsd dx, dword [esi]
jne 0x1004beed
dec eax
popal
outsb dx, byte [esi]
insb byte es:[edi], dx
inc ecx
add cl, ah
aas
jb 0x1004be57
movsb byte es:[edi], byte [esi]
xor byte [edx - 0x4d27370a], cl
adc ecx, dword [esi - 0x1f]
push eax
mov bh, 0xda
pop ecx
movsb byte es:[edi], byte [esi]
daa
pop edx
mov ch, 0x40
push cs
mov edx, 0x97468fd5
sbb dword [ebx], ecx
jge 0x1004be77
ret 0xa3d3
inc ecx
jb 0x1004becd
and dword [eax - 0x45], edi
mov esi, 0x4e1b7869
mov dword [esi - 0x53], 0x89e6efe8
out 0x89, al
push esp
outsd dx, dword [esi]
dec esi
xor dword [edi + esi*4 + 0x3f4bdea3], ebp
mov byte [0x51484537], al
jle 0x1004beda
cmp dword [ecx - 0x4b], esp
mov al, byte [0x50dd925a]
add eax, dword [edx + 0x3d]
and al, 0xd3
cmpsb byte [esi], byte es:[edi]
mov ch, 0x54
cld
push es
cli
dec ebp
jo 0x1004be87
pushfd
jmp 0x1004be72

Function at 0x1004d698
Capabilities:
Check for software breakpoints

Disassembly:
pushfd
lea esp, [esp + 0xc]
jne 0x1004b944
ror di, 4
push 0xe2b7c241
btr di, 4
mov edi, dword [edx + 0x24]
push dword [esp]
test ch, dh
add edi, eax
pushfd
movzx ecx, word [edi + ecx*2]
bsf di, ax
bsr di, di
mov edi, dword [edx + 0x1c]
cmc
add edi, eax
clc
clc
pushfd
mov word [esp + 0xc], cx
mov edi, dword [edi + ecx*4]
clc
pushfd
test edi, edi
pushfd
call fcn.1005e252

Function at 0x1004d6e3
Capabilities:
Check for software breakpoints

Disassembly:
lea esp, [esp + 0x2c]
ja 0x1004f14a
clc
stc
imul edx, edx, 0xa
test ch, ch
test ch, dh
cmp cx, dx
add edx, eax
pushal
pushal
push 0x76d7c7ba
push 0x43143b29
lea esp, [esp + 0x48]
jmp 0x1004691b
lea esp, [esp + 0x24]
je 0x1005db21
push 0xc39b7a20
clc
pushal
clc
sub al, 0x30
push edx
clc
cmp al, 9
pushfd
jmp 0x10046cd7

Function at 0x1004f461
Capabilities:
Check for software breakpoints

Disassembly:
stc
imul edx, edx, 0xa
cmc
stc
pushfd
add edx, eax
pushfd
mov word [esp + 8], ax
lea esp, [esp + 0xc]
jmp 0x1004691b

Function at 0x1005c72f
Capabilities:
Check for software breakpoints

Disassembly:
clc
bsr eax, ebx
neg al
mov eax, edx
neg al
inc al
sar al, 1
add edi, 1
push eax
mov al, byte [edi]
pushfd
test al, al
pushfd
call fcn.10060b96
and al, ah
mov al, byte [edi]
cmc
pushal
test al, al
call fcn.1004d6e3
xor edx, edx
sub esp, 0xfffffffc
jb 0x1004ba3e
aaa
btr ax, sp
mov eax, edx
bt bp, ax
add edi, 1
jmp 0x1004f454

Function at 0x1005dbc8
Capabilities:
Check for software breakpoints

Disassembly:
imul edx, edx, 0xa
cmc
pushal
test dh, al
add edx, eax
push ecx
pushfd
lea esp, [esp + 0x4c]
jmp 0x1004691b

Function at 0x1005dd6a
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [esp + 0x38], ebx
push eax
push dword [esp + 8]
lea esp, [esp + 0x40]
call fcn.1004ddde
call fcn.10047915
lea esp, [esp + 0x38]
jne 0x10045fb3
pushal
pushal
mov dword [esp + 0x3c], edi
jmp 0x1004727b

Function at 0x1005f132
Capabilities:
Encode data using xor

Disassembly:
cmp al, byte [edi]
cwde
lea edi, [edi + 1]
push dword [esp]
mov eax, dword [esp + 0x38]
call fcn.1004bde3
cmp cx, 0xfc01
jmp 0x1005e6ef
Function at 0x10060790
Capabilities:
Check for software breakpoints

Disassembly:
mov word [esp], di
add edx, eax
mov dword [esp + 4], ebp
lea esp, [esp + 0x24]
jmp 0x1004691b
lea esp, [esp + 0x24]
ja 0x1004f14a
stc
stc
pushal
clc
imul edx, edx, 0xa
mov word [esp + 8], cx
push 0x9c1d8e64
jmp 0x1005d571
jmp 0x1005e962

Function at 0x1006088d
Capabilities:
Check for software breakpoints

Disassembly:
pushfd
push dword [esp]
lea esp, [esp + 8]
jmp 0x1004691b
mov byte [esp], al
imul edx, edx, 0xa
stc
add edx, eax
lea esp, [esp + 4]
push esp
mov byte [esp], 0x61
lea esp, [esp + 4]
jp 0x1004bf36
jmp 0x1004691b

Function at 0x4011ac
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x402170
call fcn.004013b8
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or edi, 0xffffffff
mov dword [ebp - 4], edi
cmp word [0x400000], 0x5a4d
jne 0x4011ff
mov eax, dword [0x40003c]
lea eax, [eax + 0x400000]
cmp dword [eax], 0x4550
jne 0x4011ff
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x401217
cmp ecx, 0x20b
je 0x401204
mov dword [ebp - 0x1c], ebx
jmp 0x40122b
cmp dword [eax + 0x84], 0xe
jbe 0x4011ff
xor ecx, ecx
cmp dword [eax + 0xf8], ebx
jmp 0x401225
cmp dword [eax + 0x74], 0xe
jbe 0x4011ff
xor ecx, ecx
cmp dword [eax + 0xe8], ebx
setne cl
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 1
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
mov dword [0x403050], edi
mov dword [0x403054], edi
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x40304c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x403048]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x403058], eax
call fcn.004013b4
cmp dword [0x403038], ebx
jne 0x401288
push fcn.004013b4
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.004013a2
push 0x40208c
push 0x402088
call sub.msvcrt.dll__initterm
mov eax, dword [0x403044]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x403040]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x402084
push 0x402080
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp byte [eax], 0x22
jne 0x401313
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x4012f3
cmp cl, 0x22
jne 0x4012e4
cmp byte [eax], 0x22
jne 0x4012fc
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x401307
cmp cl, 0x20
jbe 0x4012f8
test byte [ebp - 0x54], 1
je 0x40131e
movzx ecx, word [ebp - 0x50]
jmp 0x401321
cmp byte [eax], 0x20
jbe 0x4012fc
inc eax
mov dword [ebp - 0x20], eax
jmp 0x401313
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x400000
call fcn.00401116
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x40133f
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], edi
jmp 0x40137b
mov eax, esi
jmp 0x40138f
call fcn.004013f3
ret
Function at 0x408450
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40dcc8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x415034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov ebx, dword [0x416000]
push 0
push ebx
push 0x7777
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ebx, dword [ebp - 0x24]
push ebx
mov dword [ebp - 0x14], eax
sub eax, esi
push eax
mov dword [ebp - 0x18], ecx
sub ecx, edx
push ecx
push esi
push edx
push 0x52000000
xor ebx, ebx
push ebx
push str.AtlAxWin100
push ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
call dword [0x40f308]
mov esi, eax
lea eax, [edi + 0x30]
mov dword [eax], esi
cmp esi, ebx
je 0x408579
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
push eax
lea ebx, [ebp - 0x24]
call fcn.004090f0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x408566
lea ebx, [edi + 0x34]
push ebx
push 0x410370
push 0x17
push 0
push 0x40f5a8
call dword [0x40f35c]
mov eax, dword [ebx]
test eax, eax
je 0x408563
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
test eax, eax
js 0x408563
mov ebx, dword [ebx]
xor edx, edx
cmp dword [edi + 0x28], 0xfefefefe
lea ecx, [edi + 0x28]
sete dl
test edx, edx
jne 0x408538
push 0x80004005
call fcn.00408290
push ecx
push 0x40f598
push edi
mov eax, ebx
call fcn.00403420
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40855c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
jmp 0x40857b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x408579
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040d188
mov esp, ebp
pop ebp
ret 4

Function at 0x408870
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
push esi
mov ecx, edi
call fcn.00408a20
mov eax, dword [edi + 4]
push 0x410084
push eax
call dword [0x40f2d0]
mov ecx, dword [0x416004]
push 0x71
push ecx
call dword [0x40f2b8]
mov edx, dword [edi + 4]
push eax
push 0
push 0x80
push edx
call dword [0x40f25c]
call dword [0x40f13c]
mov ebx, eax
call fcn.00409640
lea ecx, [edi + 0x20]
lea esi, [eax + 4]
lea ebx, [esp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.004095b0
mov esi, dword [esp + 0x10]
lea edx, [edi + 0x24]
add esi, 0x10
lea ebx, [esp + 0xc]
mov dword [esp + 0xc], edx
call fcn.004095b0
mov eax, dword [edi + 4]
test eax, eax
je 0x40890e
mov dword [esp + 0x10], eax
mov eax, 4
lea esi, [edi + 0x28]
lea ebx, [esp + 0x10]
mov word [esp + 0x14], ax
call fcn.00409530
mov ecx, dword [edi + 4]
push 0xfffffffffffffff0
push ecx
call dword [0x40f270]
mov edx, dword [edi + 4]
or eax, 0x80000
push eax
push 0xfffffffffffffff0
push edx
call dword [0x40f26c]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b950
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x415034]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov ecx, dword [edi]
mov eax, dword [edi + 4]
xor esi, esi
push ecx
lea edx, [ebp - 0x218]
or eax, 0x2001f
push edx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.0040b890
mov ebx, eax
cmp ebx, esi
je 0x40b9c8
mov eax, dword [ebp - 0x218]
cmp eax, esi
je 0x40b9b3
push eax
call dword [0x40f004]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040d188
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x218]
push esi
push esi
push esi
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x20c]
push edx
push esi
push eax
mov dword [ebp - 0x21c], pe_nt_image_headers32
call dword [0x40f018]
test eax, eax
jne 0x40ba4c
lea esp, [esp]
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x218]
call fcn.0040b950
mov ebx, eax
cmp ebx, esi
jne 0x40b9a2
lea edx, [ebp - 0x228]
push edx
mov edx, dword [ebp - 0x218]
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push esi
push edx
mov dword [ebp - 0x21c], pe_nt_image_headers32
call dword [0x40f018]
test eax, eax
je 0x40ba00
mov eax, dword [ebp - 0x218]
cmp eax, esi
je 0x40ba63
push eax
call dword [0x40f004]
mov dword [ebp - 0x218], esi
mov ebx, dword [ebp - 0x220]
mov eax, edi
mov dword [ebp - 0x214], esi
call fcn.0040bb10
mov edi, eax
mov eax, dword [ebp - 0x218]
cmp eax, esi
je 0x40ba89
push eax
call dword [0x40f004]
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d188
mov esp, ebp
pop ebp
ret 4
Function at 0x4163f4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x41642c
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x41641a
mov al, 1
jmp 0x416476
cmp dword [ebx + 0x54], ecx
jne 0x416423
mov al, 2
jmp 0x416476
cmp dword [ebx + 0x7c], ecx
jne 0x416476
mov al, 3
jmp 0x416476
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x416441
mov al, 4
jmp 0x416476
cmp ecx, 5
jne 0x416461
cmp ebx, 0
jne 0x41644f
mov al, 5
jmp 0x416476
cmp ebx, 1
jne 0x416458
mov al, 6
jmp 0x416476
cmp ebx, 2
jne 0x416461
mov al, 7
jmp 0x416476
cmp ecx, 6
jne 0x41646d
cmp ebx, 0
jne 0x41646f
mov al, 8
jmp 0x416476
cmp ebx, 1
jne 0x416476
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x54c9ea
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x66cdd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0065e5c5
xor ebp, ebp
mov dword [esi], 0xb6d8f4
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], 0xb6caf8
call fcn.005388c0
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.0065bd18
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.005388c0
mov dword [ebx], 0xb6b2bc
mov dword [edi], 0xb6d818
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0xb8c32c
lea ecx, [esi + 0xb0]
call fcn.005388c0
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], 0xb8b29c
mov byte [esp + 0x38], 5
mov dword [esi], 0xb6d820
mov dword [esi + 0xac], ebp
call fcn.00667f85
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [0x6765a8]
push eax
mov ecx, edi
call fcn.0066423a
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [0x6760f4]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x54cba0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x66ce65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0xb6d820
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], 0xb8a3a0
mov byte [esp + 0x18], 4
call fcn.00664291
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0xb6b2b8
call fcn.00538ac0
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], 0xb8a3a0
mov byte [esp + 0x18], 5
call fcn.00664291
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0xb6b2b8
call fcn.00538ac0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.0065bd4b
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0xb6b2b8
call fcn.00538ac0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00665ddd
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x55fe40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xc99a78]
xor edx, edx
cmp eax, edx
jne 0x55fe66
xor eax, eax
mov byte [eax + 0xc99978], al
inc eax
cmp eax, 0x100
jl 0x55fe4e
mov dword [0xc99a78], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xc99978
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x55fef7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x55feca
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x55fe98
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x55ff70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x55ffc3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x55ffaa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x564430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x564651
cmp eax, 8
jg 0x564651
cmp dword [esp + 0x8c], 2
jl 0x564651
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x564651
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x564651
mov eax, dword [esp + 0x80]
test eax, eax
je 0x5644b7
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x56463a
mov ebp, dword [0x6765e0]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x5644e9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x564621
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x564509
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x6765d0]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x564548
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x6765d4]
lea ecx, [esp + 0x28]
push ecx
call dword [0x676614]
test eax, eax
jne 0x564608
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.00563a40
cmp eax, 1
jne 0x564632
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.005642f0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x5644fd
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x56463a
jmp 0x5644d4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.00563640
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x566c40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x566dd8
cmp ebp, ebx
jle 0x566dd8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x566c9e
dec eax
or eax, 0xfffffff8
inc eax
je 0x566ca5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x566cb4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x566cbb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0065cc04
add esp, 4
cmp eax, ebx
je 0x566cdc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0065cc04
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x566dce
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x566db5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x566da1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x566d96
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x566da4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x566da4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x566d40
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x566d31
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret