Function at 0x1000141a
Capabilities:
Access peb ldr_data
Print debug messages

Disassembly:
jmp 0x1001c560
push 0xffffffffffffffff
push 0x100224a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push edi
mov esi, ecx
push str.___________________________________________________________________________________1
call ebx
mov edi, dword [esp + 0x40]
push edi
call ebx
push str._2
call ebx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x44]
mov dword [esp + 0x38], 0
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
shl edx, 4
add edx, eax
mov eax, dword [edx*4 + 0x1002e670]
test eax, eax
je 0x1001c5cf
cmp eax, 2
jne 0x1001c5d9
push edi
mov ecx, esi
call fcn.100016f4
push edi
push edi
call fcn.100012fd
add esp, 8
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x44]
mov byte [esp + 0x38], 4
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
shl edx, 4
add edx, eax
lea eax, [edx*4 + 0x1002e47a]
push eax
push edi
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x1001cca0
mov eax, dword [esi + 0x44]
push ebp
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
lea ecx, [esp + 0x10]
shl edx, 4
add edx, eax
lea eax, [edx*4 + 0x1002e4de]
push eax
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
je 0x1001c6c8
mov eax, dword [esi + 0x44]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
or ecx, 0xffffffff
shl edx, 4
add edx, eax
xor eax, eax
shl edx, 2
lea edi, [edx + 0x1002e4de]
lea edx, [edx + 0x1002e510]
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebp
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_3
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001c6cc
mov eax, dword [esi + 0x44]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
or ecx, 0xffffffff
shl edx, 4
add edx, eax
xor eax, eax
lea edi, [edx*4 + 0x1002e4de]
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebp, ecx
jmp 0x1001c6cc
mov ebx, dword [esp + 0x44]
cmp ebp, ebx
jge 0x1001c701
mov eax, ebx
lea ecx, [esp + 0x44]
sub eax, ebp
push eax
push ebp
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x44]
lea edx, [eax + eax*4]
lea ecx, [eax + edx*2]
shl ecx, 4
add ecx, eax
lea edx, [ecx*4 + 0x1002e542]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
je 0x1001c783
mov eax, dword [esi + 0x44]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
or ecx, 0xffffffff
shl edx, 4
add edx, eax
xor eax, eax
shl edx, 2
lea edi, [edx + 0x1002e542]
lea edx, [edx + 0x1002e574]
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebp
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_3
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001c783
mov eax, dword [esi + 0x44]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
or ecx, 0xffffffff
shl edx, 4
add edx, eax
xor eax, eax
lea edi, [edx*4 + 0x1002e542]
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebp, ecx
cmp ebp, ebx
jge 0x1001c7b8
mov eax, ebx
lea ecx, [esp + 0x44]
sub eax, ebp
push eax
push ebp
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x44]
lea edx, [eax + eax*4]
lea ecx, [eax + edx*2]
shl ecx, 4
add ecx, eax
lea edx, [ecx*4 + 0x1002e5a6]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
je 0x1001c851
mov eax, dword [esi + 0x44]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
or ecx, 0xffffffff
shl edx, 4
add edx, eax
xor eax, eax
shl edx, 2
lea ebx, [edx + 0x1002e5d8]
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x1001c80c
mov edx, dword [esp + 0x10]
mov ebx, dword [edx - 8]
jmp 0x1001c82b
lea edi, [edx + 0x1002e5a6]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebp
push ecx
push ebx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_3
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001c851
mov eax, dword [esi + 0x44]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
or ecx, 0xffffffff
shl edx, 4
add edx, eax
xor eax, eax
lea edi, [edx*4 + 0x1002e5a6]
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebp, ecx
cmp ebp, ebx
jge 0x1001c884
sub ebx, ebp
lea eax, [esp + 0x44]
push ebx
push ebp
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::CString
mov ecx, 0x1cd
xor eax, eax
mov edi, 0x10031b98
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x44]
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
shl edx, 4
add edx, eax
lea eax, [edx*4 + 0x1002e448]
push eax
push 0x100290d8
push 0x10031b98
call edi
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [ecx - 8]
cmp eax, 0xc8
jle 0x1001c92f
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
push 0xc8
mov bl, 8
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x44]
push edx
push 0x100290d8
push 0x10031bca
call edi
add esp, 0xc
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::CString
jmp 0x1001c93f
push ecx
push 0x100290d8
push 0x10031bca
call edi
add esp, 0xc
mov eax, dword [esi + 0x44]
push 0x10029574
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
lea ecx, [esp + 0x1c]
shl edx, 4
add edx, eax
lea eax, [edx*4 + 0x1002e674]
push eax
call sub.MFC42.DLL_CString::Replace
mov eax, dword [esi + 0x44]
push 0x10029574
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
lea ecx, [esp + 0x1c]
shl edx, 4
add edx, eax
lea eax, [edx*4 + 0x1002e6a6]
push eax
call sub.MFC42.DLL_CString::Replace
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
cmp eax, 0xfc
jle 0x1001c9f7
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
push 0xfc
mov bl, 0xa
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x44]
push edx
push 0x100290d8
push 0x10031cca
call edi
add esp, 0xc
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::CString
jmp 0x1001ca07
push ecx
push 0x100290d8
push 0x10031cca
call edi
add esp, 0xc
mov eax, dword [esi + 0x44]
push 0x10029574
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
lea ecx, [esp + 0x18]
shl edx, 4
add edx, eax
lea eax, [edx*4 + 0x1002e6d8]
push eax
call sub.MFC42.DLL_CString::Replace
mov bl, 0xd
mov eax, dword [esi + 0x44]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
lea ecx, [esp + 0x14]
shl edx, 4
add edx, eax
lea eax, [edx*4 + 0x1002e674]
push eax
call sub.MFC42.DLL_CString::Find_2
mov edi, eax
mov eax, dword [esi + 0x44]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
lea ecx, [esp + 0x14]
shl edx, 4
add edx, eax
lea eax, [edx*4 + 0x1002e6a6]
push eax
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, edi
jle 0x1001cb63
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 0xc
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
push edi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 0xe
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x44]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov edx, dword [edx - 8]
sub edx, ebp
lea ecx, [eax + ecx*2]
shl ecx, 4
add ecx, eax
xor eax, eax
lea edi, [ecx*4 + 0x1002e6a6]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub edx, ecx
lea ecx, [esp + 0x14]
push edx
lea edx, [esp + 0x30]
push edx
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 0xf
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x44]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0x10
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::CString
jmp 0x1001ca2d
mov eax, dword [esp + 0x14]
pop ebp
mov ecx, dword [eax - 8]
cmp ecx, 0x3e8
jle 0x1001cbd9
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x2c]
mov bl, 0x11
push 0x3e8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 0x12
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x40]
push ecx
push 0x100290d8
push 0x10031dca
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::CString
jmp 0x1001cbed
push eax
push 0x100290d8
push 0x10031dca
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x1002cb20
call edi
push 0x10031bca
mov ecx, esi
call fcn.100016f4
push 0x10031bca
call edi
push 0x1002cb14
call edi
push 0x10031cca
call edi
push 0x1002cb0c
call edi
push 0x10031dca
mov ecx, esi
call fcn.100016f4
push 0x10031dca
call edi
push 0x10031b98
mov ecx, esi
call fcn.10001299
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 8