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

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x34]
and dword [esp + 8], 0
and dword [esp + 0xc], 0
push ebx
mov ebx, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x30]
push esi
cmp dword [ebx], 4
push edi
mov edi, eax
mov dword [esp + 0x10], edi
je 0x10095793
cmp dword [ebx], 2
jne 0x100957b1
test byte [ebx + 0xb4], 0x10
je 0x100957b1
mov ecx, dword [ebx + 0xd0]
lea edi, [esp + 0x2c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
cmp dword [esp + 0x40], 0
mov dword [ebx + 0x78], edi
je 0x10095813
mov edi, dword [ebx + 0x10]
xor ecx, ecx
mov eax, dword [ebx + 0x18]
xor edx, edx
mov dword [esp + 0x38], ecx
lea eax, [edi + eax*4]
mov esi, eax
sub esi, edi
add esi, 3
shr esi, 2
cmp edi, eax
cmova esi, edx
test esi, esi
je 0x1009580f
mov ebx, dword [esp + 0x44]
inc edx
mov eax, dword [edi]
cmp dword [eax], edx
je 0x100957ff
cmp dword [eax], 0xd
je 0x100957ff
push ebx
push edx
push eax
push ebp
call fcn.1009575d
mov ecx, dword [esp + 0x38]
xor edx, edx
inc edx
add edi, 4
inc ecx
mov dword [esp + 0x38], ecx
cmp ecx, esi
jb 0x100957e4
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x10]
mov ecx, dword [ebx + 8]
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], eax
test ecx, ecx
jle 0x100959a1
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov esi, dword [ebx + 4]
add esi, ecx
cmp dword [ebx], 2
mov dword [esp + 0x20], esi
jne 0x1009586e
test byte [ebx + 0xb4], 0x60
je 0x1009586e
test byte [esi + 0x28], 2
je 0x10095859
push 0
push dword [esi + 4]
push ebp
call fcn.100927bf
cwde
jmp 0x10095862
xor eax, eax
cmp byte [esi + 0xd], 6
sete al
test eax, eax
jne 0x10095b64
mov eax, dword [esp + 0x38]
test dword [esi + 0x28], 0x400
jne 0x10095880
push edi
push eax
push ebx
push ebp
call fcn.1009540a
cmp dword [esp + 0x40], 0
je 0x1009589b
cmp dword [ebx], 2
jne 0x100958c3
test byte [ebx + 0xb4], 2
je 0x100958c3
cmp dword [ebx + 0x18], 0
je 0x100958c3
cmp dword [ebx], 2
jne 0x100958b2
test dword [ebx + 0xb4], 0x200
je 0x100958b2
cmp dword [ebx + 0x18], 0
jne 0x100958c3
push 2
push esi
push ebp
call fcn.1009539f
test eax, eax
jne 0x10095967
cmp dword [ebx], 6
jne 0x10095944
test byte [esi + 0x28], 2
jne 0x10095944
cmp byte [esi + 0xd], 0
jne 0x10095944
cmp byte [esi + 0xc], 0
jne 0x10095944
lea eax, [esp + 0x3c]
push eax
push 0
push 0xe
push ebp
call fcn.100ca994
mov edi, dword [esp + 0x3c]
lea eax, [esi + 4]
mov esi, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or dword [eax + 0x28], 6
mov eax, dword [esp + 0x3c]
movzx eax, byte [eax + 8]
push eax
call fcn.100cc1d6
movzx eax, al
push eax
push dword [esp + 0x40]
push ebp
call fcn.10092e9d
mov esi, eax
test esi, esi
jne 0x1009592b
push ebp
call fcn.100c5fd7
push esi
push 0xc
push ebp
call fcn.10092fc2
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
test eax, eax
jne 0x10095944
push ebp
call fcn.100c5fd7
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
inc eax
add ecx, 0x34
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x28]
jge 0x100959a1
mov edi, dword [esp + 0x10]
jmp 0x1009582e
cmp dword [ebx], 2
jne 0x1009598a
test byte [ebx + 0xb4], 2
je 0x1009598a
cmp dword [ebx + 0x18], 0
je 0x1009598a
cmp word [ebx + 0xbc], 9
mov eax, 0xffffdffc
je 0x1009598f
mov eax, 0xffffe056
push eax
push esi
push ebp
call fcn.10096682
push 0xfffff3e3
jmp 0x10095b69
cmp dword [ebx], 2
jne 0x100959ca
push dword [esp + 0x44]
push ebx
push ebp
call fcn.100954c2
test byte [ebx + 0xb4], 0x60
je 0x100959ca
test dword [ebp + 0x80], 0x20000
jne 0x10095b64
cmp dword [esp + 0x40], 0
je 0x10095b5a
mov ecx, dword [ebx + 0x1c]
xor edx, edx
mov eax, dword [ebx + 0x24]
and dword [esp + 0x14], 0
mov dword [esp + 0x38], ecx
lea eax, [ecx + eax*4]
mov edi, eax
sub edi, ecx
add edi, 3
shr edi, 2
cmp ecx, eax
cmova edi, edx
test edi, edi
je 0x10095b5a
mov eax, dword [ecx]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x10095b42
push eax
push ebp
call fcn.100f50c2
mov dword [esp + 0x24], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
lea esi, [eax + 0x10]
push esi
push 0
push 4
push ebp
call fcn.100ca9ba
mov ecx, dword [esi]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [ecx], edx
xor ecx, ecx
inc ecx
lea esi, [eax + 4]
push esi
push ecx
push 0x68
push ebp
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
call fcn.100ca9ba
mov eax, dword [esp + 0x40]
xor ecx, ecx
mov esi, dword [esi]
inc ecx
mov dword [eax + 0xc], 2
mov dword [eax + 8], ecx
mov eax, 0xffbf
and word [esi + 0x30], ax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x40]
mov word [esi + 0x2c], cx
mov dword [esi + 0x28], 0x200
mov byte [esi + 0xd], 2
push dword [eax + 4]
push ebp
call fcn.100f49a1
mov byte [esi + 0xc], al
mov eax, dword [esp + 0x28]
and dword [esi + 8], 0
mov dword [esi + 0xe], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 4], eax
cmp dword [ebx], 4
je 0x10095ab5
cmp dword [ebx], 2
jne 0x10095ad3
test byte [ebx + 0xb4], 0x10
je 0x10095ad3
mov eax, dword [esp + 0x18]
cmp dword [eax + 0xf0], 0
jle 0x10095ad3
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0xc], ecx
mov eax, dword [esp + 0x10]
jne 0x10095ad7
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
mov ecx, dword [edx + 0x80]
cmp ecx, 4
je 0x10095b21
cmp ecx, 1
je 0x10095b21
mov esi, dword [ebp + 0xa8]
or dword [ebp + 0xa8], 0xffffffff
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push eax
push ebx
push dword [edx + 0x8c]
push ebp
call fcn.10096425
mov edx, dword [esp + 0x40]
mov dword [edx + 0x8c], eax
mov dword [ebp + 0xa8], esi
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
cmp dword [eax], 1
je 0x10095b42
cmp dword [eax], 0xd
je 0x10095b42
push dword [esp + 0x3c]
push 1
push edx
push ebp
call fcn.1009575d
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
add ecx, 4
inc eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], eax
cmp eax, edi
jb 0x10095a00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
push 0xfffff3f8
push ebp
call fcn.100c55ec
int3