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

Disassembly:
push 0xffffffffffffffff
push 0x42f52d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4441b4]
xor eax, esp
mov dword [esp + 0x19c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4441b4]
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.MSVCR90.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.0041fcb0
add esp, 0x10
mov byte [esp + 0x1bc], 1
cmp dword [esp + 0x80], ebp
je 0x42dc6c
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x2c]
call fcn.0042da90
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.0041c640
mov esi, dword [esp + 0x30]
mov byte [esp + 0x1bc], 1
cmp esi, ebp
je 0x42dbc1
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42dbc1
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 0x42dbc1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp dword [esp + 0x24], ebp
jne 0x42dce5
push str.Unable_to_open_message_catalog:
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP90.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.MSVCP90.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.00401103
lea ecx, [esp + 0x34]
mov byte [esp + 0x1bc], 6
call dword [sym.imp.MSVCP90.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.0042d6c0
lea ecx, [esp + 0x94]
mov byte [esp + 0x1bc], bl
mov dword [esp + 0x88], vtable.std::runtime_error.0
call dword [sym.imp.MSVCP90.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.MSVCR90.dll_public_virtual:_void___thiscall_std::exception::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x1bc], 1
call dword [sym.imp.MSVCP90.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.0042c7b0
cmp eax, ebp
je 0x42dc92
jmp 0x42dc80
mov cl, byte [eax]
test cl, cl
je 0x42dc92
add eax, 1
movzx ecx, cl
mov byte [ecx + edi + 4], bl
jne 0x42dc80
inc bl
cmp bl, 0x39
jb 0x42dc70
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 0x42ddae
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 0x42dd89
test byte [esp + 0x1c], 2
je 0x42dd89
mov byte [esi], 0x16
jmp 0x42ddae
mov bl, 1
mov ebp, 1
lea esp, [esp]
mov cl, bl
call fcn.0042c7b0
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP90.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.0042d7d0
lea ecx, [esp + 0x34]
mov byte [esp + 0x1bc], 9
call dword [sym.imp.MSVCP90.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 0x42dd66
cmp esi, eax
jbe 0x42dd46
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
jae 0x42dd55
lea eax, [esp + 0x54]
movzx edx, byte [eax + esi]
mov byte [edx + edi + 4], bl
mov eax, dword [esp + 0x64]
inc esi
cmp esi, eax
jb 0x42dd46
lea ecx, [esp + 0x50]
mov byte [esp + 0x1bc], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
inc bl
inc ebp
cmp bl, 0x39
jb 0x42dcf0
jmp 0x42dc99
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 0x42ddae
test byte [esp + 0x20], 1
je 0x42ddae
mov byte [esi], 0x17
mov al, bl
inc bl
cmp al, 0xff
jne 0x42dca1
xor eax, eax
lea esp, [esp]
mov byte [esp + eax + 0xb0], al
inc eax
cmp eax, 0x100
jl 0x42ddc0
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 0x42de0b
lea ecx, [ecx]
mov byte [esi + eax], al
inc eax
cmp eax, 0x100
jl 0x42de00
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.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x1bc], 0xffffffff
test esi, esi
je 0x42de75
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42de75
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 0x42de75
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.0041a1d4
add esp, 0x1ac
ret