Function at 0x40dd40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x418c84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [esp + 0x44]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x20], ebx
jne 0x40dd7c
cmp dword [esp + 0x48], ebx
jne 0x40dd7c
cmp dword [esp + 0x4c], ebx
je 0x40e464
push 0x421650
push edi
call fcn.0040c2e0
mov eax, dword [esp + 0x4c]
mov ebp, 1
add esp, 8
cmp eax, ebp
mov dword [edi + 0xf0], ebp
je 0x40dda7
cmp dword [esp + 0x48], ebp
jne 0x40e0ea
mov eax, dword [esp + 0x64]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x421648
push eax
call esi
mov ecx, dword [esp + 0x6c]
push 0x421640
neg eax
sbb eax, eax
push ecx
neg eax
inc eax
mov dword [edi + 0xf4], eax
call esi
add esp, 0x10
test eax, eax
jne 0x40df56
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.174_116_174_119_174_122_173_124
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x64]
lea eax, [esp + 0x6c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 1
call fcn.00416ec2
mov ecx, edi
mov byte [esp + 0x30], bl
call fcn.0040d130
cmp eax, ebx
jne 0x40e464
cmp dword [edi + 0x100], 2
jne 0x40df56
push ebx
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00416ec2
push ecx
mov byte [esp + 0x2c], 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.174_119_174_122_173_124
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x2c], bl
call fcn.0040e490
cmp eax, ebx
jne 0x40e464
mov eax, dword [esp + 0x2c]
sub esp, 0x4c
mov esi, esp
mov dword [esp + 0x60], esp
mov dword [esp + 0x60], esi
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x7c]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x80]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x84]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x88]
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0x90]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x94]
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x98]
mov dword [esi + 0x24], edx
mov eax, dword [esp + 0x9c]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0xa0]
mov dword [esi + 0x2c], ecx
mov edx, dword [esp + 0xa4]
mov dword [esi + 0x30], edx
mov eax, dword [esp + 0xa8]
mov dword [esi + 0x34], eax
mov ecx, dword [esp + 0xac]
lea edx, [esp + 0xb0]
mov dword [esi + 0x38], ecx
push edx
lea ecx, [esi + 0x3c]
call fcn.00416ec2
lea eax, [esp + 0xb4]
lea ecx, [esi + 0x40]
push eax
mov byte [esp + 0x70], 3
call fcn.00416ec2
mov ecx, dword [esp + 0xb8]
push ebx
mov dword [esi + 0x44], ecx
mov edx, dword [esp + 0xc0]
push ebp
push ebp
mov ecx, edi
mov dword [esi + 0x48], edx
mov dword [esi], 0x41a620
mov byte [esp + 0x78], bl
call fcn.0040e610
cmp eax, ebx
je 0x40df56
cmp dword [edi + 0x100], 2
je 0x40de2a
mov eax, dword [esp + 0x64]
push 0x421648
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x40e0ea
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.73_164
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x6c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x34], 4
call fcn.00416ec2
mov ecx, edi
mov byte [esp + 0x30], bl
call fcn.0040d130
cmp eax, ebx
jne 0x40e464
cmp dword [edi + 0x100], 2
jne 0x40e0ea
push ebx
push ecx
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00416ec2
push ecx
mov byte [esp + 0x2c], 5
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.73_161_73_164
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x2c], bl
call fcn.0040e490
cmp eax, ebx
jne 0x40e464
mov ecx, dword [esp + 0x2c]
sub esp, 0x4c
mov esi, esp
mov dword [esp + 0x60], esp
mov dword [esp + 0x60], esi
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x80]
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x84]
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0x88]
mov dword [esi + 0x14], edx
mov eax, dword [esp + 0x8c]
mov dword [esi + 0x18], eax
mov ecx, dword [esp + 0x90]
mov dword [esi + 0x1c], ecx
mov edx, dword [esp + 0x94]
mov dword [esi + 0x20], edx
mov eax, dword [esp + 0x98]
mov dword [esi + 0x24], eax
mov ecx, dword [esp + 0x9c]
mov dword [esi + 0x28], ecx
mov edx, dword [esp + 0xa0]
mov dword [esi + 0x2c], edx
mov eax, dword [esp + 0xa4]
mov dword [esi + 0x30], eax
mov ecx, dword [esp + 0xa8]
mov dword [esi + 0x34], ecx
mov edx, dword [esp + 0xac]
lea eax, [esp + 0xb0]
lea ecx, [esi + 0x3c]
push eax
mov dword [esi + 0x38], edx
call fcn.00416ec2
lea ecx, [esp + 0xb4]
mov byte [esp + 0x6c], 6
push ecx
lea ecx, [esi + 0x40]
call fcn.00416ec2
mov edx, dword [esp + 0xb8]
push ebx
mov dword [esi + 0x44], edx
mov eax, dword [esp + 0xc0]
push ebp
push ebp
mov ecx, edi
mov dword [esi + 0x48], eax
mov dword [esi], 0x41a620
mov byte [esp + 0x78], bl
call fcn.0040e610
cmp eax, ebx
je 0x40e0ea
cmp dword [edi + 0x100], 2
je 0x40dfbe
mov ecx, dword [esp + 0x68]
push 0x4215e8
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x40e292
cmp dword [esp + 0x4c], ebp
jne 0x40e292
push ebp
push ecx
mov esi, 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.176_118_173_124
mov dword [edi + 0xf4], esi
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x68]
mov byte [esp + 0x28], 7
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x421640
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x30], bl
call fcn.0040d130
cmp eax, ebx
jne 0x40e464
cmp dword [edi + 0x100], esi
jne 0x40e292
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x421640
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x2c], 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.176_118_173_124
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x2c], bl
call fcn.0040e490
cmp eax, ebx
jne 0x40e464
mov eax, dword [esp + 0x2c]
sub esp, 0x4c
mov esi, esp
mov dword [esp + 0x60], esp
mov dword [esp + 0x60], esi
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x7c]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x80]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x84]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x88]
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0x90]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x94]
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x98]
mov dword [esi + 0x24], edx
mov eax, dword [esp + 0x9c]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0xa0]
mov dword [esi + 0x2c], ecx
mov edx, dword [esp + 0xa4]
mov dword [esi + 0x30], edx
mov eax, dword [esp + 0xa8]
mov dword [esi + 0x34], eax
mov ecx, dword [esp + 0xac]
lea edx, [esp + 0xb0]
mov dword [esi + 0x38], ecx
push edx
lea ecx, [esi + 0x3c]
call fcn.00416ec2
lea eax, [esp + 0xb4]
lea ecx, [esi + 0x40]
push eax
mov byte [esp + 0x70], 9
call fcn.00416ec2
mov ecx, dword [esp + 0xb8]
push ebp
mov dword [esi + 0x44], ecx
mov edx, dword [esp + 0xc0]
push ebx
push ebx
mov ecx, edi
mov dword [esi + 0x48], edx
mov dword [esi], 0x41a620
mov byte [esp + 0x78], bl
call fcn.0040e610
cmp eax, ebx
je 0x40e292
cmp dword [edi + 0x100], 2
je 0x40e166
mov eax, dword [esp + 0x68]
push 0x4215d0
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x40e43a
cmp dword [esp + 0x4c], ebp
jne 0x40e43a
push ebp
push ecx
mov esi, 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.178_120_184_120_194_121_194_123
mov dword [edi + 0xf4], esi
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x28], 0xa
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x421640
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x30], bl
call fcn.0040d130
cmp eax, ebx
jne 0x40e464
cmp dword [edi + 0x100], esi
jne 0x40e43a
push ebx
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00416ec2
push ecx
mov byte [esp + 0x2c], 0xb
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.184_120_194_121_194_123
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x2c], bl
call fcn.0040e490
cmp eax, ebx
jne 0x40e464
mov eax, dword [esp + 0x2c]
sub esp, 0x4c
mov esi, esp
mov dword [esp + 0x60], esp
mov dword [esp + 0x60], esi
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x7c]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x80]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x84]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x88]
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0x90]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x94]
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x98]
mov dword [esi + 0x24], edx
mov eax, dword [esp + 0x9c]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0xa0]
mov dword [esi + 0x2c], ecx
mov edx, dword [esp + 0xa4]
mov dword [esi + 0x30], edx
mov eax, dword [esp + 0xa8]
mov dword [esi + 0x34], eax
mov ecx, dword [esp + 0xac]
lea edx, [esp + 0xb0]
mov dword [esi + 0x38], ecx
push edx
lea ecx, [esi + 0x3c]
call fcn.00416ec2
lea eax, [esp + 0xb4]
lea ecx, [esi + 0x40]
push eax
mov byte [esp + 0x70], 0xc
call fcn.00416ec2
mov ecx, dword [esp + 0xb8]
push ebp
mov dword [esi + 0x44], ecx
mov edx, dword [esp + 0xc0]
push ebx
push ebx
mov ecx, edi
mov dword [esi + 0x48], edx
mov dword [esi], 0x41a620
mov byte [esp + 0x78], bl
call fcn.0040e610
cmp eax, ebx
je 0x40e43a
cmp dword [edi + 0x100], 2
je 0x40e30e
push ebx
mov ecx, edi
mov dword [edi + 0xf0], ebx
call fcn.0040e710
mov ecx, edi
call fcn.0040e7a0
mov ecx, edi
call fcn.0040c0a0
push 0x42157c
push edi
call fcn.0040c2e0
add esp, 8
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.004010b0
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0x4c