Function at 0x4011b0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
sub esp, 0x434
push 0x104
lea eax, [esp + 0x2c]
push eax
push 0
mov dword [esp + 0xc], ecx
mov byte [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4011d8
sub eax, edx
lea eax, [esp + eax + 0x28]
lea ecx, [esp + 0x28]
cmp eax, ecx
jbe 0x4011fe
lea ecx, [ecx]
cmp byte [eax], 0x5c
je 0x4011fe
dec eax
lea edx, [esp + 0x28]
cmp eax, edx
ja 0x4011f0
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push ebp
push esi
push edi
push 7
push 2
mov byte [eax], 0
lea eax, [esp + 0x2c]
push str.Python_d_d.dll
push eax
xor edi, edi
mov dword [esp + 0x24], str.......
mov dword [esp + 0x28], str.......PCBuild
mov dword [esp + 0x2c], 0x403570
mov dword [esp + 0x30], str.PCBuild
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x10
push str.win32ui.pyd
call ebp
mov esi, eax
test esi, esi
jne 0x4012ca
push str.win32ui.pyd
push str.lib_site_packagespythonwin
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x248]
push str._s_s_s
push edx
call ebx
add esp, 0x14
lea eax, [esp + 0x23c]
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x4012ca
test edi, edi
jne 0x4012bf
mov edx, dword [esp + esi*4 + 0x14]
lea ecx, [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x248]
push str._s_s_s
push ecx
call ebx
add esp, 0x14
lea edx, [esp + 0x23c]
push edx
call ebp
inc esi
cmp esi, 4
mov edi, eax
jl 0x401284
test edi, edi
je 0x4012db
push str.win32ui.pyd
call ebp
mov esi, eax
jmp 0x4012d7
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
jne 0x401352
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push str.win32ui.pyd
lea ecx, [esp + 0x144]
push str.The_application_can_not_locate__s__or_Python____d__n
push ecx
call ebx
lea eax, [esp + 0x14c]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401305
sub eax, edx
push 0
mov edx, 0x100
sub edx, eax
push edx
lea eax, [esp + eax + 0x144]
push eax
push 0
call esi
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0
push 0
lea ecx, [esp + 0x144]
push ecx
call sub.mfc90.dll_Ordinal_1183
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x434
ret 8
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Py_IsInitialized
push edi
call ebp
test eax, eax
je 0x401376
call eax
mov edx, dword [esp + 0x10]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
mov byte [edx + 0x20], bl
jmp 0x401383
mov eax, dword [esp + 0x10]
mov byte [eax + 0x20], 0
mov ebx, 1
push str.Py_Initialize
push edi
call ebp
test eax, eax
je 0x4013a3
test ebx, ebx
je 0x4013a3
call eax
push str.PyEval_InitThreads
push edi
call ebp
test eax, eax
je 0x4013a3
call eax
test esi, esi
jne 0x4013da
push str.PyRun_SimpleString
push edi
call ebp
test eax, eax
je 0x4013bd
push str.import_win32ui
call eax
add esp, 4
push str.win32ui.pyd
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x4013da
push eax
push eax
push str.Still_cant_get_my_hands_on_win32ui
call sub.mfc90.dll_Ordinal_1183
push str.Win32uiApplicationInit
push esi
call ebp
test eax, eax
je 0x40140d
mov ecx, dword [esp + 0x44c]
mov edx, dword [esp + 0x448]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
call eax
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x434
ret 8
push str.WARNING___win32uiHostGlue_could_not_load_the_entry_point_for_ApplicationInit_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x434
ret 8