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

Disassembly:
push 0xffffffffffffffff
push 0x1004ee30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [0x1006099c]
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x54], eax
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push 1
mov esi, 0xf
push 0x10053578
lea ecx, [esp + 0x28]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.10001f80
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x70], 1
call fcn.10030915
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, 0x10
mov byte [esp + 0x64], bl
jb 0x10004041
mov eax, dword [esp + 0x24]
push eax
call fcn.10036530
add esp, 4
mov edi, dword [esp + 0x10]
cmp edi, ebx
je 0x10004068
mov ecx, dword [esp + 0x14]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x6c], ecx
jne 0x100040d2
mov eax, dword [esp + 0x74]
mov esi, dword [eax + 4]
cmp esi, ebx
je 0x100040a5
mov ecx, dword [eax + 8]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x74], eax
je 0x100040a5
mov ecx, dword [esp + 0x70]
push 0xffffffffffffffff
push ebx
push esi
add ecx, 4
call fcn.10001e90
mov edi, dword [esp + 0x10]
cmp edi, ebx
je 0x100040cb
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
push edi
call fcn.10002ea0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.10036530
add esp, 0x14
xor al, al
jmp 0x10004222
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 4]
cmp eax, ebx
jne 0x100040e1
xor edi, edi
jmp 0x100040f9
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
push ebx
push 0x100534c7
lea ecx, [esp + 0x44]
mov byte [esp + 0x74], bl
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.10001f80
xor esi, esi
cmp edi, ebx
mov byte [esp + 0x64], 2
jle 0x100041d0
push ebp
xor ebp, ebp
lea ebx, [ebx]
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 4]
add eax, ebp
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100025a0
add esp, 8
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x74], 3
call fcn.10002af0
cmp al, bl
mov byte [esp + 0x70], al
je 0x1000419f
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0x68], 2
jb 0x10004185
mov ecx, dword [esp + 0x28]
push ecx
call fcn.10036530
add esp, 4
inc esi
add ebp, 0x1c
cmp esi, edi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
jl 0x10004130
jmp 0x100041cf
mov edx, dword [esp + 0x78]
imul esi, esi, 0x1c
mov edi, dword [edx + 4]
mov ecx, dword [esp + 0x74]
push 0xffffffffffffffff
push ebx
add esi, edi
push esi
add ecx, 4
call fcn.10001e90
cmp dword [esp + 0x3c], 0x10
jb 0x100041cf
mov eax, dword [esp + 0x28]
push eax
call fcn.10036530
add esp, 4
pop ebp
cmp dword [esp + 0x54], 0x10
jb 0x100041e4
mov ecx, dword [esp + 0x40]
push ecx
call fcn.10036530
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
je 0x1000421e
mov edx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
call fcn.10002ea0
mov eax, dword [esp + 0x20]
push eax
call fcn.10036530
add esp, 0x14
mov al, byte [esp + 0x6c]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x50]
pop ebx
call fcn.1003fd01
add esp, 0x5c
ret 0xc