Function at 0x420e30
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x190], 0
jne 0x420e43
mov ecx, esi
call fcn.0041a2d0
call fcn.004272c0
mov ecx, esi
pop esi
jmp 0x428b40
push 0xffffffffffffffff
push 0x4d7e9e
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.00417060
lea ecx, [esp + 0x18]
mov dword [esp + 0xe8], 0
call fcn.00474bb0
lea edi, [esi + 0x270]
mov byte [esp + 0xe8], 1
mov eax, dword [edi]
test eax, eax
je 0x428beb
cmp word [eax], 0
je 0x428beb
push 0x520174
lea ecx, [esp + 0x1c]
call fcn.00473ff0
lea eax, [esi + 0x244]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
call fcn.00473f90
push 0x52017c
lea ecx, [esp + 0x1c]
call fcn.00473ff0
push edi
lea ecx, [esp + 0x1c]
call fcn.00473f90
push 0x520180
jmp 0x428c12
push str.__K
lea ecx, [esp + 0x1c]
call fcn.00473ff0
lea eax, [esi + 0x244]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
call fcn.00473f90
push 0x51f88c
lea ecx, [esp + 0x1c]
call fcn.00473ff0
mov eax, dword [esi + 0x24c]
test eax, eax
lea edi, [esi + 0x24c]
je 0x428c57
cmp word [eax], 0
je 0x428c57
push str._X_
lea ecx, [esp + 0x1c]
call fcn.00473ff0
push edi
lea ecx, [esp + 0x1c]
call fcn.00473f90
push 0x51f890
lea ecx, [esp + 0x1c]
call fcn.00473ff0
mov eax, dword [esi + 0x28c]
test eax, eax
lea edi, [esi + 0x28c]
mov dword [esp + 0x38], edi
je 0x428c97
cmp word [eax], 0
je 0x428c97
push str.__SK_
lea ecx, [esp + 0x1c]
call fcn.00473ff0
push edi
lea ecx, [esp + 0x1c]
call fcn.00473f90
push 0x51f890
lea ecx, [esp + 0x1c]
call fcn.00473ff0
push 0x44
lea ecx, [esp + 0x50]
push 0
push ecx
call fcn.004b0770
mov edi, dword [esi + 0x22c]
add esp, 0xc
or ebx, 0xffffffff
cmp edi, 0x80000000
mov dword [esp + 0x4c], 0x44
jne 0x428cc3
mov edi, ebx
mov ebp, dword [esi + 0x230]
cmp ebp, 0x80000000
jne 0x428cd3
mov ebp, ebx
mov eax, dword [esi + 0x234]
push 0x52019c
push eax
call fcn.00477250
add esp, 8
test eax, eax
je 0x428d57
mov eax, dword [esi + 0x238]
push 0x52019c
push eax
call fcn.00477250
add esp, 8
test eax, eax
je 0x428d57
mov eax, dword [esi + 0x234]
test eax, eax
je 0x428d2b
mov eax, dword [eax - 0xc]
shr eax, 1
test eax, eax
jle 0x428d2b
mov eax, dword [esi + 0x234]
push eax
call fcn.004ad659
add esp, 4
mov dword [esp + 0x24], eax
jmp 0x428d2f
mov dword [esp + 0x24], ebx
mov eax, dword [esi + 0x238]
test eax, eax
je 0x428d5b
mov eax, dword [eax - 0xc]
shr eax, 1
test eax, eax
jle 0x428d5b
mov eax, dword [esi + 0x238]
push eax
call fcn.004ad659
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x428d5f
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
lea edx, [esp + 0x3c]
push edx
push esi
lea ebx, [esp + 0xd8]
call fcn.00428a40
cmp edi, 0xffffffff
jne 0x428d9b
mov edx, dword [esp + 0x24]
test edx, edx
jle 0x428d9b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
cmp eax, edx
jle 0x428d99
sub eax, edx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, ecx
jmp 0x428d9b
xor edi, edi
cmp ebp, 0xffffffff
mov ebx, dword [esp + 0x20]
jne 0x428dc5
test ebx, ebx
jle 0x428dc5
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
sub eax, ecx
cmp eax, ebx
jle 0x428dc3
sub eax, ebx
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
add ebp, ecx
jmp 0x428dc5
xor ebp, ebp
cmp edi, 0xffffffff
je 0x428e1b
cmp ebp, 0xffffffff
je 0x428e1b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x78], 4
call fcn.00474bb0
push ebp
push edi
push str.__Lf__d__Tp__d
push eax
mov byte [esp + 0xf8], 2
call fcn.00473270
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
call fcn.00473fc0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 1
call fcn.004732d0
mov eax, dword [esp + 0x24]
xor ecx, ecx
cmp eax, ecx
jl 0x428e8f
cmp ebx, ecx
jl 0x428e8f
cmp eax, ecx
jle 0x428ed3
cmp ebx, ecx
jle 0x428ed3
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004289d0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
or dword [esp + 0x78], 2
add ecx, ebx
add edx, eax
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x64], edx
call fcn.00474bb0
mov byte [esp + 0xe8], 4
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push edx
push ecx
push str.__Wd__d__Ht__d
jmp 0x428eaf
lea ecx, [esp + 0x1c]
call fcn.00474bb0
mov byte [esp + 0xe8], 3
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
push ecx
push str.__Lt__d__Tp__d__Wd_Max__Ht_Max
push eax
call fcn.00473270
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
call fcn.00473fc0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 1
call fcn.004732d0
or dword [esp + 0x78], 1
mov word [esp + 0x7c], 0
call fcn.0042f420
test eax, eax
je 0x428f7b
push 0x3c
lea edx, [esp + 0x98]
push 0
push edx
call fcn.004b0770
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xa8], eax
add esp, 0xc
lea eax, [esp + 0x94]
push eax
mov dword [esp + 0x98], 0x3c
mov dword [esp + 0xa4], 0x51d04c
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb4], 0xa
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x428f6b
mov edi, dword [esp + 0xb4]
cmp edi, 0x20
jg 0x42900a
or edi, 0x80070000
jmp 0x428fb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or edi, 0x80070000
jmp 0x428fb5
call fcn.00428160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
push 0
lea ecx, [esp + 0x50]
push ecx
push 0
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov edi, eax
call fcn.004755e0
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call edx
mov edi, eax
test edi, edi
jge 0x42900a
push 0xffffffffffffffff
push str._n_ErrorMsg_
lea ecx, [esp + 0x30]
call fcn.004748c0
push 0
lea eax, [esp + 0x2c]
push eax
push 0x65
lea ecx, [esp + 0x38]
push ecx
push esi
mov ecx, edi
mov byte [esp + 0xfc], 5
call fcn.00427c80
lea ecx, [esp + 0x28]
mov byte [esp + 0xe8], 1
call fcn.004732d0
mov esi, dword [esi + 0x224]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x429149
lea ecx, [esp + 0x30]
call fcn.00474bb0
mov esi, dword [esp + 0x38]
mov byte [esp + 0xe8], 6
mov eax, dword [esi]
test eax, eax
mov ebx, 8
je 0x429109
mov eax, dword [eax - 0xc]
shr eax, 1
test eax, eax
jle 0x429109
lea ecx, [esp + 0x1c]
call fcn.00474bb0
push 0
mov byte [esp + 0xec], 7
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x28]
call fcn.004756e0
lea ecx, [esp + 0x24]
call fcn.00474bb0
mov byte [esp + 0xe8], bl
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x429078
xor ecx, ecx
jmp 0x42907b
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.004751d0
lea ecx, [esp + 0x20]
call fcn.00474bb0
mov byte [esp + 0xe8], 9
mov edx, dword [esp + 0x24]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x28]
call fcn.00473ec0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4290b2
mov eax, dword [eax - 0xc]
shr eax, 1
push eax
lea ecx, [esp + 0x24]
call fcn.00473450
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
call fcn.00474c20
push 0x5f
lea ecx, [esp + 0x34]
call fcn.00474090
lea ecx, [esp + 0x20]
mov byte [esp + 0xe8], bl
call fcn.004732d0
lea ecx, [esp + 0x24]
mov byte [esp + 0xe8], 7
call fcn.004732d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 6
call fcn.004732d0
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x34]
call fcn.00473f90
mov edx, dword [esp + 0x30]
push 1
push 1
push edx
mov dword [esp + 0x40], ebx
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push eax
lea eax, [esp + 0x40]
push eax
push 0x12
call dword [sym.imp.USER32.dll_BroadcastSystemMessageW]
lea ecx, [esp + 0x30]
mov byte [esp + 0xe8], 1
call fcn.004732d0
lea ecx, [esp + 0x18]
mov byte [esp + 0xe8], 0
call fcn.004732d0
lea ecx, [esp + 0x2c]
mov dword [esp + 0xe8], 0xffffffff
call fcn.004732d0
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret