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

Disassembly:
sub esp, 0x284
push ebx
mov ebx, ecx
push esi
lea eax, [esp + 8]
mov ecx, dword [ebx + 0x18]
push edi
push eax
xor esi, esi
push ecx
push 3
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call dword [0x100144e8]
cmp ax, 0xffff
je 0x1000939f
cmp ax, 0xfffe
je 0x1000939f
mov edx, dword [esp + 0x294]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov edx, dword [esp + 0x14]
push edx
call dword [0x100144ec]
cmp ax, 0xffff
jne 0x100093ae
lea eax, [esp + 0x18]
lea ecx, [esp + 0x90]
push eax
push 0x200
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
push edx
push eax
push 1
push ecx
push 3
mov byte [esp + 0xb0], 0
call dword [0x100144e4]
lea edx, [esp + 0x90]
mov ecx, ebx
push edx
call fcn.10009ba0
mov eax, dword [esp + 0xc]
push eax
push 3
call dword [0x100144d8]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x284
ret 4
push ebp
jmp 0x100093b5
mov ebx, dword [esp + 0x24]
mov edi, 1
mov dword [esp + 0x38], edi
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x94]
push ecx
push 0x200
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
push eax
push ecx
push edi
push edx
push 3
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov byte [esp + 0xb4], 0
call dword [0x100144e4]
test ax, ax
jne 0x1000940f
lea eax, [esp + 0x94]
mov ecx, ebx
push eax
call fcn.10009ba0
inc edi
jmp 0x100093be
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x1c], esi
call dword [0x100144f0]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
push ecx
mov dword [esp + 0x54], esi
call dword [0x100144f4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], esi
cmp ax, si
jle 0x1000947f
movsx edx, ax
lea eax, [edx*4 + 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
cmp ax, si
jl 0x1000947f
mov edx, dword [esp + 0x20]
mov dword [edx], esi
mov eax, dword [esp + 0x14]
movsx edi, ax
inc ecx
add edx, 4
cmp ecx, edi
jle 0x1000946e
mov ebp, dword [ebx + 8]
mov ebx, 1
movsx ecx, ax
mov dword [ebp], ecx
add ebp, 4
cmp word [esp + 0x14], bx
mov dword [esp + 0x28], ebx
jl 0x100095d6
jmp 0x100094a3
xor esi, esi
lea edx, [esp + 0x50]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x48]
push edx
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x68]
push 0x40
push ecx
push ebx
push edx
mov byte [esp + 0x78], 0
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x74], esi
call dword [0x100144f8]
mov edx, dword [esp + 0x2c]
cmp edx, 0x10000
jbe 0x100094fd
mov edx, 0x10000
mov dword [esp + 0x2c], edx
cmp ax, 0xffff
je 0x100095d6
cmp edx, 1
jg 0x10009513
mov edx, 0xa
jmp 0x1000951d
cmp edx, 0x64
jle 0x1000951d
mov edx, 0x64
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x54]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebp, [ecx + ebp + 1]
movsx ecx, word [esp + 0x34]
mov dword [ebp], ecx
add ebp, 4
mov dword [ebp], edx
add ebp, 4
movsx edx, word [esp + 0x30]
mov dword [ebp], edx
mov eax, dword [esp + 0x2c]
add ebp, 4
lea esi, [eax + 0x10]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
movsx ecx, bx
mov edx, eax
mov eax, dword [esp + 0x24]
mov edi, edx
add esp, 4
mov dword [eax + ecx*4 - 4], edx
mov ecx, esi
mov ebx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov ebx, dword [esp + 0x28]
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0
push ecx
push esi
push edx
mov edx, dword [esp + 0x1c]
push 1
push ebx
push edx
call dword [0x100144fc]
cmp ax, 0xffff
je 0x100095d4
inc ebx
cmp bx, word [esp + 0x14]
mov dword [esp + 0x28], ebx
jle 0x100094a1
xor esi, esi
cmp word [esp + 0x14], si
jle 0x100096cd
mov eax, dword [esp + 0x10]
push eax
call dword [0x10014500]
cmp ax, 0xffff
je 0x1000967e
cmp ax, 0x64
je 0x100096cd
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], esi
cmp ax, si
jle 0x100096cd
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edx, dword [ebx]
mov ecx, ebp
sub ecx, dword [eax + 8]
cmp ecx, 0xff000
jge 0x10009659
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor esi, esi
lea ebp, [ecx + ebp + 1]
mov ecx, dword [esp + 0x28]
mov byte [edx], 0
mov eax, dword [esp + 0x14]
inc ecx
movsx edx, ax
add ebx, 4
cmp ecx, edx
mov dword [esp + 0x28], ecx
jl 0x10009615
cmp ax, si
jg 0x100095e1
jmp 0x100096cd
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x94]
push eax
push 0x200
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x50]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
push 3
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov byte [esp + 0xb4], 0
call dword [0x100144e4]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x94]
push eax
call fcn.10009ba0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 8]
sub ebp, eax
cmp ebp, 4
jbe 0x100096ec
mov ecx, dword [ecx + 4]
push esi
push ebp
push eax
push ebp
push 0xa01d
call fcn.10002320
mov edi, dword [esp + 0x20]
cmp edi, esi
je 0x10009715
mov eax, dword [edi]
cmp eax, esi
je 0x10009708
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
add edi, 4
jmp 0x100096f4
mov ecx, dword [esp + 0x20]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call dword [0x10014504]
test ax, ax
je 0x100093b1
mov edi, 1
pop ebp
lea eax, [esp + 0x18]
lea ecx, [esp + 0x90]
push eax
push 0x200
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
push edx
push eax
push edi
push ecx
push 3
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov byte [esp + 0xb0], 0
call dword [0x100144e4]
test ax, ax
jne 0x10009782
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x90]
push edx
call fcn.10009ba0
inc edi
jmp 0x1000972f
mov eax, dword [esp + 0xc]
push eax
push 3
call dword [0x100144d8]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x284
ret 4