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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x100c2f63
mov eax, dword fs:[0]
push eax
sub esp, 0x268
push ebx
push esi
push edi
mov eax, dword [0x10119a70]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
cmp byte [edi + 0x1b4], 0
jne 0x10045310
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [0x100cccf8]
push 1
push 1
mov ecx, esi
call dword [0x100cccd8]
mov eax, dword [edi + 0xac]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
test ecx, ecx
jle 0x100452f8
push 3
mov ecx, esi
call dword [0x100ccb3c]
mov eax, dword [edi + 0xac]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
mov edi, dword [0x100ccce4]
mov ebx, dword [0x100cccdc]
mov dword [esp + 0x28], 0
test edx, edx
jle 0x10044dbd
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xac]
mov ecx, dword [eax + 8]
add ecx, dword [esp + 0x28]
mov edx, dword [eax + ecx*4 + 0x10]
lea eax, [eax + ecx*4 + 0x10]
push edx
lea ecx, [esp + 0xf8]
call fcn.1003cc00
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x74]
mov dword [esp + 0x290], 0
call dword [0x100ccdcc]
push 1
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x54]
call edi
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
mov byte [esp + 0x284], 1
call dword [0x100ccce0]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x280], 0
call ebx
lea edx, [esp + 0x1e4]
push edx
lea ecx, [esp + 0xf8]
call fcn.1003b9c0
mov ecx, dword [esp + 0x14]
mov al, byte [eax + 0x5c]
add ecx, 8
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x1c2], 0
je 0x10044a9f
test al, al
je 0x10044a9f
add ecx, 0x48
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
push 1
push eax
lea ecx, [esp + 0x44]
call edi
fld1
push 0x40
push 0x10
push 1
sub esp, 8
lea ecx, [esp + 0x50]
fstp qword [esp]
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x298], 2
call dword [0x100cccc8]
push eax
mov ecx, esi
mov byte [esp + 0x284], 3
call dword [0x100cccc4]
lea ecx, [esp + 0x50]
mov byte [esp + 0x280], 2
call dword [0x100cccc0]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x280], 0
call ebx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x100]
call fcn.1003e0d0
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
mov byte [esp + 0x280], 4
mov dword [esp + 0x10], 0
test edx, edx
jle 0x10044b8d
mov ecx, dword [eax + 8]
add ecx, dword [esp + 0x10]
lea edx, [eax + ecx*4 + 0x10]
push edx
lea ecx, [esp + 0x4c]
call dword [0x100cc754]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
mov byte [esp + 0x284], 5
call dword [0x100ccba8]
lea ecx, [esp + 0x48]
mov byte [esp + 0x280], 4
call dword [0x100cc750]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
inc ecx
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x10044b39
mov eax, dword [esp + 0x1c]
push 1
add eax, 0x10
push eax
lea ecx, [esp + 0x48]
call edi
fld1
push 0x40
push 0x10
push 2
sub esp, 8
lea ecx, [esp + 0x54]
fstp qword [esp]
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x298], 6
call dword [0x100cccc8]
push eax
mov ecx, esi
mov byte [esp + 0x284], 7
call dword [0x100cccc4]
lea ecx, [esp + 0x54]
mov byte [esp + 0x280], 6
call dword [0x100cccc0]
lea ecx, [esp + 0x40]
mov byte [esp + 0x280], 4
call ebx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x100]
call fcn.1003e0d0
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x30]
mov byte [esp + 0x280], 8
cmp edx, dword [eax]
je 0x10044c65
push eax
lea ecx, [esp + 0x1c]
call fcn.1003ced0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x10044c57
cmp ecx, 0xffffffff
je 0x10044c61
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x10044c61
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x1c]
call fcn.1003cb70
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
add eax, 4
cmp edx, dword [eax]
je 0x10044cf9
push eax
lea ecx, [esp + 0x3c]
call fcn.1003d0d0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x10044cab
cmp ecx, 0xffffffff
je 0x10044cf9
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x10044cf9
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x10]
mov edx, dword [eax + 8]
mov dword [esp + 0x58], eax
lea eax, [eax + edx*4 + 0x10]
mov dword [esp + 0x10], eax
cmp eax, ecx
je 0x10044ceb
jmp 0x10044cd4
mov ecx, dword [esp + 0x1c]
sub ecx, 4
mov dword [esp + 0x1c], ecx
call dword [0x100cc750]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x1c], eax
jne 0x10044cd0
mov ecx, dword [esp + 0x58]
push ecx
call dword [0x100cca9c]
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x280], 4
call fcn.1003d3a0
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
mov dword [esp + 0x1c], 0
test edx, edx
jle 0x10044d74
mov ecx, dword [eax + 8]
add ecx, dword [esp + 0x1c]
lea edx, [eax + ecx*4 + 0x10]
push edx
lea ecx, [esp + 0x48]
call dword [0x100cc754]
lea eax, [esp + 0x44]
push eax
mov ecx, esi
mov byte [esp + 0x284], 9
call dword [0x100ccba8]
lea ecx, [esp + 0x44]
mov byte [esp + 0x280], 4
call dword [0x100cc750]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
inc ecx
cmp ecx, edx
mov dword [esp + 0x1c], ecx
jl 0x10044d20
lea ecx, [esp + 0x30]
mov byte [esp + 0x280], 0
call fcn.1003d3a0
lea ecx, [esp + 0xf4]
mov dword [esp + 0x280], 0xffffffff
call fcn.1003b380
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xac]
mov ecx, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
inc ecx
cmp ecx, edx
mov dword [esp + 0x28], ecx
jl 0x100449f2
push 0
mov ecx, esi
call dword [0x100ccb3c]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xac]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
mov dword [esp + 0x28], 0
test ecx, ecx
jle 0x100452f4
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xac]
mov ecx, dword [eax + 8]
add ecx, dword [esp + 0x28]
mov edx, dword [eax + ecx*4 + 0x10]
lea eax, [eax + ecx*4 + 0x10]
push edx
lea ecx, [esp + 0x170]
call fcn.1003cc00
lea eax, [esp + 0x1e4]
push eax
lea ecx, [esp + 0x170]
mov dword [esp + 0x284], 0xa
call fcn.1003b9c0
mov ecx, dword [esp + 0x14]
mov al, byte [eax + 0x5c]
add ecx, 8
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x1c2], 0
mov byte [esp + 0x2f], al
je 0x10044e56
test al, al
je 0x10044e56
add ecx, 0x48
mov dword [esp + 0x18], ecx
push 0
push 0
push 0
push 0
lea ecx, [esp + 0xf4]
call dword [0x100ccdcc]
push 1
lea ecx, [esp + 0xe8]
push ecx
lea ecx, [esp + 0x4c]
call edi
lea edx, [esp + 0x44]
push edx
mov ecx, esi
mov byte [esp + 0x284], 0xb
call dword [0x100ccce0]
lea ecx, [esp + 0x44]
mov byte [esp + 0x280], 0xa
call ebx
push 0xff
push 0xff
push 0xff
push 0xff
lea ecx, [esp + 0xe4]
call dword [0x100ccdcc]
push 1
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x48]
call edi
fld1
push 0x40
push 0x10
push 1
sub esp, 8
lea ecx, [esp + 0x54]
fstp qword [esp]
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x298], 0xc
call dword [0x100cccc8]
push eax
mov ecx, esi
mov byte [esp + 0x284], 0xd
call dword [0x100cccc4]
lea ecx, [esp + 0x58]
mov byte [esp + 0x280], 0xc
call dword [0x100cccc0]
lea ecx, [esp + 0x40]
mov byte [esp + 0x280], 0xa
call ebx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x178]
call fcn.1003e0d0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub edx, ecx
mov byte [esp + 0x280], 0xe
mov dword [esp + 0x10], 0
test edx, edx
jle 0x10045109
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
add ecx, edx
lea ecx, [eax + ecx*4 + 0x10]
mov ecx, dword [ecx]
cmp byte [ecx + 0x14], 0
mov edx, dword [ecx]
mov dword [esp + 0x84], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x88], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x8c], edx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x90], edx
jne 0x100450ef
mov eax, dword [esp + 0x18]
push 1
add eax, 0x20
push eax
lea ecx, [esp + 0x50]
call edi
fld qword [0x100d1f68]
push 0x40
push 0x10
push 1
sub esp, 8
lea ecx, [esp + 0x5c]
fstp qword [esp]
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x298], 0xf
call dword [0x100cccc8]
push eax
mov ecx, esi
mov byte [esp + 0x284], 0x10
call dword [0x100cccc4]
lea ecx, [esp + 0x54]
mov byte [esp + 0x280], 0xf
call dword [0x100cccc0]
lea ecx, [esp + 0x48]
mov byte [esp + 0x280], 0xe
call ebx
fld qword [esp + 0x84]
fld qword [0x100d1f60]
lea edx, [esp + 0x64]
fsub st(1), st(0)
push edx
fxch st(1)
mov ecx, esi
fstp qword [esp + 0x68]
fsubr qword [esp + 0x90]
fstp qword [esp + 0x70]
fld qword [0x100d1f58]
fst qword [esp + 0x78]
fstp qword [esp + 0x80]
call dword [0x100ccba4]
mov eax, dword [esp + 0x18]
push 1
add eax, 0x30
push eax
lea ecx, [esp + 0x44]
call edi
fld1
push 0x40
push 0x10
push 1
sub esp, 8
lea ecx, [esp + 0x50]
fstp qword [esp]
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x298], 0x11
call dword [0x100cccc8]
push eax
mov ecx, esi
mov byte [esp + 0x284], 0x12
call dword [0x100cccc4]
lea ecx, [esp + 0x50]
mov byte [esp + 0x280], 0x11
call dword [0x100cccc0]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x280], 0xe
call ebx
fld qword [esp + 0x84]
fld qword [0x100d1f50]
fsub st(1), st(0)
fxch st(1)
fstp qword [esp + 0x64]
fsubr qword [esp + 0x8c]
fstp qword [esp + 0x6c]
fld qword [0x100d1f40]
fst qword [esp + 0x74]
lea edx, [esp + 0x64]
fstp qword [esp + 0x7c]
push edx
mov ecx, esi
call dword [0x100ccba4]
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
inc dword [esp + 0x10]
sub edx, ecx
mov ecx, edx
mov edx, dword [esp + 0x10]
cmp edx, ecx
jl 0x10044f66
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub edx, ecx
mov dword [esp + 0x10], 0
test edx, edx
jle 0x100452ab
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
add ecx, edx
lea ecx, [eax + ecx*4 + 0x10]
mov ecx, dword [ecx]
cmp byte [ecx + 0x14], 1
mov edx, dword [ecx]
mov dword [esp + 0xbc], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0xc0], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0xc4], edx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0xc8], edx
je 0x10045168
cmp byte [esp + 0x2f], 0
je 0x10045291
mov eax, dword [esp + 0x18]
push 1
add eax, 0x20
push eax
lea ecx, [esp + 0x54]
call edi
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
mov byte [esp + 0x284], 0x13
call dword [0x100ccce0]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x280], 0xe
call ebx
fld qword [esp + 0xbc]
fld qword [0x100d1f50]
lea edx, [esp + 0x9c]
fsub st(1), st(0)
push edx
fxch st(1)
mov ecx, esi
fst qword [esp + 0x20]
fstp qword [esp + 0xa0]
fsubr qword [esp + 0xc8]
fst qword [esp + 0x68]
fstp qword [esp + 0xa8]
fld qword [0x100d1f40]
fst qword [esp + 0xb0]
fstp qword [esp + 0xb8]
call dword [0x100ccba4]
mov eax, dword [esp + 0x18]
push 1
add eax, 0x30
push eax
lea ecx, [esp + 0x40]
call edi
fld1
push 0x40
push 0x10
push 1
sub esp, 8
lea ecx, [esp + 0x4c]
fstp qword [esp]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x298], 0x14
call dword [0x100cccc8]
push eax
mov ecx, esi
mov byte [esp + 0x284], 0x15
call dword [0x100cccc4]
lea ecx, [esp + 0x30]
mov byte [esp + 0x280], 0x14
call dword [0x100cccc0]
lea ecx, [esp + 0x38]
mov byte [esp + 0x280], 0xe
call ebx
fld qword [esp + 0x1c]
fstp qword [esp + 0x9c]
lea edx, [esp + 0x9c]
fld qword [esp + 0x64]
push edx
fstp qword [esp + 0xa8]
mov ecx, esi
fld qword [0x100d1f40]
fst qword [esp + 0xb0]
fstp qword [esp + 0xb8]
call dword [0x100ccba4]
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
inc dword [esp + 0x10]
sub edx, ecx
mov ecx, edx
mov edx, dword [esp + 0x10]
cmp edx, ecx
jl 0x10045125
lea ecx, [esp + 0x5c]
mov byte [esp + 0x280], 0xa
call fcn.1003d3a0
lea ecx, [esp + 0x16c]
mov dword [esp + 0x280], 0xffffffff
call fcn.1003b380
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xac]
mov ecx, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
inc ecx
cmp ecx, edx
mov dword [esp + 0x28], ecx
jl 0x10044de7
mov edi, dword [esp + 0x14]
mov ecx, esi
call dword [0x100cccd0]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push esi
mov ecx, edi
call fcn.100445c0
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc