joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7c366d53
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x7c3916c0]
push ebx
push ebp
mov ebp, dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp eax, ebx
jne 0x7c366d9c
call ebp
mov esi, eax
cmp esi, ebx
je 0x7c366d82
mov dword [0x7c3916c0], 1
jmp 0x7c366da1
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x78
jne 0x7c366d97
push 2
pop eax
mov dword [0x7c3916c0], eax
jmp 0x7c366d9c
mov eax, dword [0x7c3916c0]
cmp eax, 1
jne 0x7c366df9
cmp esi, ebx
jne 0x7c366db4
call ebp
mov esi, eax
cmp esi, ebx
jne 0x7c366db4
xor eax, eax
jmp 0x7c366ea0
cmp word [esi], bx
mov eax, esi
je 0x7c366dc9
inc eax
inc eax
cmp word [eax], bx
jne 0x7c366dbb
inc eax
inc eax
cmp word [eax], bx
jne 0x7c366dbb
sub eax, esi
inc eax
inc eax
mov ebp, eax
push ebp
call sym.MSVCR71.dll_malloc
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x7c366dec
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, edi
jmp 0x7c366ea0
push ebp
push esi
push edi
call fcn.7c350b83
add esp, 0xc
jmp 0x7c366dde
cmp eax, 2
je 0x7c366e02
cmp eax, ebx
jne 0x7c366dad
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov ebp, eax
cmp ebp, ebx
je 0x7c366dad
cmp byte [ebp], bl
mov esi, ebp
je 0x7c366e38
push ebx
push ebx
push 0xffffffffffffffff
push esi
push 1
push ebx
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x7c366dad
push esi
add edi, eax
call sym.MSVCR71.dll_strlen
lea esi, [esi + eax + 1]
cmp byte [esi], bl
pop ecx
jne 0x7c366e15
inc edi
lea eax, [edi + edi]
push eax
mov dword [esp + 0x18], edi
call sym.MSVCR71.dll_malloc
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x7c366eb1
cmp byte [ebp], bl
mov edi, ebp
mov esi, eax
je 0x7c366e92
mov ecx, dword [esp + 0x14]
mov eax, esi
sub eax, dword [esp + 0x10]
sar eax, 1
sub ecx, eax
push ecx
push esi
push 0xffffffffffffffff
push edi
push 1
push ebx
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
je 0x7c366ea7
push edi
call sym.MSVCR71.dll_strlen
push esi
lea edi, [edi + eax + 1]
call sym.MSVCR71.dll_wcslen
cmp byte [edi], bl
pop ecx
pop ecx
lea esi, [esi + eax*2 + 2]
jne 0x7c366e58
push ebp
mov word [esi], bx
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push dword [esp + 0x10]
call sym.MSVCR71.dll_free
pop ecx
push ebp
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
jmp 0x7c366dad
Function at 0x7c370627
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x7c370648
lea eax, [ebp - 4]
push eax
call fcn.7c350b83
mov eax, dword [ebp - 4]
pop ecx
mov dword [ebp - 8], eax
lea edi, [ebp - 8]
lea eax, [edi + 4]
push eax
call fcn.7c350b83
test eax, eax
pop ecx
jne 0x7c370669
call sym.MSVCR71.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x7c37076a
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x30], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x2e], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x2a], cx
mov cx, word [eax + 8]
mov word [ebp - 0x28], cx
mov cx, word [eax + 4]
mov word [ebp - 0x26], cx
mov ax, word [eax]
and word [ebp - 0x22], 0
push esi
mov esi, dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call esi
test eax, eax
je 0x7c37075b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c37075b
push edi
call fcn.7c350b83
test eax, eax
pop ecx
je 0x7c37075b
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x30], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x2e], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x2a], cx
mov cx, word [eax + 8]
mov word [ebp - 0x28], cx
mov cx, word [eax + 4]
mov word [ebp - 0x26], cx
mov ax, word [eax]
and word [ebp - 0x22], 0
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call esi
test eax, eax
je 0x7c37075b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c37075b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 8]
call sym.MSVCR71.dll__get_osfhandle
pop ecx
push eax
call dword [sym.imp.kernel32.dll_SetFileTime]
test eax, eax
je 0x7c37075b
xor eax, eax
jmp 0x7c370769
call sym.MSVCR71.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
pop esi
pop edi
leave
ret
Function at 0x7c3707a4
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x7c3707cb
lea eax, [ebp - 0x30]
push eax
call fcn.7c350b83
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
pop ecx
mov dword [ebp - 0x34], eax
lea edi, [ebp - 0x38]
lea eax, [edi + 8]
push eax
call fcn.7c350b83
test eax, eax
pop ecx
jne 0x7c3707ec
call sym.MSVCR71.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x7c3708ed
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x28], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x26], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x22], cx
mov cx, word [eax + 8]
mov word [ebp - 0x20], cx
mov cx, word [eax + 4]
mov word [ebp - 0x1e], cx
mov ax, word [eax]
and word [ebp - 0x1a], 0
push esi
mov esi, dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x7c3708de
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c3708de
push edi
call fcn.7c350b83
test eax, eax
pop ecx
je 0x7c3708de
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x28], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x26], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x22], cx
mov cx, word [eax + 8]
mov word [ebp - 0x20], cx
mov cx, word [eax + 4]
mov word [ebp - 0x1e], cx
mov ax, word [eax]
and word [ebp - 0x1a], 0
mov word [ebp - 0x1c], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x7c3708de
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c3708de
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 8]
call sym.MSVCR71.dll__get_osfhandle
pop ecx
push eax
call dword [sym.imp.kernel32.dll_SetFileTime]
test eax, eax
je 0x7c3708de
xor eax, eax
jmp 0x7c3708ec
call sym.MSVCR71.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
pop esi
pop edi
leave
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.100224df
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.100224df
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.100224df
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.100224df
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.100224df
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.100224df
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.100224df
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.100224df
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.100224df
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.100224df
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