joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
mov eax, dword [0x472960]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x110]
push esi
mov esi, dword [eax]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
mov dword [esp + 0x14], 0x104
call dword [0x45c020]
lea edx, [esp + 8]
push edx
push edi
call dword [0x45c304]
push esi
call dword [0x45c01c]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00435648
add esp, 0x10c
ret 4

Function at 0x402ed0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x472960]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x218]
push ebp
push 5
push 0
push 0
push eax
push str.open
push 0
mov dword [esp + 0x20], eax
call dword [0x45c368]
mov ebp, eax
cmp ebp, 0x20
ja 0x402fe2
push esi
mov esi, dword [0x45c00c]
push edi
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str..htm
push 0x80000000
call esi
test eax, eax
jne 0x402ffe
lea ecx, [esp + 0xc]
push ecx
lea edi, [esp + 0x18]
call fcn.00402c10
test eax, eax
jne 0x402ffe
push ebx
mov ebx, dword [0x45c300]
push str._shellopencommand
mov edx, edi
push edx
call ebx
lea eax, [esp + 0x10]
push eax
push 1
push 0
mov ecx, edi
push ecx
push 0x80000000
call esi
test eax, eax
jne 0x402ffa
lea edx, [esp + 0x10]
push edx
call fcn.00402c10
test eax, eax
jne 0x402ffa
mov eax, edi
push str.__1_
push eax
call fcn.00435bb1
mov esi, eax
add esp, 8
test esi, esi
jne 0x402fbf
mov ecx, edi
push 0x4643f8
push ecx
call fcn.00435bd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x402fbf
mov edx, edi
push edx
call dword [0x45c2fc]
lea esi, [esp + eax + 0x17]
jmp 0x402fc2
mov byte [esi], 0
push 0x4643fc
push esi
call ebx
mov eax, dword [esp + 0x14]
push eax
push esi
call ebx
push 5
lea ecx, [esp + 0x1c]
push ecx
call dword [0x45c2f8]
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x214]
pop ebp
xor ecx, esp
call fcn.00435648
add esp, 0x214
ret 4
mov eax, ebp
jmp 0x402fdf
mov eax, ebp
jmp 0x402fe0
Function at 0x4037e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45a8b3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x472960]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.00423f9d
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [ebp + 4], ecx
mov dword [ebp], 0x45dd30
mov byte [esp + 0x24], 1
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x4038ab
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [0x45c0cc]
push eax
mov ecx, esi
call fcn.00424432
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [0x45c0c8]
push eax
mov ecx, ebp
call fcn.004246e3
test ebp, ebp
je 0x403889
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call fcn.00424768
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004240b1
jmp 0x4038bd
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4

Function at 0x406da0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45a798
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x472960]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ecx, [esp + 4]
call fcn.00419750
mov eax, dword [esp + 0x30]
push 1
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.00419850
test al, al
lea ecx, [esp + 4]
jne 0x406e0d
mov dword [esp + 0x28], 0xffffffff
call fcn.004197c0
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret 4
call fcn.004195b0
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call fcn.004197c0
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret 4
Function at 0x409600
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 8
push esi
mov esi, dword [eax + 0x18]
cmp esi, 0x10
push edi
lea ecx, [eax + 4]
jb 0x409614
mov edx, dword [ecx]
jmp 0x409616
mov edx, ecx
mov edi, dword [eax + 0x14]
add edi, edx
cmp esi, 0x10
jb 0x409622
mov ecx, dword [ecx]
mov esi, 0xfffffffe
mov eax, 0x811c9dc5
lea esp, [esp]
cmp ecx, edi
je 0x40964a
imul eax, eax, 0x1000193
mov edx, ecx
movsx edx, byte [edx]
add ecx, 1
mov dword [esp + 8], esi
xor eax, edx
jmp 0x409630
pop edi
pop esi
add esp, 8
ret

Function at 0x409db0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov eax, dword [eax]
push ebx
push esi
lea ecx, [esp + 0xc]
push ecx
xor esi, esi
lea edx, [esp + 0xc]
push edx
push esi
push 0x2001f
push esi
push esi
push esi
push str.other
push eax
mov dword [esp + 0x2c], esi
call dword [0x45c018]
test eax, eax
jne 0x409de4
mov esi, dword [esp + 8]
test eax, eax
mov ebx, eax
jne 0x409e16
test edi, edi
jne 0x409df8
push 0x80004005
call fcn.00401f40
push edi
call dword [0x45c2fc]
add eax, 1
push eax
push edi
push 1
push 0
push str.patchIndex
push esi
call dword [0x45c014]
mov ebx, eax
test esi, esi
je 0x409e21
push esi
call dword [0x45c01c]
pop esi
mov eax, ebx
pop ebx
add esp, 8
ret

Function at 0x40c890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458af7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp - 0xc4]
mov dword [eax], vtable.TiXmlBase.0
mov ecx, dword [ebp - 0xc4]
add ecx, 4
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xffffffff
mov ecx, dword [ebp - 0xc4]
mov dword [ecx + 0xc], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xc4]
mov dword [edx], vtable.TiXmlAttribute.0
mov eax, dword [ebp - 0xc4]
add eax, 0x14
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x19]
mov dword [ebp - 0x18], ecx
push 0
push 0
mov ecx, dword [ebp - 0x34]
call fcn.00401820
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xc4]
add edx, 0x30
mov dword [ebp - 0x58], edx
lea eax, [ebp - 0x3d]
mov dword [ebp - 0x3c], eax
push 0
push 0
mov ecx, dword [ebp - 0x58]
call fcn.00401820
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push ecx
call fcn.004379f0
add esp, 4
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc4]
add ecx, 0x14
call fcn.00401d50
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004379f0
add esp, 4
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc4]
add ecx, 0x30
call fcn.00401d50
mov ecx, dword [ebp - 0xc4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0xc4]
mov dword [edx + 0x50], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x4c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x40e320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458c43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x5c]
mov dword [eax], vtable.TiXmlBase.0
mov ecx, dword [ebp - 0x5c]
add ecx, 4
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xffffffff
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0xc], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x5c]
mov dword [edx], vtable.TiXmlAttribute.0
mov eax, dword [ebp - 0x5c]
add eax, 0x14
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x19]
mov dword [ebp - 0x18], ecx
push 0
push 0
mov ecx, dword [ebp - 0x34]
call fcn.00401820
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x5c]
add edx, 0x30
mov dword [ebp - 0x58], edx
lea eax, [ebp - 0x3d]
mov dword [ebp - 0x3c], eax
push 0
push 0
mov ecx, dword [ebp - 0x58]
call fcn.00401820
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x50], 0
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x4c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x415870
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x4161b0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x416170
push 0
push 0
call fcn.0043a74a
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
setne al
pop esi
ret

Function at 0x419090
Capabilities:
Connect to http server
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4190bb
push 0
push 0
push 0
push 0
push 0
call dword [0x45c598]
test eax, eax
mov dword [esi], eax
jne 0x4190bb
push eax
push 0x45d204
mov ecx, esi
call fcn.00419030
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 1
push 0
push 3
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call dword [0x45c59c]
test eax, eax
mov dword [esi + 4], eax
jne 0x4190f2
push eax
push 0x45d1ec
mov ecx, esi
call fcn.00419030
mov eax, 1
pop esi
ret 0x10
Function at 0x419100
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0x114
mov eax, dword [0x472960]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x11c]
push ebx
mov ebx, dword [esp + 0x128]
push ebp
push esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x12c]
mov esi, eax
mov ebp, ecx
sub esi, edx
cmp dword [ebp + 8], 0
push edi
je 0x41914f
mov ecx, dword [ebp + 8]
mov edi, dword [ecx]
push eax
push edx
mov edx, dword [edi]
call edx
xor edi, edi
test esi, esi
mov dword [esp + 0x14], edi
jle 0x4191dc
lea ecx, [ecx]
cmp byte [ebp + 0xc], 0
jne 0x419214
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x1000
push 0x477958
push ecx
call dword [0x45c594]
test eax, eax
je 0x419223
mov eax, dword [esp + 0x18]
test eax, eax
je 0x419246
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x14]
push 0x477958
mov ecx, ebx
call eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], eax
add edi, 1
sub esi, eax
cmp edi, 4
jne 0x4191d8
cmp dword [ebp + 8], 0
je 0x4191d6
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
mov eax, dword [esp + 0x130]
push eax
call edx
xor edi, edi
test esi, esi
jg 0x419160
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x45c5a4]
cmp dword [ebp + 8], 0
je 0x4191f7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00435648
add esp, 0x114
ret 0x18
mov eax, dword [esp + 0x10]
push eax
call dword [0x45c5a4]
xor al, al
jmp 0x4191f9
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x45c5a4]
cmp dword [esp + 0x138], 0
je 0x41921f
push 0
push 0x45d26c
mov ecx, ebp
call fcn.00419030
mov edx, dword [esp + 0x10]
push edx
call dword [0x45c5a4]
mov eax, dword [esp + 0x130]
mov ecx, eax
sub ecx, esi
push ecx
push eax
lea edx, [esp + 0x24]
push 0x45d220
push edx
call fcn.0043730e
add esp, 0x10
cmp dword [esp + 0x138], 0
je 0x41921f
push 0
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.00419030
int3
Function at 0x4221d4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42220d
push dword [esi + 0x20]
call dword [0x45c3e0]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041e856
push eax
push dword [esi + 0x20]
call dword [0x45c3e4]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00403410
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0xc40560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b7088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ebp
push eax
push ecx
lea ecx, [edi + 0x104]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.00c3b460
test eax, eax
jne 0xc405cc
push ebp
push 0xb8dfd0
mov ecx, edi
call fcn.00c3f7e0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push ebp
push ebp
push ebx
lea ecx, [edx + 0x14]
call fcn.00c3ae20
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00c2a930
push ebx
mov dword [esp + 0x4c], ebp
call fcn.00c3b610
add esp, 4
test eax, eax
je 0xc4066f
add esi, 0x18
push esi
call fcn.00c2b310
add esi, eax
push esi
call fcn.00c2b310
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0xc40972
jmp dword [ecx*4 + 0x449db0]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.00c3f920
mov ebx, dword [esp + 0x58]
mov ebp, eax
lea edi, [esi + 0x18]
mov edx, dword [ebp + 0x28]
lea ecx, [ebx + ebx*4]
mov esi, edi
lea eax, [edx + ecx*4]
push esi
mov dword [esp + 0x5c], eax
call fcn.00c2b310
add esi, eax
push esi
call fcn.00c2b310
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0xc406c0
mov ecx, dword [esi + 0x1c]
push ecx
call dword [fcn.004bb5d8]
test eax, eax
je 0xc406c0
mov eax, 1
jmp 0xc406c2
xor eax, eax
cmp ebx, 8
jge 0xc40927
cmp ebx, 7
ja 0xc40972
jmp dword [ebx*4 + 0x449dc0]
test eax, eax
jne 0xc4093a
mov ecx, dword [esp + 0x10]
push eax
push 0xb8dfbc
call fcn.00c3f7e0
push 6
call dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
xor ecx, ecx
add ebx, 0xfffffff8
push edx
mov dword [esp + 0x20], ecx
push ebx
push esi
mov dword [esp + 0x2c], ecx
call eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.00c40e80
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x2c], 0xb73890
call fcn.00c2ab30
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov edx, edi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0xc495a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xba82c0]
xor edx, edx
cmp eax, edx
jne 0xc495c6
xor eax, eax
mov byte [eax + 0xba81c0], al
inc eax
cmp eax, 0x100
jl 0xc495ae
mov dword [0xba82c0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xba81c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0xc49657
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 0xc4962a
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 0xc495f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0xc496d0
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 0xc49723
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 0xc4970a
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 0xc4d9c0
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 0xc4dbe1
cmp eax, 8
jg 0xc4dbe1
cmp dword [esp + 0x8c], 2
jl 0xc4dbe1
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 0xc4dbe1
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0xc4dbe1
mov eax, dword [esp + 0x80]
test eax, eax
je 0xc4da47
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 0xc4dbca
mov ebp, dword [fcn.004bb568]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0xc4da79
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0xc4dbb1
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0xc4da99
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 [fcn.004bb544]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0xc4dad8
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [fcn.004bb548]
lea ecx, [esp + 0x28]
push ecx
call dword [fcn.004bb59c]
test eax, eax
jne 0xc4db98
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.00c4cfd0
cmp eax, 1
jne 0xc4dbc2
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.00c4d880
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0xc4da8d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0xc4dbca
jmp 0xc4da64
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.00c4cbd0
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 0xc50160
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 0xc502f8
cmp ebp, ebx
jle 0xc502f8
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 0xc501be
dec eax
or eax, 0xfffffff8
inc eax
je 0xc501c5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0xc501d4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0xc501db
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00c9f739
add esp, 4
cmp eax, ebx
je 0xc501fc
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.00c9f739
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 0xc502ee
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 0xc502d5
mov al, byte [edx]
cmp al, 0xc0
jbe 0xc502c1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0xc502b6
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 0xc502c4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0xc502c4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0xc50260
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 0xc50251
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