Function at 0x42f030
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x414], ecx
mov eax, dword [ebp - 0x414]
cmp dword [eax + 0x18], 0
jne 0x42f05a
jmp 0x42f37b
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 0x47534d43
mov edx, dword [ebp - 0x414]
mov ecx, dword [edx + 0x18]
call fcn.00431260
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x42f08c
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 8]
mov dword [eax + 0xc], ecx
jmp 0x42f099
mov edx, dword [ebp - 0x414]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x414]
mov dword [eax + 0xa8], 0
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0xc]
and edx, 1
je 0x42f0d5
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax + 0xc]
and ecx, 2
je 0x42f0d5
mov edx, dword [ebp - 0x414]
mov dword [edx + 0xa8], 1
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax + 0xc]
and ecx, 0x200000
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x414]
cmp dword [edx + 0xa8], 0
je 0x42f1fb
cmp dword [ebp - 0x10], 0
je 0x42f1fb
mov dword [ebp - 0x1ac], 0
push 0xc8
push 0
lea eax, [ebp - 0xe0]
push eax
call fcn.00404a40
add esp, 0xc
push 0xc8
lea ecx, [ebp - 0xe0]
push ecx
mov edx, dword [0x4464c4]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x1ac], eax
xor eax, eax
mov ecx, dword [ebp - 0x1ac]
mov word [ebp + ecx*2 - 0xfa], ax
mov dword [ebp - 0x1b0], 0
jmp 0x42f16e
mov edx, dword [ebp - 0x1b0]
add edx, 1
mov dword [ebp - 0x1b0], edx
cmp dword [ebp - 0x1b0], 8
jge 0x42f1fb
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x414]
mov dword [ecx + eax*4 + 0x48], 0
push 0xc8
push 0
lea edx, [ebp - 0x1a8]
push edx
call fcn.00404a40
add esp, 0xc
mov eax, dword [ebp - 0x1b0]
add eax, 1
push eax
lea ecx, [ebp - 0xe0]
push ecx
push str._sUI0_d.bmp
lea edx, [ebp - 0x1a8]
push edx
call fcn.00401040
add esp, 0x10
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [0x4464c4]
push ecx
call dword [sym.imp.USER32.dll_LoadImageW]
mov edx, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x414]
mov dword [ecx + edx*4 + 0x48], eax
jmp 0x42f15f
mov edx, dword [ebp - 0x414]
mov dword [edx + 0x80], 0
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax + 0xc]
and ecx, 1
je 0x42f247
mov edx, dword [ebp - 0x414]
mov eax, dword [edx + 0xc]
and eax, 0x200000
je 0x42f247
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0xc]
and edx, 2
jne 0x42f247
mov eax, dword [ebp - 0x414]
mov dword [eax + 0x80], 1
mov ecx, dword [ebp - 0x414]
cmp dword [ecx + 0x80], 0
je 0x42f36a
mov dword [ebp - 0x344], 0
push 0xc8
push 0
lea edx, [ebp - 0x278]
push edx
call fcn.00404a40
add esp, 0xc
push 0xc8
lea eax, [ebp - 0x278]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x344], eax
xor ecx, ecx
mov edx, dword [ebp - 0x344]
mov word [ebp + edx*2 - 0x292], cx
mov dword [ebp - 0x348], 0
jmp 0x42f2bf
mov eax, dword [ebp - 0x348]
add eax, 1
mov dword [ebp - 0x348], eax
cmp dword [ebp - 0x348], 8
jge 0x42f36a
mov ecx, dword [ebp - 0x348]
mov edx, dword [ebp - 0x414]
mov dword [edx + ecx*4 + 0x48], 0
push 0xc8
push 0
lea eax, [ebp - 0x340]
push eax
call fcn.00404a40
add esp, 0xc
mov ecx, dword [ebp - 0x348]
add ecx, 1
push ecx
lea edx, [ebp - 0x278]
push edx
push str._sUIW30_d.bmp
lea eax, [ebp - 0x340]
push eax
call fcn.00401040
add esp, 0x10
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x340]
push ecx
mov edx, dword [0x4464c4]
push edx
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, dword [ebp - 0x348]
mov edx, dword [ebp - 0x414]
mov dword [edx + ecx*4 + 0x48], eax
mov eax, dword [ebp - 0x348]
mov ecx, dword [ebp - 0x414]
cmp dword [ecx + eax*4 + 0x48], 0
jne 0x42f365
push str.Load_Image_Fail_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x42f2b0
mov edx, dword [ebp - 0x414]
mov eax, dword [edx + 0xc]
and eax, 0x800000
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret