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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4b774b
push eax
mov eax, 0x1d1c
mov dword fs:[0], esp
call fcn.00487230
push ebx
xor ebx, ebx
push ebp
mov eax, 0x221
push esi
push edi
mov edi, 0x500
mov dword [esp + 0xd4], eax
mov dword [esp + 0xb4], eax
xor eax, eax
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], edi
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], 0x390
mov dword [esp + 0xc4], 0xaf
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edi
lea ebp, [ebx + 1]
cmp dword [0x4ff358], ebx
je 0x4135c6
mov eax, dword [esp + 0x1d3c]
push eax
call fcn.00414230
add esp, 4
mov dword [0x5f9fe8], ebp
cmp dword [0x4f9e28], ebx
jne 0x4135c4
cmp dword [0x5f9fe0], ebx
je 0x4135c4
mov eax, dword [0x6da4c4]
cmp eax, ebp
jg 0x413599
jne 0x4135c4
mov eax, dword [0x6da4c8]
dec eax
cmp eax, ebx
jge 0x4135b1
cdq
xor eax, edx
sub eax, edx
mov ecx, 0x100
sub ecx, eax
mov eax, ecx
imul eax, eax, 0x1120
cmp dword [eax + 0x6da4f8], ebx
jne 0x4135c4
call fcn.0042bc90
mov eax, ebp
cmp dword [0x5f9fe0], ebx
je 0x4141d6
cmp dword [0x4f9e70], ebx
jne 0x4141d6
cmp dword [0x5f9fe4], ebx
je 0x4138b3
cmp eax, ebx
jne 0x4138ee
cmp dword [0x4ff358], ebx
jne 0x41364d
mov edx, dword [0x4ff350]
push 2
push edx
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, eax
push ecx
push 0x7cf
push ebp
push ebp
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0xde
mov dword [esp + 0x3c], 0x10c
mov dword [esp + 0x40], 0x143
call fcn.0044e390
add esp, 0x20
mov dword [0x5f9fe8], ebp
cmp dword [esp + 0x1d40], ebx
je 0x41367e
mov esi, dword [0x9049fc]
cmp esi, ebx
je 0x413669
push ebx
call fcn.00448fc0
add esp, 4
mov edx, dword [0x4ff348]
push 0xaa500
push ebx
push edx
call fcn.00487bc0
add esp, 0xc
lea eax, [esp + 0xc8]
mov dword [esp + 0x70], eax
lea ecx, [esp + 0xa8]
lea eax, [esp + 0x64]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x64], 0x7f0
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], 0xfffffffe
call fcn.00449a60
cmp dword [0x5f9fec], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], 0x39c
mov dword [esp + 0x20], 0x63
mov dword [esp + 0x30], ebx
jle 0x41385a
mov ecx, dword [0x5f9ff0]
xor edi, edi
mov esi, 0x5f9ffc
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], esi
cmp dword [esi - 8], ebx
je 0x413835
imul ecx, ecx, 0x63
mov eax, 0x221
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xb2
push 2
mov ecx, eax
cmp dword [esi], ebx
je 0x413735
mov edx, dword [0x4ff340]
push edx
push ebx
push eax
push ecx
push 0x7ee
jmp 0x413744
mov edx, dword [0x4ff330]
push edx
push ebx
push eax
push ecx
push 0x7ef
push 0x7f0
push 0x7f0
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x44]
call fcn.0044e390
lea eax, [esi + 0x12]
add esp, 0x20
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413764
mov ecx, dword [0x5f9ff0]
sub eax, edx
lea edx, [eax*8]
sub edx, eax
add edx, edx
shr edx, 1
mov esi, 0x1ce
sub esi, edx
mov edx, ecx
imul edx, edx, 0x63
mov eax, 0x221
sub eax, edx
cdq
sub eax, edx
sar eax, 1
lea ebp, [eax + edi + 0x1e]
cmp dword [esp + 0x1d40], ebx
je 0x413825
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 8]
push ebx
push ecx
call fcn.0042b770
add esp, 8
mov edi, eax
neg edi
sbb edi, edi
neg edi
cmp dword [0x912430], ebx
jne 0x4137d0
mov edi, 0xf
mov edx, dword [esp + 0x10]
cmp dword [edx], ebx
je 0x4137dd
mov edi, 0xc
cmp dword [0x91238c], ebx
je 0x4137ec
mov eax, 0x91244c
jmp 0x4137f6
push 1
call fcn.0045dd00
add esp, 4
mov ecx, dword [0x4ff348]
push ebx
push ecx
mov ecx, dword [esp + 0x18]
add ecx, 0x12
push ecx
push eax
push 0x1c
push 0xe
push ebp
push esi
push edi
push 0x7f1
call fcn.00415a50
mov ecx, dword [0x5f9ff0]
mov edi, dword [esp + 0x54]
add esp, 0x28
mov esi, dword [esp + 0x10]
add edi, 0x69
mov dword [esp + 0x2c], edi
mov ebp, 1
mov eax, dword [esp + 0x30]
add eax, ebp
add esi, 0x520
cmp eax, dword [0x5f9fec]
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], esi
jl 0x4136f2
mov edi, 0x500
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0x221
cmp dword [0x4e5b2c], ebx
je 0x4138ab
mov edx, dword [0x4ff348]
push 2
push edx
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, eax
push ecx
push 0x7f1
push 0x7f0
push 0x7f0
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x44]
mov dword [esp + 0x34], 0xb2
mov dword [esp + 0x38], ebx
call fcn.0044e390
add esp, 0x20
mov dword [0x5f9fe4], ebx
jmp 0x4138b7
cmp eax, ebx
jne 0x4138ee
lea eax, [esp + 0xc8]
lea edx, [esp + 0xa8]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], 0x7f0
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], 0xfffffffe
call fcn.00449a60
mov eax, dword [0x6da4c4]
cmp eax, ebp
jg 0x413909
jne 0x414171
cmp dword [0x5f9fe0], ebx
je 0x414171
cmp dword [0x4f9e30], ebx
jne 0x414171
mov eax, dword [0x6da4c8]
dec eax
cmp eax, ebx
mov dword [esp + 0x4c], eax
jge 0x413935
cdq
xor eax, edx
sub eax, edx
mov ecx, 0x100
sub ecx, eax
mov eax, ecx
mov dword [esp + 0x4c], ecx
mov ebp, eax
imul ebp, ebp, 0x1120
mov dword [esp + 0x60], ebp
cmp dword [ebp + 0x6da4f8], ebx
jne 0x414171
cmp dword [0x5f9fe8], ebx
je 0x4140a9
mov eax, dword [0x912430]
neg eax
sbb eax, eax
and eax, 0xfffffff2
add eax, 0xf
push 0xa5
lea ecx, [ebp + 0x6da5f4]
push eax
push ecx
mov dword [ebp + 0x6da54c], eax
mov dword [ebp + 0x6da550], eax
call fcn.00487bc0
add esp, 0xc
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], 0x390
mov dword [esp + 0x18], 0xaf
call fcn.00461430
mov eax, dword [0x912374]
mov edx, dword [0x4f94b0]
mov esi, dword [0x4f94ac]
dec eax
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], esi
fmul qword [0x4d6968]
mov dword [esp + 0xa0], edx
call fcn.004880e0
mov ecx, dword [0x4f9308]
push esi
push ecx
push eax
lea edx, [esp + 0x104]
push edx
lea eax, [esp + 0xa4]
call fcn.00440530
push 2
mov dword [esp + 0x1d38], ebx
mov eax, dword [0x4f9308]
push eax
push ebx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0x400
push 1
push 2
lea eax, [esp + 0x34]
mov ecx, edx
call fcn.0044e390
add esp, 0x20
cmp dword [esp + 0x1d44], ebx
je 0x413fa5
mov esi, dword [0x902a44]
xor edi, edi
cmp esi, edi
je 0x413a5b
push edi
call fcn.00448fc0
add esp, 4
mov eax, dword [0x4f94a8]
push 0x26f70
push edi
push eax
call fcn.00487bc0
add esp, 0xc
cmp dword [ebp + 0x6da4d4], edi
je 0x413ac8
cmp dword [ebp + 0x6da528], edi
je 0x413a86
mov eax, 0x91284c
jmp 0x413a9f
cmp dword [0x91238c], edi
je 0x413a95
mov eax, 0x91244c
jmp 0x413a9f
push 1
call fcn.0045dd00
add esp, 4
mov ecx, dword [0x4f94a8]
push edi
push ecx
lea edx, [ebp + 0x6da699]
push edx
push eax
mov eax, dword [ebp + 0x6da54c]
push 0x18
push 0xc
push 0x1c
push 0x49
push eax
push 3
call fcn.00415a50
add esp, 0x28
cmp byte [ebp + 0x6db4d8], 0
lea eax, [ebp + 0x6db4d8]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edi
je 0x413fa5
mov eax, dword [esp + 0x4c]
imul eax, eax, 0x448
lea ecx, [eax*4 + 0x6da5e8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x38]
mov eax, ebx
sub eax, ebp
sub eax, 0x6db4d8
push 0x4c72d0
push ebx
mov dword [esp + 0x4c], eax
call fcn.00483f10
push 0x400
lea edx, [esp + 0x130]
mov edi, eax
push 0
push edx
mov dword [esp + 0xa4], edi
call fcn.00487bc0
add esp, 0x14
test edi, edi
je 0x413b58
mov eax, edi
sub eax, ebx
push eax
lea ecx, [esp + 0x128]
push ebx
push ecx
call fcn.004842f0
add esp, 0xc
jmp 0x413b6d
lea edx, [esp + 0x124]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x413b63
mov ecx, dword [esp + 0x3c]
lea eax, [ebp + 0x6daed0]
push eax
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x60]
push eax
push ecx
lea eax, [ebp + 0x6db4d8]
call fcn.0043c390
mov esi, eax
lea eax, [esp + 0x134]
add esp, 0x10
mov dword [esp + 0x54], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413ba1
sub eax, edx
cmp eax, esi
jle 0x413c8d
push 0x400
lea edx, [esp + 0x128]
push 0
push edx
call fcn.00487bc0
add esp, 0xc
push esi
lea eax, [esp + 0x128]
push ebx
push eax
call fcn.004842f0
add esp, 0xc
cmp byte [esp + 0x124], 0
je 0x413c71
lea esi, [esp + 0x124]
lea edi, [esp + 0x125]
mov cl, byte [edi]
test cl, cl
je 0x413c22
movzx dx, byte [esi]
shl dx, 8
movzx eax, dx
movzx ecx, cl
or eax, ecx
push eax
call fcn.00484a2a
add esp, 4
test eax, eax
je 0x413c4e
add edi, 2
add esi, 2
jmp 0x413c50
lea eax, [esp + 0x124]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413c30
sub eax, edx
movsx edx, byte [esp + eax + 0x123]
push edx
call fcn.00483fe9
add esp, 4
test eax, eax
jne 0x413c57
inc edi
inc esi
cmp byte [esi], 0
jne 0x413bf7
jmp 0x413c71
lea eax, [esp + 0x124]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413c61
sub eax, edx
mov byte [esp + eax + 0x123], cl
lea eax, [esp + 0x124]
lea edx, [eax + 1]
jmp 0x413c80
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413c80
sub eax, edx
add ebx, eax
jmp 0x413cad
lea eax, [esp + 0x124]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413c97
sub eax, edx
add ebx, eax
mov dword [esp + 0x38], ebx
test edi, edi
je 0x413cb1
add ebx, 2
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x124]
xor ecx, ecx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x413cc0
sub eax, esi
je 0x413d22
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
imul esi, esi, 0x890
mov edx, dword [esp + 0x5c]
lea edi, [edx + eax]
add esi, eax
lea edi, [edi*4 + 0x6daed0]
lea esi, [esi*2 + 0x6da6ce]
mov ax, word [esi]
mov edx, dword [edi]
mov word [esp + ecx*2 + 0x524], ax
mov dword [esp + ecx*4 + 0xd24], edx
lea eax, [esp + 0x124]
inc ecx
add esi, 2
add edi, 4
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x413d15
sub eax, ebx
cmp ecx, eax
jb 0x413cf0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
cmp eax, 1
jne 0x413d41
mov eax, dword [esp + 0x58]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, 0x181
sub eax, ecx
jmp 0x413d4f
cmp eax, 2
jne 0x413d58
mov eax, 0x2b9
sub eax, dword [esp + 0x58]
cmp eax, 0x49
mov dword [esp + 0x10], eax
jge 0x413d60
mov dword [esp + 0x10], 0x49
mov edi, dword [esp + 0x3c]
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x30], ebx
test edi, edi
jle 0x413db3
lea eax, [ebp + 0x6daed0]
push eax
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x58]
push eax
push esi
lea eax, [ebp + 0x6db4d8]
call fcn.0043c390
mov ecx, dword [esp + 0x9c]
inc esi
add esp, 0x10
cmp esi, edi
lea ebx, [ebx + ecx + 9]
jl 0x413d70
cmp ebx, 0xaf
mov dword [esp + 0x30], ebx
jge 0x413fa5
lea eax, [esp + 0x124]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413dc0
sub eax, edx
mov edx, dword [esp + 0x44]
add eax, edx
cmp dword [ebp + 0x6db164], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], 0
jle 0x413ef0
lea eax, [ebp + 0x6db170]
mov dword [esp + 0x40], eax
mov edi, dword [eax]
mov ecx, dword [eax - 8]
lea esi, [ecx + edi - 1]
cmp esi, dword [esp + 0x44]
jl 0x413ed0
cmp esi, dword [esp + 0x50]
jge 0x413ed0
mov eax, dword [esp + 0x3c]
mov edx, esi
sub edx, dword [esp + 0x44]
sub edx, edi
inc edx
push edx
push eax
call fcn.0043c460
mov ebx, eax
add ebx, dword [esp + 0x18]
add esp, 8
xor ebp, ebp
test edi, edi
jle 0x413e7f
mov ecx, dword [esp + 0x40]
fld qword [0x4d6970]
fld qword [0x4d68c0]
sub esi, edi
add esi, dword [esp + 0x5c]
mov edi, dword [ecx]
lea esi, [esi*4 + 0x6daed4]
mov eax, dword [esi]
shr eax, 0x17
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
test eax, eax
jge 0x413e68
fadd qword [0x4d68c8]
fmul st(1)
fmul st(2)
call fcn.004880e0
add ebp, eax
add esi, 4
sub edi, 1
jne 0x413e51
fstp st(1)
fstp st(0)
mov edx, dword [0x4f94a8]
mov eax, dword [esp + 0x40]
push 0x390
push edx
mov edx, dword [eax - 4]
lea ecx, [eax + 4]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x6c]
push 1
push edx
mov edx, dword [ecx + 0x6da550]
add eax, 0x38
push eax
push ebx
push edx
lea eax, [esp + 0xb4]
push 3
push eax
mov eax, ebp
call fcn.00434cb0
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x88]
mov eax, dword [esp + 0x68]
add esp, 0x28
mov ecx, dword [esp + 0x48]
inc ecx
add eax, 0x2c
cmp ecx, dword [ebp + 0x6db164]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], eax
jl 0x413df2
mov edi, dword [esp + 0x3c]
mov edx, dword [ebp + 0x6da528]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x114]
push ecx
push edx
mov edx, dword [0x4f94a8]
lea ecx, [eax + ebp + 0x6da5f4]
mov eax, dword [ebp + 0x6da550]
push ecx
push edx
push eax
add ebx, 0x40
push ebx
push 0
push edi
call fcn.0043c460
add eax, dword [esp + 0x30]
add esp, 8
push eax
lea ecx, [esp + 0xd40]
push ecx
lea edx, [esp + 0x544]
push edx
lea eax, [esp + 0x148]
push eax
call fcn.00435f90
lea eax, [esp + 0x14c]
add esp, 0x28
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413f57
sub eax, edx
add dword [esp + 0x34], eax
lea eax, [esp + 0x124]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413f70
sub eax, edx
cmp eax, dword [esp + 0x54]
jg 0x413f8e
cmp dword [esp + 0x90], 0
je 0x413f8e
add dword [esp + 0x34], 2
mov ecx, dword [esp + 0x38]
add dword [esp + 0x2c], 4
inc edi
cmp byte [ecx], 0
mov dword [esp + 0x3c], edi
jne 0x413b00
cmp dword [0x4e5b2c], 0
je 0x41404c
cmp dword [0x4f9eb4], 0x64
mov dword [esp + 0x1c], 0x49
mov dword [esp + 0x20], 0x1c
jne 0x413fd5
mov dword [esp + 0x14], 0x274
jmp 0x41401e
fild dword [0x4f9eb4]
fmul qword [0x4d68c0]
fld st(0)
fxch st(1)
fmul qword [0x4d6978]
call fcn.004880e0
mov ecx, eax
test ecx, ecx
jne 0x413ffb
mov ecx, 1
mov eax, 0x4e0
fmul qword [0x4d69b0]
cdq
idiv ecx
mov esi, eax
call fcn.004880e0
imul eax, esi
mov edx, 4
sub edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [0x4f94a8]
push 2
push eax
push 0
lea ecx, [esp + 0x28]
push ecx
mov edx, ecx
push edx
push 3
push 2
push 2
lea eax, [esp + 0x34]
mov dword [esp + 0x38], 0x93
call fcn.0044e390
add esp, 0x20
jmp 0x414086
lea eax, [esp + 0xb8]
mov ecx, eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x74], 1
mov dword [esp + 0x64], 2
mov dword [esp + 0x68], 3
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], 0xfffffffe
call fcn.00449a60
lea edi, [esp + 0xf8]
mov dword [0x5f9fe8], 0
mov dword [esp + 0x1d34], 0xffffffff
call fcn.00440620
xor ebx, ebx
mov ecx, dword [0x912444]
mov eax, dword [0x912448]
lea edx, [ecx + 0x390]
cmp edx, 0x500
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], 0x390
mov dword [esp + 0xf4], 0xaf
jle 0x4140eb
mov ecx, 0x170
lea edx, [eax + 0xaf]
cmp edx, 0x2d0
jle 0x4140fe
mov eax, 0x221
mov dword [esp + 0xdc], eax
add eax, 0xaf
mov dword [esp + 0xd8], ecx
add ecx, 0x390
mov dword [esp + 0xe4], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0x70], eax
lea ecx, [esp + 0xe8]
lea eax, [esp + 0x64]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], 2
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], 0xfffffffe
call fcn.00449a60
call fcn.00423f80
mov eax, dword [esp + 0x1d3c]
call fcn.00435020
cmp dword [0x4ff358], ebx
jne 0x4141d6
mov edx, dword [0x4ff350]
push 2
push edx
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, eax
push ecx
push 0x7cf
push 1
push 1
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x143
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x221
mov dword [esp + 0x3c], 0x10c
mov dword [esp + 0x40], 0xaf
call fcn.0044e390
add esp, 0x20
mov dword [0x5f9fe8], 1
mov ecx, dword [esp + 0x1d2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1d28
ret