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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x624c0f
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0x3b8], eax
push ebx
push esi
push edi
mov eax, dword [0x685e38]
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.00555520
test eax, eax
je 0x54a423
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.005cbb80
xor edi, edi
lea ecx, [esp + 0xc4]
mov dword [esp + 0x3d8], edi
call fcn.00552190
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x138]
mov byte [esp + 0x3dc], 1
call fcn.005591d0
lea ecx, [esp + 0xc4]
call fcn.00555520
mov dword [esp + 0x3c], eax
cmp eax, edi
je 0x54a3f8
lea ecx, [eax*4]
push ecx
mov ecx, esi
call fcn.00544e60
push 0xffffffffffffffff
lea ecx, [esp + 0xc8]
call fcn.00556cd0
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x308]
call fcn.00572ac0
lea ecx, [esp + 0x110]
mov byte [esp + 0x3d8], 2
mov dword [esp + 0x38], edi
mov dword [esp + 0x94], edi
call fcn.0057e050
lea ecx, [esp + 0x280]
mov byte [esp + 0x3d8], 3
call fcn.00573d50
lea ecx, [esp + 0xf4]
mov byte [esp + 0x3d8], 4
call fcn.0057e050
lea ecx, [esp + 0x228]
mov byte [esp + 0x3d8], 5
call fcn.00573d50
lea ecx, [esp + 0xd8]
mov byte [esp + 0x3d8], 6
call fcn.0057e050
lea ecx, [esp + 0x254]
mov byte [esp + 0x3d8], 7
call fcn.00573d50
push fcn.00520f30
push fcn.00520ea0
push 2
push 0x14
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x3ec], 8
call fcn.005fbaa7
push fcn.00573da0
push fcn.00573d50
push 3
push 0x2c
lea ecx, [esp + 0x1ac]
push ecx
mov byte [esp + 0x3ec], 9
call fcn.005fbaa7
lea ecx, [esp + 0x78]
mov byte [esp + 0x3d8], 0xa
mov dword [esp + 0x20], 1
call fcn.0057e050
mov edx, dword [esp + 0x310]
mov byte [esp + 0x3d8], 0xb
mov dword [esp + 0x8c], ebx
cmp edx, dword [esp + 0x314]
ja 0x549ba9
xor esi, esi
lea ecx, [ecx]
mov eax, dword [esp + 0x324]
push eax
call fcn.005cb2e0
add esp, 4
test eax, eax
je 0x549899
mov eax, dword [esp + 0x20]
test eax, eax
je 0x549101
cmp eax, 2
je 0x549101
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 0x549002
push 0
push ebx
push ecx
lea ecx, [esp + 0x17c]
call fcn.0057e0a0
push eax
lea ecx, [esp + 0x114]
mov byte [esp + 0x3dc], 0xf
call fcn.00580de0
lea ecx, [esp + 0x170]
mov byte [esp + 0x3d8], 0xb
call fcn.0057e100
lea edx, [esp + 0x110]
push edx
lea ecx, [esp + 0xf8]
call fcn.00580de0
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0xf8]
call fcn.0057ff60
mov dword [esp + 0x20], 0
jmp 0x549899
push ebx
push ebx
push ecx
lea ecx, [esp + 0x17c]
call fcn.00573d70
push eax
lea ecx, [esp + 0x284]
mov byte [esp + 0x3dc], 0x10
call fcn.005782b0
lea ecx, [esp + 0x170]
mov byte [esp + 0x3d8], 0xb
call fcn.00573da0
lea edx, [esp + 0x280]
push edx
lea ecx, [esp + 0x22c]
call fcn.005782b0
push fcn.00573da0
push fcn.00573d50
push 2
push 0x2c
lea eax, [esp + 0x2bc]
push eax
mov dword [esp + 0x34], 2
call fcn.005fbaa7
mov ecx, dword [esp + 0x248]
and ecx, 0xfffffff9
mov byte [esp + 0x3d8], 0x11
test cx, cx
jne 0x5490a6
lea edx, [esp + 0x2ac]
push edx
lea ecx, [esp + 0x22c]
call fcn.0057b890
lea eax, [esp + 0x2ac]
push eax
jmp 0x5490c2
lea ecx, [esp + 0x2ac]
push ecx
lea ecx, [esp + 0x22c]
call fcn.0057c0c0
lea edx, [esp + 0x2ac]
push edx
lea ecx, [esp + 0x1f8]
call fcn.005782b0
push fcn.00573da0
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.005fba44
jmp 0x549899
mov ecx, dword [esp + 0x324]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
cmp eax, 6
jne 0x549489
mov ecx, dword [esp + 0x324]
push 0
push ebx
push ecx
lea ecx, [esp + 0x17c]
call fcn.0057e0a0
push eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x3dc], 0xc
call fcn.00580de0
lea ecx, [esp + 0x170]
mov byte [esp + 0x3d8], 0xb
call fcn.0057e100
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0xdc]
call fcn.0057ff60
lea ecx, [esp + 0xd8]
call fcn.00520f40
cmp eax, 0x64
jge 0x549197
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xc8]
push ecx
call fcn.005bfc50
add esp, 8
test eax, eax
je 0x549899
cmp dword [esp + 0x38], 0
je 0x5493b4
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 0x5492a7
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x68]
lea ecx, [esp + ebx + 0x1a0]
push eax
mov dword [esp + 0x48], ecx
call fcn.0051f980
test eax, eax
je 0x5492a7
cmp eax, 1
jne 0x549204
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.0051f2f0
jmp 0x54926f
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0052b0e0
fstp qword [esp + 0x34]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0052b0e0
fcomp qword [esp + 0x3c]
mov ebx, dword [esp + 0x50]
add esp, 0x10
mov ecx, ebx
fnstsw ax
test ah, 0x41
jne 0x549252
lea eax, [esp + 0x10]
push eax
call fcn.0051f2f0
cmp dword [esp + 0x3c], 3
jg 0x54926f
lea ecx, [esp + 0x18]
push ecx
jmp 0x549268
lea edx, [esp + 0x18]
push edx
call fcn.0051f2f0
cmp dword [esp + 0x3c], 3
jg 0x54926f
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.0051f1c0
cmp dword [esp + 0x20], 2
je 0x5493a0
mov ecx, dword [esp + 0x40]
mov edx, dword [0x686bbc]
push ecx
lea ecx, [esi + edx]
call fcn.00583b20
mov ebx, dword [esp + 0x9c]
add edi, 3
add esi, 0x30
mov dword [esp + 0x38], 0
jmp 0x549462
cmp dword [esp + 0x20], 2
je 0x5492d3
cmp dword [esp + ebx + 0x1b8], 0
jle 0x5492d3
mov ecx, dword [0x686bbc]
lea eax, [esp + ebx + 0x19c]
push eax
add ecx, esi
call fcn.00583b20
add edi, 3
add esi, 0x30
push 0x3e8
lea edx, [esp + 0x15c]
push edx
lea ecx, [esp + 0x230]
call fcn.0051de80
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.00580310
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.0051de80
push eax
call fcn.005473a0
add esp, 0xc
inc edi
test eax, eax
mov eax, dword [0x686bbc]
lea ecx, [esi + eax]
je 0x549393
lea edx, [esp + 0x10]
push edx
add esi, 0x10
call fcn.00583a80
cmp dword [esp + 0x40], 0
jne 0x5493a0
mov eax, dword [0x686bbc]
lea ecx, [esi + eax]
inc edi
lea edx, [esp + 0x18]
jmp 0x549397
lea edx, [esp + 0x68]
push edx
add esi, 0x10
call fcn.00583a80
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x38], 0
jmp 0x549462
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.0052d6c0
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.00580310
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x40], eax
jne 0x54942f
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.005473a0
add esp, 0xc
test eax, eax
jne 0x54942f
mov eax, dword [0x686bbc]
lea edx, [esp + 0x5c]
lea ecx, [esi + eax]
push edx
inc edi
add esi, 0x10
call fcn.00583a80
lea edx, [esp + 0x68]
jmp 0x549450
mov eax, dword [0x686bbc]
lea edx, [esp + 0x10]
lea ecx, [esi + eax]
push edx
inc edi
add esi, 0x10
call fcn.00583a80
cmp dword [esp + 0x40], 0
jne 0x549462
lea edx, [esp + 0x18]
mov eax, dword [0x686bbc]
lea ecx, [esi + eax]
push edx
inc edi
add esi, 0x10
call fcn.00583a80
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x54]
call fcn.00521330
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0xf8]
call fcn.00580de0
jmp 0x549899
mov edx, dword [esp + 0x324]
push ebx
push ebx
push edx
lea ecx, [esp + 0x17c]
call fcn.00573d70
push eax
lea ecx, [esp + 0x258]
mov byte [esp + 0x3dc], 0xd
call fcn.005782b0
lea ecx, [esp + 0x170]
mov byte [esp + 0x3d8], 0xb
call fcn.00573da0
push fcn.00573da0
push fcn.00573d50
push 2
push 0x2c
lea eax, [esp + 0x2bc]
push eax
call fcn.005fbaa7
mov ecx, dword [esp + 0x274]
and ecx, 0xfffffff9
mov byte [esp + 0x3d8], 0xe
test cx, cx
jne 0x549518
lea edx, [esp + 0x2ac]
push edx
lea ecx, [esp + 0x258]
call fcn.0057b890
lea eax, [esp + 0x2ac]
push eax
jmp 0x549534
lea ecx, [esp + 0x2ac]
push ecx
lea ecx, [esp + 0x258]
call fcn.0057c0c0
lea edx, [esp + 0x2ac]
push edx
lea ecx, [esp + 0x1cc]
call fcn.005782b0
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 0x54972b
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.0052daf0
add esp, 0xc
test eax, eax
jne 0x549691
cmp dword [esp + 0x20], 2
je 0x5495ac
mov ecx, dword [0x686bbc]
push ebx
add ecx, esi
call fcn.00583b20
add edi, 3
add esi, 0x30
push 0x3e8
lea edx, [esp + 0x14c]
push edx
lea ecx, [esp + 0x230]
call fcn.0051de80
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.0051dde0
push eax
lea ecx, [esp + 0x84]
call fcn.00580310
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.0051de80
push eax
call fcn.005473a0
add esp, 0xc
test eax, eax
je 0x549836
mov ecx, dword [0x686bbc]
lea edx, [esp + 0x10]
add ecx, esi
push edx
inc edi
add esi, 0x10
call fcn.00583a80
cmp dword [esp + 0x40], 0
jne 0x549836
mov eax, dword [0x686bbc]
lea edx, [esp + 0x18]
lea ecx, [esi + eax]
push edx
inc edi
add esi, 0x10
call fcn.00583a80
jmp 0x549836
cmp eax, 1
jne 0x5496a9
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.0051f2f0
lea ecx, [esp + 0x10]
push ecx
jmp 0x5496fb
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0052b0e0
fstp qword [esp + 0x34]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0052b0e0
fcomp qword [esp + 0x3c]
add esp, 0x10
mov ecx, ebx
fnstsw ax
test ah, 0x41
jne 0x5496ec
lea eax, [esp + 0x10]
push eax
call fcn.0051f2f0
lea ecx, [esp + 0x10]
push ecx
jmp 0x5496fb
lea edx, [esp + 0x18]
push edx
call fcn.0051f2f0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x1cc]
call fcn.0051f1c0
cmp dword [esp + 0x20], 2
je 0x54983d
mov ecx, dword [0x686bbc]
push ebx
add ecx, esi
call fcn.00583b20
add edi, 3
add esi, 0x30
jmp 0x549836
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1d0]
call fcn.0051f980
test eax, eax
jne 0x5497db
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.0051dde0
push eax
lea ecx, [esp + 0x100]
call fcn.00580310
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x60]
mov ebx, eax
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.005473a0
add esp, 0xc
inc edi
test eax, eax
je 0x5497c4
mov ecx, dword [0x686bbc]
lea edx, [esp + 0x10]
add ecx, esi
push edx
add esi, 0x10
call fcn.00583a80
test ebx, ebx
jne 0x54982e
mov eax, dword [0x686bbc]
lea edx, [esp + 0x18]
lea ecx, [esi + eax]
push edx
inc edi
add esi, 0x10
call fcn.00583a80
jmp 0x54982e
mov eax, dword [0x686bbc]
lea edx, [esp + 0x5c]
lea ecx, [esi + eax]
push edx
add esi, 0x10
call fcn.00583a80
jmp 0x54982e
cmp eax, 1
jne 0x5497e6
lea eax, [esp + 0x10]
jmp 0x549821
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0052b0e0
fstp qword [esp + 0x34]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0052b0e0
fcomp qword [esp + 0x3c]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x54981d
lea edx, [esp + 0x10]
push edx
jmp 0x549822
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x1cc]
call fcn.0051f1c0
mov dword [esp + 0x38], 1
cmp dword [esp + 0x20], 2
jne 0x549845
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.005782b0
lea edx, [esp + 0x254]
push edx
lea ecx, [esp + 0x22c]
call fcn.005782b0
push fcn.00573da0
push 2
push 0x2c
lea eax, [esp + 0x2b8]
push eax
mov byte [esp + 0x3e8], 0xb
call fcn.005fba44
mov ebx, dword [esp + 0x9c]
lea ecx, [esp + 0x304]
call fcn.00572760
mov ecx, dword [esp + 0x310]
cmp ecx, dword [esp + 0x314]
jbe 0x548f50
cmp dword [esp + 0x94], 0
je 0x549ba9
test edi, edi
jne 0x5498e0
cmp dword [esp + 0x38], edi
je 0x549b89
cmp dword [esp + 0x3c], 6
jne 0x549b89
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 0x549abb
lea edx, [esp + 0x1f8]
push edx
lea eax, [esp + 0x1a4]
push eax
call fcn.0052daf0
add esp, 0xc
test eax, eax
jne 0x549a19
lea ecx, [esp + 0x19c]
push ecx
mov ecx, edi
shl ecx, 4
add ecx, dword [0x686bbc]
call fcn.00583b20
push 0x3e8
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x230]
add edi, 3
call fcn.0051de80
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.0051dde0
push eax
lea ecx, [esp + 0x84]
call fcn.00580310
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.0051de80
push eax
call fcn.005473a0
add esp, 0xc
test eax, eax
je 0x549b89
mov ecx, edi
shl ecx, 4
add ecx, dword [0x686bbc]
inc edi
lea eax, [esp + 0x10]
push eax
call fcn.00583a80
test esi, esi
jne 0x549b89
mov ecx, edi
shl ecx, 4
add ecx, dword [0x686bbc]
lea edx, [esp + 0x18]
push edx
inc edi
call fcn.00583a80
jmp 0x549b89
cmp eax, 1
jne 0x549a31
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1a0]
call fcn.0051f2f0
jmp 0x549a9b
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0052b0e0
fstp qword [esp + 0x34]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0052b0e0
fcomp qword [esp + 0x3c]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x549a79
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x1a0]
call fcn.0051f2f0
lea eax, [esp + 0x10]
push eax
jmp 0x549a8f
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x1a0]
call fcn.0051f2f0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x1f8]
call fcn.0051f1c0
mov ecx, edi
shl ecx, 4
add ecx, dword [0x686bbc]
lea eax, [esp + 0x19c]
push eax
call fcn.00583b20
add edi, 3
jmp 0x549b89
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x1fc]
call fcn.0051f980
test eax, eax
jne 0x549b36
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.0051dde0
push eax
lea ecx, [esp + 0x100]
call fcn.00580310
mov esi, eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.005473a0
mov ecx, edi
shl ecx, 4
add ecx, dword [0x686bbc]
add esp, 0xc
inc edi
test eax, eax
jne 0x5499ec
lea eax, [esp + 0x5c]
push eax
call fcn.00583a80
jmp 0x549b89
cmp eax, 1
jne 0x549b41
lea ecx, [esp + 0x10]
jmp 0x549b7c
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0052b0e0
fstp qword [esp + 0x34]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0052b0e0
fcomp qword [esp + 0x3c]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x549b78
lea eax, [esp + 0x10]
push eax
jmp 0x549b7d
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x1f8]
call fcn.0051f1c0
mov ecx, edi
shl ecx, 4
add ecx, dword [0x686bbc]
lea edx, [esp + 0x1f4]
push edx
call fcn.00583b20
add edi, 3
jmp 0x549ded
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.0057ff60
cmp dword [esp + 0x38], 0
je 0x549d3b
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.0051f980
test eax, eax
jne 0x549cd4
mov ecx, edi
shl ecx, 4
add ecx, dword [0x686bbc]
push esi
call fcn.00583b20
push 0x3e8
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x230]
add edi, 3
call fcn.0051de80
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.00580310
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.0051de80
push eax
call fcn.005473a0
mov ecx, edi
shl ecx, 4
add ecx, dword [0x686bbc]
add esp, 0xc
inc edi
test eax, eax
je 0x549cca
lea eax, [esp + 0x10]
push eax
call fcn.00583a80
cmp dword [esp + 0x40], 0
jne 0x549ddf
lea edx, [esp + 0x18]
push edx
jmp 0x549dce
lea eax, [esp + 0x68]
push eax
jmp 0x549dda
cmp eax, 1
jne 0x549cdf
lea ecx, [esp + 0x10]
jmp 0x549d1a
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0052b0e0
fstp qword [esp + 0x34]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0052b0e0
fcomp qword [esp + 0x3c]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x549d16
lea eax, [esp + 0x10]
push eax
jmp 0x549d1b
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0051f2f0
mov ecx, edi
shl ecx, 4
add ecx, dword [0x686bbc]
push esi
call fcn.00583b20
add edi, 3
jmp 0x549ddf
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0052d6c0
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.00580310
mov esi, eax
test ebx, ebx
jne 0x549daf
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.005473a0
add esp, 0xc
test eax, eax
jne 0x549daf
mov ecx, edi
shl ecx, 4
add ecx, dword [0x686bbc]
lea edx, [esp + 0x5c]
push edx
inc edi
call fcn.00583a80
lea eax, [esp + 0x68]
jmp 0x549dcd
mov ecx, edi
shl ecx, 4
add ecx, dword [0x686bbc]
lea edx, [esp + 0x10]
push edx
inc edi
call fcn.00583a80
test esi, esi
jne 0x549ddf
lea eax, [esp + 0x18]
push eax
mov ecx, edi
shl ecx, 4
inc edi
add ecx, dword [0x686bbc]
call fcn.00583a80
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x54]
call fcn.00521330
cmp edi, 3
mov dword [0x686bcc], edi
jle 0x549fc2
lea ecx, [esp + 0x170]
call fcn.0051b930
mov edx, dword [0x686bcc]
mov ecx, dword [0x686bbc]
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 0x549fae
xor esi, esi
mov ecx, dword [0x686bbc]
add ecx, esi
test byte [ecx + 2], 1
je 0x549f98
lea edx, [esp + 0x170]
push edx
call fcn.00583c90
mov ax, word [esp + 0x190]
test al, 2
jne 0x549e73
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x549f78
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.00524de0
add esp, 8
test eax, eax
je 0x549eb1
mov eax, dword [0x686bcc]
sub eax, edi
sub eax, 3
shl eax, 4
push eax
jmp 0x549f15
lea eax, [edi + 3]
cmp eax, dword [0x686bcc]
jne 0x549ebe
xor eax, eax
mov ecx, dword [0x686bbc]
mov edx, eax
shl edx, 4
test byte [edx + ecx + 2], 1
je 0x549ed1
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.00524de0
add esp, 8
test eax, eax
je 0x549f34
mov edx, dword [0x686bcc]
sub edx, edi
sub edx, 3
shl edx, 4
push edx
mov eax, dword [0x686bbc]
lea ecx, [esi + eax + 0x30]
push ecx
lea edx, [esi + eax]
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
sub dword [0x686bcc], 3
jmp 0x549f7e
mov ecx, dword [0x686bbc]
lea eax, [esp + 0x174]
push eax
add ecx, esi
call fcn.00583a80
mov edx, dword [0x686bcc]
mov eax, dword [0x686bbc]
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 [0x686bcc], 2
jmp 0x549f7e
add edi, 3
add esi, 0x30
mov eax, dword [esp + 0x180]
mov ebx, dword [esp + 0x17c]
mov edx, dword [0x686bcc]
mov dword [esp + 0x30], eax
jmp 0x549fa6
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
inc edi
mov dword [esp + 0x30], ecx
add esi, 0x10
cmp edi, edx
jl 0x549e3a
lea ecx, [esp + 0x170]
mov byte [esp + 0x3d8], 0xb
call fcn.0051c420
mov edx, dword [0x686bcc]
mov eax, dword [0x686bbc]
push edx
push eax
lea ecx, [esp + 0xb8]
call fcn.005cbb80
push 3
lea ecx, [esp + 0xb4]
mov byte [esp + 0x3dc], 0x13
call fcn.00558550
lea ecx, [esp + 0xb0]
call fcn.00555520
mov esi, eax
mov eax, dword [0x686bcc]
cmp eax, esi
jle 0x54a07a
lea ecx, [esp + 0x12c]
push ecx
lea ecx, [esp + 0xb4]
call fcn.0055a820
mov edx, dword [0x686bcc]
dec edx
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xb8]
call fcn.005578e0
mov ecx, dword [eax]
mov edx, dword [esp + 0x12c]
mov eax, dword [eax + 4]
cmp ecx, edx
mov ecx, dword [esp + 0x130]
jne 0x54a050
cmp eax, ecx
je 0x54a073
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.00583a80
lea eax, [esi + 1]
jmp 0x54a075
mov eax, esi
mov dword [0x686bcc], eax
lea esi, [eax*4]
test esi, esi
jne 0x54a0db
lea ecx, [esp + 0xb0]
mov byte [esp + 0x3d8], 0xb
call fcn.005cbbb0
lea ecx, [esp + 0x78]
mov byte [esp + 0x3d8], 0xa
call fcn.0057e100
push fcn.00573da0
push 3
push 0x2c
lea edx, [esp + 0x1a8]
push edx
mov byte [esp + 0x3e8], 9
call fcn.005fba44
push fcn.00520f30
push 2
push 0x14
lea eax, [esp + 0x5c]
push eax
jmp 0x54a35f
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 0x54a118
push fcn.005cbc90
push esi
push 0x10
push edi
call fcn.00434fa0
jmp 0x54a11a
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.005cbbd0
lea esi, [eax + eax]
mov dword [esp + 0x2c], eax
test esi, esi
jne 0x54a1a2
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.005cbbb0
lea ecx, [esp + 0x78]
mov byte [esp + 0x3d8], 0xa
call fcn.0057e100
push fcn.00573da0
push 3
push 0x2c
lea ecx, [esp + 0x1a8]
push ecx
mov byte [esp + 0x3e8], 9
call fcn.005fba44
push fcn.00520f30
push 2
push 0x14
lea edx, [esp + 0x5c]
push edx
jmp 0x54a35f
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 0x54a1f6
push fcn.005cb010
push 0x5cafe0
push esi
lea ebx, [eax + 4]
push 0x34
push ebx
mov dword [eax], esi
call fcn.005fbaa7
jmp 0x54a1f8
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.005cb390
add esp, 0x10
lea ecx, [esp + 0xa4]
call fcn.00517a80
lea eax, [esp + 0xa4]
push eax
push esi
push ebx
mov byte [esp + 0x3e4], 0x16
call fcn.005cb1e0
fldz
xor esi, esi
fstp qword [esp + 0x38]
add esp, 0xc
cmp dword [esp + 0xa4], esi
mov dword [esp + 0x3c], esi
jle 0x54a2cf
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 0x54a289
mov ecx, dword [eax + esi*4]
fstp qword [esp + 0x2c]
mov dword [esp + 0x3c], ecx
jmp 0x54a28b
fstp st(0)
inc esi
cmp esi, dword [esp + 0xa4]
jl 0x54a260
cmp dword [esp + 0x3c], 0
je 0x54a2cf
mov esi, dword [esp + 0x3c]
mov ecx, esi
call fcn.00555520
mov edx, dword [0x686bbc]
mov dword [0x686bcc], 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.00517ad0
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
test ebx, ebx
je 0x54a2fa
cmp dword [ebx - 4], 0
lea eax, [ebx - 4]
je 0x54a2f1
mov eax, dword [ebx]
mov edx, dword [eax]
push 3
mov ecx, ebx
call edx
jmp 0x54a2fa
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.00405850
lea ecx, [esp + 0xb0]
mov byte [esp + 0x3d8], 0xb
call fcn.005cbbb0
lea ecx, [esp + 0x78]
mov byte [esp + 0x3d8], 0xa
call fcn.0057e100
push fcn.00573da0
push 3
push 0x2c
lea eax, [esp + 0x1a8]
push eax
mov byte [esp + 0x3e8], 9
call fcn.005fba44
push fcn.00520f30
push 2
push 0x14
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x3e8], 8
call fcn.005fba44
lea ecx, [esp + 0x254]
mov byte [esp + 0x3d8], 7
call fcn.00573da0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x3d8], 6
call fcn.0057e100
lea ecx, [esp + 0x228]
mov byte [esp + 0x3d8], 5
call fcn.00573da0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x3d8], 4
call fcn.0057e100
lea ecx, [esp + 0x280]
mov byte [esp + 0x3d8], 3
call fcn.00573da0
lea ecx, [esp + 0x110]
mov byte [esp + 0x3d8], 2
call fcn.0057e100
lea ecx, [esp + 0x304]
mov byte [esp + 0x3d8], 1
call fcn.005726a0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x3d8], 0
call fcn.00558210
lea ecx, [esp + 0x134]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.005cbbb0
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.005fb9ce
mov esp, ebp
pop ebp
ret 4