joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449ec0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
xor ebx, ebx
push ebp
push edi
cmp dword [esi + 0x34], ebx
ja 0x449ed4
cmp dword [esi + 0x30], 0x40
jbe 0x449fd8
mov edi, dword [esi + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push edi
call ebp
test eax, eax
jne 0x449fdd
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x449fdd
mov byte [esi + 0x38], 1
mov eax, dword [edi + 0x3c]
mov edi, dword [esi + 0x34]
xor ecx, ecx
lea edx, [eax + 0xf8]
cmp edi, ecx
jb 0x449fd8
ja 0x449f1f
mov ecx, dword [esi + 0x30]
cmp ecx, edx
jbe 0x449fd8
mov edx, dword [esi + 0x28]
add eax, edx
push 0xf8
push eax
mov dword [esi + 0x24], eax
call ebp
test eax, eax
jne 0x449fdd
mov eax, dword [esi + 0x24]
cmp dword [eax], 0x4550
jne 0x449fdd
mov ecx, 0x2000
test word [eax + 0x16], cx
jne 0x449f55
mov byte [esi + 0x44], 1
mov edx, eax
movzx eax, word [edx + 0x18]
mov ecx, 0x10b
cmp ax, cx
jne 0x449f71
mov dword [esi + 0x40], 1
add edx, 0x78
jmp 0x449f88
mov ecx, 0x20b
cmp ax, cx
jne 0x449f8b
mov dword [esi + 0x40], 2
add edx, 0x88
mov dword [esi + 0x20], edx
cmp dword [esi + 0x20], ebx
je 0x449fdd
mov eax, dword [esi + 0x24]
movzx ecx, word [eax + 6]
mov dword [esi + 0x3c], ecx
test ecx, ecx
je 0x449fdd
movzx edx, word [eax + 0x14]
mov ebx, dword [esi + 0x34]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
sub ecx, dword [esi + 0x28]
add ecx, edx
lea edi, [ecx + eax + 0x18]
xor ecx, ecx
cmp ebx, ecx
jb 0x449fd8
ja 0x449fc6
mov ecx, dword [esi + 0x30]
cmp ecx, edi
jbe 0x449fd8
pop edi
mov ebx, 1
lea edx, [edx + eax + 0x18]
pop ebp
mov eax, ebx
mov dword [esi + 0x1c], edx
pop ebx
ret
mov ebx, 2
pop edi
pop ebp
mov eax, ebx
pop ebx
ret

Function at 0x44a150
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [eax + 0x24]
movzx ecx, word [eax + 0x14]
push ebx
push esi
movzx esi, word [eax + 6]
xor edx, edx
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x44a17f
mov eax, dword [ecx + 0xc]
cmp edi, eax
jb 0x44a177
mov ebx, dword [ecx + 8]
add ebx, eax
cmp edi, ebx
jb 0x44a184
inc edx
add ecx, 0x28
cmp edx, esi
jb 0x44a167
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
pop esi
add eax, edi
pop ebx
ret

Function at 0x44a190
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [ebx + 0x24]
movzx ecx, word [eax + 0x14]
push ebp
push esi
movzx esi, word [eax + 6]
xor edx, edx
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x44a1bf
mov eax, dword [ecx + 0xc]
cmp edi, eax
jb 0x44a1b7
mov ebp, dword [ecx + 8]
add ebp, eax
cmp edi, ebp
jb 0x44a1c4
inc edx
add ecx, 0x28
cmp edx, esi
jb 0x44a1a7
pop esi
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
pop esi
add eax, dword [ebx + 0x28]
pop ebp
add eax, edi
ret
Function at 0x44a580
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4cffc8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x14], 0
cmp ecx, 0x64
ja 0x44a6ad
mov eax, dword [edx]
cmp eax, 0x4e20
jg 0x44a6ad
inc eax
mov dword [edx], eax
mov eax, dword [ebx + 4]
test eax, eax
jns 0x44a600
push edx
mov edx, dword [esp + 0x3c]
push ebp
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [ebx]
push edx
push ecx
mov ecx, dword [esp + 0x40]
and eax, 0x7fffffff
push edi
add eax, edi
push eax
call fcn.0044a6d0
jmp 0x44a6af
mov esi, dword [ebx]
push edi
push ecx
lea eax, [esp + 0x44]
push eax
call fcn.0044a4b0
add esp, 0xc
mov dword [esp + 0x20], 0
mov esi, dword [ebx + 4]
add esi, edi
je 0x44a69c
mov edi, dword [esi]
mov ebx, dword [esp + 0x28]
call fcn.0044a190
lea ecx, [esp + 0x34]
push 0x4eb4b0
push ecx
mov ecx, dword [esp + 0x3c]
mov edi, eax
call fcn.00405240
mov byte [esp + 0x28], 1
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.00405190
add esp, 0x10
mov byte [esp + 0x20], 2
mov edx, dword [esi + 4]
push ebp
push edx
push edi
push eax
call dword [esp + 0x48]
mov bl, al
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x28]
call fcn.00404f30
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x34]
call fcn.00404f30
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.00404f30
mov al, bl
jmp 0x44a6af
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.00404f30
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x18

Function at 0x44ad60
Capabilities:
Read file via mapping

Disassembly:
push edi
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
mov eax, dword [esi + 4]
cmp edi, eax
je 0x44ad86
test eax, eax
je 0x44ad86
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov dword [esi + 4], edi
test eax, eax
je 0x44adbe
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov eax, dword [esi + 8]
cmp edi, eax
je 0x44adb2
test eax, eax
je 0x44adb2
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor eax, eax
cmp edi, eax
mov dword [esi + 8], edi
setne al
pop edi
ret
xor al, al
pop edi
ret
Function at 0x454970
Capabilities:
Get file size
Hash data with md5
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c9ac4
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0xa0], ebp
mov esi, ecx
mov dword [esp + 0x2c], esi
mov edi, edx
mov dword [esp + 0x34], ebp
call fcn.004175f0
mov dword [esp + 0xa0], ebp
push ebp
push 0x8000000
push 3
push ebp
mov ebx, 1
push ebx
push SysReAllocString
push edi
mov dword [esp + 0x50], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0xa0], ebx
cmp edi, 0xffffffff
je 0x454b73
lea eax, [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x454b73
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
cmp eax, ebp
ja 0x454a35
cmp ebx, ebp
jbe 0x454b73
cmp eax, 0xffffffff
ja 0x454b73
jb 0x454a49
cmp ebx, 0xffffffff
jae 0x454b73
lea ecx, [esp + 0x30]
push ecx
mov edi, 0x10000
xor esi, esi
call fcn.00449750
mov byte [esp + 0xa0], 2
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 4]
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x3c], 0x67452301
mov dword [esp + 0x40], 0xefcdab89
mov dword [esp + 0x44], 0x98badcfe
mov dword [esp + 0x48], 0x10325476
cmp ecx, eax
ja 0x454aa3
jb 0x454aa5
cmp edx, ebx
jb 0x454aa5
mov edx, ebx
push 0
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], edx
mov eax, dword [edi]
push edx
mov edx, dword [esp + 0x34]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x454b1c
mov eax, dword [esp + 0x18]
test eax, eax
je 0x454b1c
mov ecx, dword [edi]
push ecx
lea ecx, [esp + 0x40]
call fcn.00454d30
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ebx, dword [edi + 4]
add esp, 4
add ebp, dword [esp + 0x18]
adc esi, 0
sub ecx, ebp
sbb eax, esi
xor edx, edx
cmp edx, eax
ja 0x454afe
jb 0x454afc
cmp ebx, ecx
jae 0x454afe
mov ecx, ebx
push 0
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], ecx
mov eax, dword [edi]
push ecx
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x454ac3
cmp ebp, dword [esp + 0x1c]
jne 0x454b5a
cmp esi, dword [esp + 0x20]
jne 0x454b5a
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00454900
mov byte [esp + 0xa0], 3
mov edi, dword [esp + 0x2c]
push eax
call fcn.00417660
mov byte [esp + 0xa0], 2
lea edi, [esp + 0x1c]
call fcn.00405ad0
mov byte [esp + 0xa0], 1
lea edi, [esp + 0x30]
call fcn.00405ad0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov byte [esp + 0xa0], 0
cmp edi, 0xffffffff
je 0x454b87
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004a9c1c
add esp, 0x90
ret
Function at 0x454bc0
Capabilities:
Check for peb ntglobalflag flag
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4cf281
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x8c]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
call fcn.00454d30
add esp, 4
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00454900
mov edi, 1
mov dword [esp + 0x84], edi
push eax
push esi
call fcn.004490a0
add esp, 8
mov dword [esp + 0x14], edi
mov byte [esp + 0x84], bl
mov eax, dword [esp + 0x10]
dec dword [eax + 8]
mov edi, eax
add eax, 8
cmp dword [eax], ebx
jne 0x454c9f
cmp dword [edi + 4], ebx
je 0x454c8e
mov eax, dword [edi]
push ebx
push eax
call fcn.004aa78c
add esp, 8
mov dword [edi], eax
mov dword [edi + 4], ebx
mov edx, dword [esp + 0x10]
push edx
call fcn.004a9c11
add esp, 4
mov dword [esp + 0x10], ebx
mov eax, esi
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004a9c1c
add esp, 0x7c
ret

Function at 0x455500
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
cmp edx, 8
jb 0x4555d8
mov ecx, dword [edi]
mov esi, edx
shr esi, 3
push ebx
movzx ebx, byte [eax]
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4e3280]
movzx ebx, byte [eax + 1]
xor ebx, ecx
and ebx, 0xff
inc eax
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4e3280]
movzx ebx, byte [eax + 1]
xor ebx, ecx
and ebx, 0xff
inc eax
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4e3280]
movzx ebx, byte [eax + 1]
xor ebx, ecx
inc eax
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4e3280]
movzx ebx, byte [eax + 1]
xor ebx, ecx
inc eax
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4e3280]
movzx ebx, byte [eax + 1]
xor ebx, ecx
inc eax
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4e3280]
movzx ebx, byte [eax + 1]
inc eax
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4e3280]
movzx ebx, byte [eax + 1]
inc eax
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4e3280]
inc eax
sub edx, 8
sub esi, 1
jne 0x455512
mov dword [edi], ecx
pop ebx
test edx, edx
je 0x4555fd
mov ecx, dword [edi]
mov edi, edi
movzx esi, byte [eax]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x4e3280]
inc eax
sub edx, 1
jne 0x4555e0
mov dword [edi], ecx
pop esi
ret

Function at 0x45ac7c
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x45aca0
push esi
movzx ecx, cl
movzx ecx, byte [ecx + 0x4d6840]
mov esi, eax
shl esi, 3
xor ecx, esi
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x45ac85
pop esi
ret
Function at 0x466c01
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
test ebx, ebx
jne 0x466c10
xor eax, eax
leave
ret
push esi
mov esi, dword [ebp + 8]
push 0
push 8
call fcn.0046219f
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x466cdb
test byte [ebp + 0xc], 1
mov eax, dword [ebx]
mov dword [ecx], eax
jne 0x466c45
mov ecx, dword [ebx]
xor eax, eax
inc eax
cmp ecx, eax
jle 0x466c45
add eax, eax
cmp eax, ecx
jl 0x466c3f
imul eax, eax, 0x18
push edi
push 0
push eax
call fcn.0046219f
mov edx, dword [ebp - 8]
mov edi, eax
pop ecx
pop ecx
mov dword [edx + 4], edi
test edi, edi
jne 0x466c6a
mov ecx, esi
call fcn.00459d93
xor eax, eax
jmp 0x466cda
and dword [ebp - 4], 0
cmp dword [ebx], 0
mov esi, dword [ebx + 4]
jle 0x466cd7
mov eax, dword [esi]
push 0
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0046fdea
mov dword [edi], eax
push dword [esi + 4]
push dword [ebp + 8]
call fcn.004622fe
mov dword [edi + 4], eax
push dword [esi + 8]
push dword [ebp + 8]
call fcn.004622fe
mov dword [edi + 8], eax
mov al, byte [esi + 0xc]
and dword [edi + 0x10], 0xfffffffe
mov byte [edi + 0xc], al
mov eax, dword [edi + 0x10]
mov ecx, dword [esi + 0x10]
xor ecx, eax
and ecx, 2
xor ecx, eax
mov dword [edi + 0x10], ecx
mov eax, dword [esi + 0x14]
add esp, 0x20
inc dword [ebp - 4]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 4]
add edi, 0x18
add esi, 0x18
cmp eax, dword [ebx]
jl 0x466c76
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret
Function at 0x48e162
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
xor ebx, ebx
cmp byte [edi + 0x49], 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
jne 0x48e18d
mov eax, dword [edi + 0x44]
jmp 0x48e318
mov ecx, dword [edi + 0x3c]
push edi
call fcn.0048da1a
pop ecx
cmp eax, ebx
jne 0x48e318
cmp dword [edi + 0x10], ebx
jne 0x48e1e4
push ebx
push dword [ebp + 0x10]
mov eax, esi
push dword [ebp + 0xc]
call fcn.0045d327
add esp, 0xc
test byte [edi + 0x48], 2
je 0x48e1e4
cmp dword [ebp + 0x10], ebx
jl 0x48e1e4
jg 0x48e1c7
cmp dword [ebp + 0xc], ebx
jbe 0x48e1e4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [edi + 0x18]
sub eax, 1
sbb ecx, ebx
cmp edx, eax
jne 0x48e1e4
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jne 0x48e1e4
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 4], ebx
jne 0x48e20a
push dword [ebp + 0x20]
lea ecx, [ebp - 4]
push dword [ebp + 0x10]
mov esi, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0048da52
add esp, 0x10
cmp eax, ebx
jne 0x48e318
movsx eax, word [edi + 0x4c]
mov esi, dword [edi + eax*4 + 0x78]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x50]
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
mov eax, esi
call fcn.0048677e
add esp, 0x20
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x48e318
movsx eax, word [edi + 0x4c]
lea eax, [edi + eax*2 + 0x4e]
movzx ecx, word [eax]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 4], ebx
jne 0x48e2bf
mov eax, dword [esi + 0x44]
call fcn.00477b74
cmp eax, ebx
jne 0x48e318
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
lea ecx, [eax + ecx*2]
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl eax, 8
or eax, ecx
movzx ecx, word [esi + 0x14]
and eax, ecx
add eax, dword [esi + 0x38]
cmp byte [esi + 5], bl
jne 0x48e294
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
mov dword [edx], ecx
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
call fcn.0048665e
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
movzx eax, word [ebp - 4]
push eax
push dword [ebp - 0xc]
call fcn.0046b134
mov eax, dword [ebp - 8]
add esp, 0x10
cmp eax, ebx
jne 0x48e318
jmp 0x48e2d6
jge 0x48e2d6
cmp word [esi + 0x12], bx
jbe 0x48e2d6
inc word [eax]
movsx eax, word [edi + 0x4c]
movzx eax, word [edi + eax*2 + 0x4e]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push ebx
push ebx
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x14]
call fcn.00478038
xor eax, eax
mov word [edi + 0x2c], ax
mov eax, dword [ebp - 8]
add esp, 0x14
cmp eax, ebx
jne 0x48e318
cmp byte [esi + 1], bl
je 0x48e318
and byte [edi + 0x48], 0xfd
call fcn.0048a8ec
movsx ecx, word [edi + 0x4c]
mov ecx, dword [edi + ecx*4 + 0x78]
mov byte [ecx + 1], bl
mov byte [edi + 0x49], bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48e31d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi]
movsx ebx, word [edi + 0x4c]
mov ecx, dword [edi + ebx*4 + 0x78]
mov dx, word [edi + ebx*2 + 0x4e]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
xor eax, eax
inc eax
mov dword [ebp - 0x1c], ebx
cmp dx, word [ecx + 0x12]
jae 0x48e4ee
cmp byte [edi + 0x49], al
jne 0x48e4ee
mov esi, ecx
mov ecx, dword [esi + 0x40]
movzx eax, dx
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl eax, 8
or eax, ecx
movzx ecx, word [esi + 0x14]
and eax, ecx
add eax, dword [esi + 0x38]
cmp byte [esi + 5], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
jne 0x48e3a2
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push edi
call fcn.0048e117
pop ecx
pop ecx
test eax, eax
jne 0x48e4ee
mov ecx, dword [edi + 0x3c]
mov eax, dword [ebp - 0xc]
push edi
call fcn.0048da1a
pop ecx
test eax, eax
jne 0x48e4ee
cmp dword [edi + 0x10], eax
jne 0x48e3ce
push eax
push dword [edi + 0x1c]
mov eax, dword [ebp - 4]
push dword [edi + 0x18]
call fcn.0045d327
add esp, 0xc
mov eax, dword [esi + 0x44]
call fcn.00477b74
test eax, eax
jne 0x48e4ee
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, esi
call fcn.0048665e
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
movzx eax, word [ebp - 4]
push eax
push dword [ebp - 0x10]
call fcn.0046b134
mov eax, dword [ebp - 8]
add esp, 0x10
test eax, eax
jne 0x48e4ee
cmp byte [esi + 5], al
jne 0x48e4aa
movsx eax, word [edi + 0x4c]
mov esi, dword [edi + eax*4 + 0x78]
mov eax, dword [edi + ebx*4 + 0x7c]
mov eax, dword [eax + 0x48]
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0x14], eax
movzx eax, word [esi + 0x12]
lea eax, [ecx + eax*2]
movzx ebx, byte [eax - 2]
movzx eax, byte [eax - 1]
shl ebx, 8
or ebx, eax
movzx eax, word [esi + 0x14]
and ebx, eax
add ebx, dword [esi + 0x38]
mov edx, esi
push ebx
call fcn.0045d4cc
movzx eax, ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x44]
call fcn.00477b74
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
push dword [ebp - 0xc]
add eax, 4
push eax
mov eax, dword [ebp - 0x10]
add ebx, 0xfffffffc
push ebx
call fcn.00478038
lea eax, [ebp - 8]
push eax
movzx eax, word [esi + 0x12]
push dword [ebp - 4]
dec eax
push eax
call fcn.0046b134
mov eax, dword [ebp - 8]
add esp, 0x24
test eax, eax
jne 0x48e4ee
mov ebx, dword [ebp - 0x1c]
call fcn.0048a8ec
mov esi, eax
test esi, esi
jne 0x48e4ec
movsx eax, word [edi + 0x4c]
cmp eax, ebx
jle 0x48e4e5
movzx ecx, word [edi + 0x4c]
movsx eax, cx
mov eax, dword [edi + eax*4 + 0x78]
dec ecx
mov word [edi + 0x4c], cx
call fcn.00484f1c
movsx eax, word [edi + 0x4c]
cmp eax, ebx
jg 0x48e4bd
call fcn.0048a8ec
mov esi, eax
test esi, esi
jne 0x48e4ec
mov eax, edi
call fcn.0048988b
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a0c82
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, 0x100
push edi
mov ebx, eax
or esi, eax
shl dword [ebp + 0x10], 1
mov eax, esi
shr eax, 7
and eax, 1
push eax
mov eax, ebx
and eax, dword [ebp + 0x10]
mov ecx, esi
add eax, ebx
shr ecx, 8
add ecx, eax
mov eax, dword [ebp + 0xc]
lea edi, [eax + ecx*2]
mov eax, dword [ebp + 8]
call fcn.004a0bf2
add esi, esi
mov eax, esi
xor eax, dword [ebp + 0x10]
pop ecx
not eax
and ebx, eax
cmp esi, 0x10000
jb 0x4a0c95
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4a0cd6
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor eax, eax
or ecx, 0x100
push esi
mov esi, dword [ebp + 8]
mov edx, ecx
shr edx, 8
movzx edx, word [esi + edx*2]
mov esi, ecx
shr esi, 7
and esi, 1
neg esi
sar esi, 4
and esi, 0x7f
shr edx, 4
xor edx, esi
mov esi, dword [ebp + 0xc]
add eax, dword [esi + edx*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x4a0ce4
pop esi
pop ebp
ret

Function at 0x4a0d18
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, 0x100
push esi
xor eax, eax
or edx, ecx
push edi
shl dword [ebp + 0xc], 1
mov esi, ecx
and esi, dword [ebp + 0xc]
mov edi, edx
add esi, ecx
shr edi, 8
add edi, esi
mov esi, dword [ebp + 8]
movzx esi, word [esi + edi*2]
mov edi, edx
shr edi, 7
and edi, 1
neg edi
shr esi, 4
sar edi, 4
and edi, 0x7f
xor esi, edi
mov edi, dword [ebp + 0x10]
add eax, dword [edi + esi*4]
add edx, edx
mov esi, edx
xor esi, dword [ebp + 0xc]
not esi
and ecx, esi
cmp edx, 0x10000
jb 0x4a0d28
pop edi
pop esi
pop ebp
ret

Function at 0x4a0e28
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor edx, edx
push esi
mov esi, eax
xor eax, eax
inc edx
test esi, esi
je 0x4a0e69
push ebx
push edi
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
movzx edi, word [edi + edx*2]
shr dword [ebp + 0xc], 1
and ecx, 1
mov ebx, ecx
neg ebx
sar ebx, 4
and ebx, 0x7f
shr edi, 4
xor edi, ebx
mov ebx, dword [ebp + 0x10]
add eax, dword [ebx + edi*4]
add edx, edx
or edx, ecx
dec esi
jne 0x4a0e3b
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x4a6577
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ecx, ecx
push 4
pop edx
mov dword [eax + 0x34], ecx
mov byte [eax + 0x1f], cl
mov dword [eax + 0x24], ecx
mov dword [eax + 0x30], 0x20
mov byte [eax + 0x1d], 1
mov dword [eax + 0x48], edx
mov byte [eax + 0x1e], cl
xor esi, esi
add eax, 0x60
push 8
mov ecx, esi
pop edi
mov ebx, ecx
and ebx, 1
dec ebx
not ebx
and ebx, 0xedb88320
shr ecx, 1
xor ecx, ebx
dec edi
jne 0x4a65ab
mov dword [eax], ecx
inc esi
add eax, edx
cmp esi, 0x100
jb 0x4a65a6
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4a73c3
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.004aa486
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.004a7366
add esp, 0x1c
leave
ret