Function at 0x579fcc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x25
push 0
push 0
dec ecx
jne 0x579fd4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x57b0af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x2c]
mov ecx, 6
mov edx, 1
call fcn.00405180
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x34]
test esi, esi
je 0x57a208
mov eax, dword [esi + 0x30]
cmp byte [eax + 0x57], 0
je 0x57b01e
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x57a1bb
mov eax, dword [ebp - 0x10]
mov edx, 0x57b0c8
call fcn.0040506c
je 0x57a086
mov eax, dword [ebp - 0x10]
mov edx, 0x57b0d8
call fcn.0040506c
jne 0x57a109
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x34]
mov eax, esi
mov edx, 0x57b0e8
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 0x34]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x57b01e
test ebx, ebx
jl 0x57a22c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x54], 0
je 0x57a22c
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax]
mov ecx, 0x7fffffff
mov edx, 2
call fcn.00405180
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, 0x57b0fc
pop ecx
call fcn.00404f74
jmp 0x57a22c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x18]
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x57b108
call fcn.00404f74
mov edx, dword [ebp - 0x38]
mov eax, ebx
call fcn.004cf118
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
add eax, 0x2c
call fcn.00404cb4
mov eax, dword [ebp - 0x10]
mov edx, 0x57b114
call fcn.0040506c
jne 0x57b01e
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
mov eax, ebx
mov edx, 0x57b124
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 0x34]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x57a22c
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x34]
mov eax, esi
mov edx, 0x57b138
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 0x34]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x57b01e
jmp 0x57a22c
test ebx, ebx
jl 0x57a22c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x54], 0
je 0x57a22c
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax]
mov ecx, 0x7fffffff
mov edx, 2
call fcn.00405180
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, 0x57b0fc
pop ecx
call fcn.00404f74
jmp 0x57a22c
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x44]
mov edx, 0x57b14c
call fcn.0040506c
jne 0x57b01e
lea eax, [ebp - 0x14]
call fcn.00404c60
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x18]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jne 0x57a26b
mov eax, ebx
call fcn.004d09b8
mov edx, 0x57b15c
mov eax, ebx
call fcn.004cf118
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
jmp 0x57a2a5
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov edx, 0x57b108
call fcn.00404f74
mov edx, dword [ebp - 0x48]
mov eax, ebx
call fcn.004cf118
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, ebx
call fcn.004d0874
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 0x57b108
call fcn.00404f74
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.004cf118
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x248]
cmp dword [ebp - 0x14], 0
jne 0x57a37b
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x20]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jne 0x57a329
mov eax, ebx
call fcn.004d09b8
mov edx, 0x57b15c
mov eax, ebx
call fcn.004cf118
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
jmp 0x57a330
mov eax, ebx
call fcn.004d0874
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, 0x57b108
call fcn.00404f74
mov edx, dword [ebp - 0x58]
mov eax, ebx
call fcn.004cf118
mov edx, dword [0x753794]
mov edx, dword [edx]
mov edx, dword [edx + 8]
mov edx, dword [edx + 8]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x248]
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x60]
mov edx, 0x57b16c
call fcn.0040506c
jne 0x57a3bb
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x2c], 0
jne 0x57a3bb
mov eax, dword [ebp - 0xc]
add eax, 0x40
call fcn.00404c60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp byte [eax + 0x6c], 0
je 0x57a8aa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0xc], 0x270f
je 0x57a648
mov al, byte [0x57b174]
push eax
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
call fcn.00405fb0
lea ecx, [ebp - 0x70]
mov edx, 0x57b180
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x240]
test al, al
je 0x57a530
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x48]
jge 0x57a524
mov eax, ebx
call fcn.004d0874
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x78]
push eax
mov edx, 0x57b180
mov eax, ebx
call fcn.004cf118
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
call fcn.0040a390
mov eax, dword [ebp - 0x7c]
push eax
mov edx, 0x57b190
mov eax, ebx
call fcn.004cf118
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x57b19c
mov eax, ebx
call fcn.004cf118
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x44]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x57b1ac
mov eax, ebx
call fcn.004cf118
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x40]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x57b1bc
mov eax, ebx
call fcn.004cf118
mov edx, dword [0x753794]
mov edx, dword [edx]
mov edx, dword [edx + 8]
mov edx, dword [edx + 4]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov edx, 0x57b1cc
mov eax, ebx
call fcn.004cf118
mov edx, dword [0x753794]
mov edx, dword [edx]
mov edx, dword [edx + 8]
mov edx, dword [edx + 8]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x248]
jmp 0x57a8aa
mov eax, ebx
call fcn.004d0bac
jmp 0x57a8aa
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x48]
jge 0x57a8aa
mov eax, ebx
call fcn.004d09b8
mov edx, 0x57b15c
mov eax, ebx
call fcn.004cf118
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
call fcn.0040a390
mov eax, dword [ebp - 0x80]
push eax
mov edx, 0x57b190
mov eax, ebx
call fcn.004cf118
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x57b19c
mov eax, ebx
call fcn.004cf118
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x44]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x57b1ac
mov eax, ebx
call fcn.004cf118
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x40]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x84]
push eax
mov edx, 0x57b180
mov eax, ebx
call fcn.004cf118
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x57b1bc
mov eax, ebx
call fcn.004cf118
mov edx, dword [0x753794]
mov edx, dword [edx]
mov edx, dword [edx + 8]
mov edx, dword [edx + 4]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov edx, 0x57b1cc
mov eax, ebx
call fcn.004cf118
mov edx, dword [0x753794]
mov edx, dword [edx]
mov edx, dword [edx + 8]
mov edx, dword [edx + 8]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x248]
jmp 0x57a8aa
mov eax, ebx
call fcn.004d0bac
mov al, byte [0x57b174]
push eax
lea ecx, [ebp - 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
call fcn.00405fb0
lea ecx, [ebp - 0x94]
mov edx, 0x57b180
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x240]
test al, al
jne 0x57a641
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x48]
je 0x57a8aa
mov dl, 1
mov eax, dword [0x41d654]
call fcn.00403d60
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x41d654]
call fcn.00403d60
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x57a8a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 0x20
mov eax, dword [ebp - 0x18]
call fcn.0042266c
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x18]
call fcn.004224dc
mov dl, 0x20
mov eax, dword [ebp - 0x1c]
call fcn.0042266c
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x1c]
call fcn.004224dc
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x57a885
inc esi
mov dword [ebp - 0x20], 0
mov eax, ebx
call fcn.004d09b8
mov edx, 0x57b15c
mov eax, ebx
call fcn.004cf118
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
call fcn.0040a390
mov eax, dword [ebp - 0x9c]
push eax
mov edx, 0x57b190
mov eax, ebx
call fcn.004cf118
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea ecx, [ebp - 0xa0]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xa0]
push eax
mov edx, 0x57b19c
mov eax, ebx
call fcn.004cf118
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x20]
jle 0x57a7cc
lea ecx, [ebp - 0xa4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xa4]
push eax
mov edx, 0x57b1ac
mov eax, ebx
call fcn.004cf118
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
jmp 0x57a7fd
mov edx, 0x57b1ac
mov eax, ebx
call fcn.004cf118
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
lea eax, [ebp - 0xa8]
mov ecx, 0x57b1dc
call fcn.00404f74
mov edx, dword [ebp - 0xa8]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea ecx, [ebp - 0xac]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xac]
push eax
mov edx, 0x57b180
mov eax, ebx
call fcn.004cf118
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x57b1bc
mov eax, ebx
call fcn.004cf118
mov edx, dword [0x753794]
mov edx, dword [edx]
mov edx, dword [edx + 8]
mov edx, dword [edx + 4]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov edx, 0x57b1cc
mov eax, ebx
call fcn.004cf118
mov edx, dword [0x753794]
mov edx, dword [edx]
mov edx, dword [edx + 8]
mov edx, dword [edx + 8]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x248]
inc dword [ebp - 0x20]
dec esi
jne 0x57a715
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57a8aa
mov eax, dword [ebp - 0x18]
call fcn.00403d90
mov eax, dword [ebp - 0x1c]
call fcn.00403d90
ret
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
jne 0x57a8c9
cmp dword [ebp - 0x14], 0
je 0x57a8c9
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x2c]
call fcn.0040506c
jne 0x57a917
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x57aa48
cmp dword [ebp - 0x14], 0
je 0x57aa48
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.0040c500
fstp xword [ebp - 0xb8]
wait
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
call fcn.0040c500
fld xword [ebp - 0xb8]
fcompp
fnstsw ax
sahf
je 0x57aa48
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov eax, esi
call fcn.004d09b8
mov edx, 0x57b15c
mov eax, esi
call fcn.004cf118
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea ecx, [ebp - 0xbc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xbc]
push eax
mov edx, 0x57b180
mov eax, esi
call fcn.004cf118
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x57b1ec
mov eax, esi
call fcn.004cf118
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x57b1fc
mov eax, esi
call fcn.004cf118
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x57b20c
mov eax, esi
call fcn.004cf118
mov edx, 0x57b218
mov ecx, dword [eax]
call dword [ecx + 0xb0]
lea edx, [ebp - 0xc0]
mov eax, dword [0x753794]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
call fcn.0040a390
mov eax, dword [ebp - 0xc0]
push eax
mov edx, 0x57b22c
mov eax, esi
call fcn.004cf118
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x57b23c
mov eax, esi
call fcn.004cf118
mov edx, dword [0x753794]
mov edx, dword [edx]
mov edx, dword [edx + 8]
mov edx, dword [edx + 8]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
call fcn.00570848
add esp, 0xfffffff8
fstp qword [esp]
wait
mov edx, 0x57b24c
mov eax, esi
call fcn.004cf118
mov edx, dword [eax]
call dword [edx + 0xa0]
mov edx, 0x57b25c
mov eax, esi
call fcn.004cf118
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x58]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4c], 0
je 0x57b01e
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x50], 0
je 0x57b01e
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jne 0x57aa99
mov eax, ebx
call fcn.004d09b8
mov edx, 0x57b15c
mov eax, ebx
call fcn.004cf118
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
jmp 0x57aaa0
mov eax, ebx
call fcn.004d0874
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x5c]
lea eax, [ebp - 0xc4]
mov edx, 0x57b26c
call fcn.00404f74
mov edx, dword [ebp - 0xc4]
mov eax, ebx
call fcn.004cf118
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x54]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x248]
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x54]
call fcn.00404cf8
mov dl, 1
mov eax, dword [0x41d654]
call fcn.00403d60
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x41d654]
call fcn.00403d60
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x57af62
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 9
mov eax, dword [ebp - 0x18]
call fcn.0042266c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
call fcn.004224dc
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xc8]
mov edx, 0x57b278
call fcn.0040506c
jne 0x57ac5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, 0x57b288
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov ebx, eax
test ebx, ebx
jl 0x57ac5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [eax + 0x54]
lea eax, [ebp - 0x28]
call fcn.00404cf8
mov dl, 9
mov eax, dword [ebp - 0x1c]
call fcn.0042266c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
call fcn.004224dc
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x57ac5c
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xd0]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xd0]
mov ecx, 5
mov edx, 1
call fcn.00405180
mov eax, dword [ebp - 0xcc]
mov edx, 0x57b298
call fcn.0040506c
jb 0x57ac52
lea eax, [ebp - 0xd4]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00405180
mov eax, dword [ebp - 0xd4]
mov edx, 0x57b2a8
call fcn.0040506c
jne 0x57ac27
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
jmp 0x57ac52
push dword [ebp - 0x24]
push 0x57b2b8
lea ecx, [ebp - 0xd8]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0xd8]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404fe8
dec ebx
cmp ebx, 0xffffffff
jne 0x57abaf
lea ecx, [ebp - 0xdc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xdc]
mov edx, 0x57b288
call fcn.0040506c
jne 0x57ad37
lea eax, [ebp - 0x24]
call fcn.00404c60
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x57ad24
inc esi
xor ebx, ebx
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xe4]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xe4]
mov ecx, 5
mov edx, 1
call fcn.00405180
mov eax, dword [ebp - 0xe0]
mov edx, 0x57b298
call fcn.0040506c
jae 0x57ad20
test ebx, ebx
jne 0x57acf5
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
jmp 0x57ad20
push dword [ebp - 0x24]
push 0x57b2b8
lea ecx, [ebp - 0xe8]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0xe8]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404fe8
inc ebx
dec esi
jne 0x57aca4
cmp dword [ebp - 0x24], 0
jne 0x57ad37
lea eax, [ebp - 0x24]
mov edx, 0x57b2c4
call fcn.00404cf8
lea ecx, [ebp - 0xec]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xec]
mov edx, 0x57b2d4
call fcn.0040506c
jne 0x57ae69
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, 0x57b2e4
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov ebx, eax
test ebx, ebx
jl 0x57ae69
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [eax + 0x54]
lea eax, [ebp - 0x28]
call fcn.00404cf8
mov dl, 9
mov eax, dword [ebp - 0x1c]
call fcn.0042266c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
call fcn.004224dc
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x57ae69
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xf4]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xf4]
mov ecx, 5
mov edx, 1
call fcn.00405180
mov eax, dword [ebp - 0xf0]
mov edx, 0x57b2f4
call fcn.0040506c
jb 0x57ae5f
lea eax, [ebp - 0xf8]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00405180
mov eax, dword [ebp - 0xf8]
mov edx, 0x57b304
call fcn.0040506c
jne 0x57ae34
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
jmp 0x57ae5f
push dword [ebp - 0x24]
push 0x57b2b8
lea ecx, [ebp - 0xfc]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0xfc]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404fe8
dec ebx
cmp ebx, 0xffffffff
jne 0x57adbc
lea ecx, [ebp - 0x100]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x100]
mov edx, 0x57b2e4
call fcn.0040506c
jne 0x57af44
lea eax, [ebp - 0x24]
call fcn.00404c60
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x57af31
inc esi
xor ebx, ebx
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x108]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x108]
mov ecx, 5
mov edx, 1
call fcn.00405180
mov eax, dword [ebp - 0x104]
mov edx, 0x57b2f4
call fcn.0040506c
jae 0x57af2d
test ebx, ebx
jne 0x57af02
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
jmp 0x57af2d
push dword [ebp - 0x24]
push 0x57b2b8
lea ecx, [ebp - 0x10c]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x10c]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404fe8
inc ebx
dec esi
jne 0x57aeb1
cmp dword [ebp - 0x24], 0
jne 0x57af44
lea eax, [ebp - 0x24]
mov edx, 0x57b314
call fcn.00404cf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57af69
mov eax, dword [ebp - 0x1c]
call fcn.00403d90
mov eax, dword [ebp - 0x18]
call fcn.00403d90
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57b0b9
lea eax, [ebp - 0x128]
mov edx, 5
call fcn.00404c84
lea eax, [ebp - 0x114]
call fcn.00405394
lea eax, [ebp - 0x110]
call fcn.00406f9c
lea eax, [ebp - 0x10c]
mov edx, 0x15
call fcn.00404c84
lea eax, [ebp - 0xac]
mov edx, 6
call fcn.00404c84
lea eax, [ebp - 0x94]
call fcn.004060a4
lea eax, [ebp - 0x84]
mov edx, 5
call fcn.00404c84
lea eax, [ebp - 0x70]
call fcn.004060a4
lea eax, [ebp - 0x60]
mov edx, 0x10
call fcn.00404c84
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404c84
ret