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

Disassembly:
push 0xffffffffffffffff
push 0x1017171d
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x101c52b4]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c52b4]
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
mov eax, eax
nop
mov dh, dh
mov eax, dword [esi + 0x224]
cmp eax, edi
je 0x1004d35c
mov dword [esi + 0x220], 0x102cdca8
mov eax, eax
mov dword [esi + 0x224], eax
mov ch, ch
jmp 0x1004d372
lea eax, [esi + 0x8c]
mov dword [esi + 0x220], eax
push eax
pop eax
mov dword [esi + 0x224], edi
mov ecx, ecx
nop
mov ah, ah
fld qword [0x10179960]
fld qword [esp + 0x1a0]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x1004d916
fld1
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x1004d916
mov edi, dword [esp + 0x188]
mov edx, dword [esi + 0x220]
xor ecx, ecx
cmp dword [edx + edi*4], ecx
jne 0x1004d408
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.10009f70
mov dword [esp + 0x28], 1
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], 0x10
jb 0x1004d3f7
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
jmp 0x1004d961
fld qword [0x10179920]
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]
nop
mov dx, 0xb
fmul qword [0x10179958]
fnstcw word [esp + 0x1c]
fadd qword [0x10179908]
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]
mov edi, edi
movzx eax, word [esi + edi*4 + 0x22a]
cmp ax, cx
ja 0x1004d495
mov word [esi + edi*4 + 0x22a], cx
mov ebp, ebp
jmp 0x1004d4a7
cmp ax, 3
jb 0x1004d4a7
mov word [esi + edi*4 + 0x22a], 3
mov ch, ch
push eax
pop eax
push 0x9c41
call fcn.1010df39
add esp, 4
mov dword [esp + 0x1c], eax
mov ebx, ebx
test eax, eax
jne 0x1004d4ea
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call fcn.1000a250
mov dword [esp + 0x28], 1
mov byte [esp + 0x178], 0
lea ecx, [esp + 0x38]
call fcn.100066f0
jmp 0x1004d966
mov dword [esp + 0x2c], 0
mov cl, cl
push 0xbb80
call fcn.1010df39
add esp, 4
mov dword [esp + 0x24], eax
mov edi, edi
test eax, eax
jne 0x1004d521
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.1010dffc
add esp, 4
push ecx
pop ecx
lea edx, [esp + 0x38]
push edx
jmp 0x1004d4c5
mov eax, dword [esp + 0x1c]
push 0x9c41
push 0
push eax
call fcn.1010efd0
add esp, 0xc
mov dl, dl
mov ecx, dword [esp + 0x24]
push 0xbb80
push 0
push ecx
call fcn.1010efd0
add esp, 0xc
mov edi, edi
mov eax, eax
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.1004aa40
add esp, 0x24
test eax, eax
jne 0x1004d5ba
mov dh, dh
mov eax, dword [esp + 0x1c]
push eax
call fcn.1010dffc
add esp, 4
mov eax, eax
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1010dffc
add esp, 4
mov edx, edx
lea edx, [esp + 0x38]
push edx
jmp 0x1004d4c5
push 0x10179594
push ebp
call fcn.1010ece0
add esp, 8
mov ecx, eax
mov dword [esp + 0x54], eax
mov al, al
test ecx, ecx
je 0x1004d5dd
add ecx, 1
mov dword [esp + 0x54], ecx
push ebx
pop ebx
mov eax, dword [esp + 0x1a8]
test eax, eax
jne 0x1004d762
mov eax, dword [esp + 0x2c]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x20], ebp
jle 0x1004d88f
mov eax, dword [esp + 0x24]
add eax, 0xffffffee
mov dword [esp + 0x30], eax
jmp 0x1004d618
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x1004d66a
test ebp, ebp
jle 0x1004d66a
movzx esi, word [eax]
movzx edx, word [eax - 4]
add edx, esi
movzx esi, word [eax + 0x14]
cmp esi, edx
jl 0x1004d66a
mov edx, ecx
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x1004d633
mov edi, dword [esp + 0x1c]
sub ecx, edx
mov ebp, ecx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x1004d647
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]
nop
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x1a]
mov edx, ecx
nop
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x1004d670
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 0x1004d686
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]
mov ah, ah
add dword [esp + 0x30], 0x18
add ebp, 1
cmp ebp, dword [esp + 0x2c]
mov dword [esp + 0x20], ebp
jl 0x1004d610
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x1004d88f
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov bl, 0x25
lea esp, [esp]
mov eax, eax
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
mov ecx, ecx
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.1010fdb0
add esp, 0x10
mov ebp, ebp
lea eax, [esp + 0x6c]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1004d721
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 0x1004d735
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 eax, eax
add ebp, 0x18
sub dword [esp + 0x20], 1
jne 0x1004d6d0
jmp 0x1004d88b
cmp eax, 1
jne 0x1004d88f
xor ebp, ebp
cmp dword [esp + 0x2c], ebp
jle 0x1004d88f
mov bl, 0x25
lea esp, [esp]
mov bl, bl
test ebp, ebp
jne 0x1004d7e1
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
xchg ebx, eax
xchg ebx, eax
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.1010fdb0
add esp, 0x14
mov dl, dl
jmp 0x1004d846
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
nop
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.1010fdb0
add esp, 0x14
mov edi, edi
lea eax, [esp + 0x6c]
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1004d850
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 0x1004d864
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 ah, ah
add ebp, 1
cmp ebp, dword [esp + 0x2c]
jl 0x1004d780
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 0x1004d898
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x40]
call fcn.1000a090
mov edx, edx
push eax
pop eax
push esi
call fcn.1010dffc
add esp, 4
mov ah, ah
mov edx, dword [esp + 0x24]
push edx
call fcn.1010dffc
add esp, 4
push edx
pop edx
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.10009f70
mov dword [esp + 0x28], 1
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], 0x10
jb 0x1004d910
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x50], esi
jmp 0x1004d95d
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.10009f70
mov dword [esp + 0x28], 1
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], 0x10
jb 0x1004d955
mov eax, dword [esp + 0x3c]
push eax
call fcn.100fcea8
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.1010e4d7
add esp, 0x168
ret