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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10067b93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x54], edx
push 1
lea ecx, [esp + 0x68]
mov dword [esp + 0x28], ebx
call fcn.100165ef
xor esi, esi
mov dword [esp + 0x114], esi
mov dword [esp + 0xb0], 0xfffffffe
mov dword [esp + 0x3c], esi
jmp 0x1003cbce
mov eax, dword [esp + 0x3c]
mov dword [esp + eax*4 + 0x30], 1
inc dword [esp + 0x3c]
cmp dword [esp + 0x3c], 2
jl 0x1003cbbe
lea edx, [esp + 0x64]
lea ecx, [esp + 0x3c]
call fcn.1003bbd6
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x34]
neg eax
cmp eax, 0x2d8cb4c2
mov eax, dword [esp + 0x34]
setge cl
inc ecx
neg ecx
sbb ecx, ecx
inc ecx
add eax, ecx
xor ecx, ecx
cmp eax, 0x9f58
setle cl
cmp ecx, dword [esp + 0x34]
jge 0x1003cc29
call fcn.1003bdd3
jmp 0x1003ccf2
mov dword [esp + 0x10], 0xfffffffb
mov dword [esp + 0x28], 2
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], esi
jmp 0x1003cce7
mov dword [esp + 0x4c], 0x74db9bec
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0x30], esi
jne 0x1003ccc1
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x30]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0x30], 1
jl 0x1003cc81
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0x30], esi
jne 0x1003cc81
mov ecx, esi
jmp 0x1003cc84
xor ecx, ecx
inc ecx
xor eax, eax
cmp ecx, 0x7fb07d0
setne al
xor ecx, ecx
cmp eax, 0xf392
mov eax, dword [esp + 0x10]
setne cl
xor edx, edx
cmp ecx, 0xfffffff7
setle dl
xor ecx, ecx
cmp eax, edx
mov eax, 0xffffed51
setg cl
sub eax, ecx
add eax, dword [esp + 0x30]
jne 0x1003ccbd
mov eax, dword [esp + 0x34]
mov eax, esi
jmp 0x1003ccc4
xor eax, eax
inc eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], esi
jne 0x1003ccdc
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0x30], esi
jne 0x1003ccdc
mov eax, esi
jmp 0x1003ccdf
xor eax, eax
inc eax
mov dword [esp + 0x4c], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jle 0x1003cc4a
lea edx, [esp + 0x64]
lea ecx, [esp + 0xb0]
call fcn.1003c379
or dword [esp + 0x114], 0xffffffff
cmp dword [esp + 0x64], esi
je 0x1003cd26
push dword [esp + 0x64]
call fcn.1004f7aa
pop ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
cmp dword [ebx + 0x10], esi
jne 0x1003cd32
xor al, al
jmp 0x1003d482
lea ecx, [esp + 0x54]
call fcn.1003ca24
mov dword [esp + 0x14], 0x399841b3
push 3
mov dword [esp + 0x2c], 0xbb6748f6
mov dword [esp + 0x14], esi
pop edi
jmp 0x1003cd67
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xf4], 0xeb6b9dd9
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1003cd54
mov dword [esp + 0x14], esi
jmp 0x1003cda9
mov dword [esp + 0x10], esi
jmp 0x1003cd8c
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xa4], 0x4b733c63
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jl 0x1003cd79
mov eax, dword [esp + 0x28]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xf4], eax
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xfffffffc
jle 0x1003cd73
cmp dword [ebx + 0x14], 0x10
jb 0x1003cdba
mov ecx, dword [ebx]
jmp 0x1003cdbc
mov ecx, ebx
cmp dword [ebx + 0x14], 0x10
mov dword [esp + 0x50], ecx
jb 0x1003cdca
mov edx, dword [ebx]
jmp 0x1003cdcc
mov edx, ebx
mov eax, dword [ebx + 0x10]
add eax, edx
cmp ecx, eax
je 0x1003d264
mov dword [esp + 0x1c], 0x885c6f1b
lea ecx, [esp + 0x90]
push edi
call fcn.100165ef
mov dword [esp + 0x114], 1
xor edx, edx
mov dword [esp + 0x20], 0x868bb4a
mov dword [esp + 0x40], 0x56e348cc
mov dword [esp + 0x10], edx
jmp 0x1003ce24
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x100], 0x98a8f939
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1003ce11
mov dword [esp + 0x10], edx
jmp 0x1003ce47
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x90]
mov dword [eax + ecx*4], 0x3a3fc4b0
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1003ce31
mov dword [esp + 0x1c], 1
cmp dword [esp + 0x1c], edx
jl 0x1003cec7
mov dword [esp + 0x40], 0x34d0069
lea ecx, [esp + 0x78]
mov dword [esp + 0x40], edx
push 2
call fcn.100165ef
lea edx, [esp + 0x78]
mov byte [esp + 0x114], 2
lea ecx, [esp + 0xcc]
call fcn.1003ca2a
dec dword [esp + 0x20]
call fcn.1003cad4
mov byte [esp + 0x114], 1
cmp dword [esp + 0x78], 0
je 0x1003cebf
push dword [esp + 0x78]
call fcn.1004f7aa
xor edx, edx
pop ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edx
jmp 0x1003cec1
xor edx, edx
dec dword [esp + 0x1c]
jns 0x1003ce5b
or dword [esp + 0x114], 0xffffffff
cmp dword [esp + 0x90], 0
je 0x1003cefd
push dword [esp + 0x90]
call fcn.1004f7aa
xor edx, edx
pop ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edx
mov eax, dword [esp + 0x50]
mov al, byte [eax]
cmp al, 0x30
jl 0x1003d0a0
cmp al, 0x39
jg 0x1003d0a0
mov dword [esp + 0x28], 0x202b
cmp dword [esp + 0x28], 0x837
jge 0x1003cfee
lea eax, [esp + 0x9c]
push eax
push ecx
lea eax, [esp + 0x68]
push eax
push ecx
lea eax, [esp + 0xbc]
mov ecx, 0x10657dd0
push eax
call fcn.10015f8e
pop ecx
mov ecx, eax
call fcn.10015f8e
pop ecx
mov ecx, eax
call fcn.10015f8e
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0xac]
cdq
idiv edi
mov esi, edx
mov dword [esp + 0x60], esi
cmp esi, edi
jge 0x1003cf90
lea ebx, [esi*4 + 0x16dce670]
sub edi, esi
push ebx
mov ecx, 0x10657dd0
call fcn.10015f8e
add ebx, 4
dec edi
jne 0x1003cf7b
mov ebx, dword [esp + 0x24]
test esi, esi
jle 0x1003cfaa
mov edi, 0x16dce670
push edi
mov ecx, 0x10657dd0
call fcn.10015f8e
add edi, 4
dec esi
jne 0x1003cf99
mov esi, dword [esp + 0x9c]
test esi, esi
jle 0x1003cfe9
lea eax, [esp + 0xb4]
mov ecx, 0x10657dd0
push eax
call fcn.10015f8e
mov eax, dword [esp + 0xb4]
mov ecx, 0x10657d18
push dword [eax*4 + 0x16dce670]
call fcn.10016189
push eax
call fcn.1001aff1
pop ecx
dec esi
jne 0x1003cfb5
push 3
pop edi
xor edx, edx
mov dword [esp + 0x10], 0x43cdf98a
mov dword [esp + 0x14], edx
jmp 0x1003d00f
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0xd0], 0xc93b4e1a
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x1003cffc
push 2
mov dword [esp + 0x14], edx
pop ecx
jmp 0x1003d078
mov dword [esp + 0x14], edx
jmp 0x1003d034
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x70], 1
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ecx
jl 0x1003d024
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0xd0], edx
jne 0x1003d07e
mov dword [esp + 0x74], ecx
cmp dword [esp + 0x74], edx
jl 0x1003d074
mov dword [esp + 0x1c], edx
dec dword [esp + 0x1c]
mov byte [esp + 0x1b], dl
cmp byte [esp + 0x1b], 0
je 0x1003d06b
call fcn.1003cb02
xor edx, edx
dec dword [esp + 0x74]
jns 0x1003d051
push 2
pop ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jle 0x1003d01e
mov eax, dword [esp + 0xd8]
lea edx, [esp + 0x50]
lea ecx, [esp + 0x54]
mov dword [esp + 0x10], eax
call fcn.1003cb12
mov ecx, dword [esp + 0x50]
inc ecx
jmp 0x1003cdbc
push 2
lea ecx, [esp + 0xc4]
call fcn.100165ef
mov dword [esp + 0x114], edi
xor ebx, ebx
mov dword [esp + 0x10], 0x2f4a8b10
mov dword [esp + 0x14], ebx
jmp 0x1003d0db
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc0]
mov dword [eax + ecx*4], 0x5c96
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x1003d0c5
mov eax, dword [esp + 0xc0]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x10], ebx
jmp 0x1003d23e
mov dword [esp + 0x1c], 0x3eee2fde
mov dword [esp + 0x1c], ebx
jmp 0x1003d22f
mov dword [esp + 0x20], 0x99d94b4b
mov dword [esp + 0x20], 0x11
jmp 0x1003d220
push 2
lea ecx, [esp + 0x88]
call fcn.100165ef
mov dword [esp + 0x38], ebx
jmp 0x1003d143
mov eax, dword [esp + 0x38]
mov dword [esp + eax*4 + 0x48], 0xc17e5c28
inc dword [esp + 0x38]
cmp dword [esp + 0x38], 1
jl 0x1003d133
lea edx, [esp + 0x84]
lea ecx, [esp + 0x38]
call fcn.1003cb26
xor edx, edx
mov dword [esp + 0x48], ebx
inc edx
jmp 0x1003d1e7
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x24], ebx
jmp 0x1003d1dd
mov dword [esp + 0x40], 7
mov dword [esp + 0x14], ebx
jmp 0x1003d19a
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x44], 0x874b28e
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edx
jl 0x1003d18a
mov dword [esp + 0x44], ebx
jmp 0x1003d1d3
mov dword [esp + 0xa0], 0x4957
lea ecx, [esp + 0xa0]
call fcn.1003cb45
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], bl
je 0x1003d1cf
call fcn.1003cb48
xor edx, edx
inc edx
inc dword [esp + 0x44]
cmp dword [esp + 0x44], edx
jle 0x1003d1a6
inc dword [esp + 0x24]
cmp dword [esp + 0x24], edx
jle 0x1003d17c
inc dword [esp + 0x48]
cmp dword [esp + 0x48], edx
jle 0x1003d166
cmp dword [esp + 0x84], ebx
je 0x1003d21c
push dword [esp + 0x84]
call fcn.1004f7aa
pop ecx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
dec dword [esp + 0x20]
cmp dword [esp + 0x20], 0xfffffff8
jg 0x1003d11f
dec dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0xfffffff9
jle 0x1003d10a
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x13
jl 0x1003d0f9
push dword [esp + 0xc0]
call fcn.1004f7aa
pop ecx
lea ecx, [esp + 0x54]
call fcn.1003ca24
jmp 0x1003cd2b
mov dword [esp + 0xb8], 0xfffffffc
xor ebx, ebx
mov dword [esp + 0x28], 0xfffffff7
xor ecx, ecx
mov dword [esp + 0x40], 0x2b5725d3
inc ecx
mov dword [esp + 0xbc], 0xfffffffa
mov dword [esp + 0x24], 0x166c1932
mov dword [esp + 0xe4], 0xffffffff
mov dword [esp + 0xe8], 0xffffffff
mov dword [esp + 0xec], 0xffffffff
mov dword [esp + 0xf0], 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x1003d2d9
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x2c], 7
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x1003d2c9
mov dword [esp + 0x10], ebx
jmp 0x1003d2f8
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xdc], 0x5f58
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1003d2e5
mov dword [esp + 0x10], ebx
jmp 0x1003d315
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x5c], 0x3b19
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x1003d305
mov dword [esp + 0x2c], 0x18
cmp dword [esp + 0x2c], 0xffffffed
jne 0x1003d480
mov dword [esp + 0x10], 8
mov dword [esp + 0x1c], 0xd1022782
mov dword [esp + 0x58], 0x7919adb8
mov dword [esp + 0x58], ecx
mov dword [esp + 0x14], 0x1ce3cb5a
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x4c], 0xfffffff8
mov dword [esp + 0x20], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x58], 0xc837e05a
cmp dword [esp + 0x24], ebx
jne 0x1003d383
cmp dword [esp + 0x10], ebx
jne 0x1003d383
mov ecx, ebx
mov dword [esp + 0xdc], ecx
mov eax, dword [esp + 0x1c]
add eax, ecx
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
add edx, 0x5db
cmp edx, eax
setg cl
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x14], ebx
jne 0x1003d3bf
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x20]
xor edx, edx
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x5c]
cmp eax, ecx
setge dl
mov dword [esp + 0x24], edx
xor edx, edx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0xb8]
cmp ecx, eax
setne dl
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0xbc]
jg 0x1003d408
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov eax, dword [esp + 0x2c]
cmp eax, ecx
setl dl
xor eax, eax
cmp edx, 0x1363
mov edx, dword [esp + 0x58]
setg al
xor ecx, ecx
imul edx, eax
mov eax, dword [esp + 0x28]
cmp edx, eax
setle cl
imul eax, ecx, 0xfffa
cmp eax, dword [esp + 0x40]
jg 0x1003d451
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], bl
je 0x1003d46e
call fcn.1003cb53
jmp 0x1003d46e
mov eax, dword [esp + 0x28]
xor edx, edx
cmp eax, 0x12a7
mov eax, dword [esp + 0x5c]
setge dl
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [esp + 0x24], ecx
dec dword [esp + 0x2c]
cmp dword [esp + 0x2c], 0xffffffed
push 1
pop ecx
je 0x1003d32e
mov al, cl
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret