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

Disassembly:
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x75]
mov byte [esp + 0x74], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x100]
mov esi, 0x14
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, ecx
cdq
idiv esi
mov eax, ecx
mov ecx, 0x4e20
mov ebx, edx
cdq
idiv ecx
add bl, 0x32
mov byte [esp + 0x10], bl
mov esi, edx
mov edx, dword [esp + 0x10]
and edx, 0xff
add esi, 0x1dca
and edx, 0x80000003
jns 0x10003b12
dec edx
or edx, 0xfffffffc
inc edx
mov edi, dword [0x10fc15c]
inc edx
shl edx, 0xa
push edx
call edi
mov ebp, dword [0x10fc154]
push 0xff
push 3
push 2
mov dword [esp + 0x58], eax
call ebp
push 0x10fd438
push eax
mov dword [esp + 0x18], eax
call fcn.100017a0
add esp, 8
push 0xff
push 3
push 2
call ebp
mov ebp, eax
push 0x10fd414
push ebp
call fcn.100017a0
mov ecx, dword [esp + 0x18]
add esp, 8
lea eax, [esp + 0x50]
mov dword [esp + 0x50], 1
push 4
push eax
push 2
push 0
push ecx
call dword [0x10fc134]
push 0x10fd428
push eax
mov dword [esp + 0x5c], eax
call fcn.100017a0
add esp, 8
cmp esi, 0x10000
jge 0x10003bd8
mov edx, dword [esp + 0xf8]
push edx
call dword [0x10fc158]
push esi
mov dword [esp + 0x6c], eax
mov word [esp + 0x68], 2
call edi
mov word [esp + 0x66], ax
lea eax, [esp + 0x64]
push 0x10
push eax
push ebp
call dword [0x10fc160]
cmp eax, 0xffffffff
jne 0x10003bfd
inc esi
cmp esi, 0x10000
jl 0x10003b99
jmp 0x10003bdf
cmp dword [esp + 0x54], 0xffffffff
jne 0x10003bfd
mov ecx, dword [esp + 0x10]
mov esi, dword [0x10fc168]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xe4
ret
mov eax, dword [esp + 0x100]
xor edx, edx
mov dword [esp + 0x14], edx
push eax
mov dword [esp + 0x1c], edx
mov word [esp + 0x18], 2
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
call edi
mov ecx, dword [esp + 0xfc]
mov word [esp + 0x16], ax
push ecx
call dword [0x10fc158]
cmp eax, 0xffffffff
jne 0x10003c60
mov edx, dword [esp + 0xfc]
push edx
call dword [0x10fc13c]
test eax, eax
je 0x10003c64
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov ecx, dword [edx]
mov dword [esp + 0x18], ecx
mov dx, word [eax + 8]
mov word [esp + 0x14], dx
jmp 0x10003c64
mov dword [esp + 0x18], eax
push 0x28
mov byte [esp + 0x28], 0x45
call edi
mov word [esp + 0x26], ax
xor eax, eax
mov word [esp + 0x2a], ax
mov byte [esp + 0x2c], bl
mov ebx, dword [esp + 0x68]
mov word [esp + 0x2e], ax
mov eax, dword [esp + 0x18]
push esi
mov word [esp + 0x2c], 1
mov byte [esp + 0x31], 6
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
call edi
mov ecx, dword [esp + 0x100]
mov word [esp + 0x38], ax
push ecx
call edi
push 0x19760104
mov word [esp + 0x3e], ax
call dword [0x10fc124]
mov dx, word [esp + 0x4c]
mov dword [esp + 0x3c], eax
xor eax, eax
push 0x14
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], 0x50
mov byte [esp + 0x49], 2
mov word [esp + 0x4a], dx
mov word [esp + 0x4e], ax
mov word [esp + 0x4c], ax
mov byte [esp + 0x64], al
mov byte [esp + 0x65], 6
call edi
mov word [esp + 0x62], ax
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x7c], ecx
mov ecx, 5
lea esi, [esp + 0x38]
lea edi, [esp + 0x80]
lea edx, [esp + 0x74]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
push 0x20
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.100034e0
mov word [esp + 0x50], ax
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 5
lea esi, [esp + 0x2c]
lea edi, [esp + 0x7c]
lea eax, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 5
lea esi, [esp + 0x40]
lea edi, [esp + 0x90]
push 0x28
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.100034e0
mov ecx, 5
lea esi, [esp + 0x34]
lea edi, [esp + 0x84]
mov word [esp + 0x3e], ax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x84]
add esp, 0x10
test ecx, ecx
jne 0x10003dae
mov edx, dword [esp + 0x10]
mov esi, dword [0x10fc168]
push edx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xe4
ret
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 0x10
push eax
push 0
lea ecx, [esp + 0x80]
push 0x28
push ecx
push esi
call dword [0x10fc118]
cmp eax, 0xffffffff
jne 0x10003df9
push 0x10fd41c
push eax
call fcn.100017a0
add esp, 8
push esi
mov esi, dword [0x10fc168]
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xe4
ret
push esi
mov esi, dword [0x10fc168]
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xe4
ret