Function at 0x403780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x424070
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x28]
xor eax, eax
mov ecx, esi
mov edx, dword [esp + 0x24]
push edi
push edx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov al, byte [eax + 3]
cmp al, 0x20
je 0x40399e
cmp al, 0x2c
je 0x4038e6
push 0x42d1b8
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Find
mov edi, eax
cmp edi, 0xffffffff
je 0x403a67
push ecx
lea edx, [edi + 2]
mov ecx, esp
mov dword [esp + 0x18], esp
push 2
push edx
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid_1
call fcn.00403ac0
add esp, 4
mov word [esi + 6], ax
lea eax, [edi + 5]
lea ecx, [esp + 0x28]
push 3
push eax
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Mid_1
push eax
mov byte [esp + 0x24], 3
call fcn.00403b30
add esp, 4
lea ecx, [esp + 0x28]
mov word [esi + 2], ax
mov byte [esp + 0x20], bl
call fcn.004235ea
push ecx
lea eax, [edi + 9]
mov edx, esp
mov dword [esp + 0x18], esp
push 2
push eax
push edx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid_1
call fcn.00403ac0
mov ecx, esp
mov dword [esp + 0x18], esp
lea edx, [edi + 0xc]
push 2
push edx
push ecx
lea ecx, [esp + 0x3c]
mov word [esi], ax
call sub.MFC42.DLL_CString::Mid_1
call fcn.00403ac0
mov word [esi + 8], ax
mov eax, esp
mov dword [esp + 0x18], esp
lea ecx, [edi + 0xf]
push 2
push ecx
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid_1
call fcn.00403ac0
mov edx, esp
mov dword [esp + 0x18], esp
add edi, 0x12
push 2
push edi
push edx
lea ecx, [esp + 0x3c]
mov word [esi + 0xa], ax
call sub.MFC42.DLL_CString::Mid_1
call fcn.00403ac0
mov word [esi + 0xc], ax
mov ax, word [esi]
mov cx, 0x32
add esp, 4
cmp cx, ax
sbb edx, edx
and edx, 0xffffff9c
add edx, 0x7d0
add edx, eax
mov word [esi], dx
jmp 0x403a67
push ecx
lea ecx, [esp + 0x30]
mov eax, esp
mov dword [esp + 0x2c], esp
push 2
push 5
push eax
call sub.MFC42.DLL_CString::Mid_1
call fcn.00403ac0
add esp, 4
lea ecx, [esp + 0xc]
mov word [esi + 6], ax
push 3
push 8
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Mid_1
push eax
mov byte [esp + 0x24], 1
call fcn.00403b30
add esp, 4
lea ecx, [esp + 0xc]
mov word [esi + 2], ax
mov byte [esp + 0x20], bl
call fcn.004235ea
push ecx
lea ecx, [esp + 0x30]
mov edx, esp
mov dword [esp + 0x18], esp
push 4
push 0xc
push edx
call sub.MFC42.DLL_CString::Mid_1
call fcn.00403ac0
mov word [esi], ax
mov eax, esp
mov dword [esp + 0x18], esp
push 2
push 0x11
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid_1
call fcn.00403ac0
mov ecx, esp
mov dword [esp + 0x18], esp
push 2
push 0x14
push ecx
lea ecx, [esp + 0x3c]
mov word [esi + 8], ax
call sub.MFC42.DLL_CString::Mid_1
call fcn.00403ac0
mov edx, esp
mov dword [esp + 0x18], esp
push 2
mov word [esi + 0xa], ax
push 0x17
jmp 0x403a51
push ecx
lea ecx, [esp + 0x30]
mov eax, esp
mov dword [esp + 0x2c], esp
push 2
push 8
push eax
call sub.MFC42.DLL_CString::Mid_1
call fcn.00403ac0
add esp, 4
lea ecx, [esp + 0x10]
mov word [esi + 6], ax
push 3
push 4
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Mid_1
push eax
mov byte [esp + 0x24], 2
call fcn.00403b30
add esp, 4
lea ecx, [esp + 0x10]
mov word [esi + 2], ax
mov byte [esp + 0x20], bl
call fcn.004235ea
push ecx
lea ecx, [esp + 0x30]
mov edx, esp
mov dword [esp + 0x18], esp
push 4
push 0x14
push edx
call sub.MFC42.DLL_CString::Mid_1
call fcn.00403ac0
mov word [esi], ax
mov eax, esp
mov dword [esp + 0x18], esp
push 2
push 0xb
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid_1
call fcn.00403ac0
mov ecx, esp
mov dword [esp + 0x18], esp
push 2
push 0xe
push ecx
lea ecx, [esp + 0x3c]
mov word [esi + 8], ax
call sub.MFC42.DLL_CString::Mid_1
call fcn.00403ac0
mov edx, esp
mov dword [esp + 0x18], esp
push 2
mov word [esi + 0xa], ax
push 0x11
push edx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid_1
call fcn.00403ac0
add esp, 4
mov word [esi + 0xc], ax
cmp word [esi], bx
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x2c]
je 0x403a96
call fcn.004235ea
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8
call fcn.004235ea
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 8