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

Disassembly:
push 0xffffffffffffffff
push 0x4b7906
mov eax, dword fs:[0]
push eax
mov eax, 0x2144
mov dword fs:[0], esp
call fcn.00487230
mov eax, dword [esp + 0x2154]
push ebx
push ebp
xor ebx, ebx
push esi
xor esi, esi
mov ebp, 0x390
mov ecx, 0xaf
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ecx
cmp dword [0x4f9e30], ebx
je 0x414866
cmp dword [0x7ec5b4], ebx
jne 0x414846
cmp dword [0x4f9e38], ebx
je 0x41483e
cmp dword [0x4f9e28], ebx
je 0x414846
push eax
call fcn.0042bd70
jmp 0x41484c
push eax
call fcn.0042f540
add esp, 4
cmp dword [0x4f9e30], ebx
jne 0x415a19
mov dword [0x7ec5b4], ebx
jmp 0x415a19
cmp dword [0x4f9e34], ebx
je 0x41487a
mov dword [0x6da39c], ebx
mov dword [0x4f9e34], ebx
cmp dword [0x5f9fe0], ebx
jne 0x415a19
add dword [0x9135dc], eax
mov ecx, dword [0x4f9e84]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x90], ecx
call fcn.00461430
cmp dword [0x4f9e6c], ebx
jne 0x4148c9
cmp dword [esp + 0x2168], ebx
je 0x415a19
cmp dword [0x4f9e70], ebx
jne 0x415a19
mov edi, dword [0x4f9ec0]
cmp edi, ebx
je 0x4148ed
cmp dword [0x913078], ebx
je 0x414b3e
jmp 0x4148ff
mov dword [0x9135dc], ebx
mov dword [0x4e6ee8], ebx
mov dword [0x4f1ef0], ebx
cmp dword [0x4f9e88], ebx
je 0x414ab2
cmp dword [0x4f4868], 7
jne 0x414a1c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add eax, 0x390
add ecx, 0xaf
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
lea ecx, [esp + 0xb4]
lea eax, [esp + 0x94]
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], 0xaf
call fcn.00434a70
mov eax, dword [0x4f94ac]
mov edx, dword [0x4f94b0]
push eax
mov dword [esp + 0x74], eax
mov eax, dword [0x4f9308]
push eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x3c], ebx
call fcn.0043c5a0
fnstcw word [esp + 0x28]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x2c], eax
fmul qword [0x4d67d8]
lea eax, [esp + 0xcc]
fldcw word [esp + 0x2c]
fistp dword [esp + 0x2c]
mov cx, word [esp + 0x2c]
movzx edx, cx
push edx
fldcw word [esp + 0x2c]
push eax
lea eax, [esp + 0x78]
call fcn.00440530
push 2
mov dword [esp + 0x2160], ebx
mov ecx, dword [0x4f9308]
mov eax, dword [0x4f4870]
push ecx
push ebx
lea edx, [esp + 0x40]
add esi, eax
push edx
mov dword [esp + 0x44], eax
mov eax, edx
push eax
push 0x400
mov dword [esp + 0x50], esi
push 4
jmp 0x414a83
mov eax, dword [0x4f94ac]
mov ecx, dword [0x4f94b0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x4f9308]
push eax
push ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x20], eax
call fcn.0043c5a0
push eax
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0x78]
call fcn.00440530
push 2
mov dword [esp + 0x2160], 1
mov eax, dword [0x4f9308]
push eax
push ebx
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x400
push 1
push 4
lea eax, [esp + 0x38]
lea ecx, [esp + 0x30]
call fcn.0044e390
add esp, 0x20
lea edi, [esp + 0xc4]
mov dword [esp + 0x215c], 0xffffffff
call fcn.00440620
mov dword [0x4f9e88], ebx
lea eax, [esp + 0x78]
mov ecx, eax
mov dword [esp + 0xf8], eax
lea eax, [esp + 0xec]
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xec], 2
mov dword [esp + 0xf0], 4
mov dword [esp + 0xf4], ecx
mov dword [esp + 0x100], 0xfffffffe
call fcn.00449a60
mov edi, dword [0x4f9ec0]
cmp edi, ebx
jne 0x414b3e
mov esi, dword [0x902a44]
mov dword [0x4f9eb0], ebx
mov dword [0x4f9eac], ebx
cmp esi, ebx
je 0x414b23
push ebx
call fcn.00448fc0
add esp, 4
mov edx, dword [0x4f94a8]
push 0x26f70
push ebx
push edx
call fcn.00487bc0
mov edi, dword [0x4f9ec0]
add esp, 0xc
cmp dword [0x4f9e78], ebx
je 0x414c3e
cmp edi, ebx
jne 0x414c3e
cmp dword [0x4f9ea8], ebx
je 0x414b61
mov eax, 0x91284c
jmp 0x414b7a
cmp dword [0x91238c], ebx
je 0x414b70
mov eax, 0x91244c
jmp 0x414b7a
push 1
call fcn.0045dd00
add esp, 4
mov ecx, dword [0x4f94a8]
mov edx, dword [0x4f9ec4]
push ebx
push ecx
push 0x4fd274
push eax
push 0x18
push 0xc
push 0x1c
push 0x49
push edx
push 3
call fcn.00415a50
add esp, 0x28
mov esi, eax
cmp dword [0x4e5b2c], ebx
je 0x414c38
cmp esi, ebx
je 0x414c38
cmp dword [0x913078], ebx
jne 0x414c38
mov ecx, 0x4fd274
mov dword [esp + 0x10], 0x49
mov dword [esp + 0x14], 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414bd7
sub ecx, edx
lea ecx, [ecx + ecx*2]
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
cmp dword [0x9123fc], ebx
je 0x414c15
add ecx, 2
add esi, 2
mov dword [esp + 0x10], 0x48
mov dword [esp + 0x14], 0x1b
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
mov eax, dword [0x4f94a8]
push 2
push eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov edx, ecx
push edx
push 3
push 2
push 2
lea eax, [esp + 0x38]
call fcn.0044e390
add esp, 0x20
mov edi, dword [0x4f9ec0]
mov esi, dword [0x4f9e80]
mov ebp, dword [0x9135dc]
mov dword [esp + 0x88], esi
cmp dword [0x4f9e84], ebx
jne 0x4156f6
mov eax, 0x4fd674
mov dword [esp + 0x64], edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414c70
sub eax, edx
xor ebx, ebx
mov dword [esp + 0x28], eax
cmp esi, ebx
jne 0x41500f
cmp dword [0x4f9e60], ebx
jne 0x41500f
cmp dword [0x4f9e64], ebx
jne 0x41500f
cmp dword [0x4f9ed0], ebx
jne 0x414e2a
cmp dword [0x4f9ebc], 1
jne 0x414d02
cmp ebp, 6
mov eax, dword [esp + 0x2164]
jge 0x414ccd
cmp eax, 6
jge 0x414cd2
cmp edi, ebx
jne case.default.0x414d66
cmp eax, 6
jl 0x414cde
mov eax, 6
mov dword [esp + 0x2164], eax
mov ecx, dword [esp + 0x216c]
push ecx
push eax
lea edi, [edi + 0x4fd674]
call fcn.004145c0
mov edi, dword [0x4f9ec0]
add esp, 8
add edi, eax
jmp 0x414e4f
cmp dword [0x4f9edc], ebx
je 0x414d15
mov dword [0x9135dc], ebx
jmp 0x414e63
mov ecx, dword [edi*4 + 0x4fa674]
cmp ecx, 0x3e7
jne 0x414d58
cmp ebp, 6
mov eax, dword [esp + 0x2164]
jge 0x414d3d
cmp eax, 6
jge 0x414d42
cmp edi, ebx
jne case.default.0x414d66
cmp eax, 6
jl 0x414d4e
mov eax, 6
mov dword [esp + 0x2164], eax
mov edx, dword [esp + 0x216c]
push edx
jmp 0x414ce6
call fcn.00461410
cmp eax, 4
ja case.default.0x414d66
jmp dword [eax*4 + 0x415a34]
cmp ebp, 7
mov eax, dword [esp + 0x2164]
jge 0x414d8a
cmp eax, 7
jge 0x414d93
cmp edi, ebx
je 0x414d8a
cmp ecx, ebx
je case.default.0x414d66
cmp eax, 7
jl 0x414cde
mov eax, 7
jmp 0x414cd7
cmp ebp, 5
mov eax, dword [esp + 0x2164]
jge 0x414dba
cmp eax, 5
jge 0x414dbf
cmp edi, ebx
je 0x414dba
cmp ecx, ebx
je case.default.0x414d66
cmp eax, 5
jl 0x414dcb
mov eax, 5
mov dword [esp + 0x2164], eax
mov edx, dword [esp + 0x216c]
push edx
jmp 0x414ce6
cmp ebp, 3
mov eax, dword [esp + 0x2164]
jge 0x414df1
cmp eax, 3
jge 0x414dfa
cmp edi, ebx
je 0x414df1
cmp ecx, ebx
je case.default.0x414d66
cmp eax, 3
jl 0x414cde
mov eax, 3
jmp 0x414cd7
mov edx, dword [esp + 0x216c]
mov eax, dword [esp + 0x2164]
push edx
jmp 0x414ce6
mov ecx, dword [esp + 0x216c]
mov edx, dword [esp + 0x28]
push ecx
push edx
jmp 0x414ce7
mov eax, dword [esp + 0x216c]
mov ecx, dword [0x4f9ed8]
mov edx, dword [0x4f9ed4]
push eax
push ecx
push edx
mov eax, 0x4fd674
call fcn.00414730
add esp, 0xc
mov edi, eax
mov dword [0x9135dc], ebx
mov dword [0x4f9ec0], edi
mov eax, dword [esp + 0x28]
cmp edi, eax
jbe 0x414e6b
mov edi, eax
mov dword [0x4f9ec0], edi
mov eax, dword [0x4fa66c]
cmp eax, ebx
jl 0x41501d
cmp eax, edi
jg 0x41501d
xor ebp, ebp
xor ebx, ebx
xor esi, esi
mov eax, 0x5f72a8
jmp 0x414e90
cmp dword [eax - 0xa0], ebp
je 0x414e9d
mov ebx, 1
cmp dword [eax], ebp
je 0x414ea6
mov esi, 1
add eax, 0x150
cmp eax, 0x5f7bd8
jl 0x414e90
cmp ebx, ebp
je 0x414ef1
mov edi, 1
mov dword [0x4f3eb0], ebp
mov dword [0x4f3ea4], ebp
mov dword [0x4f3ea8], edi
call dword [0x4b939c]
mov dword [0x4f3eb4], eax
movsx eax, word [0x6d884e]
mov dword [0x4f3eac], edi
mov dword [0x4f3ea0], eax
cmp esi, ebp
jne 0x414efa
push edi
jmp 0x414f38
cmp esi, ebp
je 0x414f4d
mov edi, 1
mov dword [0x5f7ae8], ebp
mov dword [0x5f7adc], ebp
mov dword [0x5f7ae0], edi
call dword [0x4b939c]
movsx ecx, word [0x6d884e]
mov dword [0x5f7aec], eax
mov dword [0x5f7ae4], edi
mov dword [0x5f7ad8], ecx
cmp ebx, ebp
jne 0x414f32
push 2
jmp 0x414f38
cmp esi, ebp
je 0x414f47
push 3
movsx edi, word [0x6d884c]
call fcn.00439700
add esp, 4
mov edi, dword [0x4f9ec0]
mov ecx, dword [0x5f7204]
cmp ecx, ebp
jg 0x414f88
mov eax, dword [0x5f7254]
cmp eax, ebp
jg 0x414f88
cmp ecx, 0xffffffff
je 0x414f71
cmp eax, 0xffffffff
je 0x414f71
mov eax, 0xffffff
jmp 0x414f73
xor eax, eax
mov esi, dword [0x9049b4]
cmp esi, ebp
je 0x414fd7
push eax
call fcn.00448fc0
add esp, 4
jmp 0x414fd1
mov edx, dword [0x5ff4b4]
mov eax, 0x4f284c
mov dword [esp + 0xd0], eax
mov dword [esp + 0xcc], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xc4], 0x7df
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd8], 0xfffffffe
call fcn.00449a60
mov edi, dword [0x4f9ec0]
mov dword [0x5f71a8], ebp
mov dword [0x5f72f8], ebp
mov dword [0x5f7448], ebp
mov dword [0x5f7598], ebp
mov dword [0x5f76e8], ebp
mov dword [0x5f7838], ebp
mov dword [0x5f7988], ebp
mov dword [0x4fa66c], 0xffffffff
xor ebx, ebx
jmp 0x41501d
mov edi, eax
mov dword [0x4f9e80], ebx
mov dword [0x4f9ec0], edi
mov eax, 0x4fd674
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415025
sub eax, edx
cmp eax, edi
jne 0x415054
mov dword [0x9131f4], ebx
mov dword [0x9131f8], ebx
mov dword [0x9131fc], ebx
mov dword [0x4f9e84], 1
mov dword [0x9130f4], ebx
push 0x400
lea eax, [esp + 0x550]
push ebx
push eax
call fcn.00487bc0
mov esi, dword [esp + 0x70]
add esp, 0xc
sub edi, esi
push edi
lea ecx, [esi + 0x4fd674]
push ecx
lea edx, [esp + 0x554]
push edx
call fcn.004842f0
add esp, 0xc
cmp byte [esp + 0x54c], 0
lea eax, [esp + 0x54c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], esi
je 0x4156f6
jmp 0x4150b0
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x54c]
mov eax, ebx
sub eax, ecx
add eax, dword [esp + 0x64]
push 0x4c72d0
push ebx
mov dword [esp + 0x48], eax
call fcn.00483f10
push 0x400
lea edx, [esp + 0x158]
push 0
push edx
mov edi, eax
call fcn.00487bc0
add esp, 0x14
test edi, edi
je 0x415107
mov eax, edi
sub eax, ebx
push eax
lea ecx, [esp + 0x150]
push ebx
push ecx
call fcn.004842f0
add esp, 0xc
jmp 0x41511c
lea edx, [esp + 0x14c]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x415112
xor edx, edx
test edi, edi
setne dl
push 0x4fba74
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x60]
push ecx
mov eax, 0x4fd674
mov dword [esp + 0x30], edx
mov edx, dword [0x4f9eb0]
push edx
call fcn.0043c390
mov esi, eax
lea eax, [esp + 0x15c]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415156
mov ebp, dword [0x4f9eac]
sub eax, edx
add eax, ebp
cmp eax, esi
lea eax, [esp + 0x14c]
jle 0x415261
push 0x400
push 0
push eax
call fcn.00487bc0
add esp, 0xc
sub esi, ebp
push esi
lea ecx, [esp + 0x150]
push ebx
push ecx
call fcn.004842f0
add esp, 0xc
cmp byte [esp + 0x14c], 0
je 0x415231
lea esi, [esp + 0x14c]
lea edi, [esp + 0x14d]
mov cl, byte [edi]
test cl, cl
je 0x4151e1
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 0x41520e
add edi, 2
add esi, 2
jmp 0x415210
lea eax, [esp + 0x14c]
lea edx, [eax + 1]
jmp 0x4151f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4151f0
sub eax, edx
movsx edx, byte [esp + eax + 0x14b]
push edx
call fcn.00483fe9
add esp, 4
test eax, eax
jne 0x415217
inc edi
inc esi
cmp byte [esi], 0
jne 0x4151b6
jmp 0x415231
lea eax, [esp + 0x14c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415221
sub eax, edx
mov byte [esp + eax + 0x14b], cl
lea eax, [esp + 0x14c]
lea edx, [eax + 1]
jmp 0x415240
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415240
sub eax, edx
add ebx, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0
jmp 0x415290
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415264
sub eax, edx
add ebx, eax
mov dword [esp + 0x30], ebx
test edi, edi
je 0x415288
add ebx, 2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], 1
jmp 0x415290
mov dword [esp + 0x28], 0
lea eax, [esp + 0x14c]
xor ecx, ecx
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4152a0
sub eax, esi
je 0x4152f3
mov eax, dword [esp + 0x40]
lea esi, [eax*4 + 0x4fba74]
lea ebp, [eax*2 + 0x4fca74]
lea ecx, [ecx]
mov ax, word [ebp]
mov edx, dword [esi]
mov word [esp + ecx*2 + 0x94c], ax
mov dword [esp + ecx*4 + 0x114c], edx
lea eax, [esp + 0x14c]
inc ecx
add ebp, 2
add esi, 4
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4152e6
sub eax, edi
cmp ecx, eax
jb 0x4152c0
mov ebp, dword [0x4f9eb0]
mov eax, dword [ebp*4 + 0x4f9ee0]
cmp eax, 1
jne 0x415319
mov eax, dword [esp + 0x58]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, 0x181
sub eax, ecx
jmp 0x415327
cmp eax, 2
jne 0x415330
mov eax, 0x2b9
sub eax, dword [esp + 0x58]
cmp eax, 0x49
mov dword [esp + 0x20], eax
jge 0x415338
mov dword [esp + 0x20], 0x49
xor edi, edi
xor esi, esi
mov dword [esp + 0x54], edi
test ebp, ebp
jle 0x415396
jmp 0x415350
push 0x4fba74
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x34]
push eax
push esi
mov eax, 0x4fd674
call fcn.0043c390
mov ebp, dword [0x4f9eb0]
mov ecx, dword [esp + 0x9c]
inc esi
add esp, 0x10
cmp esi, ebp
lea edi, [edi + ecx + 9]
jl 0x415350
cmp edi, 0xaf
mov dword [esp + 0x54], edi
jge 0x4156f6
lea eax, [esp + 0x14c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4153a0
sub eax, edx
mov edx, dword [esp + 0x40]
add eax, edx
cmp dword [0x4f9ef8], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x60], 0
jle 0x415511
mov dword [esp + 0x3c], 0x4f9f04
mov eax, dword [esp + 0x3c]
mov ebx, dword [eax]
mov eax, dword [eax - 8]
lea edi, [eax + ebx - 1]
cmp edi, dword [esp + 0x40]
jl 0x4154f1
cmp edi, dword [esp + 0x2c]
jge 0x4154f1
mov edx, dword [0x4f9eac]
sub edi, ebx
mov ecx, edi
sub ecx, dword [esp + 0x40]
lea eax, [ecx + edx + 1]
push eax
push ebp
call fcn.0043c460
mov esi, eax
add esi, dword [esp + 0x28]
add esp, 8
xor ebp, ebp
test ebx, ebx
jle 0x41545a
fld qword [0x4d68c0]
lea edi, [edi*4 + 0x4fba78]
fld qword [0x4d6970]
mov ecx, dword [edi]
shr ecx, 0x17
mov dword [esp + 0x34], ecx
fild dword [esp + 0x34]
test ecx, ecx
jge 0x415443
fadd qword [0x4d68c8]
fmul st(2)
fmul st(1)
call fcn.004880e0
add ebp, eax
add edi, 4
sub ebx, 1
jne 0x41542c
fstp st(1)
fstp st(0)
mov edx, dword [0x4f94a8]
mov eax, dword [esp + 0x3c]
push 0x390
push edx
mov edx, dword [eax - 4]
lea ecx, [eax + 4]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [0x4f9ec8]
push 1
push edx
add eax, 0x38
push eax
push esi
push ecx
lea edx, [esp + 0x15c]
push 3
push edx
mov eax, ebp
call fcn.00434cb0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
add esp, 0x28
cmp dword [0x4e5b2c], 0
je 0x4154f1
cmp dword [0x913078], 0
jne 0x4154f1
sub esi, edx
test esi, esi
jle 0x4154f1
sub eax, ecx
push 2
mov dword [esp + 0x20], eax
mov eax, dword [0x4f94a8]
push eax
push 0
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], edx
mov edx, ecx
push edx
push 3
push 2
push 2
lea eax, [esp + 0x38]
mov dword [esp + 0x38], esi
call fcn.0044e390
add esp, 0x20
mov eax, dword [esp + 0x60]
add dword [esp + 0x3c], 0x2c
mov ebp, dword [0x4f9eb0]
inc eax
cmp eax, dword [0x4f9ef8]
mov dword [esp + 0x60], eax
jl 0x4153d0
push 0x4fba74
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x60]
push ecx
push ebp
mov eax, 0x4fd674
call fcn.0043c390
mov eax, dword [0x4f9ea8]
mov edi, dword [esp + 0x6c]
add esp, 0x10
lea edx, [esp + 0x44]
push edx
mov edx, dword [0x4f94a8]
push eax
mov eax, dword [0x4f9ec8]
lea ecx, [edi + 0x4fa26c]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [0x4f9eac]
push eax
mov eax, dword [0x4f9eb0]
add ecx, 0x40
push ecx
push edx
push eax
call fcn.0043c460
add eax, dword [esp + 0x40]
add esp, 8
push eax
lea ecx, [esp + 0x1168]
push ecx
lea edx, [esp + 0x96c]
push edx
lea eax, [esp + 0x170]
push eax
call fcn.00435f90
lea ecx, [esp + 0x174]
add esp, 0x28
lea esi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4155a0
sub ecx, esi
add edi, ecx
cmp dword [esp + 0x24], 0
mov dword [esp + 0x5c], edi
je 0x4155bd
add edi, 2
mov dword [esp + 0x5c], edi
cmp dword [0x9123fc], 0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov ebx, 1
je 0x4155e7
sub dword [esp + 0x44], ebx
sub dword [esp + 0x48], ebx
add edx, ebx
add ecx, ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
cmp dword [0x4e5b2c], 0
je 0x415640
test eax, eax
je 0x415640
cmp dword [0x913078], 0
jne 0x415640
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
sub ecx, eax
push 2
mov dword [esp + 0x20], ecx
mov ecx, dword [0x4f94a8]
push ecx
sub edx, esi
push 0
mov dword [esp + 0x24], edx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], eax
mov eax, edx
push eax
push 3
push 2
push 2
lea eax, [esp + 0x38]
mov ecx, edx
mov dword [esp + 0x30], esi
call fcn.0044e390
add esp, 0x20
mov eax, dword [0x4fdae8]
movzx ecx, byte [0x4fa26c]
neg eax
sbb eax, eax
add ecx, ecx
movzx edx, byte [ecx + ecx + 0x4e1bd8]
movzx esi, byte [ecx + ecx + 0x4e1bd9]
add ecx, ecx
movzx ecx, byte [ecx + 0x4e1bda]
shl edx, 8
push 0
or edx, esi
shl edx, 8
or edx, ecx
push edx
movzx edx, byte [edi + 0x4fb674]
push 0
not eax
and eax, dword [0x912404]
push 0
push edx
push 0
push eax
mov eax, dword [0x4f9edc]
or eax, dword [esp + 0xa4]
or eax, dword [0x4f9e64]
or eax, dword [0x4f9e60]
push eax
call fcn.00461410
lea ecx, [esp + 0x64]
push ecx
mov ecx, eax
call fcn.00464230
lea eax, [esp + 0x14c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4156c3
sub eax, edx
add dword [0x4f9eac], eax
cmp dword [esp + 0x28], 0
je 0x4156e9
add dword [0x4f9eb0], ebx
mov dword [0x4f9eac], 0
mov edx, dword [esp + 0x30]
cmp byte [edx], 0
jne 0x4150b0
xor esi, esi
lea ebp, [esi + 1]
cmp dword [0x4e5b2c], esi
jne 0x41574b
lea eax, [esp + 0x78]
mov ecx, eax
mov dword [esp + 0xf8], eax
lea eax, [esp + 0xec]
mov dword [esp + 0xfc], ebp
mov dword [esp + 0xec], 2
mov dword [esp + 0xf0], 3
mov dword [esp + 0xf4], ecx
mov dword [esp + 0x100], 0xfffffffe
call fcn.00449a60
cmp dword [0x913078], esi
je 0x41579d
cmp dword [0x4e5b2c], esi
je 0x415797
mov edx, dword [0x4f94a8]
push 2
push edx
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, eax
push ecx
push 3
push 2
push 2
lea eax, [esp + 0x38]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], 0x390
mov dword [esp + 0x3c], 0xaf
call fcn.0044e390
add esp, 0x20
mov dword [0x913078], esi
mov edx, dword [0x4f94a8]
push 0x390
push edx
push 3
push 4
push 2
call fcn.00464460
mov ebx, dword [0x4f9e84]
cmp ebx, esi
je 0x415923
mov edi, dword [0x4f9ec0]
cmp edi, 0x400
jge 0x41588e
mov edx, dword [edi*4 + 0x4fa674]
cmp edx, esi
je 0x41588e
cmp dword [0x9131f4], esi
je 0x415801
mov ecx, dword [esp + 0x216c]
mov eax, 0x9131f0
call fcn.00458040
jmp 0x41588e
mov eax, dword [0x9131fc]
cmp dword [0x9131f8], eax
jb 0x41585b
cmp eax, esi
je 0x41585b
call fcn.004349c0
cmp eax, ebp
je 0x41588e
call fcn.004646d0
test eax, eax
jne 0x41588e
cmp dword [0x4f9e94], esi
jne 0x41588e
mov dword [edi*4 + 0x4fa674], esi
mov edi, dword [0x4f9ec0]
xor ebx, ebx
mov dword [0x9131f4], esi
mov dword [0x9131fc], esi
mov dword [0x4f9e6c], esi
mov dword [0x4f9e74], esi
mov dword [0x4f9e84], ebx
jmp 0x415888
call fcn.004646d0
test eax, eax
jne 0x41588e
mov dword [0x913208], esi
mov dword [0x9131fc], edx
mov dword [0x913204], esi
mov dword [0x9131f0], esi
mov dword [0x913200], ebp
mov dword [0x9131f4], ebp
mov dword [0x9131f8], esi
mov ecx, dword [0x4e6ee8]
cmp ecx, esi
je 0x4158ad
lea eax, [ecx - 1]
cmp eax, esi
jl 0x4158ad
nop
cmp dword [eax*4 + 0x4ebef0], esi
jne 0x4158c8
sub eax, ebp
jns 0x4158a0
cmp dword [0x4f3e94], esi
jne 0x4158c8
call dword [0x4b939c]
mov dword [0x4f3e9c], eax
mov dword [0x4f3e94], ebp
jmp 0x415923
cmp dword [edi*4 + 0x4fa674], esi
jne 0x415923
cmp ecx, esi
je 0x4158ed
lea eax, [ecx - 1]
cmp eax, esi
jl 0x4158ed
lea esp, [esp]
cmp dword [eax*4 + 0x4ebef0], esi
jne 0x415923
sub eax, ebp
jns 0x4158e0
cmp dword [0x4f9e8c], esi
jne 0x415923
cmp dword [0x4f9e74], esi
je 0x415906
cmp dword [esp + 0x90], ebx
je 0x41590e
cmp dword [0x4f9e90], esi
je 0x415923
call fcn.004349c0
test eax, eax
jne 0x415923
mov dword [0x4f9e74], esi
mov dword [0x4f9e84], esi
mov ecx, dword [0x912444]
mov eax, dword [0x912448]
lea edx, [ecx + 0x390]
cmp edx, 0x500
jle 0x415941
mov ecx, 0x170
lea edx, [eax + 0xaf]
cmp edx, 0x2d0
jle 0x415954
mov eax, 0x221
mov dword [esp + 0xa8], eax
add eax, 0xaf
mov dword [esp + 0xa4], ecx
add ecx, 0x390
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xf8], eax
lea ecx, [esp + 0x78]
lea eax, [esp + 0xec]
mov dword [esp + 0xfc], esi
mov dword [esp + 0xec], ebp
mov dword [esp + 0xf0], 2
mov dword [esp + 0xf4], ecx
mov dword [esp + 0x100], 0xfffffffe
call fcn.00449a60
call fcn.00423f80
mov edx, dword [esp + 0x216c]
mov edi, dword [esp + 0x2164]
push edx
push edi
call fcn.004643a0
mov esi, edi
shl esi, 4
sub esi, edi
mov ebx, 0x913088
lea ebx, [ebx]
mov eax, dword [ebx]
add eax, 0x24
mov edi, 4
lea ebx, [ebx]
mov ecx, esi
call fcn.00458040
add eax, 0x3c
sub edi, ebp
jne 0x415a00
add ebx, 4
cmp ebx, 0x9130b0
jl 0x4159f0
mov ecx, dword [esp + 0x2154]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2150
ret