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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42c0a5
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x43c01c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x43c01c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call fcn.00409400
mov eax, 1
cmp dword [ebp + 0xc], eax
mov dword [esp + 0x10], eax
jle 0x40b1bd
mov edx, dword [esp + 0x18]
mov edi, dword [edx + eax*4]
test edi, edi
je 0x40b1ad
movzx ecx, word [edi]
cmp cx, 0x2f
je 0x40b0cc
cmp cx, 0x2d
jne 0x40b1ad
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x54]
mov dword [esp + 0x80], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ebx, [edi + 2]
push 0x3d
push ebx
mov dword [esp + 0x88], 1
call dword [sym.imp.MSVCR80.dll_wcschr]
mov esi, eax
add esp, 8
test esi, esi
je 0x40b14d
sub eax, edi
sar eax, 1
sub eax, 1
push eax
push ebx
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const___unsigned_int_]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 2
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 2
push esi
lea ecx, [esp + 0x58]
jmp 0x40b152
push ebx
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov ebx, dword [esp + 0x14]
mov esi, dword [ebx + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x38]
push ecx
push edx
push esi
call fcn.0040b350
mov ecx, ebx
mov edi, eax
call fcn.0040b3f0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
lea ecx, [esp + 0x54]
mov dword [esp + 0x80], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
jl 0x40b0aa
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00422218
mov esp, ebp
pop ebp
ret 8