Function at 0x1005e672
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100910f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x32c
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1005f791
lea eax, [ebp + 0x18]
mov dword [ebp - 0x180], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x1cc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x22c]
movzx eax, byte [eax]
test eax, eax
je 0x1005e75a
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
jmp 0x1005e735
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax], 1
jge 0x1005e755
mov eax, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [ebp - 0x1c4]
call fcn.10025597
mov dword [eax], 0x785734cb
jmp 0x1005e72a
jmp 0x1005f78f
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x14c], 0x7ba7
mov dword [ebp - 0x1d4], 0x1000c9f8
cmp dword [ebp - 0x14c], 0x7bba
jle 0x1005e826
and dword [ebp - 0x44], 0
jmp 0x1005e7a3
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x3411
jge 0x1005e826
and dword [ebp - 0x50], 0
jmp 0x1005e7b9
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x27a5
jge 0x1005e821
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x50]
cdq
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e4], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x190], ax
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
lea ecx, [ebp - 0x2d8]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x2d8]
call fcn.100252df
jmp 0x1005e7b2
jmp 0x1005e79c
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x14c], 0x79b0
jge 0x1005e84a
push dword [ebp - 0x1d4]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x144], 0x4bd7
mov dword [ebp - 0x168], 0x1000ca30
cmp dword [ebp - 0x144], 0x4ed9
jle 0x1005e913
and dword [ebp - 0x3c], 0
jmp 0x1005e890
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x399d
jge 0x1005e913
and dword [ebp - 0x58], 0
jmp 0x1005e8a6
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x64f0
jge 0x1005e90e
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x58]
sar eax, cl
cdq
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1f0], edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x268], eax
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
lea ecx, [ebp - 0x320]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x320]
call fcn.100252df
jmp 0x1005e89f
jmp 0x1005e889
mov dword [ebp - 0x120], 1
mov dword [ebp - 0xa0], 0x176df7e
mov dword [ebp - 0xf8], 0xa25a9550
mov dword [ebp - 0x8c], 0xb9d6240
mov dword [ebp - 0x258], 2
mov dword [ebp - 0x254], 2
mov dword [ebp - 0x250], 2
mov dword [ebp - 0x24c], 2
lea ecx, [ebp - 0x71]
call fcn.100255a6
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.100255a9
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x288]
call fcn.10025555
and dword [ebp - 4], 0
mov dword [ebp - 0x204], 0x6d0c81cf
mov dword [ebp - 0x27c], 9
lea eax, [ebp - 0xa0]
push eax
push 1
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x120]
push eax
push 0x519c
lea eax, [ebp - 0xf8]
push eax
push 0x4dc2
push 0
call fcn.1004f1ad
add esp, 0x20
push 0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x204]
push eax
push 0x6712
push 0x37c8
push 0x23a4
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.1006b048
add esp, 0x28
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.1002557b
mov dword [ebp - 0x20], 0x48261f9c
mov dword [ebp - 0x10], 0x29be1d92
mov dword [ebp - 0x40], 0xf37d
mov dword [ebp - 0x1ec], 0xffffffff
push 1
push 0x2b6a
push 0x710d
push 1
push 0x55de
lea eax, [ebp - 0x40]
push eax
push 0x3610
call fcn.1004ddf8
add esp, 0x1c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28c], eax
xor eax, eax
jne 0x1005ea99
cmp dword [ebp - 0x10], 0
jne 0x1005ea99
and dword [ebp - 0xa8], 0
jmp 0x1005eaa3
mov dword [ebp - 0xa8], 1
cmp dword [ebp - 0xa8], 1
ja 0x1005eab8
mov dword [ebp - 0x138], 1
jmp 0x1005eabf
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0x5f5b
je 0x1005ead7
mov dword [ebp - 0xb0], 1
jmp 0x1005eade
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0x40]
add eax, 8
cmp dword [ebp - 0x40], eax
jg 0x1005eafb
mov dword [ebp - 0x100], 1
jmp 0x1005eb02
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x100]
je 0x1005eea5
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x1e0], 0x7cd3
mov dword [ebp - 0x1a0], 7
mov dword [ebp - 0x20], 0
jmp 0x1005eb3c
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x16
jge 0x1005eea3
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x244], 0xc01
mov dword [ebp - 0x240], 0xc01
mov dword [ebp - 0x23c], 0xc01
mov dword [ebp - 0x238], 0xc01
mov dword [ebp - 0x10], 0
jmp 0x1005eb85
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1b
jne 0x1005ed80
mov dword [ebp - 0xc0], 0x95e04a2
mov dword [ebp - 0x28], 0x169b41db
mov dword [ebp - 0x130], 4
cmp dword [ebp - 0x1c], 0
jne 0x1005ebbc
mov dword [ebp - 0xc8], 1
jmp 0x1005ebc3
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x24], eax
jg 0x1005ebd7
mov dword [ebp - 0x198], 1
jmp 0x1005ebde
and dword [ebp - 0x198], 0
imul eax, dword [ebp - 0xc0], 0xffff
cmp eax, dword [ebp - 0x20]
jl 0x1005ebf9
mov dword [ebp - 0xb8], 1
jmp 0x1005ec00
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0x1e0]
je 0x1005ec1d
mov dword [ebp - 0x128], 1
jmp 0x1005ec24
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x130]
jle 0x1005ec4a
mov dword [ebp - 0x108], 1
jmp 0x1005ec51
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x108], eax
jge 0x1005ec68
mov dword [ebp - 0x148], 1
jmp 0x1005ec6f
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0x148]
cmp eax, dword [ebp - 0x1a0]
je 0x1005ec8f
mov dword [ebp - 0xd0], 1
jmp 0x1005ec96
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0xfffffff9
jne 0x1005ecab
mov dword [ebp - 0x110], 1
jmp 0x1005ecb2
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0xa12a
jne 0x1005ecd0
cmp dword [ebp - 0x20], 0
je 0x1005ecd0
mov dword [ebp - 0xd8], 1
jmp 0x1005ecd7
and dword [ebp - 0xd8], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x244]
cmp dword [ebp - 0xd8], eax
jge 0x1005ecf8
mov dword [ebp - 0xe0], 1
jmp 0x1005ecff
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x130]
add eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0x1c]
jl 0x1005ed3c
mov dword [ebp - 0x28], 0
jmp 0x1005ed20
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffffd
jl 0x1005ed3a
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x244], 0
je 0x1005ed38
jmp 0x1005ed3a
jmp 0x1005ed19
jmp 0x1005ed7b
mov dword [ebp - 0x24], 0
jmp 0x1005ed4c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jg 0x1005ed7b
mov dword [ebp - 0x1c], 0
jmp 0x1005ed62
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jg 0x1005ed79
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x244], 0
je 0x1005ed77
jmp 0x1005ed79
jmp 0x1005ed5b
jmp 0x1005ed45
jmp 0x1005eb7e
mov dword [ebp - 0x118], 0x54b5
mov dword [ebp - 0x1a8], 0x1000ca58
cmp dword [ebp - 0x118], 0x574a
jle 0x1005ee7e
and dword [ebp - 0x54], 0
jmp 0x1005edb1
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x25ed
jge 0x1005ee7e
and dword [ebp - 0x64], 0
jmp 0x1005edcb
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x5381
jge 0x1005ee79
and dword [ebp - 0x5c], 0
jmp 0x1005ede5
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x769e
jge 0x1005ee74
and dword [ebp - 0x4c], 0
jmp 0x1005edff
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x452d
jge 0x1005ee6f
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x64]
sar eax, cl
mov ecx, dword [ebp - 0x5c]
sar eax, cl
or eax, dword [ebp - 0x4c]
cdq
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x1fc], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x2b0], eax
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea ecx, [ebp - 0x2f0]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x2f0]
call fcn.100252df
jmp 0x1005edf8
jmp 0x1005edde
jmp 0x1005edc4
jmp 0x1005edaa
cmp dword [ebp - 0x10], 0
je 0x1005ee86
jmp 0x1005eea3
cmp dword [ebp - 0x118], 0x51aa
jge 0x1005ee9e
push dword [ebp - 0x1a8]
call fcn.1008287d
pop ecx
jmp 0x1005eb35
jmp 0x1005ef17
mov dword [ebp - 0xe8], 0xc0ba
mov dword [ebp - 0x21c], 0xffffffff
mov dword [ebp - 0x1b0], 0xcda4f1df
push 0x3497
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xe8]
push eax
push 0
call fcn.100619e1
add esp, 0x10
push 0
push 0x4e2b
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x1b0]
push eax
push 0xd6f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
call fcn.1006a718
add esp, 0x28
mov eax, dword [ebp - 0x1b8]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0x1f8]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + section.kvhfgwx]
mov ecx, dword [ebp - 0x1c0]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x80]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
push 0x2517
push 0
call fcn.1005f7c3
pop ecx
pop ecx
mov eax, dword [ebp - 0x230]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x1005f777
push 3
lea ecx, [ebp - 0x98]
call fcn.100254f9
mov dword [ebp - 4], 1
mov dword [ebp - 0x38], 0xfff6
mov dword [ebp - 0x18], 0xda8afc1d
mov dword [ebp - 0x114], 3
push 1
lea ecx, [ebp - 0x264]
call fcn.100254f9
mov byte [ebp - 4], 2
mov dword [ebp - 0x29c], 0xfffffffc
mov dword [ebp - 0x2a4], 0xfffffff6
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x98]
push eax
push 0
push 0
call fcn.1007a917
add esp, 0x10
mov dword [ebp - 0x2c], 0
jmp 0x1005efdb
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1005eff1
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x210], 1
jmp 0x1005efd4
push 1
push 0x7c59
push 0
lea eax, [ebp - 0x264]
push eax
push 0x62f6
push 0x328a
push 0x69a0
lea eax, [ebp - 0x2c]
push eax
push 0x6d57
push 0x47e7
push 0x1cbc
push 0x7c78
push 0x26fb
push 0x3faf
push 0x79fe
call fcn.10056182
add esp, 0x3c
mov eax, 0x4288a137
test eax, eax
je 0x1005f0dd
push 1
lea ecx, [ebp - 0x98]
call fcn.10025597
mov esi, eax
push 0
lea ecx, [ebp - 0x98]
call fcn.10025597
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x1005f07a
mov dword [ebp - 0x140], 1
jmp 0x1005f081
and dword [ebp - 0x140], 0
push 1
lea ecx, [ebp - 0x98]
call fcn.10025597
mov esi, eax
push 1
lea ecx, [ebp - 0x98]
call fcn.10025597
mov ecx, dword [ebp - 0x140]
add ecx, dword [eax]
mov eax, dword [esi]
imul eax, ecx
mov dword [ebp - 0xf0], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xf0]
mov dword [ebp + eax - 0x210], ecx
cmp dword [ebp - 0xf0], 0
je 0x1005f0dd
cmp dword [ebp - 0x38], 0
je 0x1005f0dd
mov dword [ebp - 0x88], 1
jmp 0x1005f0e4
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0xffffffff
jle 0x1005f0f9
mov dword [ebp - 0x9c], 1
jmp 0x1005f100
and dword [ebp - 0x9c], 0
push 0
lea ecx, [ebp - 0x98]
call fcn.10025597
mov ecx, dword [ebp - 0x9c]
imul ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x18], 2
jmp 0x1005f132
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1005f74a
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xec], 0x71c25028
mov dword [ebp - 0x17c], 0xffffffff
push 2
lea ecx, [ebp - 0x298]
call fcn.100254f9
mov byte [ebp - 4], 3
mov dword [ebp - 0x18c], 0x914f0912
mov dword [ebp - 0xf4], 0xfffffffd
push 0x2b12
lea eax, [ebp - 0x298]
push eax
push 0x3942
lea eax, [ebp - 0x26c]
push eax
push 0
call fcn.10060348
add esp, 0x14
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x210]
mov dword [ebp - 0x14], eax
push 0x7bd8
push 0x627f
push 0
push 0x2785
push 0
call fcn.10061582
add esp, 0x14
mov dword [ebp - 0x84], 0x890
mov dword [ebp - 0x160], 0x1000cab8
cmp dword [ebp - 0x84], 0x99d
jle 0x1005f27c
and dword [ebp - 0x48], 0
jmp 0x1005f1fa
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x2115
jge 0x1005f27c
and dword [ebp - 0x60], 0
jmp 0x1005f210
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x6a04
jge 0x1005f277
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x60]
cdq
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x270], eax
push dword [ebp - 0x214]
push dword [ebp - 0x218]
lea ecx, [ebp - 0x308]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1c8]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x308]
call fcn.100252df
jmp 0x1005f209
jmp 0x1005f1f3
mov dword [ebp - 0x14], 0
jmp 0x1005f28c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x1005f71e
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x6c], 0xf08a1bab
mov dword [ebp - 0x38], 0
jmp 0x1005f2b4
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jg 0x1005f719
push 1
lea ecx, [ebp - 0x158]
call fcn.100254f9
mov byte [ebp - 4], 4
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0xd4], 0x5a42069
mov dword [ebp - 0x1ac], 0xd0c6a332
mov dword [ebp - 0x194], 0x6aee34d1
mov dword [ebp - 0x278], 0x5e6d9927
mov dword [ebp - 0x78], 0xfffd
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x158]
push eax
push 0x5113
push 0
push 0x555
push 0
push 0x3aba
call fcn.1005cf12
add esp, 0x1c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2b8], eax
push 1
lea ecx, [ebp - 0x98]
call fcn.10025597
cmp dword [ebp - 0x34], 0
jbe 0x1005f362
mov dword [ebp - 0xa4], 1
jmp 0x1005f369
and dword [ebp - 0xa4], 0
push 0
lea ecx, [ebp - 0x158]
call fcn.10025597
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [eax]
je 0x1005f38c
cmp dword [ebp - 0x14], 0
jne 0x1005f38c
and dword [ebp - 0x7c], 0
jmp 0x1005f393
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x210], ecx
cmp dword [ebp - 0x7c], 7
jae 0x1005f3b2
mov dword [ebp - 0x1d0], 1
jmp 0x1005f3b9
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x210]
sub eax, dword [ebp - 0x18]
je 0x1005f3da
cmp dword [ebp - 0x6c], 0
je 0x1005f3da
mov dword [ebp - 0x178], 1
jmp 0x1005f3e1
and dword [ebp - 0x178], 0
push 0
lea ecx, [ebp - 0x264]
call fcn.10025597
cmp dword [ebp - 0x34], 0
jne 0x1005f406
mov eax, 0x7bde
test eax, eax
jne 0x1005f406
and dword [ebp - 0xac], 0
jmp 0x1005f410
mov dword [ebp - 0xac], 1
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0xac], eax
jge 0x1005f430
cmp dword [ebp - 0xec], 0
je 0x1005f430
mov dword [ebp - 0xb4], 1
jmp 0x1005f437
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0xaeb3
jg 0x1005f44f
mov dword [ebp - 0xbc], 1
jmp 0x1005f456
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x13c], 0x3fa5
mov dword [ebp - 0x1b4], 0x1000cae4
cmp dword [ebp - 0x13c], 0x4014
jle 0x1005f515
and dword [ebp - 0x68], 0
jmp 0x1005f493
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x571
jge 0x1005f515
and dword [ebp - 0x70], 0
jmp 0x1005f4a9
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x32dc
jge 0x1005f510
mov eax, dword [ebp - 0x68]
imul eax, dword [ebp - 0x70]
cdq
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x274], eax
push dword [ebp - 0x220]
push dword [ebp - 0x224]
lea ecx, [ebp - 0x338]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x184]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x338]
call fcn.100252df
jmp 0x1005f4a2
jmp 0x1005f48c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x1005f557
cmp dword [ebp - 0x6c], 0x24539cfd
jg 0x1005f542
mov dword [ebp - 0xc4], 1
jmp 0x1005f549
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0xc4], eax
jge 0x1005f569
cmp dword [ebp - 0x34], 0
je 0x1005f569
mov dword [ebp - 0xcc], 1
jmp 0x1005f570
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0xffffffff
je 0x1005f5a0
push 0
lea ecx, [ebp - 0x158]
call fcn.10025597
cmp dword [eax], 0
jne 0x1005f5a0
and dword [ebp - 0xdc], 0
jmp 0x1005f5aa
mov dword [ebp - 0xdc], 1
push 0
lea ecx, [ebp - 0x158]
call fcn.10025597
mov ecx, dword [ebp - 0xdc]
cmp ecx, dword [eax]
jle 0x1005f5cd
mov dword [ebp - 0xe4], 1
jmp 0x1005f5d4
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x194]
cmp dword [ebp - 0xe4], eax
jg 0x1005f5ee
mov dword [ebp - 0x19c], 1
jmp 0x1005f5f5
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0xec]
cmp dword [ebp - 0x6c], eax
jle 0x1005f60c
mov dword [ebp - 0xfc], 1
jmp 0x1005f613
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0xfc], eax
jne 0x1005f62d
mov dword [ebp - 0x104], 1
jmp 0x1005f634
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x104]
jge 0x1005f652
mov dword [ebp - 0x10c], 1
jmp 0x1005f659
and dword [ebp - 0x10c], 0
push 0
lea ecx, [ebp - 0x158]
call fcn.10025597
mov ecx, dword [ebp - 0x10c]
cmp ecx, dword [eax]
jg 0x1005f67c
mov dword [ebp - 0x11c], 1
jmp 0x1005f683
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x114]
cmp dword [ebp - 0x11c], eax
jle 0x1005f69d
mov dword [ebp - 0x12c], 1
jmp 0x1005f6a4
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x124]
mov dword [ebp + eax*4 - 0x210], ecx
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x12c]
je 0x1005f6da
mov dword [ebp - 0x134], 1
jmp 0x1005f6e1
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x13c], 0x3f34
jge 0x1005f705
push dword [ebp - 0x1b4]
call fcn.1008287d
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x158]
call fcn.1002557b
jmp 0x1005f2ad
jmp 0x1005f285
cmp dword [ebp - 0x84], 0x672
jge 0x1005f736
push dword [ebp - 0x160]
call fcn.1008287d
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x298]
call fcn.1002557b
jmp 0x1005f12b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.1002557b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.1002557b
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
cmp dword [ebp - 0x144], 0x4923
jge 0x1005f78f
push dword [ebp - 0x168]
call fcn.1008287d
pop ecx
jmp 0x1005f7b4
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x170], eax
push 0
push dword [ebp - 0x170]
push 0x5b00
push 0x30cf
call fcn.100532fa
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret