joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004190
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x1003600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, 1
jne 0x10004381
push ecx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str._version.dll
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10037ee4], eax
test eax, eax
jne 0x1000422a
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push 0x100329a8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x310]
push 0x10
push str.AheadLib
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x10004329
mov ecx, 0x10032834
call fcn.100037b0
mov ecx, 0x10032848
mov dword [0x10037ec8], eax
call fcn.100037b0
mov ecx, 0x10032864
mov dword [0x10037edc], eax
call fcn.100037b0
mov ecx, 0x1003287c
mov dword [0x10037ac4], eax
call fcn.100037b0
mov ecx, 0x10032894
mov dword [0x10037abc], eax
call fcn.100037b0
mov ecx, 0x100328ac
mov dword [0x10037ed0], eax
call fcn.100037b0
mov ecx, 0x100328c8
mov dword [0x10037ac0], eax
call fcn.100037b0
mov ecx, 0x100328e4
mov dword [0x10037ab0], eax
call fcn.100037b0
mov ecx, 0x100328fc
mov dword [0x10037ee0], eax
call fcn.100037b0
mov ecx, 0x10032910
mov dword [0x10037ecc], eax
call fcn.100037b0
mov ecx, 0x10032920
mov dword [0x10037aa4], eax
call fcn.100037b0
mov ecx, 0x10032930
mov dword [0x10037ab4], eax
call fcn.100037b0
mov ecx, 0x10032940
mov dword [0x10037ed4], eax
call fcn.100037b0
mov ecx, 0x10032950
mov dword [0x10037ab8], eax
call fcn.100037b0
mov ecx, 0x10032964
mov dword [0x10037ed8], eax
call fcn.100037b0
mov ecx, 0x10032978
mov dword [0x10037aac], eax
call fcn.100037b0
mov ecx, 0x10032988
mov dword [0x10037aa8], eax
call fcn.100037b0
mov dword [0x10037ee8], eax
cmp dword [0x10037ee4], 0
push ebx
setne bl
call fcn.10003da0
call fcn.10001250
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10001aa0
push 0x10003840
push 0x10037eec
call fcn.10001b60
push 0x100038f0
push 0x10037ef0
call fcn.10001b60
call fcn.100014b0
movzx eax, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000bf2f
mov esp, ebp
pop ebp
ret 0xc
test eax, eax
jne 0x10004395
mov eax, dword [0x10037ee4]
test eax, eax
je 0x10004395
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1000bf2f
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100055c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x100055f1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100055e0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x100195ed
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002b330
push 0x1002b328
push str.FlsAlloc
push 0x1e
call fcn.100194b7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10019621
push dword [ebp + 8]
mov ecx, esi
call dword [0x10026180]
call esi
jmp 0x10019627
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001966b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002b340
push 0x1002b338
push str.FlsGetValue
push 0x20
call fcn.100194b7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100196a2
push dword [ebp + 8]
mov ecx, esi
call dword [0x10026180]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1001d561
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001d5fe
push ebx
push esi
call fcn.1001d52a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001c2c1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001d5ab
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d5fd
push edi
push eax
call fcn.10015d6c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001d5cb
call fcn.10015d32
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d5fc
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001c2c1
add esp, 0x20
test eax, eax
jne 0x1001d5ea
push edi
call fcn.10015d32
jmp 0x1001d5f2
push ebx
call fcn.10015d32
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10025120
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002514d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002514d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10001340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
xor eax, eax
nop dword [eax + eax]
mov edx, eax
mov ecx, eax
sar edx, 5
or ecx, 0x1f
cmp ecx, 0x68
lea edi, [ebx + edx*4]
mov ecx, 9
mov esi, 0x20
cmovge esi, ecx
xor edx, edx
bts edx, esi
xor ecx, ecx
cmp esi, 0x20
cmovae ecx, edx
add eax, 0x20
xor edx, ecx
dec edx
or dword [edi], edx
cmp eax, 0x68
jle 0x10001350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002db0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10002e11
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10002df4
cmp edi, 2
jb 0x10002df4
cmp byte [esi], cl
jne 0x10002df4
cmp byte [esi + 1], cl
jne 0x10002df4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1004a098]
jmp 0x10002dc5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1004a098]
test edi, edi
jne 0x10002dc5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10002e40
cmp cl, 0x23
jne 0x10002e27
cmp byte [esi], cl
jne 0x10002e27
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1004a098]
test cl, cl
jne 0x10002e18
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10002f50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x10002f64
mov dword [ebx], 0
mov edx, 0x10049d1c
call fcn.10002e50
mov esi, eax
test esi, esi
je 0x10003052
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10003048
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10003048
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x10003048
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10003048
mov eax, dword [0x10055178]
test eax, eax
je 0x10002fdc
inc dword [eax + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x10003048
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x1000302d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10055178]
add esp, 4
test eax, eax
je 0x1000301a
dec dword [eax + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x1000303f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005fb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x10055178]
mov eax, ecx
push edi
mov dword [ebp - 0x18], eax
cmp byte [esi + 0x400b], 0
mov edi, dword [esi + 0x3e18]
je 0x10006028
cmp byte [esi + 0x400a], 0
jne 0x10006028
test eax, 0x400
jne 0x10006028
test byte [esi + 0x3ec4], 4
je 0x10005ffd
test eax, 0x200
je 0x10006015
mov ecx, dword [esi + 0x3fd0]
mov edx, dword [esi + 0x3ec0]
cmp ecx, edx
jne 0x10006015
test ecx, ecx
jne 0x100060da
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100462db
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x3ec8]
test cl, 1
je 0x10006015
cmp dword [esi + 0x3e1c], edi
je 0x10006046
test cl, cl
js 0x10006046
test eax, 0x100
je 0x10006015
test al, al
js 0x1000606a
mov ecx, dword [esi + 0x3e50]
test ecx, ecx
je 0x1000606a
cmp ecx, dword [esi + 0x3ec0]
je 0x1000606a
cmp byte [esi + 0x3e5d], 0
jne 0x1000606a
cmp ecx, dword [edi + 0x54]
jne 0x10006015
mov ecx, dword [esi + 0x3fcc]
test ecx, ecx
je 0x100060ae
mov ecx, dword [ecx + 0x2e8]
test ecx, ecx
je 0x100060ae
cmp byte [ecx + 0x8f], 0
je 0x100060ae
cmp ecx, dword [edi + 0x2e8]
je 0x100060ae
mov ecx, dword [ecx + 8]
test ecx, 0x8000000
jne 0x10006015
test ecx, 0x4000000
je 0x100060ae
test al, 0x20
je 0x10006015
test byte [esi + 0x3ec4], 4
je 0x100060c2
test eax, 0x200
je 0x10006015
mov edx, dword [esi + 0x3ec0]
cmp edx, dword [edi + 0x54]
jne 0x100060da
cmp byte [edi + 0x90], 0
jne 0x10006015
test eax, 0x800
je 0x100060e8
movss xmm3, dword [esi + 0x3c]
jmp 0x100060f8
test eax, 0x1000
je 0x100061dd
movss xmm3, dword [esi + 0x40]
xorps xmm0, xmm0
comiss xmm3, xmm0
jbe 0x100061dd
test edx, edx
jne 0x1000619f
movss xmm1, dword [edi + 0xe4]
mov ebx, 0x10
movss xmm0, dword [esi + 0x3ecc]
movss xmm2, dword [edi + 0xe8]
subss xmm0, xmm1
mov ecx, dword [edi + 0xc8]
mov eax, dword [edi + 0xd0]
lea edi, [ebp - 0x14]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [esi + 0x3ed0]
mov edx, dword [eax + ecx*4 - 4]
subss xmm0, xmm2
not edx
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [esi + 0x3ed4]
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi + 0x3ed8]
subss xmm0, xmm2
movss dword [ebp - 8], xmm0
nop word [eax + eax]
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1004a098]
sub ebx, 1
jne 0x10006180
mov eax, dword [ebp - 0x18]
not edx
test eax, 0x2000
je 0x100061b8
cmp dword [esi + 0x4278], edx
je 0x100061b8
mov dword [esi + 0x427c], 0
movss xmm0, dword [esi + 0x427c]
comiss xmm0, xmm3
mov dword [esi + 0x4274], edx
setae al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100462db
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100462db
mov esp, ebp
pop ebp
ret
Function at 0x1000b020
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x1000b05f
cmp bl, 0x23
jne 0x1000b041
cmp byte [esi], bl
jne 0x1000b041
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x1004a098]
test bl, bl
jne 0x1000b032
mov ecx, dword [0x10055178]
not eax
mov esi, dword [ecx + 0x3e00]
mov edi, dword [ecx + 0x3e08]
lea ebx, [edi + esi*8]
test esi, esi
je 0x1000b09e
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x1000b098
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1000b09a
mov esi, edx
test esi, esi
jne 0x1000b080
cmp edi, ebx
je 0x1000b0ad
cmp dword [edi], eax
jne 0x1000b0ad
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x10010ff0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
lea edx, [ebp - 8]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [0x10055178]
push esi
push edi
mov esi, 4
mov edi, dword [eax + 0x3e18]
mov eax, dword [edi + 0xc8]
mov ebx, dword [edi + 0xd0]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1004a098]
sub esi, 1
jne 0x10011030
mov eax, dword [0x10055178]
not ebx
cmp dword [eax + 0x3e38], ebx
jne 0x1001106a
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.10018010
add esp, 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea ecx, [edi + 0xc8]
call fcn.10018650
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100462db
mov esp, ebp
pop ebp
ret

Function at 0x10016d30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5254], 0
lea esi, [edi + 0x5258]
je 0x10016db2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10016d6c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10018d70
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10003730
mov edx, dword [esi]
mov ecx, 0x10055174
push dword [edi + 0x5254]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5260]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.10003730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10017270
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x10055178]
test bl, bl
je 0x100172b6
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10017297
cmp byte [esi], bl
jne 0x10017297
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x1004a098]
test bl, bl
jne 0x10017288
mov edi, dword [0x10055178]
mov esi, dword [edi + 0x5218]
xor ecx, ecx
not eax
test esi, esi
jle 0x100172dc
mov edi, dword [edi + 0x5220]
lea edx, [edi + 4]
nop dword [eax]
cmp dword [edx], eax
je 0x100172e2
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x100172d0
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret
Function at 0x10017520
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x10055178]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x5208], 0
push edi
test esi, esi
je 0x1001757d
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.10017590
mov edx, 0x10049d20
mov ecx, esi
mov edi, eax
call fcn.10002e50
mov esi, eax
test esi, esi
je 0x1001757d
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10021120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1002115a
mov eax, dword [0x10055178]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1002114d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1002118b
mov eax, dword [0x10055178]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1002117e
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x100211bc
mov eax, dword [0x10055178]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x100211af
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10021209
mov eax, dword [0x10055178]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x100211fc
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1002123a
mov eax, dword [0x10055178]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1002122d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1002126b
mov eax, dword [0x10055178]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1002125e
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10023960
Function at 0x10028ee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10054040]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [0x10055178]
mov dword [esp + 0x28], ebx
push esi
push edi
test ebx, ebx
je 0x10028f0a
mov esi, dword [ebx + 0x78]
jmp 0x10028f0c
xor esi, esi
mov ecx, dword [ebx + 0x48]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], esi
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100242f0
mov eax, dword [ebx + 0x48]
mov ebx, dword [esp + 0x20]
cmp byte [eax + 0x12], 0
je 0x10028fb5
mov eax, ebx
imul eax, dword [esp + 0x10]
mov ecx, eax
mov dword [esp + 0x1c], eax
imul ecx, dword [esp + 0x28]
mov eax, dword [0x10055178]
test eax, eax
je 0x10028f5a
inc dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov esi, edi
mov dword [esp + 0x18], edi
lea eax, [edi + eax*4]
mov dword [esp + 0x2c], eax
cmp edi, eax
jae 0x10028fbd
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
sub eax, edi
mov edi, eax
mov edx, dword [edi + esi]
mov eax, edx
shr eax, 0x10
movzx ecx, al
movzx eax, dl
and edx, 0xff00ff00
shl eax, 0x10
or ecx, eax
or ecx, edx
mov dword [esi], ecx
add esi, 4
cmp esi, ebx
jb 0x10028f87
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
jmp 0x10028fbd
mov edi, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x14]
push 0
lea esi, [eax + 0xc]
mov dword [esi], 0
mov ecx, dword [eax]
push esi
push 0
push 0x15
mov eax, dword [ecx]
push 0x200
push 1
push dword [esp + 0x28]
push ebx
push ecx
call dword [eax + 0x5c]
test eax, eax
js 0x1002908f
mov ecx, dword [esi]
lea edx, [esp + 0x34]
push 0
push 0
push edx
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x4c]
test eax, eax
jne 0x1002908f
xor esi, esi
cmp dword [esp + 0x10], esi
jle 0x10029034
imul ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
imul eax, esi
push ebx
push edi
add eax, dword [esp + 0x40]
push eax
call sub.VCRUNTIME140.dll_memcpy
inc esi
add esp, 0xc
add edi, ebx
cmp esi, dword [esp + 0x10]
jl 0x10029015
mov esi, dword [esp + 0x14]
push 0
mov eax, dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0xc]
mov ecx, dword [edx + 0x48]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x48]
cmp byte [eax + 0x12], 0
je 0x1002907b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10029071
mov ecx, dword [0x10055178]
test ecx, ecx
je 0x10029071
dec dword [ecx + 0xb0]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100462db
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x3c]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100462db
mov esp, ebp
pop ebp
ret
Function at 0x10038f10
Capabilities:
Hash data with crc32

Disassembly:
test dword [ecx + 0xc], 0x100000
push ebx
push esi
push edi
mov edi, edx
je 0x10038f81
mov cl, byte [edi]
lea esi, [edi + 1]
or eax, 0xffffffff
test cl, cl
je 0x10038f58
or edi, 0xffffffff
nop dword [eax]
cmp cl, 0x23
jne 0x10038f3f
cmp byte [esi], cl
jne 0x10038f3f
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1004a098]
test cl, cl
jne 0x10038f30
mov ecx, dword [0x10055178]
not eax
cmp dword [ecx + 0x3e50], eax
jne 0x10038f6e
mov dword [ecx + 0x3e54], eax
cmp dword [ecx + 0x3e78], eax
jne 0x10038fc6
mov byte [ecx + 0x3e7c], 1
pop edi
pop esi
pop ebx
ret
mov esi, dword [0x10055178]
xor edx, edx
mov eax, dword [esi + 0x3e18]
mov ecx, dword [eax + 0xc8]
mov eax, dword [eax + 0xd0]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.10002db0
mov ebx, eax
add esp, 4
cmp dword [esi + 0x3e38], ebx
jne 0x10038fc4
push ecx
push edi
mov edx, 0xb
mov ecx, ebx
call fcn.10018010
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret