Function at 0x10051d70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c43e8
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x138], 1
lea eax, [ebp - 0x138]
push eax
push 0
call fcn.1000c380
add esp, 8
cmp eax, 1
jne 0x10051dd6
mov ecx, dword [ebp - 0x138]
push ecx
push 0
push 0
push 0
call fcn.1000c4f0
add esp, 0x10
call fcn.1003ff40
add eax, 0x34
mov ecx, eax
call fcn.10007050
push eax
call fcn.1003ff40
add eax, 0x34
mov ecx, eax
call fcn.10007050
push eax
lea ecx, [ebp - 0x131]
call fcn.10083420
movzx edx, al
test edx, edx
je 0x10051e5c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.10051d10
add esp, 4
movzx eax, al
test eax, eax
je 0x10051e57
call fcn.1003ff40
add eax, 0x4c
mov ecx, eax
call fcn.10007050
push eax
call fcn.1003ff40
add eax, 0x4c
mov ecx, eax
call fcn.10007050
push eax
lea ecx, [ebp - 0x131]
call fcn.10083210
movzx ecx, al
test ecx, ecx
je 0x10051e55
jmp 0x10052293
jmp 0x10051e5c
jmp 0x10052293
lea edx, [ebp - 0x28]
push edx
call fcn.1005e140
mov ecx, eax
call fcn.1005e030
mov dword [ebp - 4], 0
call fcn.1003ff40
add eax, 0x7c
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.1002f210
add esp, 8
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x140], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x140]
push edx
lea ecx, [ebp - 0x28]
call fcn.1002e870
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.1000c290
push 0
lea ecx, [ebp - 0x28]
call fcn.10049c40
push eax
call fcn.100acf82
add esp, 8
cmp eax, 0xffffffff
jne 0x10051ef6
push str.Check_File_no_find
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000c290
jmp 0x10052293
push 0x100d1478
call fcn.1003ff40
add eax, 0x7c
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1002f210
add esp, 8
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x148], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x148]
push edx
lea eax, [ebp - 0xe8]
push eax
call fcn.1005e140
mov ecx, eax
call fcn.1005e030
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x184], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x184]
push edx
push 0x100d147c
call fcn.1003ff40
add eax, 0x94
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.1002f210
add esp, 8
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x17c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x17c]
push edx
lea eax, [ebp - 0x118]
push eax
call fcn.1005e140
mov ecx, eax
call fcn.1005e030
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x174], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x174]
push edx
push 0x100d148c
lea eax, [ebp - 0x130]
push eax
call fcn.10036200
add esp, 0xc
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x16c], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x16c]
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.10035f90
add esp, 0xc
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x164], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x164]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.1002c190
add esp, 0xc
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x15c], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x15c]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.10035f90
add esp, 0xc
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x150], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x150]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.10035f90
add esp, 0xc
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x158]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.1002c190
add esp, 0xc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb8]
call fcn.1000c290
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa0]
call fcn.1000c290
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x88]
call fcn.1000c290
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x70]
call fcn.1000c290
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x130]
call fcn.1000c290
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x118]
call fcn.1000c290
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x100]
call fcn.1000c290
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xe8]
call fcn.1000c290
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x58]
call fcn.1000c290
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x190], esp
push 0x100d1490
call fcn.10007e50
mov dword [ebp - 0x194], eax
push 0
push 0
lea ecx, [ebp - 0x40]
push ecx
push 0
call fcn.100505f0
add esp, 0x2c
mov byte [ebp - 0x132], al
movzx edx, byte [ebp - 0x132]
test edx, edx
je 0x10052176
jmp 0x10052196
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000c290
jmp 0x10052293
call fcn.1003ff40
add eax, 0x34
mov ecx, eax
call fcn.10007050
push eax
call fcn.1003ff40
add eax, 0x34
mov ecx, eax
call fcn.10007050
push eax
lea ecx, [ebp - 0x131]
call fcn.10083420
movzx eax, al
test eax, eax
je 0x10052266
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.10051d10
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x10052247
call fcn.1003ff40
add eax, 0x4c
mov ecx, eax
call fcn.10007050
push eax
call fcn.1003ff40
add eax, 0x4c
mov ecx, eax
call fcn.10007050
push eax
lea ecx, [ebp - 0x131]
call fcn.10083210
movzx edx, al
test edx, edx
je 0x10052233
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000c290
jmp 0x10052293
push 0
mov ecx, dword [ebp + 8]
call fcn.10053200
mov ecx, dword [ebp + 8]
call fcn.10051380
jmp 0x10052264
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000c290
jmp 0x10052293
jmp 0x10052278
push 0
mov ecx, dword [ebp + 8]
call fcn.10053200
mov ecx, dword [ebp + 8]
call fcn.10051380
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret 4