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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x33
push 0
push 0
dec ecx
jne 0x57f279
xchg dword [ebp - 4], ecx
push ebx
mov byte [ebp - 0xd], cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x90]
mov edx, dword [0x485294]
call fcn.004078ec
xor eax, eax
push ebp
push 0x5804d3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.0040662c
push 0
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x427754]
call fcn.004084e0
add esp, 4
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00578fa0
mov dl, 4
mov eax, dword [ebp - 8]
call fcn.00578fa0
cmp dword [ebp - 0xc], 0
je 0x58038c
mov eax, dword [0x5eba94]
cmp byte [eax], 0
jne 0x58038c
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x120]
test al, al
jne 0x58038c
cmp byte [ebp - 0xd], 1
jne 0x57f403
mov eax, dword [ebp - 0xc]
cmp byte [eax + 8], 0
jne 0x57f3e6
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x64]
cmp dword [ebp - 0x94], 0
je 0x57f3e6
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x110], 0
jne 0x57f3e6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x7c]
sub eax, 1
je 0x57f364
add eax, 0xfffffffe
sub eax, 3
jae 0x57f3e6
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x17c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x18]
cmp byte [eax + 4], 3
jne 0x57f3e6
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
cmp dword [eax + 0xb4], 0
je 0x57f3e6
push 1
push 5
lea eax, [ebp - 0x90]
mov edx, dword [0x485294]
call fcn.004079c4
mov edx, eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 4]
mov eax, dword [ebp - 8]
call fcn.00579720
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 8]
call fcn.0057e000
test al, al
je 0x57f3e6
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 8]
add eax, 0x2a8
call fcn.00406a8c
jmp 0x58038c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x7c]
sub eax, 6
jne 0x57f403
mov cl, 4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0057ef30
jmp 0x58038c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x7c]
sub eax, 1
je 0x57f41a
add eax, 0xfffffffe
sub eax, 3
jae 0x57f8da
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x110], 0
jne 0x57f8da
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x7c]
sub eax, 1
je 0x57f443
sub eax, 2
je 0x57f443
sub eax, 2
je 0x57f443
xor eax, eax
jmp 0x57f445
mov al, 1
mov byte [ebp - 0x3d], al
cmp byte [ebp - 0xd], 7
jne 0x57f571
mov eax, dword [ebp - 8]
push eax
push 0x5765f0
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 3
push 0
lea edx, [ebp - 0x9c]
mov eax, dword [0x5ebd74]
mov eax, dword [eax]
call fcn.0044cfe0
mov eax, dword [ebp - 0x9c]
push eax
push 0
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0xb4]
mov eax, dword [0x5ec468]
mov eax, dword [eax]
call fcn.0044cfe0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0x11
lea edx, [ebp - 0xb8]
mov eax, dword [0x5ec468]
mov eax, dword [eax]
call fcn.0044cfe0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0xa4], 0x11
lea edx, [ebp - 0xb0]
mov eax, dword [0x5ebf14]
mov eax, dword [eax]
mov ecx, 1
call fcn.0044d060
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [0x5ebb28]
mov eax, dword [eax]
call fcn.00578ff0
mov edx, dword [ebp + 8]
mov edx, dword [edx]
call fcn.0058a880
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x2bc], edx
mov eax, dword [0x5ebb64]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov dword [edx + 0x2b8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x17c]
xor edx, edx
mov dword [eax + 0x78], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
push 0
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x17c]
mov eax, dword [eax + 8]
xor ecx, ecx
call fcn.004d1080
test al, al
je 0x58038c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x7c]
mov edx, dword [ebp - 8]
mov dword [edx + 0x2b4], eax
jmp 0x58038c
cmp byte [ebp - 0xd], 5
sete al
and al, byte [ebp - 0x3d]
je 0x57f5c5
push 0
lea edx, [ebp - 0xbc]
mov eax, dword [0x5ebb08]
mov eax, dword [eax]
call fcn.0044cfe0
mov eax, dword [ebp - 0xbc]
push eax
lea edx, [ebp - 0xc0]
mov eax, dword [0x5eb9c0]
mov eax, dword [eax]
call fcn.0044cfe0
mov edx, dword [ebp - 0xc0]
mov eax, 0x5804f0
pop ecx
call fcn.0048d160
call fcn.00464690
jmp 0x58038c
cmp byte [ebp - 0xd], 4
jne 0x57f730
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x80], 1
jne 0x57f5e8
mov eax, dword [ebp - 0xc]
call fcn.004de270
jmp 0x58038c
mov eax, dword [ebp - 0xc]
call fcn.005b3bf0
test al, al
je 0x57f620
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00576810
test al, al
jne 0x58038c
jmp 0x57f892
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x7c]
sub eax, 5
jne 0x57f723
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.005b50e0
lea edx, [ebp - 0xc8]
mov eax, dword [0x5ec540]
mov eax, dword [eax]
call fcn.0044cfe0
mov eax, dword [ebp - 0xc8]
push eax
lea edx, [ebp - 0xcc]
mov eax, dword [0x5ec4c4]
mov eax, dword [eax]
call fcn.0044cfe0
mov eax, dword [ebp - 0xcc]
push eax
lea edx, [ebp - 0xd0]
mov eax, dword [0x5ebd74]
mov eax, dword [eax]
call fcn.0044cfe0
mov eax, dword [ebp - 0xd0]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xdc], eax
mov byte [ebp - 0xd8], 0x11
lea edx, [ebp - 0xdc]
mov eax, dword [0x5ebfb4]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044d060
mov eax, dword [ebp - 0xd4]
push eax
lea edx, [ebp - 0xe0]
mov eax, dword [0x5eb8ec]
mov eax, dword [eax]
call fcn.0044cfe0
mov edx, dword [ebp - 0xe0]
mov eax, 0x580538
pop ecx
call fcn.0048d7c0
call fcn.00464690
sub al, 2
je 0x57f6f2
sub al, 2
je 0x57f713
jmp 0x58038c
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 8]
call fcn.004604a0
jmp 0x58038c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0057efc0
jmp 0x58038c
mov eax, dword [ebp - 0xc]
call fcn.004de270
jmp 0x58038c
cmp byte [ebp - 0xd], 3
jne 0x57f789
push 0
lea edx, [ebp - 0xe8]
mov eax, dword [0x5ec410]
mov eax, dword [eax]
call fcn.0044cfe0
mov eax, dword [ebp - 0xe8]
push eax
lea edx, [ebp - 0xec]
mov eax, dword [0x5eb9c0]
mov eax, dword [eax]
call fcn.0044cfe0
mov edx, dword [ebp - 0xec]
mov eax, 0x580574
pop ecx
call fcn.0048d160
call fcn.00464690
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0057efc0
jmp 0x58038c
cmp byte [ebp - 0xd], 1
jne 0x57f82d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x7c]
sub eax, 5
jne 0x57f7e2
mov eax, dword [ebp - 0xc]
call fcn.005b5490
cmp al, 3
jne 0x57f7d0
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
call fcn.005d0fe0
test al, al
je 0x57f7d0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00576a20
jmp 0x58038c
mov cl, 4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0057ef30
jmp 0x58038c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x7c]
sub eax, 1
je 0x57f81b
sub eax, 2
je 0x57f81b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x17c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x18]
cmp byte [eax + 4], 3
jne 0x57f892
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
cmp dword [eax + 0xb4], 0
je 0x57f892
mov cl, 4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0057ef30
jmp 0x58038c
cmp byte [ebp - 0xd], 6
sete al
and al, byte [ebp - 0x3d]
je 0x57f892
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
jne 0x57f853
lea edx, [ebp - 0x1c]
mov eax, dword [0x5ec138]
mov eax, dword [eax]
call fcn.0044cfe0
jmp 0x57f861
lea eax, [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0xc]
call fcn.00406a38
push 0
lea edx, [ebp - 0xf0]
mov eax, dword [0x5eb99c]
mov eax, dword [eax]
call fcn.0044cfe0
mov edx, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x1c]
mov eax, 0x5805b0
call fcn.0048d160
call fcn.00464690
jmp 0x58038c
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 0xc]
call fcn.005b3e80
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
call fcn.004075b8
je 0x57f8da
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 0xc]
call fcn.005b3ef0
mov eax, dword [0x5ebe50]
cmp dword [eax], 0
je 0x57f8da
mov eax, dword [0x5ebe50]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.00544e00
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x5ebb28]
mov eax, dword [eax]
mov eax, dword [eax + 0x17c]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x14]
cmp byte [eax + 4], 3
jne 0x57f947
cmp dword [ebp - 0x38], 0
je 0x57f947
lea edx, [ebp - 0xfc]
mov eax, dword [0x5ebb28]
mov eax, dword [eax]
mov eax, dword [eax + 0x17c]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x44]
call fcn.00409d94
mov ecx, dword [ebp - 0xfc]
lea eax, [ebp - 0xf8]
mov edx, dword [ebp - 0x38]
call fcn.00407420
mov eax, dword [ebp - 0xf8]
lea edx, [ebp - 0x14]
call fcn.00575450
mov edx, dword [0x5ec034]
mov eax, dword [ebp - 0xc]
add eax, 4
call fcn.0047a3f0
test al, al
je 0x57f9c5
mov eax, dword [0x5ebb28]
mov eax, dword [eax]
mov eax, dword [eax + 0x17c]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x14]
cmp byte [eax + 4], 3
jne 0x57f99b
lea edx, [ebp - 0x100]
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
call fcn.005ccca0
mov ecx, dword [ebp - 0x100]
mov dl, 1
mov eax, dword [0x4ce5f8]
call fcn.004cf990
jmp 0x57f9c5
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
call fcn.005d1620
test al, al
je 0x57f9b7
mov eax, dword [ebp - 8]
mov byte [eax + 0x2c8], 1
jmp 0x57f9c5
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4ce5f8]
call fcn.004cf990
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
cmp dword [ebp - 0x2c], 0
je 0x57fa2e
lea edx, [ebp - 0x104]
mov eax, dword [ebp - 0xc]
call fcn.005b2fe0
cmp dword [ebp - 0x104], 0
je 0x57fa2e
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 0xc]
call fcn.005b2fe0
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.00409d94
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
mov edx, dword [ebp - 0x2c]
call fcn.00407420
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x14]
call fcn.00575450
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x110], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xd4]
test al, al
je 0x57fa6d
lea ecx, [ebp - 0x114]
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.00486ad0
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.005787a0
jmp 0x58038c
xor eax, eax
push ebp
push 0x580385
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004de200
lea eax, [ebp - 0x4c]
call fcn.0040662c
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x11c], 1
jne 0x57faf7
mov eax, dword [ebp - 8]
push eax
push 0x578e70
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 4
push 0
lea edx, [ebp - 0x118]
mov eax, dword [0x5ebb10]
mov eax, dword [eax]
call fcn.0044cfe0
mov eax, dword [ebp - 0x118]
push eax
push 2
lea edx, [ebp - 0x11c]
mov eax, dword [0x5ec338]
mov eax, dword [eax]
call fcn.0044cfe0
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [0x5ebb28]
mov eax, dword [eax]
call fcn.00578ff0
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x14]
call fcn.00575450
lea ecx, [ebp - 0x44]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
call fcn.005b15b0
cmp dword [ebp - 0x44], 0
je 0x57fb32
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x44]
call fcn.00575450
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x88]
test al, al
je 0x57fbbf
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
call fcn.005cba20
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x57fbbf
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea eax, [ebp - 0x124]
push eax
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0x48]
call fcn.0041d1ac
mov edx, dword [ebp - 0x128]
pop eax
call fcn.004073c8
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x14]
call fcn.00575450
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
call fcn.005cb9a0
cmp dword [ebp - 0x30], 0
je 0x57fbbf
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x30]
call fcn.00575450
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x57fc46
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 0xc]
add eax, 4
call fcn.0047a360
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x12c]
mov edx, 0x5805f0
call fcn.00407420
mov eax, dword [ebp - 0x12c]
lea edx, [ebp - 0x14]
call fcn.00575450
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
mov eax, dword [0x5ebe50]
mov eax, dword [eax]
call fcn.00557590
mov eax, dword [eax + 0x68]
movzx eax, byte [eax + 0xae]
mov edx, dword [0x5ebc2c]
mov ecx, dword [edx + eax*4]
lea eax, [ebp - 0x134]
mov edx, 0x580614
call fcn.00407420
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x14]
call fcn.00575450
mov eax, dword [ebp - 0xc]
mov edx, dword [0x5adcfc]
call fcn.004051f0
test al, al
je 0x57fdbd
mov eax, dword [ebp - 0xc]
mov edx, dword [0x5adcfc]
call fcn.00405214
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
call fcn.005c2000
test eax, eax
jle 0x57fc97
push 0
mov eax, dword [0x5ec0b4]
mov eax, dword [eax]
mov edx, dword [eax + 0x94]
mov ecx, 0x580630
mov eax, 0x58069c
call fcn.0048d160
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 0x3c]
call fcn.005c1ba0
push dword [ebp - 0x13c]
push 0x5806c8
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x3c]
call fcn.005c1f00
push dword [ebp - 0x140]
push 0x5806c8
lea eax, [ebp - 0x138]
mov edx, 4
call fcn.004074a8
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x14]
call fcn.00575450
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0x3c]
call fcn.005c1b00
push dword [ebp - 0x148]
push 0x5806c8
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 0x3c]
call fcn.005c1c40
push dword [ebp - 0x14c]
push 0x5806c8
lea eax, [ebp - 0x144]
mov edx, 4
call fcn.004074a8
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x14]
call fcn.00575450
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x57fd5f
mov eax, dword [0x5eba70]
mov eax, dword [eax]
mov ecx, 0x58069c
mov edx, 0x5806d8
call fcn.0043f530
call fcn.00405e18
jmp 0x58038c
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 0x3c]
call fcn.005c1e60
lea eax, [ebp - 0x150]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
call fcn.004073c8
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14]
call fcn.00575450
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 0x3c]
call fcn.005c1da0
lea eax, [ebp - 0x154]
mov edx, dword [ebp + 8]
mov edx, dword [edx]
call fcn.004073c8
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x14]
call fcn.00575450
jmp 0x57fe7a
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x28]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x57fe7a
cmp dword [ebp - 0x28], 0
je 0x57fe1f
push ebp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.0057f210
pop ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 0x28]
call fcn.00407420
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x14]
call fcn.00575450
jmp 0x57fe7a
cmp dword [ebp - 0x20], 0
je 0x57fe7a
cmp dword [ebp - 0x24], 0
je 0x57fe7a
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
lea eax, [ebp - 0x15c]
mov edx, dword [ebp - 0x20]
call fcn.00407420
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x14]
call fcn.00575450
push ebp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.0057f210
pop ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
lea eax, [ebp - 0x160]
mov edx, dword [ebp - 0x24]
call fcn.00407420
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x14]
call fcn.00575450
lea eax, [ebp - 0x34]
call fcn.0040662c
lea edx, [ebp - 0x164]
mov eax, dword [ebp - 0x4c]
call fcn.0042bf80
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x54]
call fcn.00427ed0
mov eax, dword [ebp - 0x54]
mov edx, 0x580738
call fcn.004075b8
je 0x57fef3
mov eax, dword [ebp - 0x54]
mov edx, 0x580750
call fcn.004075b8
je 0x57fef3
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x4c]
call fcn.00406a38
lea ecx, [ebp - 0x168]
mov edx, 0x580738
mov eax, dword [ebp - 0x4c]
call fcn.0042bee0
mov edx, dword [ebp - 0x168]
lea eax, [ebp - 0x4c]
call fcn.00406a38
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
call fcn.00428050
mov eax, dword [0x5eba94]
mov byte [eax], 1
xor eax, eax
push ebp
push 0x580342
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00406a38
mov eax, dword [ebp - 4]
call fcn.00408334
test eax, eax
jl 0x57ff60
inc eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x16c]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [eax + edx*4]
mov ecx, 0x580768
mov eax, dword [ebp - 0x1c]
call fcn.0042a580
mov edx, dword [ebp - 0x16c]
lea eax, [ebp - 0x1c]
call fcn.00406a38
inc dword [ebp - 0x18]
dec dword [ebp - 0x64]
jne 0x57ff2b
push 0x580778
push dword [ebp - 0x4c]
push 0x5807a4
push dword [ebp - 0x1c]
lea eax, [ebp - 0x170]
mov edx, 4
call fcn.004074a8
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5eba70]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043fa80
cmp dword [ebp - 0xc], 0
je 0x57fff9
mov dl, 5
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x12c]
test al, al
je 0x57fff9
lea eax, [ebp - 0x174]
push eax
mov eax, dword [0x5ebba8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.0052bc40
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0x14]
call fcn.00406a38
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x14]
mov edx, 0x5807b4
call fcn.00407420
mov edx, dword [ebp - 0x178]
mov eax, dword [0x5eba70]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043f4b0
xor eax, eax
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x10c]
test al, al
je 0x580037
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe4]
call fcn.00529e30
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x580037
mov eax, dword [ebp - 0x60]
call fcn.005204b0
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
call fcn.005cc150
test al, al
jne 0x580058
mov eax, dword [0x5ebca4]
mov eax, dword [eax]
cmp byte [eax + 0x16], 0
je 0x58015e
mov eax, dword [ebp - 0xc]
call fcn.005b45d0
test al, al
jne 0x58015e
call fcn.00440120
test al, al
je 0x580092
call fcn.00440290
test al, al
jne 0x580092
mov eax, dword [ebp - 0xc]
call fcn.005b4790
test al, al
jne 0x5800d2
mov eax, dword [ebp - 0x4c]
call fcn.0042a3b0
test al, al
je 0x5800d2
push 1
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 0xc]
add eax, 4
call fcn.005759d0
mov eax, dword [ebp - 0x17c]
push eax
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x180]
mov eax, dword [ebp - 0x4c]
call fcn.0042bde0
mov ecx, dword [ebp - 0x180]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x4c]
call fcn.00575540
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x58], 0
jne 0x58015e
call fcn.00440120
test al, al
je 0x58015e
call fcn.00440330
test al, al
je 0x58015e
call fcn.00440290
test al, al
jne 0x58015e
lea edx, [ebp - 0x184]
mov eax, dword [ebp - 0x4c]
call fcn.0042bde0
mov eax, dword [ebp - 0x184]
push eax
push 1
lea eax, [ebp - 0x58]
push eax
push 0x5807d8
lea edx, [ebp - 0x18c]
mov eax, dword [ebp - 0x4c]
call fcn.005c6020
push dword [ebp - 0x18c]
push 0x5807a4
push dword [ebp - 0x14]
lea eax, [ebp - 0x188]
mov edx, 4
call fcn.004074a8
mov ecx, dword [ebp - 0x188]
mov edx, dword [0x5eb980]
mov edx, dword [edx]
mov eax, 0x580804
call fcn.00440dc0
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x58], 0
jne 0x5801df
call fcn.00440120
test al, al
je 0x5801a6
call fcn.00440330
test al, al
je 0x5801a6
call fcn.00440290
test al, al
jne 0x5801a6
mov eax, dword [ebp - 0x4c]
call fcn.0042a3b0
test al, al
je 0x580197
mov eax, dword [ebp - 0xc]
call fcn.005b4790
test al, al
je 0x5801a6
lea eax, [ebp - 0x50]
mov edx, 0x580804
call fcn.00406a38
jmp 0x5801b3
lea eax, [ebp - 0x50]
mov edx, 0x58081c
call fcn.00406a38
lea edx, [ebp - 0x190]
mov eax, dword [ebp - 0x4c]
call fcn.0042bde0
mov eax, dword [ebp - 0x190]
push eax
push 1
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
call fcn.00440dc0
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x580290
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0xb4]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00441040
mov ecx, eax
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
pop eax
call fcn.005619e0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0xb4]
call fcn.005621c0
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x111], 0
jne 0x58027d
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
jne 0x58027d
mov eax, dword [ebp - 0xc]
mov edx, dword [0x5adcfc]
call fcn.004051f0
test al, al
je 0x580273
mov eax, dword [0x5ec0b4]
mov eax, dword [eax]
call fcn.0045c010
mov eax, dword [ebp - 0xc]
call fcn.005c2280
cmp al, 9
je 0x580273
call fcn.00405e18
call fcn.00405e18
jmp 0x58038c
mov eax, dword [ebp - 8]
mov byte [eax + 0x264], 1
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
mov eax, dword [ebp - 8]
call fcn.0057bc60
jmp 0x58031b
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x5c]
mov edx, 0x580834
mov eax, dword [ebp - 8]
call fcn.0057a550
push 0x58086c
mov eax, dword [ebp - 0x5c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x198]
call fcn.0041d1d4
push dword [ebp - 0x198]
push 0x5808b0
push dword [ebp - 0x4c]
lea eax, [ebp - 0x194]
mov edx, 4
call fcn.004074a8
mov edx, dword [ebp - 0x194]
mov eax, dword [0x5eba70]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043f530
push 0
mov eax, dword [ebp - 0x5c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x19c]
call fcn.0041d1d4
mov eax, dword [ebp - 0x19c]
push eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 4]
mov edx, 9
mov eax, dword [ebp - 8]
call fcn.00560320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x580349
cmp dword [ebp - 0x34], 0
je 0x580339
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x4c]
call fcn.00428050
mov eax, dword [0x5eba94]
mov byte [eax], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5804dd
lea eax, [ebp - 0x19c]
mov edx, 8
call fcn.0040668c
lea eax, [ebp - 0x17c]
mov edx, dword [0x427754]
call fcn.004084ec
lea eax, [ebp - 0x178]
mov edx, 4
call fcn.0040668c
lea eax, [ebp - 0x168]
call fcn.0040662c
lea eax, [ebp - 0x164]
mov edx, 0x14
call fcn.0040668c
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.004066bc
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.0040668c
lea eax, [ebp - 0x104]
call fcn.00406650
lea eax, [ebp - 0x100]
mov edx, 7
call fcn.0040668c
lea eax, [ebp - 0xe4]
call fcn.00406650
lea eax, [ebp - 0xe0]
call fcn.0040662c
lea eax, [ebp - 0xd4]
mov edx, 4
call fcn.0040668c
lea eax, [ebp - 0xc4]
call fcn.00406650
lea eax, [ebp - 0xc0]
mov edx, 4
call fcn.0040668c
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.0040668c
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.004066bc
lea eax, [ebp - 0x90]
mov edx, dword [0x485294]
call fcn.004079c4
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.0040668c
lea eax, [ebp - 0x4c]
call fcn.0040662c
lea eax, [ebp - 0x44]
call fcn.0040662c
lea eax, [ebp - 0x38]
mov edx, 8
call fcn.0040668c
lea eax, [ebp - 0x14]
call fcn.0040662c
lea eax, [ebp - 4]
mov edx, dword [0x427754]
call fcn.004084ec
ret