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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x100a5ad0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x50]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], 0
test eax, eax
jle 0x1009ea90
mov esi, eax
add esi, edi
mov dword [ebp - 0x30], esi
jmp 0x1009ea0e
push 0x10
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x24]
je 0x1009ea3d
mov dword [edx], eax
add dword [ebp - 0x28], 4
mov edi, dword [ebp - 0x34]
add edi, 1
mov dword [ebp - 0x34], edi
cmp edi, esi
jae 0x1009ea88
cmp byte [edi], 0x3f
jne 0x1009e9e0
lea eax, [edi + 1]
mov dword [ebp - 0x34], eax
xor ecx, ecx
cmp byte [edi + 1], 0x3f
sete dl
mov dword [ebp - 0x40], 0xffffffff
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
je 0x1009ea56
mov dword [eax], 0xffffffff
add dword [ebp - 0x28], 4
jmp 0x1009ea7c
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.10036e90
mov esi, dword [ebp - 0x30]
jmp 0x1009ea01
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x1d], dl
lea edx, [ebp - 0x40]
push edx
push eax
mov dword [ebp - 0x3c], edi
call fcn.10036e90
movzx edx, byte [ebp - 0x1d]
xor ecx, ecx
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x30]
mov cl, dl
add edi, ecx
add edi, 1
jmp 0x1009ea04
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
jmp 0x1009ea94
xor eax, eax
xor ecx, ecx
sub ecx, eax
mov edx, ecx
sar edx, 2
sub dword [ebp - 0x44], edx
je 0x1009eb0c
cmp edx, 2
mov esi, 1
cmovae esi, edx
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x1009eb4d
mov dword [ebp - 0x30], edx
xor edx, edx
jmp 0x1009ead7
add edx, 1
cmp esi, edx
je 0x1009eb01
movzx edi, byte [ebx + edx]
mov ecx, dword [eax + edx*4]
cmp ecx, edi
je 0x1009ead0
cmp ecx, 0xffffffff
je 0x1009ead0
mov edx, dword [ebp - 0x30]
add edx, 1
add ebx, 1
cmp edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
jne 0x1009eab3
mov dword [ebp - 0x38], 0
jmp 0x1009eb10
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
add ecx, edx
mov dword [ebp - 0x38], ecx
test eax, eax
je 0x1009eb39
mov ecx, dword [ebp - 0x24]
sub ecx, eax
cmp ecx, 0x1000
jb 0x1009eb2f
mov edx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, edx
cmp eax, 0x20
jae 0x1009eb51
add ecx, 0x23
mov eax, edx
push ecx
push eax
call fcn.102e53ef
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x38]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
xor edx, edx
jmp 0x1009eb04
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word [eax + eax]
push ebp
sub esp, 0xc
add ebp, 0xc
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1009ebab
mov eax, dword [ebp - 0x24]
sub eax, ecx
cmp eax, 0x1000
jb 0x1009eb8c
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1009ebb0
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.102e53ef
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
add esp, 0xc
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word cs:[eax + eax]