Function at 0x472180
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea06c
mov eax, dword fs:[0]
push eax
sub esp, 0xea0
mov eax, dword [0x519220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xeac], esi
cmp dword [0x52e3fc], 0
je 0x4721c8
mov eax, 1
jmp 0x4725d6
push 0xffffffffffffffff
call sub.IMM32.dll_ImmDisableIME
xor edi, edi
call fcn.004ba609
cmp dword [eax], edi
jle 0x472205
nop word [eax + eax]
call fcn.004ba60f
mov eax, dword [eax]
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x4ed9c0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
inc edi
call fcn.004ba609
cmp edi, dword [eax]
jl 0x4721e0
call fcn.004ba609
cmp dword [eax], 2
jl 0x4725d4
call fcn.004ba609
cmp dword [eax], 3
jge 0x47223a
call fcn.004ba60f
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x4ed764
mov byte [esi + 0x18], 1
jmp 0x47232d
call fcn.004ba609
cmp dword [eax], 4
jge 0x472267
call fcn.004ba60f
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 8], eax
call fcn.004ba60f
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esi + 0xc], eax
mov byte [esi + 0x18], 1
jmp 0x47232d
call fcn.004ba60f
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 8], eax
call fcn.004ba60f
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esi + 0xc], eax
call fcn.004ba60f
mov eax, dword [eax]
push dword [eax + 0xc]
call fcn.004ba56f
add esp, 4
cmp eax, 1
sete al
mov byte [esi + 0x18], al
call fcn.004ba609
cmp dword [eax], 4
jle 0x4722b3
call fcn.004ba60f
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x10], eax
call fcn.004ba609
cmp dword [eax], 5
jle 0x4722ca
call fcn.004ba60f
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov dword [esi + 0x14], eax
call fcn.004ba609
cmp dword [eax], 7
jle 0x47232d
call fcn.004ba60f
mov eax, dword [eax]
mov edx, dword [eax + 0x18]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4722e3
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.00465d40
call fcn.004ba60f
mov eax, dword [eax]
mov edx, dword [eax + 0x1c]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x472305
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0x34]
call fcn.00465d40
cmp dword [esi + 0x2c], 0
je 0x472328
cmp dword [esi + 0x44], 0
je 0x472328
mov al, 1
jmp 0x47232a
xor al, al
mov byte [esi + 0x4c], al
push dword [esi + 8]
call fcn.00472160
add esp, 4
mov dword [esi + 4], eax
mov dword [ebp - method.CDlg.virtual_0], vtable.CDlg.0
push 0x7d0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.00491400
push 0x208
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.00491400
push 0x208
lea eax, [ebp - 0x638]
push 0
push eax
call fcn.00491400
add esp, 0x24
lea eax, [ebp - 0x228]
push 0x206
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x228]
push 0x5c
push eax
call fcn.0049c8df
add esp, 8
cmp byte [eax], 0
je 0x4723c1
mov byte [eax + 1], 0
xor ecx, ecx
mov al, byte [ebp + ecx - 0x228]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x431], al
test al, al
jne 0x4723c3
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x228]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x639], al
test al, al
jne 0x4723e0
mov edx, dword [esi + 0x10]
mov esi, edx
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x472400
lea edi, [ebp - 0x430]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x472410
mov eax, dword [ebp - 0xeac]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [eax + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x472431
lea edi, [ebp - 0x638]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x472441
mov ecx, edx
lea eax, [ebp - 0x20]
shr ecx, 2
xorps xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
lea eax, [ebp - 0x430]
rep movsb byte es:[edi], byte [esi]
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.00472600
lea eax, [ebp - 0x20]
push eax
push 0x51918c
call fcn.004726e0
mov esi, dword [ebp - 0xeac]
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x430]
push eax
push dword [esi + 8]
call fcn.00470291
add esp, 0x1c
lea ecx, [ebp - 0xea8]
call fcn.00463d00
push 0x208
lea eax, [ebp - 0x840]
push 0
push eax
call fcn.00491400
add esp, 0xc
cmp dword [ebp - 0x88c], 0
je 0x4725d4
push 0x206
lea eax, [ebp - 0xa94]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.004ba695
mov edx, dword [esi + 0xc]
add esp, 0xc
mov ecx, edx
mov dword [ebp - 0x878], 0
mov dword [ebp - 0x874], 0xf
mov byte [ebp - 0x888], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x472507
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x888]
call fcn.00465d40
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 1
mov dword [ebp - 0x860], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x85c], 0xf
mov byte [ebp - 0x870], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x472545
sub ecx, edx
lea eax, [ebp - 0x840]
push ecx
push eax
lea ecx, [ebp - 0x870]
call fcn.00465d40
push 0
push 0x4ed764
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 2
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 0xf
mov byte [ebp - 0x858], 0
call fcn.00465d40
lea eax, [ebp - 0x888]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x870]
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.00471116
add esp, 0xc
lea ecx, [ebp - 0x858]
call fcn.00462b90
lea ecx, [ebp - 0x870]
call fcn.00462b90
lea ecx, [ebp - 0x888]
call fcn.00462b90
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048f1b0
mov esp, ebp
pop ebp
ret