Function at 0x585f80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6681b7
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x707ab0], 0
jne 0x586120
lea ecx, [ebp - 0x208]
call fcn.004a5b30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x264]
call fcn.00547f20
mov byte [ebp - 4], 1
call fcn.004a5bd0
add eax, 0x34
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00442260
add esp, 8
mov dword [ebp - 0x248], eax
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x24c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24c]
push eax
push 0
lea ecx, [ebp - 0xb8]
push ecx
call fcn.00450680
add esp, 8
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x254], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x254]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00452500
add esp, 8
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x258], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x258]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.004518b0
add esp, 8
mov dword [ebp - 0x25c], eax
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x260], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0045fb00
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.0043c550
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.0043c550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
call fcn.0043c550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd0]
call fcn.0043c550
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x707ab0], eax
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.00547fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x208]
call fcn.004a5b70
cmp dword [0x707ab0], 0
jne 0x586134
push 0x68c9b8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [0x707ab0]
push edx
call fcn.00592670
add esp, 4
movzx eax, al
test eax, eax
jne 0x586155
push 0x68c9d8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x68c9fc
push 0
lea ecx, [ebp - 0x118]
push ecx
call fcn.00450680
add esp, 8
mov dword [ebp - 0x268], eax
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x26c], edx
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.00452500
add esp, 8
mov dword [ebp - 0x270], eax
mov edx, dword [ebp - 0x270]
mov dword [ebp - 0x274], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x274]
push eax
lea ecx, [ebp - 0xe8]
push ecx
call fcn.00444050
add esp, 0xc
mov dword [ebp - 0x278], eax
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x280], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x280]
push eax
call fcn.004519c0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x5861fe
mov dword [ebp - 0x210], 1
jmp 0x586208
mov dword [ebp - 0x210], 0
mov dl, byte [ebp - 0x210]
mov byte [ebp - 0x209], dl
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
call fcn.0043c550
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x100]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.0043c550
movzx eax, byte [ebp - 0x209]
test eax, eax
je 0x58625a
push 0x68ca04
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.004a5bd0
add eax, 0x7c
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.00442260
add esp, 8
mov dword [ebp - 0x284], eax
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x288], edx
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x288]
push eax
push str.log_
push 0
lea ecx, [ebp - 0x160]
push ecx
call fcn.00450680
add esp, 8
mov dword [ebp - 0x28c], eax
mov edx, dword [ebp - 0x28c]
mov dword [ebp - 0x290], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x290]
push eax
lea ecx, [ebp - 0x148]
push ecx
call fcn.00452500
add esp, 8
mov dword [ebp - 0x294], eax
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x214], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x214]
push eax
lea ecx, [ebp - 0x130]
push ecx
call fcn.00444050
add esp, 0xc
mov dword [ebp - 0x218], eax
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x21c], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0045fb00
add esp, 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x130]
call fcn.0043c550
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x148]
call fcn.0043c550
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x160]
call fcn.0043c550
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x70]
call fcn.0043c550
push 0x6400000
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x178]
push eax
call fcn.00442470
add esp, 8
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x224], ecx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x224]
call fcn.00409890
push eax
call fcn.0060c38b
mov edx, dword [eax]
push edx
call fcn.0060c385
mov eax, dword [eax]
push eax
call dword [0x70734c]
add esp, 0x10
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x178]
call fcn.004048b0
push 1
call dword [0x707358]
add esp, 4
push 1
call dword [0x707360]
add esp, 4
cmp dword [0x707ab4], 0
jne 0x586503
call fcn.004a5bd0
add eax, 4
push eax
lea ecx, [ebp - 0x1d8]
push ecx
call fcn.00442260
add esp, 8
mov dword [ebp - 0x27c], eax
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x22c], edx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x22c]
push eax
push 0
lea ecx, [ebp - 0x1c0]
push ecx
call fcn.00450680
add esp, 8
mov dword [ebp - 0x230], eax
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x234], edx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x234]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.00452500
add esp, 8
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x23c], edx
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x190]
push ecx
call fcn.004518b0
add esp, 8
mov dword [ebp - 0x240], eax
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x244], edx
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x244]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.0045fb00
add esp, 0xc
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x190]
call fcn.0043c550
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1a8]
call fcn.0043c550
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1c0]
call fcn.0043c550
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1d8]
call fcn.0043c550
lea ecx, [ebp - 0x40]
call fcn.0043d1b0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x707ab4], eax
lea ecx, [ebp - 0x40]
call fcn.0043c550
cmp dword [0x707ab4], 0
jne 0x586517
push 0x68ca24
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [0x707ab4]
push edx
call fcn.00592940
add esp, 4
movzx eax, al
test eax, eax
jne 0x586538
push 0x68ca48
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043c550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret