joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003f39a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1004eaf8
push 0x1004eaf0
push str.FlsAlloc
push 0x1f
call fcn.1003f259
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003f3ce
push dword [ebp + 8]
mov ecx, esi
call dword [0x1004c1d4]
call esi
jmp 0x1003f3d4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1003f418
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1004eb08
push 0x1004eb00
push str.FlsGetValue
push 0x21
call fcn.1003f259
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003f44f
push dword [ebp + 8]
mov ecx, esi
call dword [0x1004c1d4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1003f457
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1004eb10
push 0x1004eb08
push str.FlsSetValue
push 0x22
call fcn.1003f259
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003f491
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1004c1d4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100424a3
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 0x10042540
push ebx
push esi
call fcn.1004246c
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.10042400
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100424ed
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1004253f
push edi
push eax
call fcn.1003d7de
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1004250d
call fcn.1003d7a4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1004253e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10042400
add esp, 0x20
test eax, eax
jne 0x1004252c
push edi
call fcn.1003d7a4
jmp 0x10042534
push ebx
call fcn.1003d7a4
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 0x10042543
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x10042554
pop esi
ret
push ebx
push edi
push esi
call fcn.1004246c
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1003d7de
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1004257c
push ebx
push esi
push edi
call fcn.1002ea80
add esp, 0xc
push 0
call fcn.1003d7a4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1004294c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10042591
Function at 0x10048b61
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10048add
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10048cd0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10048cd0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10048c85
jg 0x10048bbd
test eax, eax
je 0x10048c7b
push 1
push 0x1000
call fcn.1003f0c9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10048be0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10048c72
push 0x8000
push ebx
call fcn.10048a0e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10048c09
jg 0x10048c04
cmp ecx, 0x1000
jb 0x10048c09
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10046dbe
add esp, 0x10
cmp eax, 0xffffffff
je 0x10048c4e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10048c04
jl 0x10048c35
test ecx, ecx
jne 0x10048bf6
push dword [ebp - 0xc]
push ebx
call fcn.10048a0e
push esi
call fcn.1003d7a4
add esp, 0xc
xor ebx, ebx
jmp 0x10048cde
cmp byte [edi + 0x24], 0
je 0x10048c65
cmp dword [edi + 0x20], 5
jne 0x10048c65
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10048c70
mov ebx, dword [edi + 0x18]
jmp 0x10048c72
xor ebx, ebx
push esi
call fcn.1003d7a4
pop ecx
jmp 0x10048cde
test ecx, ecx
jg 0x10048c47
jl 0x10048c85
test eax, eax
jae 0x10048c47
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1003c4df
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10048ca5
cmp byte [edi + 0x1c], 0
je 0x10048c47
jmp 0x10048cd6
push ebx
call fcn.100431dc
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10048c47
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10048cde
cmp byte [edi + 0x1c], 0
je 0x10048cdb
mov ebx, dword [edi + 0x18]
jmp 0x10048cde
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1003c4df
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1004ad90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1004adbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1004adbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10009100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10025768
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1002d7d8]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebp
push esi
push edi
mov eax, dword [0x1002d7d8]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov edi, ecx
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x20]
mov dword [esp + 0x18], ecx
push edx
mov ecx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 0
call fcn.10001190
mov esi, dword [esi + 0x10]
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x40]
push ecx
push edi
mov dword [esp + 0x74], 0
call fcn.10007380
add esp, 0x18
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.1001ed00
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x58], 0xffffffff
test eax, eax
je 0x100091ef
push 0
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.1001ed00
mov eax, dword [edi + 4]
test eax, eax
jbe 0x100091cd
cmp eax, 0xffffffff
jae 0x100091cd
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x28]
and esi, edi
call fcn.1000f167
test esi, esi
je 0x100091ef
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [esp + 0x68], 0
mov edx, dword [esp + 0x64]
jne 0x10009238
test edx, edx
je 0x1000922d
mov eax, dword [edx + 0x20]
cmp dword [eax], 0
je 0x10009215
mov ecx, dword [edx + 0x30]
cmp dword [ecx], 0
jle 0x10009215
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x10009222
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [esp + 0x64]
cmp eax, 0xffffffff
je 0x1000922d
mov byte [esp + 0x69], al
jmp 0x10009233
xor edx, edx
mov dword [esp + 0x64], edx
mov byte [esp + 0x68], 1
cmp byte [esp + 0x70], 0
mov ecx, dword [esp + 0x6c]
jne 0x10009274
test ecx, ecx
je 0x10009272
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1000925e
mov esi, dword [ecx + 0x30]
cmp dword [esi], 0
jle 0x1000925e
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1000926d
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
cmp eax, 0xffffffff
jne 0x10009274
xor ecx, ecx
test edx, edx
jne 0x1000927e
test ecx, ecx
je 0x10009282
jmp 0x10009286
test ecx, ecx
je 0x10009286
or dword [ebp], 1
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x14], ecx
je 0x100092a3
cmp dword [esp + 0x10], 0
jne 0x100092a3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
jmp 0x100092a7
or dword [ebp], 2
mov eax, dword [esp + 0x24]
mov dword [eax], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10011cf3
add esp, 0x4c
ret 0x20
Function at 0x100092e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10025768
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1002d7d8]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebp
push esi
push edi
mov eax, dword [0x1002d7d8]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov edi, ecx
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x20]
mov dword [esp + 0x18], ecx
push edx
mov ecx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 0
call fcn.10001190
mov esi, dword [esi + 0x10]
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x40]
push ecx
push edi
mov dword [esp + 0x74], 0
call fcn.10007380
add esp, 0x18
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.1001ed00
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x58], 0xffffffff
test eax, eax
je 0x100093cf
push 0
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.1001ed00
mov eax, dword [edi + 4]
test eax, eax
jbe 0x100093ad
cmp eax, 0xffffffff
jae 0x100093ad
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x28]
and esi, edi
call fcn.1000f167
test esi, esi
je 0x100093cf
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [esp + 0x68], 0
mov edx, dword [esp + 0x64]
jne 0x10009418
test edx, edx
je 0x1000940d
mov eax, dword [edx + 0x20]
cmp dword [eax], 0
je 0x100093f5
mov ecx, dword [edx + 0x30]
cmp dword [ecx], 0
jle 0x100093f5
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x10009402
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [esp + 0x64]
cmp eax, 0xffffffff
je 0x1000940d
mov byte [esp + 0x69], al
jmp 0x10009413
xor edx, edx
mov dword [esp + 0x64], edx
mov byte [esp + 0x68], 1
cmp byte [esp + 0x70], 0
mov ecx, dword [esp + 0x6c]
jne 0x10009454
test ecx, ecx
je 0x10009452
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1000943e
mov esi, dword [ecx + 0x30]
cmp dword [esi], 0
jle 0x1000943e
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1000944d
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
cmp eax, 0xffffffff
jne 0x10009454
xor ecx, ecx
test edx, edx
jne 0x1000945e
test ecx, ecx
je 0x10009462
jmp 0x10009466
test ecx, ecx
je 0x10009466
or dword [ebp], 1
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x14], ecx
je 0x10009483
cmp dword [esp + 0x10], 0
jne 0x10009483
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
jmp 0x10009487
or dword [ebp], 2
mov eax, dword [esp + 0x24]
mov dword [eax], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10011cf3
add esp, 0x4c
ret 0x20
Function at 0x100094c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10025798
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1002d7d8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebp
push esi
push edi
mov eax, dword [0x1002d7d8]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov edi, ecx
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x20]
mov dword [esp + 0x18], ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0
call fcn.10001190
mov esi, dword [esi + 0x10]
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x44]
push ecx
push edi
mov dword [esp + 0x78], 0
call fcn.10007380
add esp, 0x18
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.1001ed00
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x28], edx
mov dword [esp + 0x5c], 0xffffffff
test eax, eax
je 0x100095b6
push 0
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.1001ed00
mov eax, dword [edi + 4]
test eax, eax
jbe 0x10009594
cmp eax, 0xffffffff
jae 0x10009594
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x2c]
and esi, edi
call fcn.1000f167
test esi, esi
je 0x100095b6
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [esp + 0x6c], 0
mov edx, dword [esp + 0x68]
jne 0x100095ff
test edx, edx
je 0x100095f4
mov eax, dword [edx + 0x20]
cmp dword [eax], 0
je 0x100095dc
mov ecx, dword [edx + 0x30]
cmp dword [ecx], 0
jle 0x100095dc
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x100095e9
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [esp + 0x68]
cmp eax, 0xffffffff
je 0x100095f4
mov byte [esp + 0x6d], al
jmp 0x100095fa
xor edx, edx
mov dword [esp + 0x68], edx
mov byte [esp + 0x6c], 1
cmp byte [esp + 0x74], 0
mov ecx, dword [esp + 0x70]
jne 0x1000963b
test ecx, ecx
je 0x10009639
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x10009625
mov esi, dword [ecx + 0x30]
cmp dword [esi], 0
jle 0x10009625
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x10009634
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x68]
cmp eax, 0xffffffff
jne 0x1000963b
xor ecx, ecx
test edx, edx
jne 0x10009645
test ecx, ecx
je 0x10009649
jmp 0x1000964d
test ecx, ecx
je 0x1000964d
or dword [ebp], 1
lea ecx, [esp + 0x30]
cmp dword [esp + 0x14], ecx
je 0x10009671
cmp dword [esp + 0x10], 0
jne 0x10009671
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
jmp 0x10009675
or dword [ebp], 2
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10011cf3
add esp, 0x50
ret 0x20
Function at 0x100096b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10025798
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1002d7d8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebp
push esi
push edi
mov eax, dword [0x1002d7d8]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov edi, ecx
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x20]
mov dword [esp + 0x18], ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0
call fcn.10001190
mov esi, dword [esi + 0x10]
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x44]
push ecx
push edi
mov dword [esp + 0x78], 0
call fcn.10007380
add esp, 0x18
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.1001ed00
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x28], edx
mov dword [esp + 0x5c], 0xffffffff
test eax, eax
je 0x100097a6
push 0
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.1001ed00
mov eax, dword [edi + 4]
test eax, eax
jbe 0x10009784
cmp eax, 0xffffffff
jae 0x10009784
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x2c]
and esi, edi
call fcn.1000f167
test esi, esi
je 0x100097a6
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [esp + 0x6c], 0
mov edx, dword [esp + 0x68]
jne 0x100097ef
test edx, edx
je 0x100097e4
mov eax, dword [edx + 0x20]
cmp dword [eax], 0
je 0x100097cc
mov ecx, dword [edx + 0x30]
cmp dword [ecx], 0
jle 0x100097cc
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x100097d9
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [esp + 0x68]
cmp eax, 0xffffffff
je 0x100097e4
mov byte [esp + 0x6d], al
jmp 0x100097ea
xor edx, edx
mov dword [esp + 0x68], edx
mov byte [esp + 0x6c], 1
cmp byte [esp + 0x74], 0
mov ecx, dword [esp + 0x70]
jne 0x1000982b
test ecx, ecx
je 0x10009829
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x10009815
mov esi, dword [ecx + 0x30]
cmp dword [esi], 0
jle 0x10009815
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x10009824
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x68]
cmp eax, 0xffffffff
jne 0x1000982b
xor ecx, ecx
test edx, edx
jne 0x10009835
test ecx, ecx
je 0x10009839
jmp 0x1000983d
test ecx, ecx
je 0x1000983d
or dword [ebp], 1
lea ecx, [esp + 0x30]
cmp dword [esp + 0x14], ecx
je 0x10009861
cmp dword [esp + 0x10], 0
jne 0x10009861
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
jmp 0x10009865
or dword [ebp], 2
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10011cf3
add esp, 0x50
ret 0x20
Function at 0x10009aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100257f8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1002d7d8]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebp
push esi
push edi
mov eax, dword [0x1002d7d8]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov esi, ecx
mov ecx, dword [esp + 0x94]
push eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0
call fcn.10001190
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x40]
push ecx
push esi
mov dword [esp + 0x90], 0
call fcn.100078d0
add esp, 0x14
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.1001ed00
fstp qword [esp + 0x38]
mov edi, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x78], 0xffffffff
test edi, edi
je 0x10009b9c
push 0
lea ecx, [esp + 0x28]
call fcn.1001ed00
mov eax, dword [edi + 4]
test eax, eax
jbe 0x10009b7a
cmp eax, 0xffffffff
jae 0x10009b7a
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x24]
and esi, edi
call fcn.1000f167
test esi, esi
je 0x10009b9c
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [esp + 0x88], 0
mov edx, dword [esp + 0x84]
jne 0x10009bf7
test edx, edx
je 0x10009be6
mov eax, dword [edx + 0x20]
cmp dword [eax], 0
je 0x10009bc8
mov ecx, dword [edx + 0x30]
cmp dword [ecx], 0
jle 0x10009bc8
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x10009bd8
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [esp + 0x84]
cmp eax, 0xffffffff
je 0x10009be6
mov byte [esp + 0x89], al
jmp 0x10009bef
xor edx, edx
mov dword [esp + 0x84], edx
mov byte [esp + 0x88], 1
cmp byte [esp + 0x90], 0
mov ecx, dword [esp + 0x8c]
jne 0x10009c3f
test ecx, ecx
je 0x10009c3d
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x10009c23
mov esi, dword [ecx + 0x30]
cmp dword [esi], 0
jle 0x10009c23
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x10009c38
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
cmp eax, 0xffffffff
jne 0x10009c3f
xor ecx, ecx
test edx, edx
jne 0x10009c49
test ecx, ecx
je 0x10009c4d
jmp 0x10009c51
test ecx, ecx
je 0x10009c51
or dword [ebp], 1
lea ecx, [esp + 0x30]
cmp dword [esp + 0x14], ecx
je 0x10009c6e
cmp dword [esp + 0x10], 0
jne 0x10009c6e
fld qword [esp + 0x28]
mov eax, dword [esp + 0x18]
fstp qword [eax]
jmp 0x10009c72
or dword [ebp], 2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x88]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10011cf3
add esp, 0x6c
ret 0x20
Function at 0x10009cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100257f8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1002d7d8]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebp
push esi
push edi
mov eax, dword [0x1002d7d8]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov esi, ecx
mov ecx, dword [esp + 0x94]
push eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0
call fcn.10001190
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x40]
push ecx
push esi
mov dword [esp + 0x90], 0
call fcn.100078d0
add esp, 0x14
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.1001ed00
fstp qword [esp + 0x38]
mov edi, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x78], 0xffffffff
test edi, edi
je 0x10009dac
push 0
lea ecx, [esp + 0x28]
call fcn.1001ed00
mov eax, dword [edi + 4]
test eax, eax
jbe 0x10009d8a
cmp eax, 0xffffffff
jae 0x10009d8a
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x24]
and esi, edi
call fcn.1000f167
test esi, esi
je 0x10009dac
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [esp + 0x88], 0
mov edx, dword [esp + 0x84]
jne 0x10009e07
test edx, edx
je 0x10009df6
mov eax, dword [edx + 0x20]
cmp dword [eax], 0
je 0x10009dd8
mov ecx, dword [edx + 0x30]
cmp dword [ecx], 0
jle 0x10009dd8
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x10009de8
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [esp + 0x84]
cmp eax, 0xffffffff
je 0x10009df6
mov byte [esp + 0x89], al
jmp 0x10009dff
xor edx, edx
mov dword [esp + 0x84], edx
mov byte [esp + 0x88], 1
cmp byte [esp + 0x90], 0
mov ecx, dword [esp + 0x8c]
jne 0x10009e4f
test ecx, ecx
je 0x10009e4d
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x10009e33
mov esi, dword [ecx + 0x30]
cmp dword [esi], 0
jle 0x10009e33
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x10009e48
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
cmp eax, 0xffffffff
jne 0x10009e4f
xor ecx, ecx
test edx, edx
jne 0x10009e59
test ecx, ecx
je 0x10009e5d
jmp 0x10009e61
test ecx, ecx
je 0x10009e61
or dword [ebp], 1
lea ecx, [esp + 0x30]
cmp dword [esp + 0x14], ecx
je 0x10009e7e
cmp dword [esp + 0x10], 0
jne 0x10009e7e
fld qword [esp + 0x28]
mov eax, dword [esp + 0x18]
fstp qword [eax]
jmp 0x10009e82
or dword [ebp], 2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x88]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10011cf3
add esp, 0x6c
ret 0x20