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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x622c9f
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x682d00]
xor eax, esp
mov dword [esp + 0x3b8], eax
push ebx
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0x3d0]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00553e70
test eax, eax
je 0x548d73
mov ebx, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
push eax
push edi
lea ecx, [esp + 0x13c]
mov dword [esp + 0xa4], ebx
call fcn.005ca4d0
xor edi, edi
lea ecx, [esp + 0xc4]
mov dword [esp + 0x3d8], edi
call fcn.00550ae0
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x138]
mov byte [esp + 0x3dc], 1
call fcn.00557b20
lea ecx, [esp + 0xc4]
call fcn.00553e70
mov dword [esp + 0x3c], eax
cmp eax, edi
je 0x548d48
lea ecx, [eax*4]
push ecx
mov ecx, esi
call fcn.005437a0
push 0xffffffffffffffff
lea ecx, [esp + 0xc8]
call fcn.00555620
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x308]
call fcn.00571430
lea ecx, [esp + 0x110]
mov byte [esp + 0x3d8], 2
mov dword [esp + 0x38], edi
mov dword [esp + 0x94], edi
call fcn.0057c9c0
lea ecx, [esp + 0x280]
mov byte [esp + 0x3d8], 3
call fcn.005726c0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x3d8], 4
call fcn.0057c9c0
lea ecx, [esp + 0x228]
mov byte [esp + 0x3d8], 5
call fcn.005726c0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x3d8], 6
call fcn.0057c9c0
lea ecx, [esp + 0x254]
mov byte [esp + 0x3d8], 7
call fcn.005726c0
push fcn.0051fe50
push fcn.0051fdc0
push 2
push 0x14
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x3ec], 8
call fcn.005f9bc7
push fcn.00572710
push fcn.005726c0
push 3
push 0x2c
lea ecx, [esp + 0x1ac]
push ecx
mov byte [esp + 0x3ec], 9
call fcn.005f9bc7
lea ecx, [esp + 0x78]
mov byte [esp + 0x3d8], 0xa
mov dword [esp + 0x20], 1
call fcn.0057c9c0
mov edx, dword [esp + 0x310]
mov byte [esp + 0x3d8], 0xb
mov dword [esp + 0x8c], ebx
cmp edx, dword [esp + 0x314]
ja 0x5484f9
xor esi, esi
lea ecx, [ecx]
mov eax, dword [esp + 0x324]
push eax
call fcn.005c9c30
add esp, 4
test eax, eax
je 0x5481e9
mov eax, dword [esp + 0x20]
test eax, eax
je 0x547a51
cmp eax, 2
je 0x547a51
mov ecx, dword [esp + 0x324]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
mov ecx, dword [esp + 0x324]
cmp eax, 6
jne 0x547952
push 0
push ebx
push ecx
lea ecx, [esp + 0x17c]
call fcn.0057ca10
push eax
lea ecx, [esp + 0x114]
mov byte [esp + 0x3dc], 0xf
call fcn.0057f760
lea ecx, [esp + 0x170]
mov byte [esp + 0x3d8], 0xb
call fcn.0057ca70
lea edx, [esp + 0x110]
push edx
lea ecx, [esp + 0xf8]
call fcn.0057f760
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0xf8]
call fcn.0057e8d0
mov dword [esp + 0x20], 0
jmp 0x5481e9
push ebx
push ebx
push ecx
lea ecx, [esp + 0x17c]
call fcn.005726e0
push eax
lea ecx, [esp + 0x284]
mov byte [esp + 0x3dc], 0x10
call fcn.00576c20
lea ecx, [esp + 0x170]
mov byte [esp + 0x3d8], 0xb
call fcn.00572710
lea edx, [esp + 0x280]
push edx
lea ecx, [esp + 0x22c]
call fcn.00576c20
push fcn.00572710
push fcn.005726c0
push 2
push 0x2c
lea eax, [esp + 0x2bc]
push eax
mov dword [esp + 0x34], 2
call fcn.005f9bc7
mov ecx, dword [esp + 0x248]
and ecx, 0xfffffff9
mov byte [esp + 0x3d8], 0x11
test cx, cx
jne 0x5479f6
lea edx, [esp + 0x2ac]
push edx
lea ecx, [esp + 0x22c]
call fcn.0057a200
lea eax, [esp + 0x2ac]
push eax
jmp 0x547a12
lea ecx, [esp + 0x2ac]
push ecx
lea ecx, [esp + 0x22c]
call fcn.0057aa30
lea edx, [esp + 0x2ac]
push edx
lea ecx, [esp + 0x1f8]
call fcn.00576c20
push fcn.00572710
mov eax, 1
push 2
mov dword [esp + 0x9c], eax
mov dword [esp + 0x40], eax
push 0x2c
lea eax, [esp + 0x2b8]
push eax
mov byte [esp + 0x3e8], 0xb
call fcn.005f9b64
jmp 0x5481e9
mov ecx, dword [esp + 0x324]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
cmp eax, 6
jne 0x547dd9
mov ecx, dword [esp + 0x324]
push 0
push ebx
push ecx
lea ecx, [esp + 0x17c]
call fcn.0057ca10
push eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x3dc], 0xc
call fcn.0057f760
lea ecx, [esp + 0x170]
mov byte [esp + 0x3d8], 0xb
call fcn.0057ca70
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0xdc]
call fcn.0057e8d0
lea ecx, [esp + 0xd8]
call fcn.0051fe60
cmp eax, 0x64
jge 0x547ae7
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xc8]
push ecx
call fcn.005be590
add esp, 8
test eax, eax
je 0x5481e9
cmp dword [esp + 0x38], 0
je 0x547d04
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0xdc]
imul ebx, ebx, 0x2c
cmp dword [esp + ebx + 0x1b8], 0
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
je 0x547bf7
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x68]
lea ecx, [esp + ebx + 0x1a0]
push eax
mov dword [esp + 0x48], ecx
call fcn.0051e8a0
test eax, eax
je 0x547bf7
cmp eax, 1
jne 0x547b54
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.0051e210
jmp 0x547bbf
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00529f60
fstp qword [esp + 0x34]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00529f60
fcomp qword [esp + 0x3c]
mov ebx, dword [esp + 0x50]
add esp, 0x10
mov ecx, ebx
fnstsw ax
test ah, 0x41
jne 0x547ba2
lea eax, [esp + 0x10]
push eax
call fcn.0051e210
cmp dword [esp + 0x3c], 3
jg 0x547bbf
lea ecx, [esp + 0x18]
push ecx
jmp 0x547bb8
lea edx, [esp + 0x18]
push edx
call fcn.0051e210
cmp dword [esp + 0x3c], 3
jg 0x547bbf
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.0051e0e0
cmp dword [esp + 0x20], 2
je 0x547cf0
mov ecx, dword [esp + 0x40]
mov edx, dword [0x683a94]
push ecx
lea ecx, [esi + edx]
call fcn.005824a0
mov ebx, dword [esp + 0x9c]
add edi, 3
add esi, 0x30
mov dword [esp + 0x38], 0
jmp 0x547db2
cmp dword [esp + 0x20], 2
je 0x547c23
cmp dword [esp + ebx + 0x1b8], 0
jle 0x547c23
mov ecx, dword [0x683a94]
lea eax, [esp + ebx + 0x19c]
push eax
add ecx, esi
call fcn.005824a0
add edi, 3
add esi, 0x30
push 0x3e8
lea edx, [esp + 0x15c]
push edx
lea ecx, [esp + 0x230]
call fcn.0051cda0
mov ecx, dword [eax]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x84], edx
push ecx
lea edx, [esp + 0xec]
push edx
lea ecx, [esp + 0x84]
call fcn.0057ec80
mov dword [esp + 0x40], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + ebx + 0x1ac]
push ecx
push 0x3e8
lea edx, [esp + 0x16c]
push edx
lea ecx, [esp + ebx + 0x1ac]
call fcn.0051cda0
push eax
call fcn.00545cf0
add esp, 0xc
inc edi
test eax, eax
mov eax, dword [0x683a94]
lea ecx, [esi + eax]
je 0x547ce3
lea edx, [esp + 0x10]
push edx
add esi, 0x10
call fcn.005823c0
cmp dword [esp + 0x40], 0
jne 0x547cf0
mov eax, dword [0x683a94]
lea ecx, [esi + eax]
inc edi
lea edx, [esp + 0x18]
jmp 0x547ce7
lea edx, [esp + 0x68]
push edx
add esi, 0x10
call fcn.005823c0
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x38], 0
jmp 0x547db2
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.0052c540
add esp, 0xc
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xec]
push edx
lea ecx, [esp + 0x100]
call fcn.0057ec80
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x40], eax
jne 0x547d7f
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.00545cf0
add esp, 0xc
test eax, eax
jne 0x547d7f
mov eax, dword [0x683a94]
lea edx, [esp + 0x5c]
lea ecx, [esi + eax]
push edx
inc edi
add esi, 0x10
call fcn.005823c0
lea edx, [esp + 0x68]
jmp 0x547da0
mov eax, dword [0x683a94]
lea edx, [esp + 0x10]
lea ecx, [esi + eax]
push edx
inc edi
add esi, 0x10
call fcn.005823c0
cmp dword [esp + 0x40], 0
jne 0x547db2
lea edx, [esp + 0x18]
mov eax, dword [0x683a94]
lea ecx, [esi + eax]
push edx
inc edi
add esi, 0x10
call fcn.005823c0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x54]
call fcn.00520200
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0xf8]
call fcn.0057f760
jmp 0x5481e9
mov edx, dword [esp + 0x324]
push ebx
push ebx
push edx
lea ecx, [esp + 0x17c]
call fcn.005726e0
push eax
lea ecx, [esp + 0x258]
mov byte [esp + 0x3dc], 0xd
call fcn.00576c20
lea ecx, [esp + 0x170]
mov byte [esp + 0x3d8], 0xb
call fcn.00572710
push fcn.00572710
push fcn.005726c0
push 2
push 0x2c
lea eax, [esp + 0x2bc]
push eax
call fcn.005f9bc7
mov ecx, dword [esp + 0x274]
and ecx, 0xfffffff9
mov byte [esp + 0x3d8], 0xe
test cx, cx
jne 0x547e68
lea edx, [esp + 0x2ac]
push edx
lea ecx, [esp + 0x258]
call fcn.0057a200
lea eax, [esp + 0x2ac]
push eax
jmp 0x547e84
lea ecx, [esp + 0x2ac]
push ecx
lea ecx, [esp + 0x258]
call fcn.0057aa30
lea edx, [esp + 0x2ac]
push edx
lea ecx, [esp + 0x1cc]
call fcn.00576c20
cmp dword [esp + 0x38], 0
mov eax, dword [esp + 0x258]
mov ecx, dword [esp + 0x25c]
lea edx, [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
push edx
je 0x54807b
mov eax, dword [esp + 0x24]
imul eax, eax, 0x2c
lea ebx, [esp + eax + 0x1a0]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1cc]
push eax
push ebx
call fcn.0052c970
add esp, 0xc
test eax, eax
jne 0x547fe1
cmp dword [esp + 0x20], 2
je 0x547efc
mov ecx, dword [0x683a94]
push ebx
add ecx, esi
call fcn.005824a0
add edi, 3
add esi, 0x30
push 0x3e8
lea edx, [esp + 0x14c]
push edx
lea ecx, [esp + 0x230]
call fcn.0051cda0
mov ecx, dword [eax]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x88], edx
push 0x3e8
lea edx, [esp + 0x174]
push edx
lea ecx, [esp + 0x264]
call fcn.0051cd00
push eax
lea ecx, [esp + 0x84]
call fcn.0057ec80
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x10]
push eax
lea edx, [esp + ecx + 0x1ac]
push edx
push 0x3e8
lea eax, [esp + 0x15c]
push eax
mov ecx, ebx
call fcn.0051cda0
push eax
call fcn.00545cf0
add esp, 0xc
test eax, eax
je 0x548186
mov ecx, dword [0x683a94]
lea edx, [esp + 0x10]
add ecx, esi
push edx
inc edi
add esi, 0x10
call fcn.005823c0
cmp dword [esp + 0x40], 0
jne 0x548186
mov eax, dword [0x683a94]
lea edx, [esp + 0x18]
lea ecx, [esi + eax]
push edx
inc edi
add esi, 0x10
call fcn.005823c0
jmp 0x548186
cmp eax, 1
jne 0x547ff9
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.0051e210
lea ecx, [esp + 0x10]
push ecx
jmp 0x54804b
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00529f60
fstp qword [esp + 0x34]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00529f60
fcomp qword [esp + 0x3c]
add esp, 0x10
mov ecx, ebx
fnstsw ax
test ah, 0x41
jne 0x54803c
lea eax, [esp + 0x10]
push eax
call fcn.0051e210
lea ecx, [esp + 0x10]
push ecx
jmp 0x54804b
lea edx, [esp + 0x18]
push edx
call fcn.0051e210
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x1cc]
call fcn.0051e0e0
cmp dword [esp + 0x20], 2
je 0x54818d
mov ecx, dword [0x683a94]
push ebx
add ecx, esi
call fcn.005824a0
add edi, 3
add esi, 0x30
jmp 0x548186
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1d0]
call fcn.0051e8a0
test eax, eax
jne 0x54812b
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x3e8
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x264]
call fcn.0051cd00
push eax
lea ecx, [esp + 0x100]
call fcn.0057ec80
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x60]
mov ebx, eax
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.00545cf0
add esp, 0xc
inc edi
test eax, eax
je 0x548114
mov ecx, dword [0x683a94]
lea edx, [esp + 0x10]
add ecx, esi
push edx
add esi, 0x10
call fcn.005823c0
test ebx, ebx
jne 0x54817e
mov eax, dword [0x683a94]
lea edx, [esp + 0x18]
lea ecx, [esi + eax]
push edx
inc edi
add esi, 0x10
call fcn.005823c0
jmp 0x54817e
mov eax, dword [0x683a94]
lea edx, [esp + 0x5c]
lea ecx, [esi + eax]
push edx
add esi, 0x10
call fcn.005823c0
jmp 0x54817e
cmp eax, 1
jne 0x548136
lea eax, [esp + 0x10]
jmp 0x548171
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00529f60
fstp qword [esp + 0x34]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00529f60
fcomp qword [esp + 0x3c]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x54816d
lea edx, [esp + 0x10]
push edx
jmp 0x548172
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x1cc]
call fcn.0051e0e0
mov dword [esp + 0x38], 1
cmp dword [esp + 0x20], 2
jne 0x548195
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x1c8]
push ecx
mov ecx, dword [esp + 0x24]
imul ecx, ecx, 0x2c
lea ecx, [esp + ecx + 0x1a0]
call fcn.00576c20
lea edx, [esp + 0x254]
push edx
lea ecx, [esp + 0x22c]
call fcn.00576c20
push fcn.00572710
push 2
push 0x2c
lea eax, [esp + 0x2b8]
push eax
mov byte [esp + 0x3e8], 0xb
call fcn.005f9b64
mov ebx, dword [esp + 0x9c]
lea ecx, [esp + 0x304]
call fcn.005710d0
mov ecx, dword [esp + 0x310]
cmp ecx, dword [esp + 0x314]
jbe 0x5478a0
cmp dword [esp + 0x94], 0
je 0x5484f9
test edi, edi
jne 0x548230
cmp dword [esp + 0x38], edi
je 0x5484d9
cmp dword [esp + 0x3c], 6
jne 0x5484d9
cmp dword [esp + 0x38], 0
mov edx, dword [esp + 0x284]
mov eax, dword [esp + 0x288]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
push ecx
je 0x54840b
lea edx, [esp + 0x1f8]
push edx
lea eax, [esp + 0x1a4]
push eax
call fcn.0052c970
add esp, 0xc
test eax, eax
jne 0x548369
lea ecx, [esp + 0x19c]
push ecx
mov ecx, edi
shl ecx, 4
add ecx, dword [0x683a94]
call fcn.005824a0
push 0x3e8
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x230]
add edi, 3
call fcn.0051cda0
mov ecx, dword [eax]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x88], edx
push 0x3e8
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x290]
call fcn.0051cd00
push eax
lea ecx, [esp + 0x84]
call fcn.0057ec80
mov esi, eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1ac]
push ecx
push 0x3e8
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x1ac]
call fcn.0051cda0
push eax
call fcn.00545cf0
add esp, 0xc
test eax, eax
je 0x5484d9
mov ecx, edi
shl ecx, 4
add ecx, dword [0x683a94]
inc edi
lea eax, [esp + 0x10]
push eax
call fcn.005823c0
test esi, esi
jne 0x5484d9
mov ecx, edi
shl ecx, 4
add ecx, dword [0x683a94]
lea edx, [esp + 0x18]
push edx
inc edi
call fcn.005823c0
jmp 0x5484d9
cmp eax, 1
jne 0x548381
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1a0]
call fcn.0051e210
jmp 0x5483eb
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00529f60
fstp qword [esp + 0x34]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00529f60
fcomp qword [esp + 0x3c]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x5483c9
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x1a0]
call fcn.0051e210
lea eax, [esp + 0x10]
push eax
jmp 0x5483df
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x1a0]
call fcn.0051e210
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x1f8]
call fcn.0051e0e0
mov ecx, edi
shl ecx, 4
add ecx, dword [0x683a94]
lea eax, [esp + 0x19c]
push eax
call fcn.005824a0
add edi, 3
jmp 0x5484d9
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x1fc]
call fcn.0051e8a0
test eax, eax
jne 0x548486
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x3e8
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x290]
call fcn.0051cd00
push eax
lea ecx, [esp + 0x100]
call fcn.0057ec80
mov esi, eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.00545cf0
mov ecx, edi
shl ecx, 4
add ecx, dword [0x683a94]
add esp, 0xc
inc edi
test eax, eax
jne 0x54833c
lea eax, [esp + 0x5c]
push eax
call fcn.005823c0
jmp 0x5484d9
cmp eax, 1
jne 0x548491
lea ecx, [esp + 0x10]
jmp 0x5484cc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00529f60
fstp qword [esp + 0x34]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00529f60
fcomp qword [esp + 0x3c]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x5484c8
lea eax, [esp + 0x10]
push eax
jmp 0x5484cd
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x1f8]
call fcn.0051e0e0
mov ecx, edi
shl ecx, 4
add ecx, dword [0x683a94]
lea edx, [esp + 0x1f4]
push edx
call fcn.005824a0
add edi, 3
jmp 0x54873d
mov ecx, dword [esp + 0x118]
mov eax, dword [esp + 0x114]
lea edx, [esp + 0x64]
mov dword [esp + 0x28], ecx
push edx
lea ecx, [esp + 0x114]
mov dword [esp + 0x28], eax
call fcn.0057e8d0
cmp dword [esp + 0x38], 0
je 0x54868b
mov ebx, dword [esp + 0x20]
imul ebx, ebx, 0x2c
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x68]
lea esi, [esp + ebx + 0x1a0]
push ecx
mov ecx, esi
call fcn.0051e8a0
test eax, eax
jne 0x548624
mov ecx, edi
shl ecx, 4
add ecx, dword [0x683a94]
push esi
call fcn.005824a0
push 0x3e8
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x230]
add edi, 3
call fcn.0051cda0
mov ecx, dword [eax]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x84], edx
push ecx
lea edx, [esp + 0x124]
push edx
lea ecx, [esp + 0x84]
call fcn.0057ec80
mov dword [esp + 0x40], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + ebx + 0x1ac]
push ecx
push 0x3e8
lea edx, [esp + 0x54]
push edx
mov ecx, esi
call fcn.0051cda0
push eax
call fcn.00545cf0
mov ecx, edi
shl ecx, 4
add ecx, dword [0x683a94]
add esp, 0xc
inc edi
test eax, eax
je 0x54861a
lea eax, [esp + 0x10]
push eax
call fcn.005823c0
cmp dword [esp + 0x40], 0
jne 0x54872f
lea edx, [esp + 0x18]
push edx
jmp 0x54871e
lea eax, [esp + 0x68]
push eax
jmp 0x54872a
cmp eax, 1
jne 0x54862f
lea ecx, [esp + 0x10]
jmp 0x54866a
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00529f60
fstp qword [esp + 0x34]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00529f60
fcomp qword [esp + 0x3c]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x548666
lea eax, [esp + 0x10]
push eax
jmp 0x54866b
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0051e210
mov ecx, edi
shl ecx, 4
add ecx, dword [0x683a94]
push esi
call fcn.005824a0
add edi, 3
jmp 0x54872f
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0052c540
add esp, 0xc
lea edx, [esp + 0x18]
mov ebx, eax
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0x100]
call fcn.0057ec80
mov esi, eax
test ebx, ebx
jne 0x5486ff
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.00545cf0
add esp, 0xc
test eax, eax
jne 0x5486ff
mov ecx, edi
shl ecx, 4
add ecx, dword [0x683a94]
lea edx, [esp + 0x5c]
push edx
inc edi
call fcn.005823c0
lea eax, [esp + 0x68]
jmp 0x54871d
mov ecx, edi
shl ecx, 4
add ecx, dword [0x683a94]
lea edx, [esp + 0x10]
push edx
inc edi
call fcn.005823c0
test esi, esi
jne 0x54872f
lea eax, [esp + 0x18]
push eax
mov ecx, edi
shl ecx, 4
inc edi
add ecx, dword [0x683a94]
call fcn.005823c0
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x54]
call fcn.00520200
cmp edi, 3
mov dword [0x683aa4], edi
jle 0x548912
lea ecx, [esp + 0x170]
call fcn.0051a860
mov edx, dword [0x683aa4]
mov ecx, dword [0x683a94]
mov eax, edx
shl eax, 4
mov ebx, dword [eax + ecx - 0xc]
add eax, ecx
mov eax, dword [eax - 8]
xor edi, edi
mov byte [esp + 0x3d8], 0x12
mov dword [esp + 0x30], eax
test edx, edx
jle 0x5488fe
xor esi, esi
mov ecx, dword [0x683a94]
add ecx, esi
test byte [ecx + 2], 1
je 0x5488e8
lea edx, [esp + 0x170]
push edx
call fcn.00582610
mov ax, word [esp + 0x190]
test al, 2
jne 0x5487c3
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5488c8
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x178]
push edx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], eax
call fcn.00523bf0
add esp, 8
test eax, eax
je 0x548801
mov eax, dword [0x683aa4]
sub eax, edi
sub eax, 3
shl eax, 4
push eax
jmp 0x548865
lea eax, [edi + 3]
cmp eax, dword [0x683aa4]
jne 0x54880e
xor eax, eax
mov ecx, dword [0x683a94]
mov edx, eax
shl edx, 4
test byte [edx + ecx + 2], 1
je 0x548821
inc eax
shl eax, 4
add eax, ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x9c], ecx
push eax
lea ecx, [esp + 0x178]
push ecx
call fcn.00523bf0
add esp, 8
test eax, eax
je 0x548884
mov edx, dword [0x683aa4]
sub edx, edi
sub edx, 3
shl edx, 4
push edx
mov eax, dword [0x683a94]
lea ecx, [esi + eax + 0x30]
push ecx
lea edx, [esi + eax]
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
sub dword [0x683aa4], 3
jmp 0x5488ce
mov ecx, dword [0x683a94]
lea eax, [esp + 0x174]
push eax
add ecx, esi
call fcn.005823c0
mov edx, dword [0x683aa4]
mov eax, dword [0x683a94]
sub edx, edi
sub edx, 3
shl edx, 4
push edx
lea ecx, [esi + eax + 0x30]
push ecx
lea edx, [esi + eax + 0x10]
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
sub dword [0x683aa4], 2
jmp 0x5488ce
add edi, 3
add esi, 0x30
mov eax, dword [esp + 0x180]
mov ebx, dword [esp + 0x17c]
mov edx, dword [0x683aa4]
mov dword [esp + 0x30], eax
jmp 0x5488f6
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
inc edi
mov dword [esp + 0x30], ecx
add esi, 0x10
cmp edi, edx
jl 0x54878a
lea ecx, [esp + 0x170]
mov byte [esp + 0x3d8], 0xb
call fcn.0051b350
mov edx, dword [0x683aa4]
mov eax, dword [0x683a94]
push edx
push eax
lea ecx, [esp + 0xb8]
call fcn.005ca4d0
push 3
lea ecx, [esp + 0xb4]
mov byte [esp + 0x3dc], 0x13
call fcn.00556ea0
lea ecx, [esp + 0xb0]
call fcn.00553e70
mov esi, eax
mov eax, dword [0x683aa4]
cmp eax, esi
jle 0x5489ca
lea ecx, [esp + 0x12c]
push ecx
lea ecx, [esp + 0xb4]
call fcn.00559170
mov edx, dword [0x683aa4]
dec edx
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xb8]
call fcn.00556230
mov ecx, dword [eax]
mov edx, dword [esp + 0x12c]
mov eax, dword [eax + 4]
cmp ecx, edx
mov ecx, dword [esp + 0x130]
jne 0x5489a0
cmp eax, ecx
je 0x5489c3
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
shl ecx, 4
add ecx, dword [esp + 0xc4]
mov dword [esp + 0x44], edx
call fcn.005823c0
lea eax, [esi + 1]
jmp 0x5489c5
mov eax, esi
mov dword [0x683aa4], eax
lea esi, [eax*4]
test esi, esi
jne 0x548a2b
lea ecx, [esp + 0xb0]
mov byte [esp + 0x3d8], 0xb
call fcn.005ca500
lea ecx, [esp + 0x78]
mov byte [esp + 0x3d8], 0xa
call fcn.0057ca70
push fcn.00572710
push 3
push 0x2c
lea edx, [esp + 0x1a8]
push edx
mov byte [esp + 0x3e8], 9
call fcn.005f9b64
push fcn.0051fe50
push 2
push 0x14
lea eax, [esp + 0x5c]
push eax
jmp 0x548caf
xor ecx, ecx
mov eax, esi
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
mov byte [esp + 0x3d8], 0x14
test edi, edi
je 0x548a68
push fcn.005ca5e0
push esi
push 0x10
push edi
call fcn.00434b20
jmp 0x548a6a
xor edi, edi
push 1
push edi
push 0
lea eax, [esp + 0xbc]
push 0xffffffffffffffff
push eax
mov ecx, eax
mov byte [esp + 0x3ec], 0x13
call fcn.005ca520
lea esi, [eax + eax]
mov dword [esp + 0x2c], eax
test esi, esi
jne 0x548af2
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0xb0]
mov byte [esp + 0x3d8], 0xb
call fcn.005ca500
lea ecx, [esp + 0x78]
mov byte [esp + 0x3d8], 0xa
call fcn.0057ca70
push fcn.00572710
push 3
push 0x2c
lea ecx, [esp + 0x1a8]
push ecx
mov byte [esp + 0x3e8], 9
call fcn.005f9b64
push fcn.0051fe50
push 2
push 0x14
lea edx, [esp + 0x5c]
push edx
jmp 0x548caf
xor ecx, ecx
mov eax, esi
mov edx, 0x34
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [esp + 0x94], eax
mov byte [esp + 0x3d8], 0x15
test eax, eax
je 0x548b46
push fcn.005c9960
push 0x5c9930
push esi
lea ebx, [eax + 4]
push 0x34
push ebx
mov dword [eax], esi
call fcn.005f9bc7
jmp 0x548b48
xor ebx, ebx
mov ecx, dword [esp + 0x2c]
push ecx
push edi
lea edx, [esp + 0xb8]
push ebx
push edx
mov byte [esp + 0x3e8], 0x13
call fcn.005c9ce0
add esp, 0x10
lea ecx, [esp + 0xa4]
call fcn.00516940
lea eax, [esp + 0xa4]
push eax
push esi
push ebx
mov byte [esp + 0x3e4], 0x16
call fcn.005c9b30
fldz
xor esi, esi
fstp qword [esp + 0x38]
add esp, 0xc
cmp dword [esp + 0xa4], esi
mov dword [esp + 0x3c], esi
jle 0x548c1f
mov eax, dword [esp + 0xac]
lea esp, [esp]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
fcom qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
mov eax, dword [esp + 0xac]
jne 0x548bd9
mov ecx, dword [eax + esi*4]
fstp qword [esp + 0x2c]
mov dword [esp + 0x3c], ecx
jmp 0x548bdb
fstp st(0)
inc esi
cmp esi, dword [esp + 0xa4]
jl 0x548bb0
cmp dword [esp + 0x3c], 0
je 0x548c1f
mov esi, dword [esp + 0x3c]
mov ecx, esi
call fcn.00553e70
mov edx, dword [0x683a94]
mov dword [0x683aa4], eax
mov ecx, dword [esi + 0x10]
shl eax, 4
push eax
push ecx
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0xa4]
call fcn.00516990
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
test ebx, ebx
je 0x548c4a
cmp dword [ebx - 4], 0
lea eax, [ebx - 4]
je 0x548c41
mov eax, dword [ebx]
mov edx, dword [eax]
push 3
mov ecx, ebx
call edx
jmp 0x548c4a
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0xa4]
mov byte [esp + 0x3d8], 0x13
call fcn.004925b0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x3d8], 0xb
call fcn.005ca500
lea ecx, [esp + 0x78]
mov byte [esp + 0x3d8], 0xa
call fcn.0057ca70
push fcn.00572710
push 3
push 0x2c
lea eax, [esp + 0x1a8]
push eax
mov byte [esp + 0x3e8], 9
call fcn.005f9b64
push fcn.0051fe50
push 2
push 0x14
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x3e8], 8
call fcn.005f9b64
lea ecx, [esp + 0x254]
mov byte [esp + 0x3d8], 7
call fcn.00572710
lea ecx, [esp + 0xd8]
mov byte [esp + 0x3d8], 6
call fcn.0057ca70
lea ecx, [esp + 0x228]
mov byte [esp + 0x3d8], 5
call fcn.00572710
lea ecx, [esp + 0xf4]
mov byte [esp + 0x3d8], 4
call fcn.0057ca70
lea ecx, [esp + 0x280]
mov byte [esp + 0x3d8], 3
call fcn.00572710
lea ecx, [esp + 0x110]
mov byte [esp + 0x3d8], 2
call fcn.0057ca70
lea ecx, [esp + 0x304]
mov byte [esp + 0x3d8], 1
call fcn.00571010
lea ecx, [esp + 0xc4]
mov byte [esp + 0x3d8], 0
call fcn.00556b60
lea ecx, [esp + 0x134]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.005ca500
mov ecx, dword [esp + 0x3d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3b8]
xor ecx, esp
call fcn.005f9aee
mov esp, ebp
pop ebp
ret 4