Function at 0x405d90
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x43fb90
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x452528]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x452528]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
xor ebx, ebx
mov eax, ecx
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x405de1
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.004012c0
mov dword [esp + 0x74], ebx
call fcn.00411388
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x405e15
push 0x80004005
call fcn.00401f20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x74], 1
mov eax, dword [esp + 0x50]
mov edi, 0x10
cmp dword [esp + 0x64], edi
jae 0x405e3d
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
push str.xxm_strCmd___s
push ecx
call fcn.00406620
mov esi, dword [esp + 0x24]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esi - 0x10]
mov byte [esp + 0x74], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405e7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x54]
push edx
xor eax, eax
mov byte [esp + 0x28], 0x5b
call fcn.004032e0
cmp eax, ebx
jge 0x405ea5
cmp dword [esp + 0x64], edi
jb 0x405f03
mov eax, dword [esp + 0x50]
push eax
jmp 0x405efb
add eax, 1
push 0x2a0
mov dword [esp + 0x1c], eax
call fcn.00409b22
add esp, 4
cmp eax, ebx
je 0x405ec6
mov edi, eax
call fcn.00402250
mov ebx, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
xor ebp, ebp
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
jl 0x405f28
test ebx, ebx
je 0x405eef
push ebx
call fcn.004022c0
push ebx
call fcn.00409b4d
add esp, 4
cmp dword [esp + 0x64], 0x10
jb 0x405f03
mov edx, dword [esp + 0x50]
push edx
call fcn.00409b4d
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00426fe7
add esp, 0x64
ret 4
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x20]
cmp esi, ecx
jbe 0x405f35
call fcn.00428796
mov eax, dword [esp + 0x50]
mov edi, 0x10
cmp dword [esp + 0x64], edi
jae 0x405f48
lea eax, [esp + 0x50]
cmp byte [eax + esi], 0x7c
jne 0x4061c7
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
sub edx, ecx
push edx
lea esi, [esp + 0x34]
lea edx, [esp + 0x50]
call fcn.00403220
mov edi, esi
mov byte [esp + 0x74], 2
call fcn.00406300
mov eax, dword [esp + 0x20]
add eax, 1
mov dword [esp + 0x18], eax
call fcn.00411388
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x405e0b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x74], 3
mov eax, dword [esp + 0x34]
mov edi, 0x10
cmp dword [esp + 0x48], edi
jae 0x405fbd
lea eax, [esp + 0x34]
push ebp
push eax
lea ecx, [esp + 0x2c]
push str.xxm_str___s__arg_num__d
push ecx
call fcn.00406620
mov esi, dword [esp + 0x34]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esi - 0x10]
mov byte [esp + 0x74], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405ffd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x406033
cmp dword [esp + 0x48], edi
mov edx, dword [esp + 0x34]
jae 0x40600f
lea edx, [esp + 0x34]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406014
sub eax, esi
push eax
push edx
lea ecx, [ebx + 0x3c]
call fcn.004012c0
mov ebp, 1
jmp 0x4061ad
cmp ebp, 1
jne 0x40606f
cmp dword [esp + 0x48], edi
mov edx, dword [esp + 0x34]
jae 0x406046
lea edx, [esp + 0x34]
mov eax, edx
lea esi, [eax + 1]
jmp 0x406050
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406050
sub eax, esi
push eax
push edx
lea ecx, [ebx + 0x74]
call fcn.004012c0
mov ebp, 2
jmp 0x4061ad
cmp ebp, 2
jne 0x4060a6
cmp dword [esp + 0x48], edi
mov edx, dword [esp + 0x34]
jae 0x406082
lea edx, [esp + 0x34]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406087
sub eax, esi
push eax
push edx
lea ecx, [ebx + 4]
call fcn.004012c0
mov ebp, 3
jmp 0x4061ad
cmp ebp, 3
jne 0x4060df
cmp dword [esp + 0x48], edi
mov edx, dword [esp + 0x34]
jae 0x4060b9
lea edx, [esp + 0x34]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4060c0
sub eax, esi
push eax
push edx
lea ecx, [ebx + 0x58]
call fcn.004012c0
mov ebp, 4
jmp 0x4061ad
cmp ebp, 4
jne 0x406116
cmp dword [esp + 0x48], edi
mov edx, dword [esp + 0x34]
jae 0x4060f2
lea edx, [esp + 0x34]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4060f7
sub eax, esi
push eax
push edx
lea ecx, [ebx + 0x20]
call fcn.004012c0
mov ebp, 5
jmp 0x4061ad
cmp ebp, 5
jne 0x40613a
cmp dword [esp + 0x48], edi
mov ecx, dword [esp + 0x34]
jae 0x406129
lea ecx, [esp + 0x34]
mov edi, ebx
call fcn.004023b0
mov ebp, 6
lea edi, [ebp + 0xa]
jmp 0x4061ad
cmp ebp, 6
jne 0x406160
cmp dword [esp + 0x48], edi
mov eax, dword [esp + 0x34]
jae 0x40614d
lea eax, [esp + 0x34]
push eax
call fcn.004287b7
mov dword [ebx + 0x98], eax
mov ebp, 7
jmp 0x4061aa
cmp ebp, 7
jne 0x406186
cmp dword [esp + 0x48], edi
mov eax, dword [esp + 0x34]
jae 0x406173
lea eax, [esp + 0x34]
push eax
call fcn.004287b7
mov dword [ebx + 0xa0], eax
mov ebp, 8
jmp 0x4061aa
cmp ebp, 8
jne 0x4061ad
cmp dword [esp + 0x48], edi
mov eax, dword [esp + 0x34]
jae 0x406199
lea eax, [esp + 0x34]
push eax
call fcn.004287b7
mov dword [ebx + 0x9c], eax
mov ebp, 9
add esp, 4
mov byte [esp + 0x74], 0
cmp dword [esp + 0x48], edi
jb 0x4061eb
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00409b4d
add esp, 4
jmp 0x4061eb
cmp esi, dword [esp + 0x60]
jbe 0x4061d2
call fcn.00428796
cmp dword [esp + 0x64], edi
mov eax, dword [esp + 0x50]
jae 0x4061e0
lea eax, [esp + 0x50]
cmp byte [eax + esi], 0x5d
jne 0x4061eb
cmp ebp, 9
je 0x406205
mov eax, dword [esp + 0x20]
add eax, 1
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
jl 0x405f24
jmp 0x405edc
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
sub eax, ecx
push eax
lea esi, [esp + 0x34]
lea edx, [esp + 0x50]
call fcn.00403220
mov edi, esi
mov byte [esp + 0x74], 4
call fcn.00406300
call fcn.00411388
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406243
push 0x80004005
call fcn.00401f20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x74], 5
mov eax, dword [esp + 0x34]
mov edi, 0x10
cmp dword [esp + 0x48], edi
jae 0x40626b
lea eax, [esp + 0x34]
push 9
push eax
lea ecx, [esp + 0x2c]
push str.xxm_str___s__arg_num__d
push ecx
call fcn.00406620
mov esi, dword [esp + 0x34]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esi - 0x10]
mov byte [esp + 0x74], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4062ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x48], edi
mov eax, dword [esp + 0x34]
jae 0x4062ba
lea eax, [esp + 0x34]
push eax
call fcn.004287b7
add esp, 4
mov byte [esp + 0x74], 0
cmp dword [esp + 0x48], edi
mov dword [ebx], eax
jb 0x4062dd
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00409b4d
add esp, 4
mov eax, dword [esp + 0x28]
push ebx
add eax, 0xa8
call fcn.00402be0
jmp 0x405eef