Function at 0x4126f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x158
mov eax, dword [0x4d2260]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x120], ecx
push 0x95c
push 0
mov eax, dword [ebp - 0x120]
add eax, 4
push eax
call fcn.00465960
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.WTPROCIN_d
mov ecx, dword [ebp - 0x120]
add ecx, 0x10
push ecx
call fcn.0046675d
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [ebp - 0x120]
mov dword [edx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 8], eax
push 0x4a95bc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 0x38], eax
push 0x4a95c8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 0x34], eax
push 0x4a95dc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 0x30], eax
push 0x4a95e8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 0x3c], eax
push 0x4a95f8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 0x48], eax
push 0x4a9608
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 0x5c], eax
push 0x4a9614
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 0x4c], eax
push 0x4a9624
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 0x50], eax
push 0x4a9634
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 0x54], eax
push str.DebugBreak
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 0x58], eax
push str.AllowSetForegroundWindow
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 0x40], eax
push 0x4a9668
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 0x10]
and edx, 1
je 0x4129b6
lea ecx, [ebp - 0x40]
call fcn.00401760
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.004155b0
add esp, 4
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x128], edx
mov byte [ebp - 4], 1
push 0x4a967c
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.00409460
add esp, 0xc
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x40]
call fcn.004017f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.004017d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.004017d0
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
mov edx, dword [ebp - 0x120]
mov dword [edx + 0x64], ecx
lea ecx, [ebp - 0x40]
call fcn.0040c870
cmp eax, 0x103
jb 0x412972
push str.wtap.dll
lea ecx, [ebp - 0x40]
call fcn.00408ec0
lea ecx, [ebp - 0x40]
call fcn.004018c0
push eax
mov eax, dword [ebp - 0x120]
add eax, 0x6c
push eax
call fcn.00465ed0
add esp, 8
push str._InitAP_0
mov ecx, dword [ebp - 0x120]
add ecx, 0x170
push ecx
call fcn.00465ed0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004017d0
mov edx, dword [ebp + 0x10]
and edx, 0x10000
je 0x412db3
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x120]
add eax, 0x356
push eax
mov ecx, dword [ebp - 0x120]
add ecx, 0x45a
push ecx
call fcn.004120d0
add esp, 8
movzx edx, al
test edx, edx
je 0x412db3
lea eax, [ebp - 0xb4]
push eax
call fcn.004155b0
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], 3
push str.hotsauce.dll
mov edx, dword [ebp - 0x138]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.00409460
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb4]
call fcn.004017d0
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x120]
add ecx, 0x184
call fcn.00412440
movzx edx, al
test edx, edx
je 0x412da4
mov eax, dword [ebp + 0x10]
and eax, 0xff0000
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 0x28c], eax
lea ecx, [ebp - 0x60]
call fcn.004018c0
push eax
push 0x104
mov edx, dword [ebp - 0x120]
add edx, 0x184
push edx
call fcn.00414870
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 6
mov ecx, 0x4d3af0
call fcn.00408a90
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
call fcn.00414aa0
mov byte [ebp - 0x13d], al
movzx eax, byte [ebp - 0x13d]
test eax, eax
je 0x412aec
mov ecx, dword [ebp - 0x120]
mov edx, dword [ecx + 0x28c]
or edx, 0x40000
mov eax, dword [ebp - 0x120]
mov dword [eax + 0x28c], edx
jmp 0x412b12
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, 0x4d3af0
call fcn.00408a90
mov ecx, eax
call fcn.00408780
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x148], edx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x148]
call fcn.004018c0
push eax
push 0x20
mov eax, dword [ebp - 0x120]
add eax, 0x290
push eax
call fcn.00414870
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd0]
call fcn.004017d0
lea ecx, [ebp - 0xec]
push ecx
mov ecx, 0x4d3af0
call fcn.00408a90
mov ecx, eax
call fcn.00408700
mov dword [ebp - 0x14c], eax
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x150], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x150]
call fcn.004018c0
push eax
push 0x20
mov eax, dword [ebp - 0x120]
add eax, 0x2b0
push eax
call fcn.00414870
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xec]
call fcn.004017d0
push 0x4a96b0
lea ecx, [ebp - 0xf4]
call fcn.00414450
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], ecx
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0xfc]
push edx
mov ecx, 0x4d3d1c
call fcn.00418750
push eax
mov eax, dword [ebp - 0x158]
push eax
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, 0x4d3d1c
call fcn.00413120
mov ecx, eax
call fcn.00426030
mov byte [ebp - 0xed], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf4]
call fcn.004144e0
movzx edx, byte [ebp - 0xed]
test edx, edx
je 0x412cbd
push str.sponsorCode
lea ecx, [ebp - 0x100]
call fcn.00414450
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x160], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x160]
push ecx
mov ecx, 0x4d3d1c
call fcn.00413020
mov ecx, eax
call fcn.00414500
push eax
push 0x4a96e0
push 0x26
mov edx, dword [ebp - 0x120]
add edx, 0x320
push edx
call fcn.004148b0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x100]
call fcn.004144e0
jmp 0x412cca
mov eax, dword [ebp - 0x120]
mov byte [eax + 0x320], 0
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, 0x4d3af0
call fcn.00408a90
mov ecx, eax
call fcn.0043e391
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x168], edx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x168]
call fcn.004018c0
push eax
push 0x4a96e4
push 0x28
mov eax, dword [ebp - 0x120]
add eax, 0x2d0
push eax
call fcn.004148b0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x11c]
call fcn.004017d0
mov ecx, 0x4d3dc0
call fcn.004018c0
push eax
push 0x4a96e8
push 0x28
mov ecx, dword [ebp - 0x120]
add ecx, 0x2f8
push ecx
call fcn.004148b0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ecx, 0x4d3af0
call fcn.00408ab0
mov ecx, eax
call fcn.0040a4a0
mov ecx, eax
call fcn.00408f20
push eax
push 0x4a96ec
push 0x10
mov edx, dword [ebp - 0x120]
add edx, 0x346
push edx
call fcn.004148b0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x120]
add ecx, 0x184
call fcn.004125a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.004017d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00465dcc
mov esp, ebp
pop ebp
ret 0xc