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

Disassembly:
push 0xffffffffffffffff
push 0x4249cd
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4342ac]
xor eax, esp
mov dword [esp + 0x19c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4342ac]
xor eax, esp
push eax
lea eax, [esp + 0x1b4]
mov dword fs:[0], eax
mov edi, ecx
push 0x100
xor ebp, ebp
lea eax, [edi + 4]
push ebp
push eax
call sub.MSVCR80.dll_memset
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x1cc], ebp
call fcn.00416c60
add esp, 0x10
cmp dword [esp + 0x80], ebp
mov byte [esp + 0x1bc], 1
je 0x4230bc
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x2c]
call fcn.00422ee0
mov edx, dword [eax]
add eax, 4
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c0], 2
mov dword [esp + 0x28], edx
call fcn.00402cab
mov esi, dword [esp + 0x30]
cmp esi, ebp
mov byte [esp + 0x1bc], 1
je 0x423011
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x423011
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x423011
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp dword [esp + 0x24], ebp
jne 0x423136
push str.Unable_to_open_message_catalog:
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x3c]
mov bl, 3
push edx
mov byte [esp + 0x1c8], bl
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0xc
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1c0], 4
call fcn.00401113
lea ecx, [esp + 0x34]
mov byte [esp + 0x1bc], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x88]
call fcn.00422ac0
lea ecx, [esp + 0x94]
mov byte [esp + 0x1bc], bl
mov dword [esp + 0x88], vtable.std::runtime_error.0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCR80.dll_public_virtual:_void___thiscall_std::exception::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x1bc], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov bl, 1
mov edi, edi
mov cl, bl
call fcn.00422500
cmp eax, ebp
je 0x4230e2
jmp 0x4230d0
mov cl, byte [eax]
test cl, cl
je 0x4230e2
add eax, 1
movzx ecx, cl
mov byte [ecx + edi + 4], bl
jne 0x4230d0
add bl, 1
cmp bl, 0x39
jb 0x4230c0
mov ebp, dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
mov bl, 0x41
movzx edx, bl
cmp byte [edx + edi + 4], 0
lea esi, [edx + edi + 4]
jne 0x423203
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
push 1
lea edx, [esp + 0x1c]
push edx
push 1
push eax
mov byte [esp + 0x28], bl
call ebp
test eax, eax
je 0x4231de
test byte [esp + 0x1c], 2
je 0x4231de
mov byte [esi], 0x16
jmp 0x423203
mov bl, 1
mov ebp, 1
lea ecx, [ecx]
mov cl, bl
call fcn.00422500
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [edi]
lea eax, [esp + 0x34]
push eax
push ebp
push ecx
lea edx, [esp + 0x30]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1c8], 7
call fcn.00422c20
lea ecx, [esp + 0x34]
mov byte [esp + 0x1bc], 9
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x64]
xor esi, esi
test eax, eax
jbe 0x4231b8
cmp esi, eax
jbe 0x423196
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
jae 0x4231a5
lea eax, [esp + 0x54]
movzx edx, byte [eax + esi]
mov byte [edx + edi + 4], bl
mov eax, dword [esp + 0x64]
add esi, 1
cmp esi, eax
jb 0x423196
lea ecx, [esp + 0x50]
mov byte [esp + 0x1bc], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add bl, 1
add ebp, 1
cmp bl, 0x39
jb 0x423140
jmp 0x4230ea
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
push 1
lea edx, [esp + 0x20]
push edx
push 1
push eax
mov byte [esp + 0x2c], bl
call ebp
test eax, eax
je 0x423203
test byte [esp + 0x20], 1
je 0x423203
mov byte [esi], 0x17
mov al, bl
add bl, 1
cmp al, 0xff
jne 0x4230f2
xor eax, eax
jmp 0x423220
mov byte [esp + eax + 0xb0], al
add eax, 1
cmp eax, 0x100
jl 0x423220
mov edx, dword [edi]
push 0x100
lea esi, [edi + 0x104]
push esi
push 0x100
lea ecx, [esp + 0xbc]
push ecx
push 0x100
push edx
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
cmp eax, 0x100
jge 0x42326d
nop
mov byte [esi + eax], al
add eax, 1
cmp eax, 0x100
jl 0x423260
mov edx, dword [edi]
lea eax, [edi + 0x204]
push eax
push 0x100
lea ecx, [esp + 0xb8]
push ecx
push 1
push edx
call ebp
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1bc], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov esi, dword [esp + 0x28]
test esi, esi
mov dword [esp + 0x1bc], 0xffffffff
je 0x4232d7
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4232d7
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4232d7
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x1b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.00411db3
add esp, 0x1ac
ret