Function at 0x523fb0
Capabilities:
Check os version
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x47
push 0
push 0
dec ecx
jne 0x523fb8
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x525b94
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x525aed
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [esi + 0x34]
mov al, byte [eax]
mov byte [ebp - 0x4e], al
mov dl, 1
mov eax, dword [0x4f46c8]
call fcn.004f471c
mov edi, eax
xor eax, eax
mov dword [edi + 0x30], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4e6c5c]
call fcn.00418d08
mov dword [ebp - 0x38], eax
mov edx, 0x525bac
mov eax, dword [ebp - 0x38]
call fcn.004e7264
xor eax, eax
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x6c]
call fcn.00403d3c
mov byte [ebp - 0x4d], 0
mov dword [ebp - 0x34], 1
mov dword [esi + 0x48], 0xffffffff
lea eax, [ebp - 0x60]
mov edx, dword [0x55cd70]
mov edx, dword [edx]
call fcn.00403dd4
mov byte [esi + 0x39], 0
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052bf28
mov ebx, eax
cmp bl, 1
je 0x524070
cmp bl, 3
jne 0x524079
mov byte [ebp - 0x4e], 7
jmp 0x525a21
cmp bl, 2
jne 0x524087
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
mov eax, dword [esi + 0x30]
cmp dword [eax + 0x34], 1
jne 0x524095
xor eax, eax
mov dword [ebp - 0x34], eax
mov ebx, dword [esi + 0x30]
mov eax, dword [ebx + 0x10]
mov edx, 0x525bcc
call fcn.004040dc
jne 0x524222
mov eax, dword [0x55ce8c]
cmp dword [eax], 3
jne 0x524222
lea ecx, [ebp - 4]
mov eax, ebx
mov edx, 0x525bd8
call fcn.004f3034
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00409518
mov edx, dword [esi + 0x30]
mov dword [edx + 0x6c], eax
mov eax, edi
call fcn.004f48c8
mov eax, dword [esi + 0x34]
add eax, 0x58
push eax
mov edx, dword [esi + 0x30]
mov ecx, 0x14
mov eax, edi
call fcn.0052bf8c
mov ebx, eax
cmp bl, 5
je 0x524106
cmp bl, 1
je 0x524106
cmp bl, 3
jne 0x52410f
mov byte [ebp - 0x4e], 8
jmp 0x525a21
cmp bl, 2
jne 0x52411d
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [esi + 0x30]
mov edx, edi
mov eax, esi
call fcn.00527394
cmp dword [ebp - 0x34], 3
jne 0x524143
mov byte [esi + 0x39], 1
mov dword [ebp - 0x34], 1
jmp 0x525966
cmp dword [edi + 0x30], 0
jne 0x524181
mov eax, dword [esi + 0x34]
add eax, 0x58
push eax
mov edx, dword [esi + 0x30]
mov ecx, 0x14
mov eax, edi
call fcn.0052c0fc
mov ebx, eax
cmp bl, 1
jne 0x52416f
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x524219
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
mov eax, dword [esi + 0x34]
add eax, 0x58
push eax
mov edx, dword [esi + 0x30]
mov ecx, 0x14
mov eax, edi
call fcn.0052c148
mov ebx, eax
cmp bl, 1
je 0x5241a3
cmp bl, 3
jne 0x5241ac
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x5241ba
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
mov eax, edi
call fcn.004f4ba0
mov eax, dword [esi + 0x34]
add eax, 0x58
push eax
mov edx, dword [esi + 0x30]
mov ecx, 0x14
mov eax, edi
call fcn.0052c174
mov ebx, eax
cmp bl, 1
je 0x5241e3
cmp bl, 3
jne 0x5241ec
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x5241fa
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x44]
mov edx, dword [eax + 0x4028]
cmp edx, dword [eax + 0x402c]
jne 0x524213
xor eax, eax
mov dword [edi + 0x30], eax
cmp dword [edi + 0x30], 0
jne 0x5241ba
mov byte [esi + 0x39], 1
jmp 0x525912
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x10]
mov edx, 0x525bec
call fcn.004040dc
jne 0x5242bd
mov eax, ebx
call fcn.004f308c
mov eax, dword [esi + 0x30]
mov edx, 0xc8
call fcn.004f2fcc
mov ecx, dword [0x55c9d4]
mov ecx, dword [ecx]
mov eax, dword [esi + 0x30]
mov edx, 0x525bf8
call fcn.004f2fd0
mov dword [ebp - 0x34], 1
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.004f3780
dec eax
je 0x52427e
mov byte [ebp - 0x4e], 9
jmp 0x525a21
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
cmp bl, 1
je 0x52429d
cmp bl, 3
jne 0x5242a6
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x5242b4
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
mov byte [esi + 0x39], 1
jmp 0x525966
mov ebx, dword [esi + 0x30]
mov eax, dword [ebx + 0x10]
mov edx, 0x525c04
call fcn.004040dc
jne 0x524660
mov eax, dword [0x55ce8c]
cmp dword [eax], 3
jne 0x524660
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebx + 0x14]
mov ecx, 6
mov edx, 1
call fcn.004041d4
mov eax, dword [ebp - 0x90]
mov edx, 0x525c10
call fcn.004040dc
jne 0x524660
lea ecx, [ebp - 4]
mov eax, dword [esi + 0x30]
push eax
mov edx, 0x525bd8
pop eax
call fcn.004f3034
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00409518
mov ebx, dword [esi + 0x30]
mov dword [ebx + 0x6c], eax
lea ecx, [ebp - 8]
mov eax, ebx
mov edx, 0x525c20
call fcn.004f3034
lea ecx, [ebp - 0x64]
mov eax, dword [esi + 0x30]
mov edx, 0x525c30
call fcn.004f3034
push 9
xor ecx, ecx
mov edx, 0x525c40
mov eax, dword [ebp - 8]
call fcn.004e9288
test al, al
jne 0x5243fa
mov eax, dword [esi + 0x30]
call fcn.004f308c
mov eax, dword [esi + 0x30]
mov edx, 0x1c2
call fcn.004f2fcc
mov edx, 0x525c20
mov eax, dword [esi + 0x30]
mov ecx, 0x525c50
call fcn.004f2fd0
mov eax, dword [esi + 0x30]
mov ecx, 0x525c64
mov edx, 0x525c74
call fcn.004f2fd0
mov dword [ebp - 0x34], 1
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.004f3780
dec eax
je 0x5243c0
mov byte [ebp - 0x4e], 9
jmp 0x525a21
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
cmp bl, 1
je 0x5243df
cmp bl, 3
jne 0x5243e8
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x525966
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
cmp dword [ebp - 0x3c], 0
jne 0x52440d
mov eax, 0x19004
call fcn.0040279c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x6d]
push eax
lea eax, [ebp - 0x94]
push eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x14]
call fcn.00403fcc
mov ecx, eax
sub ecx, 6
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x14]
mov edx, 7
call fcn.004041d4
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x64]
mov eax, esi
call fcn.00527224
test al, al
jne 0x5244e8
mov eax, dword [esi + 0x30]
call fcn.004f308c
mov eax, dword [esi + 0x30]
mov edx, 0x190
call fcn.004f2fcc
mov edx, 0x525c20
mov eax, dword [esi + 0x30]
mov ecx, 0x525c50
call fcn.004f2fd0
mov edx, 0x525c74
mov eax, dword [esi + 0x30]
mov ecx, 0x525c64
call fcn.004f2fd0
mov dword [ebp - 0x34], 1
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.004f3780
dec eax
je 0x5244ae
mov byte [ebp - 0x4e], 9
jmp 0x525a21
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
cmp bl, 1
je 0x5244cd
cmp bl, 3
jne 0x5244d6
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x525966
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
mov eax, dword [esi + 0x30]
call fcn.004f308c
mov eax, dword [esi + 0x30]
mov edx, 0xc8
call fcn.004f2fcc
mov edx, 0x525c74
mov eax, dword [esi + 0x30]
mov ecx, 0x525c64
call fcn.004f2fd0
mov edx, 0x525c20
mov eax, dword [esi + 0x30]
mov ecx, 0x525c50
call fcn.004f2fd0
lea edx, [ebp - 0x98]
mov ebx, dword [esi + 0x30]
mov eax, dword [ebx + 0x6c]
call fcn.00409478
mov eax, dword [ebp - 0x98]
push eax
push ebx
mov edx, 0x525bd8
pop eax
pop ecx
call fcn.004f2fd0
cmp byte [ebp - 0x6d], 0
je 0x524572
mov eax, dword [esi + 0x30]
mov ecx, 0x525c88
mov edx, 0x525c94
call fcn.004f2fd0
mov eax, dword [esi + 0x30]
mov ecx, 0x525ca8
mov edx, 0x525cb4
call fcn.004f2fd0
jmp 0x5245a5
mov edx, 0x525c94
mov eax, dword [esi + 0x30]
mov ecx, 0x525ca8
call fcn.004f2fd0
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x40]
call fcn.00409478
mov ecx, dword [ebp - 0x9c]
mov edx, 0x525cb4
mov eax, dword [esi + 0x30]
call fcn.004f2fd0
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.004f3780
dec eax
je 0x5245bb
mov byte [ebp - 0x4e], 9
jmp 0x525a21
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
cmp bl, 1
je 0x5245da
cmp bl, 3
jne 0x5245e3
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x5245f1
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
cmp byte [ebp - 0x6d], 0
jne 0x525912
mov dword [ebp - 0x44], 0x19000
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 0x30]
call fcn.004f4478
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 0x30]
call fcn.004f4478
cmp bl, 1
je 0x524645
cmp bl, 3
jne 0x52464e
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x525912
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x10]
mov edx, 0x525c04
call fcn.004040dc
jne 0x524c14
mov eax, dword [0x55ce8c]
cmp dword [eax], 3
jne 0x524c14
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x14]
mov ecx, 6
mov edx, 1
call fcn.004041d4
mov eax, dword [ebp - 0xa0]
mov edx, 0x525ccc
call fcn.0040914c
test eax, eax
je 0x5246e8
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x14]
mov ecx, 9
mov edx, 1
call fcn.004041d4
mov eax, dword [ebp - 0xa4]
mov edx, 0x525cdc
call fcn.0040914c
test eax, eax
jne 0x524c14
mov dword [ebp - 0x34], 1
mov ebx, dword [esi + 0x30]
mov eax, dword [ebx + 4]
mov edx, 0x525cf0
call fcn.004040dc
je 0x52470a
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [ebx + 0x14]
mov ecx, 9
mov edx, 1
call fcn.004041d4
mov eax, dword [ebp - 0xa8]
mov edx, 0x525cdc
call fcn.0040914c
test eax, eax
jne 0x52474b
mov eax, esi
call fcn.0052b65c
test al, al
jne 0x52474b
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x14]
call fcn.00403fcc
mov ecx, eax
sub ecx, 6
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x14]
mov edx, 7
call fcn.004041d4
mov eax, dword [ebp - 0xb4]
call fcn.00404190
lea edx, [ebp - 0xb0]
call fcn.004e7ee0
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.004e9dc0
mov edx, dword [ebp - 0xac]
mov eax, esi
call fcn.0052ab54
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jg 0x5247b8
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
lea ecx, [ebp - 0xc]
mov eax, dword [esi + 0x30]
mov edx, 0x525d04
call fcn.004f3034
dec eax
jne 0x524a34
mov eax, dword [esi + 0x30]
cmp dword [eax + 0x28], 0
jle 0x524a34
mov eax, dword [esi + 0x30]
cmp dword [eax + 0x2c], 0
jne 0x524a34
mov edx, dword [esi + 0x30]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x4c]
jg 0x524803
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
mov eax, edx
call fcn.004f308c
mov eax, dword [esi + 0x30]
mov edx, 0xce
call fcn.004f2fcc
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x4c]
call fcn.00409478
mov ecx, dword [ebp - 0xb8]
mov edx, 0x525cb4
mov eax, dword [esi + 0x30]
call fcn.004f2fd0
lea eax, [ebp - 0xbc]
push eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 0xd0], 0
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0xcc], eax
mov byte [ebp - 0xc8], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0xc0], 0
lea edx, [ebp - 0xd4]
mov ecx, 2
mov eax, 0x525d14
call fcn.0040a2e4
mov ecx, dword [ebp - 0xbc]
mov eax, dword [esi + 0x30]
mov edx, 0x525d2c
call fcn.004f2fd0
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.004f3780
dec eax
je 0x5248b1
mov byte [ebp - 0x4e], 9
jmp 0x525a21
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
cmp bl, 1
je 0x5248d0
cmp bl, 3
jne 0x5248d9
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x5248e7
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
cmp dword [ebp - 0x3c], 0
jne 0x5248fa
mov eax, 0x19000
call fcn.0040279c
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [esi + 0x98], eax
xor ebx, ebx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
push eax
push 0x19000
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xe0]
push eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x14]
call fcn.00403fcc
mov ecx, eax
sub ecx, 6
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x14]
mov edx, 7
call fcn.004041d4
mov eax, dword [ebp - 0xe0]
call fcn.00404190
lea edx, [ebp - 0xdc]
call fcn.004e7ee0
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0xd8]
call fcn.004e9dc0
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x48]
mov eax, esi
call fcn.0052abe8
test al, al
je 0x524a00
cmp dword [ebp - 0x40], 0
je 0x525912
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x48], eax
add dword [esi + 0x98], 0xf
mov dword [ebp - 0x44], 0x19000
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 0x30]
call fcn.004f4478
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 0x30]
call fcn.004f4478
cmp bl, 1
je 0x5249de
cmp bl, 3
jne 0x5249e7
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x5249f5
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
push 0x64
call sub.kernel32.dll_Sleep
xor ebx, ebx
jmp 0x524a23
inc dword [esi + 0x98]
inc ebx
push 0x3e8
call sub.kernel32.dll_Sleep
mov eax, dword [esi + 0x34]
cmp byte [eax + 0x58], 0
je 0x524a23
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
cmp ebx, 0x258
jl 0x52490a
jmp 0x525912
mov eax, dword [esi + 0x30]
call fcn.004f308c
mov eax, dword [esi + 0x30]
mov edx, 0xc8
call fcn.004f2fcc
mov edx, 0x525c74
mov eax, dword [esi + 0x30]
mov ecx, 0x525c64
call fcn.004f2fd0
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0x48]
call fcn.00409478
mov ecx, dword [ebp - 0xe4]
mov edx, 0x525cb4
mov eax, dword [esi + 0x30]
call fcn.004f2fd0
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.004f3780
dec eax
je 0x524a92
mov byte [ebp - 0x4e], 9
jmp 0x525a21
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
cmp bl, 1
je 0x524ab1
cmp bl, 3
jne 0x524aba
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x524ac8
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
cmp dword [ebp - 0x3c], 0
jne 0x524adb
mov eax, 0x19000
call fcn.0040279c
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [esi + 0x98], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
push eax
push 0x19000
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x14]
call fcn.00403fcc
mov ecx, eax
sub ecx, 6
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x14]
mov edx, 7
call fcn.004041d4
mov eax, dword [ebp - 0xf0]
call fcn.00404190
lea edx, [ebp - 0xec]
call fcn.004e7ee0
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0xe8]
call fcn.004e9dc0
mov edx, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x48]
mov eax, esi
call fcn.0052abe8
test al, al
je 0x524be0
cmp dword [ebp - 0x40], 0
je 0x525912
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x48], eax
add dword [esi + 0x98], 0xf
mov dword [ebp - 0x44], 0x19000
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 0x30]
call fcn.004f4478
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 0x30]
call fcn.004f4478
cmp bl, 1
je 0x524bbe
cmp bl, 3
jne 0x524bc7
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x524bd5
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
push 0x64
call sub.kernel32.dll_Sleep
xor ebx, ebx
jmp 0x524c03
inc dword [esi + 0x98]
inc ebx
push 0x3e8
call sub.kernel32.dll_Sleep
mov eax, dword [esi + 0x34]
cmp byte [eax + 0x58], 0
je 0x524c03
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
cmp ebx, 0x258
jl 0x524aea
jmp 0x525912
mov ebx, dword [esi + 0x30]
mov eax, dword [ebx + 0x10]
mov edx, 0x525c04
call fcn.004040dc
jne 0x525909
mov eax, dword [0x55ce8c]
cmp dword [eax], 3
jne 0x525909
lea ecx, [ebp - 0x2c]
mov eax, ebx
mov edx, 0x525d44
call fcn.004f3034
mov eax, dword [ebp - 0x2c]
mov edx, 0x525c88
call fcn.004040dc
jne 0x524c8e
cmp byte [esi + 0x38], 0
jne 0x524c8e
xor ebx, ebx
lea ecx, [ebp - 0x34]
mov edx, dword [esi + 0x30]
mov eax, esi
call fcn.0052a99c
test al, al
je 0x524c7e
cmp dword [ebp - 0x34], 1
je 0x525966
jmp 0x52404d
inc ebx
push 0x3e8
call sub.kernel32.dll_Sleep
cmp ebx, 0x1e
jl 0x524c5e
mov eax, dword [ebp - 0x2c]
mov edx, 0x525c88
call fcn.004040dc
je 0x524d53
lea ecx, [ebp - 0x34]
mov edx, dword [esi + 0x30]
mov eax, esi
call fcn.0052a674
test al, al
je 0x524d53
cmp dword [ebp - 0x34], 1
je 0x525966
cmp dword [ebp - 0x34], 4
jne 0x52404d
mov eax, dword [esi + 0x30]
call fcn.004f308c
mov eax, dword [esi + 0x30]
mov edx, 0x1c3
call fcn.004f2fcc
mov edx, 0x525c74
mov eax, dword [esi + 0x30]
mov ecx, 0x525c64
call fcn.004f2fd0
mov edx, 0x525c20
mov eax, dword [esi + 0x30]
mov ecx, 0x525c50
call fcn.004f2fd0
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.004f3780
dec eax
je 0x524d19
mov byte [ebp - 0x4e], 9
jmp 0x525a21
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
cmp bl, 1
je 0x524d38
cmp bl, 3
jne 0x524d41
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x525966
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
cmp byte [ebp - 0x4d], 0
jne 0x524d7b
mov edx, dword [esi + 0x30]
mov eax, esi
call fcn.00526074
test al, al
je 0x524d93
mov edx, dword [esi + 0x30]
mov eax, esi
call fcn.00525eb0
mov edx, dword [0x55cfa0]
cmp eax, dword [edx]
jge 0x524d93
mov edx, dword [esi + 0x30]
mov eax, esi
call fcn.00525f58
mov edx, dword [0x55cb18]
cmp eax, dword [edx]
jl 0x524e23
mov eax, dword [esi + 0x30]
call fcn.004f308c
mov eax, dword [esi + 0x30]
mov edx, 0x1c3
call fcn.004f2fcc
mov edx, 0x525c74
mov eax, dword [esi + 0x30]
mov ecx, 0x525c64
call fcn.004f2fd0
mov edx, 0x525c20
mov eax, dword [esi + 0x30]
mov ecx, 0x525c50
call fcn.004f2fd0
mov dword [ebp - 0x34], 1
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.004f3780
dec eax
je 0x524de9
mov byte [ebp - 0x4e], 9
jmp 0x525a21
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
cmp bl, 1
je 0x524e08
cmp bl, 3
jne 0x524e11
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x525966
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
lea ecx, [ebp - 4]
mov eax, dword [esi + 0x30]
push eax
mov edx, 0x525bd8
pop eax
call fcn.004f3034
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00409518
mov ebx, dword [esi + 0x30]
mov dword [ebx + 0x6c], eax
mov edx, 0x525c20
lea ecx, [ebp - 8]
mov eax, ebx
call fcn.004f3034
mov edx, 0x525bf8
lea ecx, [ebp - 0x24]
mov eax, dword [esi + 0x30]
call fcn.004f3034
lea ecx, [ebp - 0xc]
mov eax, dword [esi + 0x30]
mov edx, 0x525d58
call fcn.004f3034
lea ecx, [ebp - 0x18]
mov eax, dword [esi + 0x30]
mov edx, 0x525d70
call fcn.004f3034
lea ecx, [ebp - 0x1c]
mov eax, dword [esi + 0x30]
mov edx, 0x525d88
call fcn.004f3034
lea ecx, [ebp - 0x20]
mov eax, dword [esi + 0x30]
mov edx, 0x525da0
call fcn.004f3034
lea ecx, [ebp - 0x28]
mov eax, dword [esi + 0x30]
mov edx, 0x525db4
call fcn.004f3034
lea ecx, [ebp - 0x54]
mov eax, dword [esi + 0x30]
mov edx, 0x525dc4
call fcn.004f3034
lea ecx, [ebp - 0x30]
mov eax, dword [esi + 0x30]
mov edx, 0x525dd8
call fcn.004f3034
lea ecx, [ebp - 0x5c]
mov eax, dword [esi + 0x30]
mov edx, 0x525de8
call fcn.004f3034
mov edx, 0x525c30
lea ecx, [ebp - 0x64]
mov eax, dword [esi + 0x30]
call fcn.004f3034
push 9
mov edx, 0x525c40
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004e9288
test al, al
jne 0x524f9d
mov eax, dword [esi + 0x30]
call fcn.004f308c
mov eax, dword [esi + 0x30]
mov edx, 0x1c2
call fcn.004f2fcc
mov edx, 0x525c20
mov eax, dword [esi + 0x30]
mov ecx, 0x525c50
call fcn.004f2fd0
mov edx, 0x525c74
mov eax, dword [esi + 0x30]
mov ecx, 0x525c64
call fcn.004f2fd0
mov dword [ebp - 0x34], 1
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.004f3780
dec eax
je 0x524f63
mov byte [ebp - 0x4e], 9
jmp 0x525a21
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
cmp bl, 1
je 0x524f82
cmp bl, 3
jne 0x524f8b
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x525966
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
mov bl, 1
mov eax, dword [ebp - 0x60]
push eax
lea eax, [ebp - 0xf4]
push eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.0052c318
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0x38]
call fcn.004e7350
lea ecx, [ebp - 0xf8]
mov edx, 0x1064
mov eax, dword [ebp - 0x38]
call fcn.004e71a4
mov eax, dword [ebp - 0xf8]
mov edx, dword [ebp - 0x20]
call fcn.004040dc
je 0x5250e9
mov eax, dword [ebp - 0x60]
mov edx, dword [0x55cf5c]
mov edx, dword [edx]
call fcn.004040dc
je 0x525032
mov eax, dword [0x55cf5c]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.0052c318
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0x38]
call fcn.004e7350
xor ebx, ebx
lea ecx, [ebp - 0x100]
mov edx, 0x1064
mov eax, dword [ebp - 0x38]
call fcn.004e71a4
mov eax, dword [ebp - 0x100]
mov edx, dword [ebp - 0x20]
call fcn.004040dc
je 0x5250e9
mov eax, dword [esi + 0x30]
call fcn.004f308c
mov eax, dword [esi + 0x30]
mov edx, 0x1c2
call fcn.004f2fcc
mov edx, 0x525c20
mov eax, dword [esi + 0x30]
mov ecx, 0x525c50
call fcn.004f2fd0
mov edx, 0x525c74
mov eax, dword [esi + 0x30]
mov ecx, 0x525c64
call fcn.004f2fd0
mov dword [ebp - 0x34], 1
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.004f3780
dec eax
je 0x5250af
mov byte [ebp - 0x4e], 9
jmp 0x525a21
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
cmp bl, 1
je 0x5250ce
cmp bl, 3
jne 0x5250d7
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x525966
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x1c]
mov eax, dword [esi + 0x34]
lea edx, [eax + 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.004e8288
test al, al
jne 0x525113
mov eax, dword [esi + 0x34]
mov dword [eax + 0x1c], 0x19000
mov eax, dword [esi + 0x34]
xor edx, edx
mov dword [eax + 0x18], edx
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004e8344
test al, al
jne 0x52512c
mov dword [ebp - 0x14], 0xffffffff
cmp dword [ebp - 0x3c], 0
jne 0x52513f
mov eax, 0x19004
call fcn.0040279c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [0x55cd8c]
mov edx, dword [edx]
call fcn.004040dc
jne 0x52518b
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 1
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x38]
mov eax, esi
call fcn.00526600
test al, al
jne 0x52521b
mov eax, dword [esi + 0x30]
call fcn.004f308c
mov eax, dword [esi + 0x30]
mov edx, 0x190
call fcn.004f2fcc
mov edx, 0x525c20
mov eax, dword [esi + 0x30]
mov ecx, 0x525c50
call fcn.004f2fd0
mov edx, 0x525c74
mov eax, dword [esi + 0x30]
mov ecx, 0x525c64
call fcn.004f2fd0
mov dword [ebp - 0x34], 1
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.004f3780
dec eax
je 0x5251e1
mov byte [ebp - 0x4e], 9
jmp 0x525a21
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
cmp bl, 1
je 0x525200
cmp bl, 3
jne 0x525209
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x525966
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
cmp byte [esi + 0x38], 0
je 0x5255a9
cmp byte [esi + 0x40], 0
jne 0x5255a9
cmp dword [ebp - 0x2c], 0
jne 0x5255a9
mov edx, dword [0x55cb2c]
mov edx, dword [edx]
mov eax, dword [0x55cdf0]
mov eax, dword [eax]
call fcn.004f7f54
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x8c]
mov eax, dword [esi + 0x30]
mov edx, 0x525df8
call fcn.004f3034
xor edx, edx
mov eax, dword [ebp - 0x8c]
call fcn.00409518
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x7c], eax
mov word [ebp - 0x7e], 0
xor eax, eax
mov dword [ebp - 0x84], eax
mov word [ebp - 0x86], 0
mov eax, dword [ebp - 0x78]
dec eax
sub eax, 3
jae 0x525330
lea ecx, [ebp - 0x8c]
mov eax, dword [esi + 0x30]
mov edx, 0x525e04
call fcn.004f3034
xor edx, edx
mov eax, dword [ebp - 0x8c]
call fcn.00409518
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x8c]
mov eax, dword [esi + 0x30]
mov edx, 0x525e10
call fcn.004f3034
xor edx, edx
mov eax, dword [ebp - 0x8c]
call fcn.00409518
mov word [ebp - 0x7e], ax
lea ecx, [ebp - 0x8c]
mov eax, dword [esi + 0x30]
mov edx, 0x525e20
call fcn.004f3034
xor edx, edx
mov eax, dword [ebp - 0x8c]
call fcn.00409518
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x8c]
mov eax, dword [esi + 0x30]
mov edx, 0x525e30
call fcn.004f3034
xor edx, edx
mov eax, dword [ebp - 0x8c]
call fcn.00409518
mov word [ebp - 0x86], ax
cmp dword [ebp - 0x78], 1
jne 0x52533f
mov eax, dword [ebp - 0x74]
dec eax
sub eax, 2
jb 0x525353
cmp dword [ebp - 0x78], 2
jne 0x5253e3
cmp dword [ebp - 0x74], 1
jne 0x5253e3
mov eax, dword [esi + 0x30]
call fcn.004f308c
mov eax, dword [esi + 0x30]
mov edx, 0x190
call fcn.004f2fcc
mov edx, 0x525c20
mov eax, dword [esi + 0x30]
mov ecx, 0x525c50
call fcn.004f2fd0
mov edx, 0x525c74
mov eax, dword [esi + 0x30]
mov ecx, 0x525c64
call fcn.004f2fd0
mov dword [ebp - 0x34], 1
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.004f3780
dec eax
je 0x5253a9
mov byte [ebp - 0x4e], 9
jmp 0x525a21
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
cmp bl, 1
je 0x5253c8
cmp bl, 3
jne 0x5253d1
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x525966
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
mov eax, dword [esi + 0x30]
call fcn.004f308c
mov eax, dword [esi + 0x30]
mov edx, 0x1c4
call fcn.004f2fcc
mov edx, 0x525c20
mov eax, dword [esi + 0x30]
mov ecx, 0x525c50
call fcn.004f2fd0
mov edx, dword [0x55cb2c]
mov edx, dword [edx]
mov eax, dword [0x55cdf0]
mov eax, dword [eax]
call fcn.004f7f54
lea edx, [ebp - 0x104]
call fcn.00409478
mov ecx, dword [ebp - 0x104]
mov edx, 0x525df8
mov eax, dword [esi + 0x30]
call fcn.004f2fd0
mov eax, dword [ebp - 0x78]
dec eax
sub eax, 3
jae 0x52548e
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 0x84]
call fcn.00409478
mov ecx, dword [ebp - 0x108]
mov edx, 0x525e04
mov eax, dword [esi + 0x30]
call fcn.004f2fd0
lea edx, [ebp - 0x10c]
movzx eax, word [ebp - 0x86]
call fcn.00409478
mov ecx, dword [ebp - 0x10c]
mov edx, 0x525e10
mov eax, dword [esi + 0x30]
call fcn.004f2fd0
mov edx, 0x525c74
mov eax, dword [esi + 0x30]
mov ecx, 0x525c64
call fcn.004f2fd0
mov dword [ebp - 0x34], 1
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.004f3780
dec eax
je 0x5254bd
mov byte [ebp - 0x4e], 9
jmp 0x525a21
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
cmp bl, 1
je 0x5254dc
cmp bl, 3
jne 0x5254e5
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x5254f3
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
cmp dword [ebp - 0x78], 0
je 0x52551d
cmp dword [ebp - 0x78], 1
jne 0x525505
cmp dword [ebp - 0x74], 0
je 0x52551d
cmp dword [ebp - 0x78], 2
jne 0x525511
cmp dword [ebp - 0x74], 0
je 0x52551d
cmp dword [ebp - 0x78], 3
jne 0x525552
cmp dword [ebp - 0x74], 0
jne 0x525552
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5010c8]
call fcn.00523ed4
mov ebx, eax
mov byte [ebx + 0xe], 1
xor eax, eax
mov dword [ebx + 0x3c], eax
lea eax, [ebx + 0xa4]
mov edx, dword [ebp - 0x28]
call fcn.00403d90
mov eax, ebx
call fcn.00418c84
jmp 0x525966
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov ax, word [ebp - 0x7e]
push eax
mov ecx, dword [esi + 0x30]
mov dl, 1
mov eax, dword [0x501130]
call fcn.005032f4
mov ebx, eax
cmp dword [ebx + 0x3c], 0xffffffff
je 0x52559d
mov byte [ebx + 0xe], 1
xor eax, eax
mov dword [ebx + 0x3c], eax
lea eax, [ebx + 0xb4]
mov edx, dword [ebp - 0x28]
call fcn.00403d90
mov eax, ebx
call fcn.00418c84
jmp 0x525966
mov eax, ebx
call fcn.00402ff0
jmp 0x525966
mov dword [esi + 0x3c], 3
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
call fcn.00409530
mov ecx, dword [esi + 0x34]
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], edx
mov eax, dword [0x55cbfc]
mov eax, dword [eax]
call fcn.00472f38
mov eax, dword [esi + 0x34]
add eax, 4
mov edx, dword [esi + 0x30]
mov edx, dword [edx + 0x14]
call fcn.00403d90
mov eax, dword [esi + 0x34]
add eax, 8
mov edx, dword [ebp - 0x64]
call fcn.00403d90
mov eax, dword [0x55cbfc]
mov eax, dword [eax]
call fcn.00472f40
cmp dword [ebp - 0x54], 0
jne 0x52560e
mov eax, dword [esi + 0x34]
mov byte [eax + 0xa9], 0
jmp 0x525636
lea eax, [ebp - 0x20c]
mov edx, dword [ebp - 0x54]
mov ecx, 0xff
call fcn.00403fa8
lea edx, [ebp - 0x20c]
mov eax, dword [esi + 0x34]
add eax, 0xa9
mov cl, 0x28
call fcn.00402b10
cmp dword [ebp - 0x28], 0
je 0x52568a
lea eax, [ebp - 0x210]
mov edx, dword [esi + 0x34]
add edx, 0x80
call fcn.00403f70
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x28]
call fcn.004040dc
je 0x5256dc
lea eax, [ebp - 0x20c]
mov edx, dword [ebp - 0x28]
mov ecx, 0xff
call fcn.00403fa8
lea edx, [ebp - 0x20c]
mov eax, dword [esi + 0x34]
add eax, 0x80
mov cl, 0x28
call fcn.00402b10
jmp 0x5256dc
cmp dword [ebp - 0x30], 0
je 0x5256dc
lea eax, [ebp - 0x214]
mov edx, dword [esi + 0x34]
add edx, 0x80
call fcn.00403f70
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x30]
call fcn.004040dc
je 0x5256dc
lea eax, [ebp - 0x20c]
mov edx, dword [ebp - 0x30]
mov ecx, 0xff
call fcn.00403fa8
lea edx, [ebp - 0x20c]
mov eax, dword [esi + 0x34]
add eax, 0x80
mov cl, 0x28
call fcn.00402b10
mov eax, dword [esi + 0x34]
mov byte [eax], 3
mov eax, dword [esi + 0x30]
call fcn.004f308c
mov eax, dword [esi + 0x30]
mov edx, 0xc8
call fcn.004f2fcc
mov edx, 0x525c20
mov eax, dword [esi + 0x30]
mov ecx, 0x525c50
call fcn.004f2fd0
lea edx, [ebp - 0x218]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x6c]
call fcn.00409478
mov eax, dword [ebp - 0x218]
push eax
mov eax, dword [esi + 0x30]
push eax
mov edx, 0x525bd8
pop eax
pop ecx
call fcn.004f2fd0
test bl, bl
je 0x525777
mov eax, dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x14]
lea eax, [ebp - 0x220]
mov edx, 0x525e40
call fcn.00404018
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.0052c318
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x38]
call fcn.004e7350
jmp 0x5257bb
mov eax, dword [0x55cf5c]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x224]
push eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x14]
lea eax, [ebp - 0x228]
mov edx, 0x525e40
call fcn.00404018
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.0052c318
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x38]
call fcn.004e7350
lea ecx, [ebp - 0x22c]
mov edx, 0x1064
mov eax, dword [ebp - 0x38]
call fcn.004e71a4
mov eax, dword [ebp - 0x22c]
push eax
mov edx, 0x525da0
mov eax, dword [esi + 0x30]
pop ecx
call fcn.004f2fd0
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x58]
mov edx, 0x525e4c
call fcn.004f2fd0
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 0x40]
call fcn.00409478
mov ecx, dword [ebp - 0x230]
mov edx, 0x525cb4
mov eax, dword [esi + 0x30]
call fcn.004f2fd0
mov eax, dword [esi + 0x30]
cmp dword [eax + 0x34], 1
jne 0x525837
cmp dword [ebp - 0x34], 0
jne 0x525837
mov edx, 0x525c74
mov eax, dword [esi + 0x30]
mov ecx, 0x525e60
call fcn.004f2fd0
jmp 0x525850
mov edx, 0x525c74
mov eax, dword [esi + 0x30]
mov ecx, 0x525c64
call fcn.004f2fd0
mov dword [ebp - 0x34], 1
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.004f3780
dec eax
je 0x525866
mov byte [ebp - 0x4e], 9
jmp 0x525a21
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c1ac
mov ebx, eax
cmp bl, 1
je 0x525885
cmp bl, 3
jne 0x52588e
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x52589c
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
mov dword [ebp - 0x44], 0x19000
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 0x30]
call fcn.004f4478
mov eax, dword [esi + 0x34]
lea edx, [eax + 0x18]
push edx
lea edx, [eax + 0x48]
push edx
lea edx, [eax + 0x20]
push edx
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x30]
mov edx, 0x14
call fcn.0052c20c
mov ebx, eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 0x30]
call fcn.004f4478
cmp bl, 1
je 0x5258f2
cmp bl, 3
jne 0x5258fb
mov byte [ebp - 0x4e], 9
jmp 0x525a21
cmp bl, 2
jne 0x525912
mov byte [ebp - 0x4e], 0xf
jmp 0x525a21
mov byte [ebp - 0x4e], 0xe
jmp 0x525a21
cmp dword [ebp - 0x34], 0
jne 0x52594e
xor eax, eax
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x44]
mov edx, 0x3e8
call fcn.004f1bc4
mov edx, dword [esi + 0x34]
cmp byte [edx + 0x58], 0
jne 0x525943
test eax, eax
jne 0x525943
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 0x14
jne 0x52591d
test eax, eax
jne 0x52594e
mov dword [ebp - 0x34], 1
cmp dword [ebp - 0x34], 0
jne 0x525966
mov eax, dword [esi + 0x34]
cmp byte [eax + 0x58], 0
jne 0x525966
mov byte [ebp - 0x4d], 1
jmp 0x52404d
cmp byte [esi + 0x38], 0
je 0x525976
cmp dword [esi + 0x3c], 3
jne 0x525976
mov byte [esi + 0x39], 0
cmp byte [esi + 0x38], 0
jne 0x525980
mov byte [ebp - 0x4e], 4
cmp dword [ebp - 0x34], 2
je 0x52599e
cmp byte [esi + 0x38], 0
jne 0x52599e
mov eax, dword [esi + 0x30]
call fcn.004f38d0
lea eax, [esi + 0x30]
call fcn.004f2e94
jmp 0x5259b5
cmp dword [ebp - 0x34], 2
jne 0x5259b5
mov eax, dword [esi + 0x44]
mov edx, dword [0x55ccb8]
mov eax, dword [edx + eax*4]
call fcn.00502648
mov eax, dword [esi + 0x48]
test eax, eax
jl 0x5259ca
mov edx, dword [0x55ccb8]
mov eax, dword [edx + eax*4]
call fcn.00502594
cmp dword [ebp - 0x3c], 0
je 0x5259d8
mov eax, dword [ebp - 0x3c]
call fcn.004027b4
cmp dword [ebp - 0x68], 0
je 0x5259e6
mov eax, dword [ebp - 0x68]
call fcn.00402ff0
mov eax, dword [ebp - 0x38]
call fcn.00402ff0
mov dl, 1
mov eax, edi
call fcn.004f488c
mov eax, dword [esi + 0x34]
mov dl, byte [ebp - 0x4e]
mov byte [eax], dl
cmp byte [esi + 0x38], 0
jne 0x525a14
jmp 0x525a0e
push 0x32
call sub.kernel32.dll_Sleep
cmp byte [esi + 0xe], 0
je 0x525a07
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x525b27
cmp byte [esi + 0x38], 0
je 0x525a2b
mov byte [esi + 0x39], 0
cmp dword [ebp - 0x34], 2
je 0x525a49
cmp byte [esi + 0x38], 0
jne 0x525a49
mov eax, dword [esi + 0x30]
call fcn.004f38d0
lea eax, [esi + 0x30]
call fcn.004f2e94
jmp 0x525a84
cmp dword [ebp - 0x34], 2
jne 0x525a84
mov eax, dword [esi + 0x44]
mov edx, dword [0x55ccb8]
mov eax, dword [edx + eax*4]
call fcn.00502594
lea eax, [esi + 0x54]
mov edx, 0x525e74
call fcn.00403d90
mov eax, dword [0x55cf54]
cmp byte [eax], 0
je 0x525a84
push esi
push 0x52a668
mov eax, esi
call fcn.00418c38
mov eax, dword [esi + 0x48]
test eax, eax
jl 0x525a99
mov edx, dword [0x55ccb8]
mov eax, dword [edx + eax*4]
call fcn.00502594
cmp dword [ebp - 0x3c], 0
je 0x525aa7
mov eax, dword [ebp - 0x3c]
call fcn.004027b4
cmp dword [ebp - 0x68], 0
je 0x525ab5
mov eax, dword [ebp - 0x68]
call fcn.00402ff0
mov eax, dword [ebp - 0x38]
call fcn.00402ff0
mov dl, 1
mov eax, edi
call fcn.004f488c
mov eax, dword [esi + 0x34]
mov dl, byte [ebp - 0x4e]
mov byte [eax], dl
cmp byte [esi + 0x38], 0
jne 0x525ae3
jmp 0x525add
push 0x32
call sub.kernel32.dll_Sleep
cmp byte [esi + 0xe], 0
je 0x525ad6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x525b27
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x525b9b
lea eax, [ebp - 0x230]
mov edx, 9
call fcn.00403d60
lea eax, [ebp - 0x10c]
mov edx, 0xe
call fcn.00403d60
lea eax, [ebp - 0xbc]
mov edx, 0xd
call fcn.00403d60
lea eax, [ebp - 0x6c]
call fcn.00403d3c
lea eax, [ebp - 0x64]
mov edx, 5
call fcn.00403d60
lea eax, [ebp - 0x30]
mov edx, 7
call fcn.00403d60
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403d60
ret