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

Disassembly:
sub esp, 0x7c
mov edx, dword [esp + 0x84]
push ebx
xor eax, eax
push ebp
push esi
mov esi, dword [esp + 0x8c]
push edi
xor edi, edi
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [edx + 0xc], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], eax
mov al, byte [esi]
cmp al, 0x20
je 0x10009cf0
cmp al, 9
jne 0x10009cf3
inc esi
jmp 0x10009ce6
cmp byte [esi], 0
mov dword [esp + 0x90], esi
je 0x1000a01b
movsx eax, byte [esi]
xor ebp, ebp
push eax
mov edi, esi
mov dword [esp + 0x18], ebp
call fcn.1000fec4
add esp, 4
test eax, eax
je 0x10009d41
jmp 0x10009d20
movsx edx, byte [edi]
movsx eax, byte [edi + 1]
inc edi
lea ecx, [ebp + ebp*4]
push eax
lea ebp, [edx + ecx*2 - 0x30]
call fcn.1000fec4
add esp, 4
test eax, eax
jne 0x10009d20
mov dword [esp + 0x14], ebp
cmp edi, esi
mov bl, byte [edi]
jbe 0x10009dcf
cmp bl, 0x2f
je 0x10009d63
cmp bl, 0x3a
je 0x10009d63
cmp bl, 0x2e
je 0x10009d63
cmp bl, 0x2d
je 0x10009d63
test bl, bl
jne 0x10009dcf
mov eax, dword [esp + 0x58]
cmp eax, 5
mov dword [esp + 0x2c], 0
jge 0x1000a3c9
mov dword [esp + eax*4 + 0x5c], ebp
mov edx, dword [esp + 0x58]
mov ecx, edi
sub ecx, esi
mov dword [esp + edx*4 + 0x74], ecx
mov ecx, dword [esp + 0x58]
inc ecx
test bl, bl
mov dword [esp + 0x58], ecx
jne 0x10009dad
mov esi, edi
mov dword [esp + 0x90], esi
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x2c]
jmp dword [ebp*4 + 0x1000a3ec]
mov al, byte [edi + 1]
cmp al, 0x20
lea esi, [edi + 1]
mov dword [esp + 0x90], esi
je 0x10009dc2
cmp al, 9
jne 0x10009d9e
mov al, byte [esi]
cmp al, 0x20
je case.default.0x10009da6
cmp al, 9
jne 0x10009d97
inc esi
jmp 0x10009dc2
mov edx, dword [esp + 0x9c]
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
push esi
mov dword [esp + 0x34], 0
call fcn.10009a60
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x10009e25
cmp dword [esp + 0x58], 5
jge 0x1000a3c9
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edi, [esp + 0x60]
call fcn.10009860
mov esi, dword [esp + 0x98]
add esp, 8
mov bl, al
cmp ebp, 4
mov edi, dword [esp + 0x58]
ja 0x1000a3c9
jmp switch.0x10009da6
cmp bl, 0x3a
je 0x10009ed7
cmp bl, 0x2e
jne 0x10009e9e
cmp edi, 4
je 0x10009ed7
mov ebp, 1
cmp edi, 3
jl 0x10009e60
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x10009e77
mov edx, dword [esp + 0x94]
mov byte [edx + 6], 1
mov dword [esp + 0x30], ebp
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x10009eb3
cmp edi, ebp
jne 0x10009ff2
cmp dword [esp + 0x74], 4
jb 0x10009ff2
mov dword [esp + 0x98], ebp
jmp 0x10009ff2
cmp bl, 0x2f
je 0x10009ea8
cmp bl, 0x2d
jne 0x10009e4e
mov ebp, 1
mov dword [esp + 0x24], ebp
jmp 0x10009e53
test eax, eax
jne 0x10009ff2
mov ecx, dword [esp + 0x94]
dec edi
mov dword [esp + 0x58], edi
mov al, byte [esp + edi*4 + 0x5c]
mov byte [ecx + 6], al
mov dword [esp + 0x1c], ebp
jmp 0x10009ff2
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x1000a3c9
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1000a3c9
mov ebx, dword [esp + 0x94]
dec edi
mov dword [esp + 0x58], edi
mov dl, byte [esp + edi*4 + 0x5c]
mov byte [ebx + 7], dl
movsx eax, byte [esi]
mov ebp, 1
push eax
mov dword [esp + 0x24], ebp
call fcn.1000fec4
add esp, 4
test eax, eax
je 0x10009ff2
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x94]
push edx
lea edi, [esp + 0x60]
call fcn.10009860
mov ecx, dword [esp + 0x60]
add esp, 8
dec ecx
cmp al, 0x3a
mov dword [esp + 0x58], ecx
mov cl, byte [esp + ecx*4 + 0x5c]
mov byte [ebx + 8], cl
je 0x10009f54
cmp al, 0x2e
jne 0x10009feb
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x94]
push eax
lea edi, [esp + 0x60]
call fcn.10009860
mov ecx, dword [esp + 0x60]
add esp, 8
dec ecx
cmp al, 0x2e
mov dword [esp + 0x58], ecx
mov cl, byte [esp + ecx*4 + 0x5c]
mov byte [ebx + 9], cl
je 0x10009f85
cmp al, 0x3a
jne 0x10009feb
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x94]
push eax
lea edi, [esp + 0x60]
call fcn.10009860
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + ecx*4 + 0x78]
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp edx, 6
jae 0x10009fc3
mov eax, 6
sub eax, edx
add edx, eax
lea ecx, [ecx + ecx*4]
shl ecx, 1
dec eax
jne 0x10009fb8
cmp edx, 6
jbe 0x10009fdf
lea esi, [edx - 6]
jmp 0x10009fd0
mov eax, 0xcccccccd
mul ecx
shr edx, 3
dec esi
mov ecx, edx
jne 0x10009fd0
mov eax, dword [esp + 0x58]
dec eax
mov dword [ebx + 0xc], ecx
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x90]
cmp byte [esi], 0
mov edi, ebp
jne 0x10009d03
cmp dword [esp + 0x58], 3
je 0x1000a07b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000a01b
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1000a01b
cmp dword [esp + 0x58], 1
je 0x1000a07b
lea edx, [esp + 0x48]
push edx
call fcn.1000d070
mov cx, word [esp + 0x50]
mov eax, dword [esp + 0x98]
mov dx, word [esp + 0x4c]
mov word [eax + 4], cx
mov ecx, dword [esp + 0x38]
add esp, 4
test ecx, ecx
mov word [eax], dx
jne 0x1000a04f
mov cl, byte [esp + 0x4b]
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x1000a05e
mov dl, byte [esp + 0x4a]
mov byte [eax + 2], dl
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1000a07b
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov ecx, 1
jne 0x1000a078
movzx ecx, byte [esp + 0x4e]
mov byte [eax + 6], cl
mov eax, dword [esp + 0x58]
test eax, eax
jg 0x1000a235
test edi, edi
jne 0x1000a3ba
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7c
ret
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000a0a0
sub eax, edx
add eax, esi
call fcn.10009810
mov esi, eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x90], esi
jne 0x1000a0e7
test edi, edi
jle 0x1000a3c9
mov ecx, dword [esp + 0x94]
dec edi
mov dword [esp + 0x58], edi
mov dl, byte [esp + edi*4 + 0x5c]
mov ebp, 1
mov byte [ecx + 7], dl
mov dword [esp + 0x20], ebp
jmp 0x1000a0f3
mov ecx, dword [esp + 0x94]
mov ebp, 1
mov al, byte [ecx + 7]
cmp al, 0xc
jae 0x10009ff2
add al, 0xc
mov byte [ecx + 7], al
jmp 0x10009ff2
lea eax, [esp + 0x38]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000a110
sub eax, edx
add eax, esi
call fcn.10009810
mov esi, eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x90], esi
jne 0x1000a157
test edi, edi
jle 0x1000a3c9
mov ecx, dword [esp + 0x94]
dec edi
mov dword [esp + 0x58], edi
mov al, byte [esp + edi*4 + 0x5c]
mov ebp, 1
mov byte [ecx + 7], al
mov dword [esp + 0x20], ebp
jmp 0x1000a163
mov ecx, dword [esp + 0x94]
mov ebp, 1
mov al, byte [ecx + 7]
cmp al, 0xc
jne 0x1000a173
mov byte [ecx + 7], 0
jmp 0x10009ff2
ja 0x1000a3c9
jmp 0x10009ff2
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000a185
sub eax, edx
add eax, esi
call fcn.10009810
mov cl, byte [esp + 0x13]
mov esi, eax
mov eax, dword [esp + 0x94]
mov byte [eax + 2], cl
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov dword [esp + 0x90], esi
jne 0x1000a3c9
cmp dword [esp + 0x98], 3
mov ebp, 1
mov dword [esp + 0x18], ebp
mov byte [eax + 6], 1
mov dword [esp + 0x30], ebp
jne 0x10009ff2
test edi, edi
mov dword [esp + 0x1c], ebp
jle 0x10009ff2
dec edi
mov dword [esp + 0x58], edi
mov dl, byte [esp + edi*4 + 0x5c]
mov byte [eax + 6], dl
jmp 0x10009ff2
lea eax, [esp + 0x38]
lea edx, [eax + 1]
jmp 0x1000a200
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000a200
sub eax, edx
add eax, esi
call fcn.10009810
mov ecx, dword [esp + 0x94]
mov esi, eax
mov al, byte [esp + 0x13]
mov ebp, 1
mov dword [esp + 0x90], esi
mov byte [ecx + 3], al
mov dword [esp + 0x34], ebp
jmp 0x10009ff2
cmp eax, 1
jne 0x1000a31d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000a26b
mov eax, dword [esp + 0x74]
mov cx, word [esp + 0x5c]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
test eax, eax
mov word [esi], cx
jne 0x1000a2da
mov byte [esi + 6], 1
jmp 0x1000a2da
mov edi, dword [esp + 0x5c]
push 0x64
push edi
call fcn.1000ff3d
mov ecx, dword [esp + 0x7c]
add esp, 8
cmp ecx, 6
je 0x1000a2bd
cmp ecx, 8
je 0x1000a2bd
cmp ecx, 4
jne 0x1000a3c9
mov esi, dword [esp + 0x94]
push 0x64
push edi
mov byte [esi + 6], 1
call fcn.1000ff3d
mov ecx, dword [esp + 0xa0]
add esp, 8
cmp ecx, 1
je 0x1000a2d2
dec al
mov byte [esi + 2], al
mov word [esi], dx
jmp 0x1000a2da
mov esi, dword [esp + 0x94]
push 0x64
push eax
mov byte [esi + 6], dl
call fcn.1000ff3d
add esp, 8
dec dl
mov byte [esi + 2], dl
mov word [esi], ax
mov ax, word [esi]
cmp ax, 0x64
jae 0x1000a3db
cmp dword [esp + 0x28], 2
ja 0x1000a3db
mov edx, dword [esp + 0xa0]
movzx ecx, ax
cmp ecx, edx
jae 0x1000a3d3
add eax, 0x7d0
push esi
mov word [esi], ax
call fcn.10009950
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
cmp eax, 3
mov ecx, dword [esp + 0x98]
mov esi, dword [esp + 0x94]
jne 0x1000a35f
cmp ecx, 1
je 0x1000a34e
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x28], edx
mov dx, word [esp + 0x64]
mov eax, 2
mov dword [esp + 0x58], eax
mov word [esi], dx
cmp ecx, 3
je 0x1000a35f
dec eax
mov dword [esp + 0x58], eax
mov dl, byte [esp + eax*4 + 0x5c]
mov byte [esi + 6], dl
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x1000a375
dec eax
mov dword [esp + 0x58], eax
mov dl, byte [esp + eax*4 + 0x5c]
dec dl
mov byte [esi + 2], dl
cmp ecx, 3
jne 0x1000a396
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x1000a396
test eax, eax
jle 0x1000a2da
dec eax
mov dword [esp + 0x58], eax
mov dl, byte [esp + eax*4 + 0x5c]
mov byte [esi + 6], dl
test eax, eax
jle 0x1000a2da
cmp ecx, 1
jne 0x1000a3c1
mov ecx, dword [esp + eax*4 + 0x70]
dec eax
mov dword [esp + 0x58], eax
mov dx, word [esp + eax*4 + 0x5c]
mov dword [esp + 0x28], ecx
mov word [esi], dx
jmp 0x1000a3c1
mov esi, dword [esp + 0x94]
test eax, eax
jle 0x1000a2da
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7c
ret
add eax, 0x76c
mov word [esi], ax
push esi
call fcn.10009950
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret