Function at 0x401270
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x417ba6
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x41d2b0]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41d2b0]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x10c]
mov ebp, dword [esp + 0x110]
mov dword [esp + 0x18], eax
call fcn.00405140
lea esi, [esp + 0x1c]
mov edi, eax
call fcn.004022b0
mov ebx, str.UBupdate.dat
mov ecx, eax
lea esi, [esp + 0x54]
mov dword [esp + 0x104], 0
call fcn.004016b0
mov esi, 8
mov byte [esp + 0x104], 2
cmp dword [esp + 0x34], esi
jb 0x401308
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00406e6d
add esp, 4
mov eax, dword [esp + 0x58]
xor edx, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
cmp dword [esp + 0x6c], esi
jae 0x40132d
lea eax, [esp + 0x58]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 4]
push str.http:__30.gy_ub.xml
mov ecx, edi
call eax
mov edx, dword [edi]
mov bl, al
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
test bl, bl
jne 0x401365
cmp dword [esp + 0x6c], esi
jb 0x40135e
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00406e6d
add esp, 4
xor al, al
jmp 0x401560
lea edx, [esp + 0x8c]
push edx
call fcn.00402060
mov byte [esp + 0x104], 3
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x401388
lea eax, [esp + 0x58]
lea ecx, [esp + 0xe4]
push ecx
push eax
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x94]
call fcn.00402ba0
add esp, 8
test al, al
je 0x4013bb
lea ecx, [esp + 0x8c]
call fcn.00403440
test al, al
jne 0x4013f9
push 0x41a3dc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x108], 2
call fcn.00401e90
cmp dword [esp + 0x6c], esi
jb 0x40135e
mov eax, dword [esp + 0x58]
push eax
call fcn.00406e6d
add esp, 4
xor al, al
jmp 0x401560
push ecx
mov eax, esp
lea esi, [esp + 0x90]
mov dword [esp + 0x18], esp
mov dword [eax], str.Config
call fcn.00402db0
test al, al
jne 0x401445
mov ecx, esi
push ecx
mov byte [esp + 0x108], 2
call fcn.00401e90
cmp dword [esp + 0x6c], 8
jb 0x40135e
mov edx, dword [esp + 0x58]
push edx
call fcn.00406e6d
add esp, 4
xor al, al
jmp 0x401560
push ecx
mov eax, esp
mov dword [eax], str.time
lea ecx, [esp + 0x74]
lea eax, [esp + 0x90]
mov dword [esp + 0x18], esp
call fcn.00401e70
push ecx
mov eax, esp
mov bl, 4
mov byte [esp + 0x108], bl
mov dword [eax], 0x41a410
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x90]
mov dword [esp + 0x18], esp
call fcn.00401e70
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebp
mov byte [esp + 0x110], 5
call fcn.00401d70
mov esi, 8
mov byte [esp + 0x104], bl
cmp dword [esp + 0x50], esi
jb 0x4014bb
mov eax, dword [esp + 0x3c]
push eax
call fcn.00406e6d
add esp, 4
cmp dword [esp + 0x84], 0
jne 0x4014d1
mov ecx, dword [esp + 0x18]
mov dword [ecx], 0xa0
jmp 0x4014f1
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], esi
jae 0x4014e2
lea eax, [esp + 0x74]
push eax
call fcn.00407227
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [edx], eax
cmp dword [ebp + 0x14], 0
jne 0x401503
push 0x41a364
mov ecx, ebp
call fcn.00401590
cmp dword [esp + 0x88], esi
jb 0x401519
mov eax, dword [esp + 0x74]
push eax
call fcn.00406e6d
add esp, 4
lea edx, [esp + 0x8c]
xor ecx, ecx
push edx
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov word [esp + 0x78], cx
mov byte [esp + 0x108], 2
call fcn.00401e90
cmp dword [esp + 0x6c], esi
jb 0x40155e
mov eax, dword [esp + 0x58]
push eax
call fcn.00406e6d
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.00406e5e
add esp, 0xf4
ret