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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x10
call fcn.0041e927
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], 0x4bfe1f
push ebx
add ebx, 4
push ebx
push 8
call fcn.0041e927
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 4
push ebx
push 8
call fcn.0041e927
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 4
push ebx
push 0x10
call fcn.0041e927
add esp, 4
pop ebx
push ebx
mov dword [ebx], 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
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.004077f0
pop ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0xc
call fcn.0041e927
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4bfe3b
push ebx
add ebx, 8
push ebx
push 8
call fcn.0041e927
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.004077fe
pop ebx
push 0x4bfca7
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
test eax, eax
je 0x4016f7
mov eax, str.lanzoui
jmp 0x401715
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x401715
push eax
mov ebx, eax
call fcn.004010a1
inc eax
push eax
call fcn.0041e927
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40172e
push ebx
call fcn.0041e92d
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.87_Safari_537.36_r_nreferer:_https:__www.lanzoux.com_
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40174a
push ebx
call fcn.0041e92d
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 8
call fcn.0041e927
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
push dword [ebp + 8]
call fcn.0040241d
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x40185d
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40186d
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40187d
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40188d
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40189d
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4018ad
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4018bd
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4018cd
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x422000
call fcn.0041e93f
add esp, 0x10
call fcn.0041e92d
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x401903
mov eax, 0x4bfd6a
push eax
push 1
mov ebx, 0x420350
call fcn.0041e93f
add esp, 0x10
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x401929
push ebx
call fcn.0041e92d
add esp, 4
lea eax, [ebp - 0x70]
push eax
call fcn.00406e3f
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x401945
push ebx
call fcn.0041e92d
add esp, 4
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401959
push ebx
call fcn.0041e92d
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 1
push 1
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 8]
push eax
mov eax, str.src
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4019b6
push ebx
call fcn.0041e92d
add esp, 4
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4019f2
push ebx
call fcn.0041e92d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x4bfca7
push dword [ebp - 0x10]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x401a43
mov ebx, 6
call fcn.00401566
push 0x80000301
push 0
push 0x10
push getpeername
push 0
push 0x4bfd94
push 4
mov ebx, 0x4209e0
call fcn.0041e93f
add esp, 0x34
push dword [ebp - 0x10]
push str.https:__www.lanzoux.com_
mov ecx, 2
call fcn.0040110c
add esp, 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 8
call fcn.0041e927
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x6c], 0
push 0
push dword [ebp - 0x6c]
lea eax, [ebp - 0x28]
push eax
call fcn.0040241d
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401b6b
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x401b7b
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x401b8b
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x401b9b
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x401bab
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x401bbb
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x401bcb
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x401bdb
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x401beb
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x38]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x422000
call fcn.0041e93f
add esp, 0x10
call fcn.0041e92d
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x401c21
mov eax, 0x4bfd6a
push eax
push 1
mov ebx, 0x420350
call fcn.0041e93f
add esp, 0x10
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x401c47
push ebx
call fcn.0041e92d
add esp, 4
lea eax, [ebp - 0x74]
push eax
call fcn.00406e3f
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x401c63
push ebx
call fcn.0041e92d
add esp, 4
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401c77
push ebx
call fcn.0041e92d
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 8]
push eax
mov eax, str._0_9a_zA_Z__70__c_c
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401cd9
push ebx
call fcn.0041e92d
add esp, 4
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401d10
push ebx
call fcn.0041e92d
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x4bfca7
push dword [ebp - 0x14]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x401d2d
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 8]
push eax
mov eax, str.action:_.__
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401d8b
push ebx
call fcn.0041e92d
add esp, 4
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401dc7
push ebx
call fcn.0041e92d
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x4bfca7
push dword [ebp - 0x18]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x401dfe
mov eax, str.downprocess
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401dfa
push ebx
call fcn.0041e92d
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push str.ves1
push dword [ebp - 0x14]
push str.sign
push dword [ebp - 0x18]
push str.action
mov ecx, 5
call fcn.0040110c
add esp, 0x14
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401e37
push ebx
call fcn.0041e92d
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 8]
push eax
mov eax, str.url_:___.__
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401e99
push ebx
call fcn.0041e92d
add esp, 4
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push str.https:__www.lanzoux.com_
mov ecx, 2
call fcn.0040110c
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401ee9
push ebx
call fcn.0041e92d
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401efd
push ebx
call fcn.0041e92d
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 8
call fcn.0041e927
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.0040241d
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x402005
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x402015
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x402025
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x402035
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x402045
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x402055
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x402065
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x422000
call fcn.0041e93f
add esp, 0x10
call fcn.0041e92d
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x40209b
mov eax, 0x4bfd6a
push eax
push 1
mov ebx, 0x420350
call fcn.0041e93f
add esp, 0x10
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4020c1
push ebx
call fcn.0041e92d
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4020d5
push ebx
call fcn.0041e92d
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x4bfca7
push dword [ebp - 8]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x4020f2
push 0x20
call fcn.0041e927
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40214d
push ebx
call fcn.0041e92d
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x402161
push ebx
call fcn.0041e92d
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x402175
push ebx
call fcn.0041e92d
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x402189
push ebx
call fcn.0041e92d
add esp, 4
pop ebx
call fcn.0041e92d
add esp, 4
cmp dword [ebp - 0x30], 0
jne 0x40219c
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
mov eax, 0x4bfe10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4021d7
push ebx
call fcn.0041e92d
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, 0x4bfe14
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x402212
push ebx
call fcn.0041e92d
add esp, 4
push dword [ebp - 0x3c]
push str._file_
push dword [ebp - 0x30]
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40223d
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40224d
push ebx
call fcn.0041e92d
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402261
push ebx
call fcn.0041e92d
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00407467
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
jmp 0x402279
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40228a
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40229a
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4022ba
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4022ca
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4022da
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4022ea
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4022fa
push ebx
call fcn.0041e92d
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0041e92d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc