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

Disassembly:
push 0xffffffffffffffff
push 0x10151a0d
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x101a42b4]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101a42b4]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x180]
mov esi, dword [esp + 0x184]
mov ebp, dword [esp + 0x19c]
xor edi, edi
mov dword [esp + 0x28], edi
mov ecx, 0xf
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
mov dword [esp + 0x178], 1
test esi, esi
push ecx
pop ecx
test ah, ah
mov eax, dword [esi + 0x224]
cmp eax, edi
je 0x1004145d
mov dword [esi + 0x220], 0x102acca8
mov al, al
mov dword [esi + 0x224], eax
test ebx, ebx
jmp 0x10041476
lea eax, [esi + 0x8c]
mov dword [esi + 0x220], eax
test bl, bl
mov dword [esi + 0x224], edi
test eax, 0x2a7d
test eax, eax
mov ecx, ecx
fld qword [0x10159790]
fld qword [esp + 0x1a0]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x10041a29
fld1
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x10041a29
mov edi, dword [esp + 0x188]
mov edx, dword [esi + 0x220]
xor ecx, ecx
cmp dword [edx + edi*4], ecx
jne 0x1004150d
push 0xffffffffffffffff
fstp st(0)
mov esi, 0xf
mov dword [ebx + 0x14], ecx
push ecx
mov dword [ebx + 0x18], esi
lea eax, [esp + 0x40]
mov byte [ebx + 4], cl
push eax
mov ecx, ebx
call fcn.10009fd0
mov dword [esp + 0x28], 1
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], 0x10
jb 0x100414fc
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.100e2dad
add esp, 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
jmp 0x10041a74
fld qword [0x10159750]
fnstcw word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp dword [esp + 0x20]
mov dx, word [esp + 0x20]
mov word [esi + edi*4 + 0x228], dx
fldcw word [esp + 0x1c]
xchg ebx, eax
xchg ebx, eax
mov dx, 0xb
fmul qword [0x10159788]
fnstcw word [esp + 0x1c]
fadd qword [0x10159738]
movzx eax, word [esp + 0x1c]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp dword [esp + 0x20]
mov ax, word [esp + 0x20]
sub dx, ax
mov word [esi + edi*4 + 0x22a], dx
fldcw word [esp + 0x1c]
xchg ebx, eax
xchg ebx, eax
movzx eax, word [esi + edi*4 + 0x22a]
cmp ax, cx
ja 0x1004159b
mov word [esi + edi*4 + 0x22a], cx
test ah, ah
jmp 0x100415ad
cmp ax, 3
jb 0x100415ad
mov word [esi + edi*4 + 0x22a], 3
mov ah, ah
test esi, esi
push 0x9c41
call fcn.100f3e38
add esp, 4
mov dword [esp + 0x1c], eax
test dl, dl
test eax, eax
jne 0x100415f0
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call fcn.1000a2b0
mov dword [esp + 0x28], 1
mov byte [esp + 0x178], 0
lea ecx, [esp + 0x38]
call fcn.10006710
jmp 0x10041a79
mov dword [esp + 0x2c], 0
mov ecx, ecx
push 0xbb80
call fcn.100f3e38
add esp, 4
mov dword [esp + 0x24], eax
mov bl, bl
test eax, eax
jne 0x10041627
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.100f3efb
add esp, 4
test ebx, ebx
lea edx, [esp + 0x38]
push edx
jmp 0x100415cb
mov eax, dword [esp + 0x1c]
push 0x9c41
push 0
push eax
call fcn.100f4ed0
add esp, 0xc
test al, al
mov ecx, dword [esp + 0x24]
push 0xbb80
push 0
push ecx
call fcn.100f4ed0
add esp, 0xc
test ch, ch
test ch, ch
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x19c]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x19c]
push ecx
mov ecx, dword [esp + 0x19c]
push ebp
push edx
mov edx, dword [esp + 0x1a0]
push eax
push ecx
push edx
push edi
lea ecx, [esp + 0x3c]
call fcn.1003ea50
add esp, 0x24
test eax, eax
jne 0x100416c0
mov eax, eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.100f3efb
add esp, 4
mov cl, cl
mov ecx, dword [esp + 0x24]
push ecx
call fcn.100f3efb
add esp, 4
mov eax, eax
lea edx, [esp + 0x38]
push edx
jmp 0x100415cb
push 0x101593cc
push ebp
call fcn.100f4be0
add esp, 8
mov ecx, eax
mov dword [esp + 0x54], eax
test eax, 0x4037
test ecx, ecx
je 0x100416e6
add ecx, 1
mov dword [esp + 0x54], ecx
push eax
pop eax
mov eax, dword [esp + 0x1a8]
test eax, eax
jne 0x10041878
mov eax, dword [esp + 0x2c]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x20], ebp
jle 0x1004199f
mov eax, dword [esp + 0x24]
add eax, 0xffffffee
mov dword [esp + 0x30], eax
jmp 0x1004171c
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x10041774
test ebp, ebp
jle 0x10041774
movzx esi, word [eax]
movzx edx, word [eax - 4]
add edx, esi
movzx esi, word [eax + 0x14]
cmp esi, edx
jl 0x10041774
mov edx, ecx
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x10041737
mov edi, dword [esp + 0x1c]
sub ecx, edx
mov ebp, ecx
add edi, 0xffffffff
jmp 0x10041750
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10041750
mov ecx, ebp
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ecx, ecx
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x1a]
mov edx, ecx
lea esp, [esp]
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x10041780
mov edi, dword [esp + 0x1c]
sub ecx, edx
mov esi, edx
mov edx, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10041796
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ah, ah
add dword [esp + 0x30], 0x18
add ebp, 1
cmp ebp, dword [esp + 0x2c]
mov dword [esp + 0x20], ebp
jl 0x10041714
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x1004199f
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov bl, 0x25
lea esp, [esp]
test ecx, ecx
mov byte [esp + 0x54], 0x7c
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], 0x64
mov byte [esp + 0x57], 0x2c
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], 0x64
mov byte [esp + 0x5a], 0
test ch, ch
movzx eax, word [ebp + 2]
movzx ecx, word [ebp]
add eax, dword [esp + 0x14]
add ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.100f5cb0
add esp, 0x10
test eax, 0x5f83
lea eax, [esp + 0x6c]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10041834
mov edi, dword [esp + 0x1c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10041848
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test eax, 0x5d66
add ebp, 0x18
sub dword [esp + 0x20], 1
jne 0x100417e0
jmp 0x1004199b
cmp eax, 1
jne 0x1004199f
xor ebp, ebp
cmp dword [esp + 0x2c], ebp
jle 0x1004199f
mov bl, 0x25
nop
push ecx
pop ecx
test ebp, ebp
jne 0x100418f1
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], 0x73
mov byte [esp + 0x56], 0x24
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], 0x64
mov byte [esp + 0x59], 0x24
mov byte [esp + 0x5a], bl
mov byte [esp + 0x5b], 0x64
mov byte [esp + 0x5c], 0
test dl, dl
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
add ecx, dword [esp + 0x14]
add edx, dword [esp + 0x18]
push ecx
push edx
add eax, 8
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.100f5cb0
add esp, 0x14
mov esi, esi
jmp 0x10041957
mov byte [esp + 0x60], 0x7c
mov byte [esp + 0x61], bl
mov byte [esp + 0x62], 0x73
mov byte [esp + 0x63], 0x24
mov byte [esp + 0x64], bl
mov byte [esp + 0x65], 0x64
mov byte [esp + 0x66], 0x24
mov byte [esp + 0x67], bl
mov byte [esp + 0x68], 0x64
mov byte [esp + 0x69], 0
mov ebp, ebp
mov eax, dword [esp + 0x24]
lea edx, [ebp + ebp*2]
movzx ecx, word [eax + edx*8 + 2]
add ecx, dword [esp + 0x14]
lea eax, [eax + edx*8]
movzx edx, word [eax]
add edx, dword [esp + 0x18]
push ecx
push edx
add eax, 8
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.100f5cb0
add esp, 0x14
test ch, ch
lea eax, [esp + 0x6c]
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10041960
mov edi, dword [esp + 0x1c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10041974
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebp, ebp
add ebp, 1
cmp ebp, dword [esp + 0x2c]
jl 0x10041890
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100419a8
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x40]
call fcn.1000a0f0
mov edi, edi
mov edi, edi
push esi
call fcn.100f3efb
add esp, 4
mov bh, bh
mov edx, dword [esp + 0x24]
push edx
call fcn.100f3efb
add esp, 4
test eax, 0x6bf1
push 0xffffffffffffffff
xor edi, edi
push edi
lea eax, [esp + 0x40]
mov esi, 0xf
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x14], edi
push eax
mov ecx, ebx
mov byte [ebx + 4], 0
call fcn.10009fd0
mov dword [esp + 0x28], 1
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], 0x10
jb 0x10041a23
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.100e2dad
add esp, 4
mov dword [esp + 0x50], esi
jmp 0x10041a70
push 0xffffffffffffffff
fstp st(0)
mov dword [ebx + 0x18], ecx
push edi
lea edx, [esp + 0x40]
mov dword [ebx + 0x14], edi
push edx
mov ecx, ebx
mov byte [ebx + 4], 0
call fcn.10009fd0
mov dword [esp + 0x28], 1
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], 0x10
jb 0x10041a68
mov eax, dword [esp + 0x3c]
push eax
call fcn.100e2dad
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
mov eax, ebx
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.100f43d6
add esp, 0x168
ret