Function at 0x40d820
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cc1c
mov eax, dword fs:[0]
push eax
sub esp, 0x3a0
mov eax, dword [0x47ca80]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3ac], ecx
lea ecx, [ebp - 0x188]
call fcn.00402f90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a220
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x3ac]
call fcn.00402ce0
mov ecx, dword [0x47e080]
add ecx, 0x66
push ecx
lea ecx, [ebp - 0x188]
call fcn.004032a0
lea ecx, [ebp - 0x188]
call fcn.00403130
push eax
mov ecx, dword [ebp - 0x3ac]
call fcn.00428d58
mov ecx, dword [ebp - 0x3ac]
add ecx, 0x78
call fcn.00403130
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x3ac]
call int.00428c44
mov ecx, eax
call fcn.00428d58
push 2
lea ecx, [ebp - 0x1c]
call fcn.00402d40
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402d20
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x3ac]
call fcn.00429089
mov edx, dword [ebp - 0x3ac]
push edx
push 1
mov ecx, dword [ebp - 0x3ac]
add ecx, 0x7c
call fcn.004260e7
push 0
push 0
mov eax, dword [0x47e080]
add eax, 0x89
push eax
mov ecx, dword [0x47e080]
add ecx, 0x88
push ecx
mov ecx, dword [ebp - 0x3ac]
add ecx, 0x7c
call fcn.00402ea0
test eax, eax
jne 0x40d993
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 0x294], 0
push 0x103
push 0
lea edx, [ebp - 0x293]
push edx
call fcn.00440170
add esp, 0xc
mov eax, dword [ebp - 0x18c]
push eax
push str.m_btnOK.LoadBitmaps_error___d
lea ecx, [ebp - 0x294]
push ecx
call fcn.00410b00
add esp, 0xc
lea edx, [ebp - 0x294]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x294]
push eax
call fcn.00411940
add esp, 4
mov ecx, dword [ebp - 0x3ac]
push ecx
push 2
mov ecx, dword [ebp - 0x3ac]
add ecx, 0xf0
call fcn.004260e7
push 0
push 0
mov edx, dword [0x47e080]
add edx, 0x8b
push edx
mov eax, dword [0x47e080]
add eax, 0x8a
push eax
mov ecx, dword [ebp - 0x3ac]
add ecx, 0xf0
call fcn.00402ea0
test eax, eax
jne 0x40da3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x298], eax
mov byte [ebp - 0x3a4], 0
push 0x103
push 0
lea ecx, [ebp - 0x3a3]
push ecx
call fcn.00440170
add esp, 0xc
mov edx, dword [ebp - 0x298]
push edx
push str.m_btnCANLE.LoadBitmaps_error___d
lea eax, [ebp - 0x3a4]
push eax
call fcn.00410b00
add esp, 0xc
lea ecx, [ebp - 0x3a4]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x3a4]
push edx
call fcn.00411940
add esp, 4
mov dword [ebp - 0x17c], 0x154
push 0
lea eax, [ebp - 0x17c]
push eax
push 0x154
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x184], eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x180], eax
push 2
lea ecx, [ebp - 0x1c]
call fcn.00402d40
mov ecx, dword [ebp - 0x168]
lea edx, [eax + ecx - 0x1e]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00402d20
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x3ac]
call fcn.00429089
mov dword [ebp - 0x3a8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x188]
call fcn.00403050
mov eax, dword [ebp - 0x3a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00440160
mov esp, ebp
pop ebp
ret