Function at 0x403dc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a8c6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x47a2f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push dword [eax]
push edx
call fcn.00406bb0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push dword [ebp - 0x18]
push eax
push 0
push 0xfde9
call edi
mov esi, eax
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043febf
lea ecx, [esi*2 + 2]
mov dword [ebp - 0x1d0], eax
push ecx
push 0
push eax
call fcn.004421a0
add esp, 0x10
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
push esi
mov esi, dword [ebp - 0x1d0]
push esi
push dword [ebp - 0x18]
push ecx
push 0
push 0xfde9
call edi
mov ecx, esi
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403eb0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00401880
push 2
push esi
call fcn.0043feb1
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0xc4]
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040dc81
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x403f2f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403f25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041d5
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0040de91
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push eax
call esi
push 0x47256c
call esi
push 0
push 0x472570
lea ecx, [ebp - 0xc4]
call fcn.0040e0cb
cmp eax, 0xffffffff
je 0x403f98
push 0x84
call fcn.0043fe81
add esp, 4
mov dword [ebp - 0x1d0], eax
push 0xffffffffffffffff
mov byte [ebp - 4], 4
push 0x472580
jmp 0x404164
push 0xffffffffffffffff
push 0x472470
lea ecx, [ebp - 0x148]
call fcn.0040dc81
push 0
push 0x2c
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 5
call fcn.0040e107
mov edi, eax
cmp edi, 0xffffffff
je 0x4040b7
nop dword [eax + eax]
push edi
push 0
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040e4be
push eax
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 7
call fcn.0040de1a
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 5
call fcn.0040dd97
lea ecx, [ebp - 0x148]
call fcn.0040e43a
test al, al
jne 0x40403b
mov eax, dword [ebx + 0x28]
lea ecx, [ebp - 0x148]
push ecx
cmp eax, dword [ebx + 0x2c]
je 0x404032
mov ecx, eax
call fcn.0040dc5c
add dword [ebx + 0x28], 0x84
jmp 0x40403b
push eax
lea ecx, [ebx + 0x24]
call fcn.00408d10
lea ecx, [ebp - 0xc4]
call fcn.0040e2e4
push eax
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040e4be
push eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 8
call fcn.0040de1a
lea ecx, [ebp - 0x1cc]
call fcn.0040dd97
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 3
call fcn.0040dd97
push 0xffffffffffffffff
push 0x472470
lea ecx, [ebp - 0x148]
call fcn.0040dc81
push 0
push 0x2c
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 5
call fcn.0040e107
mov edi, eax
cmp edi, 0xffffffff
jne 0x403fd0
lea ecx, [ebp - 0xc4]
call fcn.0040e2e4
push eax
push 0
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040e4be
push eax
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 6
call fcn.0040de1a
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 5
call fcn.0040dd97
mov eax, dword [ebx + 0x28]
lea ecx, [ebp - 0x148]
push ecx
cmp eax, dword [ebx + 0x2c]
je 0x404115
mov ecx, eax
call fcn.0040dc5c
add dword [ebx + 0x28], 0x84
jmp 0x40411e
push eax
lea ecx, [ebx + 0x24]
call fcn.00408d10
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 3
call fcn.0040dd97
mov ecx, dword [ebx + 0x28]
mov eax, 0x3e0f83e1
sub ecx, dword [ebx + 0x24]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x40417c
push 0x84
call fcn.0043fe81
add esp, 4
mov dword [ebp - 0x1d0], eax
push 0xffffffffffffffff
mov byte [ebp - 4], 9
push 0x4725a4
mov ecx, eax
call fcn.0040dc81
push 0
push eax
push 0x401
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xc4]
call fcn.0040dd97
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4041b7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4041ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041da
push edx
push ecx
call fcn.0043feb1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043fe70
mov esp, ebp
pop ebp
ret 8
call fcn.00444fd9
call fcn.00444fd9
int3