Function at 0x100674ef
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10145d8f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push edi
mov edi, dword [esp + 0x70]
test edi, edi
mov dword [esp + 0x3c], edi
je 0x100671c5
mov eax, dword [edi + 0xc]
test eax, 0xfff00000
jne 0x100671c5
add eax, 1
mov dword [edi + 0xc], eax
push ebx
push ebp
push esi
mov eax, dword [edi]
mov esi, dword [edi + 0x4a]
mov edx, dword [eax + 0x3c]
mov ecx, edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x2c], esi
call edx
mov ecx, eax
call fcn.1009a450
mov ebx, eax
push esi
mov dword [esp + 0x2c], ebx
call fcn.10066180
mov ebp, eax
mov eax, dword [esp + 0x78]
add esp, 4
push eax
lea ecx, [esp + 0x18]
call fcn.1009edd0
mov ecx, ebx
mov byte [esp + 0x6c], 1
call fcn.100b5600
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
push 0
mov esi, eax
mov ebx, ebp
mov dword [esp + 0x28], eax
call fcn.10065750
add esp, 8
test eax, eax
mov dword [esp + 0x1c], eax
jl 0x100675b5
jmp 0x10067240
mov edi, dword [esp + 0x20]
mov ebx, dword [edi]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
call fcn.1009dbc0
mov esi, dword [esp + 0x80]
test esi, esi
mov byte [esp + 0x6c], 2
je 0x10067338
lea ecx, [esp + 0x18]
call fcn.100a7730
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x14]
mov bl, 3
push edx
mov byte [esp + 0x70], bl
call fcn.100b5220
push edi
xor edx, edx
lea edi, [esp + 0x20]
mov ecx, eax
call fcn.10065680
fild dword [esp + 0x2c]
mov ecx, edi
fstp qword [esp]
call fcn.1005e7e0
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.1005e850
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov word [esp + 0x60], ax
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0xb0]
mov edx, dword [esi]
mov edx, dword [edx + 0xb4]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x78], 4
call edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x50]
call fcn.1009bd10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 5
call fcn.1009e420
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 4
call fcn.1009dbf0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], bl
call fcn.1009b200
mov ecx, edi
mov byte [esp + 0x6c], 2
call fcn.100a7d40
mov ebx, dword [esp + 0x24]
jmp 0x1006752e
mov ecx, dword [esp + 0x78]
mov edi, dword [ecx]
movzx eax, word [edi + 0xc]
add edi, 0xc
test ax, ax
je 0x1006752e
mov edi, edi
cmp ax, 0x24
jne 0x10067514
movzx eax, word [edi + 2]
add edi, 2
lea ecx, [eax - 0x24]
cmp ecx, 0x3c
ja case.0x10067374.37
movzx edx, byte [ecx + 0x10067638]
jmp dword [edx*4 + 0x10067618]
add edi, 2
lea edx, [eax - 0x30]
movzx eax, word [edi]
cmp ax, 0x30
jb 0x100673b6
lea ebx, [ebx]
cmp ax, 0x39
ja 0x100673b6
movzx eax, ax
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*2 - 0x30]
mov ecx, dword [ebp + 4]
cmp eax, dword [ecx + 8]
jge 0x100673b6
add edi, 2
mov edx, eax
movzx eax, word [edi]
cmp ax, 0x30
jae 0x10067390
mov eax, dword [ebp + 4]
cmp edx, dword [eax + 8]
lea ecx, [ebp + 4]
jge 0x100673f0
lea eax, [esp + 0x34]
push eax
push edx
call fcn.100a8550
mov ecx, eax
call fcn.1009bd10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 6
call fcn.1009f950
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 2
call fcn.1009dbf0
sub edi, 2
jmp 0x1006751e
mov edx, dword [ebp + 4]
mov eax, dword [edx + 8]
lea ecx, [ebp + 4]
lea edx, [esp + 0x38]
push edx
add eax, 0xffffffff
push eax
call fcn.100a8550
mov ecx, eax
call fcn.1009bd10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 7
call fcn.1009f950
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 2
call fcn.1009dbf0
jmp 0x1006751e
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.1009f950
jmp 0x1006751e
lea ecx, [esp + 0x3c]
push ecx
push 0
lea ecx, [ebp + 4]
call fcn.100a8550
mov ecx, eax
call fcn.1009bd10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 8
call fcn.1009f950
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 2
call fcn.1009dbf0
jmp 0x1006751e
test ebx, ebx
jle 0x1006751e
push ebx
push 0
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x20]
call fcn.1009f660
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 9
call fcn.1009f950
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 2
call fcn.1009dbf0
jmp 0x1006751e
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x20]
call fcn.1009f660
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 0xa
call fcn.1009f950
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 2
call fcn.1009dbf0
jmp 0x1006751e
push 0x24
lea ecx, [esp + 0x14]
call fcn.1009f880
jmp 0x1006751e
push 0x24
lea ecx, [esp + 0x14]
call fcn.1009f880
movzx eax, word [edi]
test ax, ax
jne 0x10067514
sub edi, 2
jmp 0x1006751e
push eax
lea ecx, [esp + 0x14]
call fcn.1009f8b0
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10067350
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jle 0x10067543
sub eax, ebx
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.1009f410
push ebx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
call fcn.1009fb40
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
add edi, ebx
mov ebx, dword [esp + 0x28]
mov ecx, ebx
call fcn.100b5200
mov cl, 1
test cl, al
je 0x100675a4
mov edx, dword [esp + 0x14]
cmp edi, dword [edx]
jge 0x100675a4
mov byte [esp + 0x6c], cl
lea ecx, [esp + 0x10]
call fcn.1009dbf0
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
push edi
mov ebx, ebp
call fcn.10065750
add esp, 8
test eax, eax
mov dword [esp + 0x1c], eax
jge 0x10067240
jmp 0x100675b1
mov byte [esp + 0x6c], cl
lea ecx, [esp + 0x10]
call fcn.1009dbf0
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1009daa0
mov ecx, dword [esp + 0x88]
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.1009ab20
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0
call fcn.1009dbf0
mov eax, dword [edi + 0xc]
test eax, 0xfff00000
pop esi
pop ebp
mov dword [esp + 0x64], 0xffffffff
pop ebx
jne 0x10067607
add eax, 0xffffffff
mov dword [edi + 0xc], eax
jne 0x10067607
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x58]
pop edi
mov dword fs:[0], ecx
add esp, 0x60
ret