Function at 0x432710
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x216c
call fcn.004a98b0
mov eax, dword [0x4dd52c]
and word [ebp - 0x1004], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x214c], eax
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x1002]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x4b
xor eax, eax
cmp word [ebx + 0x360], ax
pop ecx
lea edi, [ebp - 0x2130]
rep stosd dword es:[edi], eax
je 0x432771
mov dword [ebp - 0x2130], 0x430
jmp 0x4327c7
cmp word [ebx + 0xd8e], 1
jne 0x4327bd
push ebx
call fcn.0047876b
mov dword [ebx + 0x1df90], eax
neg eax
sbb eax, eax
and eax, 0xc0000001
push 0xd0
add eax, 0x4000011e
push ebx
mov dword [ebp - 0x2130], eax
call fcn.004a53d4
cmp eax, 1
jne 0x4327c7
cmp byte [ebx + 0x23a7], 0
je 0x4327c7
and dword [ebp - 0x2130], 0xfffffffd
jmp 0x4327c7
mov dword [ebp - 0x2130], 0x11c
push ebx
call fcn.00431952
push ebx
mov dword [ebp - 0x2144], eax
call fcn.0045d2dd
push ebx
mov dword [ebx + 0x1dfb0], eax
call fcn.0045d143
push 3
push ebx
mov dword [ebx + 0x1dfb4], eax
call fcn.004a53d4
cmp eax, 1
mov esi, 0x800
je 0x43318a
test byte [ebx + 0xe5], 0x20
jne 0x432ded
and dword [ebp - 0x2148], 0
cmp dword [ebx + 0x1dfa8], 1
jne 0x43293a
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x43293a
cmp eax, 3
jb 0x43293a
and word [ebp - 0x2004], 0
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x2002]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebx + 0x1a260]
push eax
push 0x406688
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [ebx + 0x1dfa8], 1
jne 0x43293a
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x43293a
cmp eax, 3
jb 0x43293a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2140]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2004]
push eax
movzx eax, word [ebp - 0x2132]
push 0x406668
push eax
movzx eax, word [ebp - 0x2134]
push eax
movzx eax, word [ebp - 0x2136]
push eax
movzx eax, word [ebp - 0x2138]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [ebx + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x43291c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x43293a
lea edi, [ebx + 0x1dfa4]
push 0x4060a8
push dword [edi]
call dword [sym.imp.msvcrt.dll_fwprintf]
push dword [edi]
call dword [sym.imp.msvcrt.dll_fflush]
add esp, 0x10
test byte [ebx + 0x1d280], 0x10
je 0x432b81
xor eax, eax
inc eax
cmp dword [ebx + 0x1dfa8], eax
mov dword [ebp - 0x2148], eax
mov dword [ebx + 0x1a25c], eax
jne 0x432a75
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x432a75
cmp eax, 3
jb 0x432a75
and word [ebp - 0x2004], 0
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x2002]
rep stosd dword es:[edi], eax
push 1
push 0x406568
stosw word es:[edi], ax
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [ebx + 0x1dfa8], 1
jne 0x432d0b
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x432a75
cmp eax, 3
jb 0x432a75
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2140]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2004]
push eax
movzx eax, word [ebp - 0x2132]
push 0x406668
push eax
movzx eax, word [ebp - 0x2134]
push eax
movzx eax, word [ebp - 0x2136]
push eax
movzx eax, word [ebp - 0x2138]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [ebx + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x432a57
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x432a75
lea edi, [ebx + 0x1dfa4]
push 0x4060a8
push dword [edi]
call dword [sym.imp.msvcrt.dll_fwprintf]
push dword [edi]
call dword [sym.imp.msvcrt.dll_fflush]
add esp, 0x10
cmp dword [ebx + 0x1dfa8], 1
jne 0x432d0b
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x432d0b
cmp eax, 3
jb 0x432d0b
push 0x40654c
and word [ebp - 0x2004], 0
xor eax, eax
lea edi, [ebp - 0x2002]
mov ecx, 0x3ff
rep stosd dword es:[edi], eax
push 0x40653c
stosw word es:[edi], ax
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [ebx + 0x1dfa8], 1
jne 0x432d0b
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x432d0b
cmp eax, 3
jb 0x432d0b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2140]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2004]
push eax
movzx eax, word [ebp - 0x2132]
push 0x406668
push eax
movzx eax, word [ebp - 0x2134]
push eax
movzx eax, word [ebp - 0x2136]
push eax
movzx eax, word [ebp - 0x2138]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [ebx + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x432ced
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x432d0b
lea eax, [ebx + 0x1a260]
push 0x406530
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
je 0x432d0b
xor eax, eax
inc eax
cmp dword [ebx + 0x1dfa8], eax
mov dword [ebp - 0x2148], eax
mov dword [ebx + 0x1a25c], eax
jne 0x432ccb
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x432ccb
cmp eax, 3
jb 0x432ccb
and word [ebp - 0x2004], 0
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x2002]
rep stosd dword es:[edi], eax
push 1
push 0x406568
stosw word es:[edi], ax
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [ebx + 0x1dfa8], 1
jne 0x432d0b
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x432ccb
cmp eax, 3
jb 0x432ccb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2140]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2004]
push eax
movzx eax, word [ebp - 0x2132]
push 0x406668
push eax
movzx eax, word [ebp - 0x2134]
push eax
movzx eax, word [ebp - 0x2136]
push eax
movzx eax, word [ebp - 0x2138]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [ebx + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x432cad
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x432ccb
lea edi, [ebx + 0x1dfa4]
push 0x4060a8
push dword [edi]
call dword [sym.imp.msvcrt.dll_fwprintf]
push dword [edi]
call dword [sym.imp.msvcrt.dll_fflush]
add esp, 0x10
cmp dword [ebx + 0x1dfa8], 1
jne 0x432d0b
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x432d0b
cmp eax, 3
jb 0x432d0b
push 0x4064f4
jmp 0x432a9e
lea edi, [ebx + 0x1dfa4]
push 0x4060a8
push dword [edi]
call dword [sym.imp.msvcrt.dll_fwprintf]
push dword [edi]
call dword [sym.imp.msvcrt.dll_fflush]
add esp, 0x10
or byte [ebp - 0x212f], 0x20
push 0xa6
push ebx
call fcn.004a53d4
xor edi, edi
inc edi
cmp eax, edi
jne 0x432ec4
mov al, byte [ebx + 0xd13]
cmp al, 1
je 0x433199
test al, al
jne 0x432d46
or byte [ebp - 0x212f], 0x20
jmp 0x432df0
cmp al, 2
jne 0x432ded
mov ecx, 0xffffdfff
and dword [ebp - 0x2130], ecx
cmp dword [ebp - 0x2148], edi
jne 0x432df0
mov ax, word [ebx + 0x36e]
or byte [ebp - 0x212f], 0x20
cmp ax, 8
jne 0x432e19
xor eax, eax
cmp word [ebx + 0x36a], ax
jg 0x432e29
cmp word [ebx + 0x5de], ax
jg 0x432e29
cmp byte [ebx + 0x1cdd], al
ja 0x432e29
cmp dword [ebx + 0x1dfb0], edi
jne 0x432db5
cmp dword [ebp - 0x2144], edi
je 0x432e29
cmp dword [ebx + 0x1dfb4], edi
jne 0x432dc5
cmp dword [ebp - 0x2144], edi
je 0x432e29
cmp word [ebx + 0x580], ax
jle 0x432df0
push 0x4e
push ebx
call fcn.004a53d4
cmp eax, edi
jne 0x432ded
push 0x8f
push ebx
call fcn.004a53d4
test eax, eax
je 0x433199
xor edi, edi
inc edi
mov al, byte [ebx + 0x1a50]
test al, al
je 0x4331b0
cmp al, 1
mov byte [ebx + 0xd95], 1
jne 0x4331a5
or byte [ebp - 0x212f], 0x20
jmp 0x4331b0
cmp ax, 5
jne 0x432e31
cmp word [ebx + 0x36a], 0
jle 0x432df0
and dword [ebp - 0x2130], ecx
jmp 0x432df0
cmp word [ebx + 0x5de], 0
jg 0x433199
cmp byte [ebx + 0x1cdd], 0
ja 0x433199
cmp dword [ebx + 0x1dfb0], edi
jne 0x432e60
cmp dword [ebp - 0x2144], edi
je 0x433199
cmp dword [ebx + 0x1dfb4], edi
jne 0x432e74
cmp dword [ebp - 0x2144], edi
je 0x433199
cmp dword [ebx + 0x6c6], 0
ja 0x433199
cmp word [ebx + 0x580], 0
jle 0x432eaa
push 0x4e
push ebx
call fcn.004a53d4
cmp eax, edi
jne 0x432eaa
push 0x8f
push ebx
call fcn.004a53d4
test eax, eax
je 0x433199
cmp word [ebx + 0x36e], 0xd
jne 0x432df0
call fcn.00431708
cmp eax, edi
jmp 0x432de7
xor ecx, ecx
cmp word [ebx + 0x9df], cx
jg 0x432d3a
cmp byte [ebx + 0xd13], 1
je 0x433199
cmp dword [ebp - 0x2148], edi
jne 0x43303a
mov ax, word [ebx + 0x36e]
cmp ax, 8
jne 0x432f62
cmp word [ebx + 0x36a], cx
jg 0x432f75
cmp word [ebx + 0x5de], cx
jg 0x432f75
cmp byte [ebx + 0x1cdd], cl
ja 0x432f75
cmp dword [ebx + 0x1dfb0], edi
jne 0x432f23
cmp dword [ebp - 0x2144], edi
je 0x432f75
cmp dword [ebx + 0x1dfb4], edi
jne 0x432f33
cmp dword [ebp - 0x2144], edi
je 0x432f75
cmp word [ebx + 0x580], cx
jle 0x43302e
push 0x4e
push ebx
call fcn.004a53d4
cmp eax, edi
jne 0x43302e
push 0x8f
push ebx
call fcn.004a53d4
test eax, eax
jmp 0x433028
cmp ax, 5
jne 0x432fb5
cmp word [ebx + 0x36a], cx
jle 0x43302e
and byte [ebp - 0x212f], 0xdf
mov ax, word [ebx + 0x57a]
cmp ax, di
je 0x432d3a
cmp ax, 2
je 0x432d3a
mov ax, word [ebx + 0x578]
cmp ax, 2
je 0x432d3a
cmp ax, di
jne 0x432df0
jmp 0x432d3a
cmp word [ebx + 0x5de], cx
jg 0x432f75
cmp byte [ebx + 0x1cdd], 0
ja 0x432f75
cmp dword [ebx + 0x1dfb0], edi
jne 0x432fd7
cmp dword [ebp - 0x2144], edi
je 0x432f75
cmp dword [ebx + 0x1dfb4], edi
jne 0x432fe7
cmp dword [ebp - 0x2144], edi
je 0x432f75
cmp dword [ebx + 0x6c6], ecx
ja 0x432f75
cmp word [ebx + 0x580], cx
jle 0x433017
push 0x4e
push ebx
call fcn.004a53d4
cmp eax, edi
jne 0x433017
push 0x8f
push ebx
call fcn.004a53d4
test eax, eax
je 0x432f75
cmp word [ebx + 0x36e], 0xd
jne 0x43302e
call fcn.00431708
cmp eax, edi
je 0x432f75
or byte [ebp - 0x212f], 0x20
jmp 0x432f7c
cmp word [ebx + 0x5de], cx
jg 0x433199
cmp byte [ebx + 0x1cdd], 0
ja 0x433199
cmp dword [ebx + 0x1dfb0], edi
jne 0x433068
cmp dword [ebp - 0x2144], edi
je 0x433199
cmp dword [ebx + 0x1dfb4], edi
jne 0x43307c
cmp dword [ebp - 0x2144], edi
je 0x433199
cmp dword [ebx + 0x6c6], ecx
ja 0x433199
cmp word [ebx + 0x580], cx
jle 0x4330b0
push 0x4e
push ebx
call fcn.004a53d4
cmp eax, edi
jne 0x4330b0
push 0x8f
push ebx
call fcn.004a53d4
test eax, eax
je 0x433199
cmp byte [ebx + 0xcd4], 0
jne 0x433199
mov al, byte [ebx + 0xd19]
cmp al, 1
je 0x433199
cmp al, 2
jne 0x4330da
cmp word [ebx + 0x60], 2
je 0x433199
cmp byte [ebx + 0xd5d], 1
je 0x433199
lea edi, [ebx + 0x36e]
cmp word [edi], 0xd
jne 0x433101
call fcn.00431708
cmp eax, 1
je 0x433196
mov di, word [edi]
cmp di, 8
jne 0x433151
cmp word [ebx + 0x36a], 0
jg 0x43318a
cmp byte [ebx + 0xcd7], 1
je 0x43318a
mov al, byte [ebx + 0xd19]
cmp al, 1
je 0x43318a
cmp al, 2
jne 0x433132
cmp word [ebx + 0x60], 2
je 0x43318a
cmp byte [ebx + 0xd5d], 1
je 0x43318a
cmp word [ebx + 0x57a], 0
jne 0x43318a
or byte [ebp - 0x212f], 0x20
jmp 0x432ded
cmp di, 5
jne 0x43317a
xor edi, edi
cmp word [ebx + 0x36a], di
jle 0x43316e
and byte [ebp - 0x212f], 0xdf
jmp 0x432def
or byte [ebp - 0x212f], 0x20
jmp 0x432def
cmp di, 0xd
jne 0x433145
call fcn.00431708
cmp eax, 1
jne 0x433145
and byte [ebp - 0x212f], 0xdf
jmp 0x432ded
xor edi, edi
inc edi
and byte [ebp - 0x212f], 0xdf
jmp 0x432df0
cmp al, 2
jne 0x4331b0
and byte [ebp - 0x212f], 0xdf
test byte [ebp - 0x212f], 0x20
jne 0x4331c6
mov byte [ebx + 0xd95], 1
mov dword [ebx + 0x1d89c], edi
cmp dword [ebx + 0x1dfb0], edi
je 0x4331da
cmp dword [ebx + 0x1dfb4], edi
jne 0x433626
cmp word [ebx + 0xd8e], 0
jne 0x433626
cmp dword [ebx + 0x1dfa8], edi
jne 0x4332b1
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x4332b1
cmp eax, 3
jb 0x4332b1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2140]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x406460
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
movzx eax, word [ebp - 0x2132]
push 0x406668
push eax
movzx eax, word [ebp - 0x2134]
push eax
movzx eax, word [ebp - 0x2136]
push eax
movzx eax, word [ebp - 0x2138]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [ebx + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x433293
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4332b1
lea edi, [ebx + 0x1dfa4]
push 0x4060a8
push dword [edi]
call dword [sym.imp.msvcrt.dll_fwprintf]
push dword [edi]
call dword [sym.imp.msvcrt.dll_fflush]
add esp, 0x10
cmp dword [ebx + 0x1dfa8], 1
jne 0x43361f
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x4333d5
cmp eax, 3
jb 0x4333d5
and word [ebp - 0x2004], 0
push dword [ebx + 0x1dfb0]
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x2002]
rep stosd dword es:[edi], eax
push 0x40642c
stosw word es:[edi], ax
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [ebx + 0x1dfa8], 1
jne 0x43361f
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x4333d5
cmp eax, 3
jb 0x4333d5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2140]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2004]
push eax
movzx eax, word [ebp - 0x2132]
push 0x406668
push eax
movzx eax, word [ebp - 0x2134]
push eax
movzx eax, word [ebp - 0x2136]
push eax
movzx eax, word [ebp - 0x2138]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [ebx + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x4333b7
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4333d5
lea edi, [ebx + 0x1dfa4]
push 0x4060a8
push dword [edi]
call dword [sym.imp.msvcrt.dll_fwprintf]
push dword [edi]
call dword [sym.imp.msvcrt.dll_fflush]
add esp, 0x10
cmp dword [ebx + 0x1dfa8], 1
jne 0x43361f
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x4334f9
cmp eax, 3
jb 0x4334f9
and word [ebp - 0x2004], 0
push dword [ebx + 0x1dfb4]
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x2002]
rep stosd dword es:[edi], eax
push 0x4063f4
stosw word es:[edi], ax
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [ebx + 0x1dfa8], 1
jne 0x43361f
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x4334f9
cmp eax, 3
jb 0x4334f9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2140]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2004]
push eax
movzx eax, word [ebp - 0x2132]
push 0x406668
push eax
movzx eax, word [ebp - 0x2134]
push eax
movzx eax, word [ebp - 0x2136]
push eax
movzx eax, word [ebp - 0x2138]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [ebx + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x4334db
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4334f9
lea edi, [ebx + 0x1dfa4]
push 0x4060a8
push dword [edi]
call dword [sym.imp.msvcrt.dll_fwprintf]
push dword [edi]
call dword [sym.imp.msvcrt.dll_fflush]
add esp, 0x10
cmp dword [ebx + 0x1dfa8], 1
jne 0x43361f
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x43361f
cmp eax, 3
jb 0x43361f
and word [ebp - 0x2004], 0
xor eax, eax
mov ecx, 0x3ff
lea edi, [ebp - 0x2002]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
movsx eax, word [ebx + 0xd8e]
push eax
push 0x4063b4
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [ebx + 0x1dfa8], 1
jne 0x43361f
mov eax, dword [ebx + 0x1dfac]
test eax, eax
je 0x43361f
cmp eax, 3
jb 0x43361f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2140]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2004]
push eax
movzx eax, word [ebp - 0x2132]
push 0x406668
push eax
movzx eax, word [ebp - 0x2134]
push eax
movzx eax, word [ebp - 0x2136]
push eax
movzx eax, word [ebp - 0x2138]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [ebx + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x433601
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x43361f
lea esi, [ebx + 0x1dfa4]
push 0x4060a8
push dword [esi]
call dword [sym.imp.msvcrt.dll_fwprintf]
push dword [esi]
call dword [sym.imp.msvcrt.dll_fflush]
add esp, 0x10
mov byte [ebx + 0xd95], 1
cmp dword [ebx + 0x51f4], 0
jbe 0x433741
lea eax, [ebp - 0x2110]
push 0x405a00
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
push 2
lea eax, [ebp - 0x216c]
push eax
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
jne 0x433667
and dword [ebp - 0x216c], eax
mov al, byte [ebp - 0x216c]
mov byte [ebp - 0x2115], al
movsx eax, word [ebx + 0x5e]
mov dword [ebp - 0x2148], eax
xor esi, esi
mov dword [ebp - 0x2124], esi
fild dword [ebp - 0x2148]
mov dword [ebp - 0x2120], esi
fmul dword [ebx + 0x16294]
call fcn.004a9810
movsx eax, ax
lea eax, [eax + eax*4]
push 0xffffffffffffffb8
lea eax, [eax + eax + 0x24]
pop ecx
cdq
idiv ecx
push 0x17
mov dword [ebp - 0x2128], esi
pop ecx
mov dword [ebp - 0x211c], 0x190
mov byte [ebp - 0x2118], 0
mov byte [ebp - 0x2117], 0
mov byte [ebp - 0x2116], 0
mov byte [ebp - 0x2111], 0x31
push 0x17
lea esi, [ebp - 0x212c]
lea edi, [ebp - 0x20d0]
mov dword [ebp - 0x212c], eax
rep movsd dword es:[edi], dword [esi]
pop ecx
lea esi, [ebp - 0x212c]
lea edi, [ebp - 0x2074]
lea eax, [ebp - 0x20b4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.msvcrt.dll_wcscpy]
push 0x4063a0
push eax
call esi
lea eax, [ebp - 0x2058]
push 0x406390
push eax
mov byte [ebp - 0x20b5], 0x22
mov byte [ebp - 0x20b9], 0
call esi
add esp, 0x10
mov byte [ebp - 0x2059], 0x31
mov byte [ebp - 0x205d], 0
mov eax, dword [ebx + 0x51f8]
add eax, dword [ebx + 0x51f4]
mov dword [ebp - 0x2018], eax
mov eax, dword [ebx + 0x5030]
test eax, eax
je 0x433763
push eax
call sub.GDI32.dll_EngDeletePalette
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push 4
mov word [ebp - 0x2010], si
mov word [ebp - 0x200e], si
mov dword [ebp - 0x2014], 5
call sub.GDI32.dll_EngCreatePalette
cmp eax, esi
mov dword [ebp - 0x200c], eax
jne 0x433797
xor eax, eax
jmp 0x4337bd
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x214c]
mov dword [ebx + 0x5030], eax
mov eax, ecx
shr ecx, 2
lea esi, [ebp - 0x2130]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.004a9585
leave
ret 0xc