Function at 0x401a1b
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.00407d75
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00407d75
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x497c31
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
push 8
call fcn.00407d75
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x497c31
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00407d75
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
mov dword [ebp - 0x18], 0
push 8
call fcn.00407d75
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x497c31
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x20], esp
push 0
mov eax, 0
call fcn.00407d81
cmp dword [ebp - 0x20], esp
je 0x401afa
push 6
call fcn.00407d7b
add esp, 4
push 0
push 0
push 0
push 0x80000004
push 0
push 0x497c6f
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40afa0
call fcn.00407d87
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x401b3f
mov eax, 0x497c31
jmp 0x402b1e
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x401b54
mov eax, 0x4979d7
push eax
push 1
mov ebx, 0x4086a0
call fcn.00407d87
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401b80
push ebx
call fcn.00407d6f
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4979d7
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x401bbf
mov eax, 0x497c8a
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401bb9
push ebx
call fcn.00407d6f
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x401c50
cmp dword [ebp + 0x44], 1
jge 0x401bdf
mov dword [ebp + 0x44], 0x3a98
jmp 0x401bfc
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x497c8e]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.004017e0
mov dword [ebp + 0x44], eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0x80000004
push 0
push 0x497c96
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x40a070
call fcn.00407d87
add esp, 0x4c
push 0x4979d7
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x401d1c
push 0xa0000004
push 0
push dword [ebp + 0x4c]
push 0x80000301
push 0
push 2
push 0x80000004
push 0
push 0x497ca2
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40a070
call fcn.00407d87
add esp, 0x34
push 0x4979d7
mov ebx, dword [ebp + 0x54]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x401d1c
cmp dword [ebp + 0x68], 0
jne 0x401cd5
mov dword [ebp + 0x64], 1
push 0xa0000301
push 0
lea eax, [ebp + 0x64]
push eax
push 0xa0000004
push 0
push dword [ebp + 0x5c]
push 0xa0000004
push 0
push dword [ebp + 0x54]
push 0x80000004
push 0
push 0x497cab
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x40a070
call fcn.00407d87
add esp, 0x40
push 0x80000002
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
push dword [ebp + 0xc]
push 0x80000004
push 0
push 0x497cbf
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x40a070
call fcn.00407d87
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x401dae
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push 0x80000004
push 0
push 0x497cc4
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40aef0
call fcn.00407d87
add esp, 0x34
push 0x4979d7
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x401e04
push 0x497ccb
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x497d6f
mov ecx, 3
call fcn.00401114
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401dfe
push ebx
call fcn.00407d6f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4979d7
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x401e5d
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push 0x80000004
push 0
push 0x497d79
push 0x80000004
push 0
push 0x497d80
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40a070
call fcn.00407d87
add esp, 0x34
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x497d91
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x401e90
mov eax, 0x4979d7
push eax
push 4
mov ebx, 0x408510
call fcn.00407d87
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x402287
push 0
push 0
push 0
push 0x80000004
push 0
push 0x497d91
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x401ed7
mov eax, 0x4979d7
push eax
push 3
mov ebx, 0x408de0
call fcn.00407d87
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x401f0f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401f0b
imul eax, dword [ebx]
jmp 0x401f00
mov ecx, eax
test ecx, ecx
je 0x401f2e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401f27
push ebx
push eax
call fcn.00407d6f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401f15
call fcn.00407d6f
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00401936
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40227f
mov ebx, dword [ebp - 8]
call fcn.0040194f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x401f76
push 4
call fcn.00407d7b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401f89
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x497d94
push 0x80000004
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x401fc4
mov eax, 0x4979d7
push eax
push 4
mov ebx, 0x408510
call fcn.00407d87
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x402277
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402002
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401ffe
imul eax, dword [ebx]
jmp 0x401ff3
mov ecx, eax
test ecx, ecx
je 0x402021
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40201a
push ebx
push eax
call fcn.00407d6f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402008
call fcn.00407d6f
add esp, 4
mov eax, 0x497c31
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.0040194f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40204e
push 4
call fcn.00407d7b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402061
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0
push 0
push 0
push 0x80000004
push 0
push 0x497d94
push 0x80000004
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402090
mov eax, 0x4979d7
push eax
push 3
mov ebx, 0x408de0
call fcn.00407d87
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4020c8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4020c4
imul eax, dword [ebx]
jmp 0x4020b9
mov ecx, eax
test ecx, ecx
je 0x4020e7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4020e0
push ebx
push eax
call fcn.00407d6f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4020ce
call fcn.00407d6f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 2
inc dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
call fcn.00401936
cmp dword [ebp - 0xc], eax
jle 0x402113
jmp 0x4021d7
mov ebx, dword [ebp - 0x10]
call fcn.0040194f
mov eax, 1
cmp eax, ecx
jl 0x402131
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040194f
mov eax, 1
cmp eax, ecx
jl 0x402157
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040194f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40217c
push 4
call fcn.00407d7b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40218f
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x497d94
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401114
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4021cc
push ebx
call fcn.00407d6f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4020fa
mov ebx, dword [ebp - 0x10]
call fcn.0040194f
mov eax, 0
cmp eax, ecx
jl 0x4021f5
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040194f
mov eax, 1
cmp eax, ecx
jl 0x40221b
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0x80000004
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x402238
mov eax, 0x4979d7
push eax
push 0x80000004
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40224e
mov eax, 0x4979d7
push eax
push 0x80000004
push 0
push 0x497d80
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40a070
call fcn.00407d87
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x401f4b
add esp, 0xc
jmp 0x4024e8
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x497d94
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4022ba
mov eax, 0x4979d7
push eax
push 4
mov ebx, 0x408510
call fcn.00407d87
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x4024e8
push 0
push 0
push 0
push 0x80000004
push 0
push 0x497d94
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402301
mov eax, 0x4979d7
push eax
push 3
mov ebx, 0x408de0
call fcn.00407d87
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402339
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402335
imul eax, dword [ebx]
jmp 0x40232a
mov ecx, eax
test ecx, ecx
je 0x402358
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402351
push ebx
push eax
call fcn.00407d6f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40233f
call fcn.00407d6f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 2
inc dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
call fcn.00401936
cmp dword [ebp - 0xc], eax
jle 0x402384
jmp 0x402448
mov ebx, dword [ebp - 0x10]
call fcn.0040194f
mov eax, 1
cmp eax, ecx
jl 0x4023a2
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040194f
mov eax, 1
cmp eax, ecx
jl 0x4023c8
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040194f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4023ed
push 4
call fcn.00407d7b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402400
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x497d94
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401114
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40243d
push ebx
call fcn.00407d6f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40236b
mov ebx, dword [ebp - 0x10]
call fcn.0040194f
mov eax, 0
cmp eax, ecx
jl 0x402466
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040194f
mov eax, 1
cmp eax, ecx
jl 0x40248c
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0x80000004
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4024a9
mov eax, 0x4979d7
push eax
push 0x80000004
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4024bf
mov eax, 0x4979d7
push eax
push 0x80000004
push 0
push 0x497d80
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40a070
call fcn.00407d87
add esp, 0x34
mov eax, 0x497c31
xor ecx, ecx
test eax, eax
je 0x4024f6
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x74]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x402509
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x402520
dec eax
test ecx, ecx
je 0x402520
call fcn.0040196f
add esp, 0xc
test eax, eax
jne 0x402562
push 0xa0000004
push 0
push dword [ebp + 0x14]
push 0x80000004
push 0
push 0x497d96
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40a070
call fcn.00407d87
add esp, 0x28
jmp 0x4025cd
push 0
push 0
push 0
push 0x80000005
push 0
mov ebx, dword [ebp + 0x74]
mov eax, dword [ebx]
test eax, eax
jne 0x40257d
mov eax, 0x497c31
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x40aa70
call fcn.00407d87
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push 0x80000004
push 0
push 0x497d96
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40a070
call fcn.00407d87
add esp, 0x28
push 0
push 0
push 0
push 0x80000004
push 0
push 0x497d9b
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40a040
call fcn.00407d87
add esp, 0x28
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x20]
push 2
mov ebx, 0x40a0c0
call fcn.00407d87
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x40a0a0
call fcn.00407d87
add esp, 0x10
call fcn.00407d6f
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40265a
push ebx
call fcn.00407d6f
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0x80000004
push 0
push 0x497da8
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40a010
call fcn.00407d87
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x6c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4026a5
push ebx
call fcn.00407d6f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x6c]
mov dword [ebx], eax
push 0
push 0
push 0
push 0x80000004
push 0
push 0x497d91
push 0x80000004
push 0
mov ebx, dword [ebp + 0x6c]
mov eax, dword [ebx]
test eax, eax
jne 0x4026d2
mov eax, 0x4979d7
push eax
push 3
mov ebx, 0x408de0
call fcn.00407d87
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40270a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402706
imul eax, dword [ebx]
jmp 0x4026fb
mov ecx, eax
test ecx, ecx
je 0x402729
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402722
push ebx
push eax
call fcn.00407d6f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402710
call fcn.00407d6f
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4979d7
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40274d
push ebx
call fcn.00407d6f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401936
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x402a8b
mov ebx, dword [ebp - 0x1c]
call fcn.0040194f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40278f
push 4
call fcn.00407d7b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4027a2
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x497dbe
push 0x80000004
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4027dd
mov eax, 0x4979d7
push eax
push 4
mov ebx, 0x408510
call fcn.00407d87
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4028e3
mov ebx, dword [ebp - 0x1c]
call fcn.0040194f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40281a
push 4
call fcn.00407d7b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40282d
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x80000002
push 0
push 0
push 0x80000301
push 0
push 1
mov ebx, 6
call fcn.004010a1
push 0x80000004
push 0
push 0x497dbe
push 0x80000004
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402878
mov eax, 0x4979d7
push eax
push 6
mov ebx, 0x408bf0
call fcn.00407d87
add esp, 0x4c
mov dword [ebp - 0x24], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4028a1
mov eax, 0x4979d7
push eax
push 1
mov ebx, 0x408b20
call fcn.00407d87
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4028c7
push ebx
call fcn.00407d6f
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4028dd
push ebx
call fcn.00407d6f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.0040194f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402900
push 4
call fcn.00407d7b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402913
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x497dc8
push 0x80000004
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40294e
mov eax, 0x4979d7
push eax
push 4
mov ebx, 0x408510
call fcn.00407d87
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x402a83
mov ebx, dword [ebp - 0x1c]
call fcn.0040194f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40298b
push 4
call fcn.00407d7b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40299e
push 1
call fcn.00407d7b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x497dd3
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x497dd5
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
call fcn.00402c4b
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4029f1
push ebx
call fcn.00407d6f
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402a01
push ebx
call fcn.00407d6f
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x402a14
mov eax, 0x4979d7
push eax
push 1
mov ebx, 0x408b20
call fcn.00407d87
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x402a3a
push ebx
call fcn.00407d6f
add esp, 4
push 0x497de1
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401114
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x402a67
push ebx
call fcn.00407d6f
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402a7d
push ebx
call fcn.00407d6f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x402764
add esp, 0xc
push 0x4979d7
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x402ae0
mov ebx, dword [ebp + 0x6c]
mov eax, dword [ebx]
test eax, eax
je 0x402ac7
push eax
mov ebx, eax
call fcn.004010a9
inc eax
push eax
call fcn.00407d75
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402ada
push ebx
call fcn.00407d6f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 1
call fcn.00407d81
cmp dword [ebp - 0x20], esp
je 0x402aff
push 6
call fcn.00407d7b
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x402b19
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00407d75
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x402b1e
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x40af90
call fcn.00407d87
add esp, 0x10
call fcn.00407d6f
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402b60
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402b5c
imul eax, dword [ebx]
jmp 0x402b51
mov ecx, eax
test ecx, ecx
je 0x402b7f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402b78
push ebx
push eax
call fcn.00407d6f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402b66
call fcn.00407d6f
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402ba5
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402ba1
imul eax, dword [ebx]
jmp 0x402b96
mov ecx, eax
test ecx, ecx
je 0x402bc4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402bbd
push ebx
push eax
call fcn.00407d6f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402bab
call fcn.00407d6f
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x40a0a0
call fcn.00407d87
add esp, 0x10
call fcn.00407d6f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402bff
push ebx
call fcn.00407d6f
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402c1d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402c19
imul eax, dword [ebx]
jmp 0x402c0e
mov ecx, eax
test ecx, ecx
je 0x402c3c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402c35
push ebx
push eax
call fcn.00407d6f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402c23
call fcn.00407d6f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x74