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

Disassembly:
push 0xffffffffffffffff
push 0x4cd2fa
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x50e018]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50e018]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc8]
mov esi, ecx
mov dword [esp + 0x1c], esi
mov dword [esi], eax
call fcn.004c5110
xor ebp, ebp
push 0x30
mov dword [esi + 0x40c], ebp
call fcn.004a66e4
add esp, 4
cmp eax, ebp
je 0x4c1217
mov dword [esi + 0x408], eax
mov dword [eax], eax
mov eax, dword [esi + 0x408]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x408]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x408]
mov byte [ecx + 0x2c], 1
mov edx, dword [esi + 0x408]
mov byte [edx + 0x2d], 1
push 0x30
mov dword [esp + 0xc4], ebp
mov dword [esi + 0x41c], ebp
call fcn.004a66e4
add esp, 4
cmp eax, ebp
je 0x4c11ed
mov dword [esi + 0x418], eax
mov dword [eax], eax
mov eax, dword [esi + 0x418]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x418]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x418]
mov byte [eax + 0x2c], 1
mov ecx, dword [esi + 0x418]
mov byte [ecx + 0x2d], 1
push 0x48
mov byte [esp + 0xc4], 1
mov dword [esi + 0x42c], ebp
call fcn.004a66e4
add esp, 4
cmp eax, ebp
je 0x4c11c3
mov dword [esi + 0x428], eax
mov dword [eax], eax
mov eax, dword [esi + 0x428]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x428]
mov dword [eax + 8], eax
mov edx, dword [esi + 0x428]
mov byte [edx + 0x44], 1
mov eax, dword [esi + 0x428]
mov byte [eax + 0x45], 1
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
lea ecx, [esp + 0x98]
push ecx
mov byte [esp + 0xc4], 3
call fcn.004b52f0
add esp, 4
mov byte [esp + 0xc0], 4
lea edi, [ebp + 0x10]
cmp dword [esp + 0xa8], ebp
je 0x4c0dd6
lea edx, [esp + 0x98]
lea ecx, [esp + 0x14]
call fcn.004c4950
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [eax], ebp
mov esi, dword [esp + 0x24]
mov byte [esp + 0xc0], 5
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
cmp esi, ebp
je 0x4c0cc6
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4c0cc6
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 0x4c0cc6
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [esp + 0x18]
mov byte [esp + 0xc0], 4
cmp esi, ebp
je 0x4c0d00
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c0d00
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 0x4c0d00
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp dword [esp + 0x20], ebp
jne 0x4c0de0
push 0x20
mov esi, 0xf
push str.Unable_to_open_message_catalog:
lea ecx, [esp + 0x68]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebp
mov byte [esp + 0x68], 0
call fcn.00405360
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x4c]
mov bl, 6
push edx
mov byte [esp + 0xcc], bl
call fcn.00456020
add esp, 0xc
mov byte [esp + 0xc0], 7
cmp dword [eax + 0x14], edi
jb 0x4c0d5e
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], eax
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0x2c], vtable.std::runtime_error.0
mov byte [esp + 0xc0], 9
cmp dword [esp + 0x58], edi
jb 0x4c0d94
mov edx, dword [esp + 0x44]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebp
mov byte [esp + 0x44], 0
call fcn.004c3fe0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc0], bl
call dword [sym.imp.MSVCR100.dll_public_virtual:_void___thiscall_std::exception::destructor_void_]
mov byte [esp + 0xc0], 4
cmp dword [esp + 0x74], edi
jb 0x4c0dd6
mov eax, dword [esp + 0x60]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x20], ebp
je 0x4c1104
mov dword [esp + 0x14], ebp
mov esi, ebp
mov ecx, esi
call fcn.004c5d30
mov edi, eax
xor eax, eax
mov ecx, 0xf
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
mov byte [esp + 0x44], al
mov bl, byte [edi]
mov byte [esp + 0xc0], 0xa
test bl, bl
je 0x4c0eaa
jmp 0x4c0e1a
mov ecx, dword [esp + 0x58]
or edx, 0xffffffff
sub edx, eax
cmp edx, 1
jbe 0x4c11b8
lea esi, [eax + 1]
cmp esi, 0xfffffffe
ja 0x4c11b8
cmp ecx, esi
jae 0x4c0e45
push eax
push esi
lea ecx, [esp + 0x4c]
call fcn.00405720
jmp 0x4c0e5d
cmp esi, ebp
jne 0x4c0e63
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], ebp
cmp ecx, 0x10
jae 0x4c0e5a
lea eax, [esp + 0x44]
mov byte [eax], 0
mov eax, dword [esp + 0x54]
cmp esi, ebp
seta cl
test cl, cl
je 0x4c0e9a
mov ecx, dword [esp + 0x44]
mov edx, 0x10
cmp dword [esp + 0x58], edx
jae 0x4c0e7d
lea ecx, [esp + 0x44]
mov byte [eax + ecx], bl
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], esi
cmp dword [esp + 0x58], edx
jae 0x4c0e92
lea eax, [esp + 0x44]
mov byte [esi + eax], 0
mov eax, dword [esp + 0x54]
mov bl, byte [edi + 1]
inc edi
test bl, bl
jne 0x4c0e16
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x44]
push eax
mov eax, dword [edx]
lea ecx, [esi + 0xc8]
push ecx
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x6c]
call fcn.004c4e50
xor eax, eax
mov edx, 0xf
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], eax
mov byte [esp + 0x7c], al
xor edi, edi
mov byte [esp + 0xc0], 0xc
cmp dword [esp + 0x70], ebp
jbe 0x4c0fbd
jmp 0x4c0f07
mov edx, dword [esp + 0x90]
cmp dword [esp + 0x74], 0x10
mov ecx, dword [esp + 0x60]
jae 0x4c0f16
lea ecx, [esp + 0x60]
mov bl, byte [ecx + edi]
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jbe 0x4c11b8
lea esi, [eax + 1]
cmp esi, 0xfffffffe
ja 0x4c11b8
cmp edx, esi
jae 0x4c0f47
push eax
push esi
lea ecx, [esp + 0x84]
call fcn.00405720
jmp 0x4c0f62
cmp esi, ebp
jne 0x4c0f6b
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x8c], ebp
cmp edx, 0x10
jae 0x4c0f5f
lea eax, [esp + 0x7c]
mov byte [eax], 0
mov eax, dword [esp + 0x8c]
cmp esi, ebp
seta cl
test cl, cl
je 0x4c0fae
mov ecx, dword [esp + 0x7c]
mov edx, 0x10
cmp dword [esp + 0x90], edx
jae 0x4c0f88
lea ecx, [esp + 0x7c]
mov byte [eax + ecx], bl
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x8c], esi
cmp dword [esp + 0x90], edx
jae 0x4c0fa3
lea eax, [esp + 0x7c]
mov byte [eax + esi], 0
mov eax, dword [esp + 0x8c]
inc edi
cmp edi, dword [esp + 0x70]
jb 0x4c0f00
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
add ecx, 0x404
mov dword [esp + 0x18], esi
call fcn.004234b0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.004059c0
mov edi, 0x10
cmp dword [esp + 0x90], edi
jb 0x4c1002
mov edx, dword [esp + 0x7c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x74], edi
jb 0x4c1015
mov eax, dword [esp + 0x60]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebx, 0xf
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebp
mov byte [esp + 0x60], 0
mov byte [esp + 0xc0], 4
cmp dword [esp + 0x58], edi
jb 0x4c1042
mov ecx, dword [esp + 0x44]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
inc esi
mov dword [esp + 0x14], esi
cmp esi, 0x15
jle 0x4c0de6
test byte [0x512fac], 1
jne 0x4c1090
or dword [0x512fac], 1
push 0x4df3c0
mov byte [esp + 0xc4], 0xd
mov dword [0x512fa4], ebx
mov dword [0x512fa0], ebp
mov byte [0x512f90], 0
call fcn.004a67b5
add esp, 4
mov byte [esp + 0xc0], 4
mov edi, dword [esp + 0x1c]
xor esi, esi
mov bl, 0xe
jmp 0x4c10a0
mov eax, dword [edi]
push 0x512f90
lea edx, [esi + 0x12c]
push edx
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x6c]
call fcn.004c4e50
mov byte [esp + 0xc0], bl
cmp dword [esp + 0x70], ebp
je 0x4c10e2
lea ecx, [esp + 0x60]
push ecx
lea ecx, [edi + 0x414]
call fcn.004be2e0
mov edx, dword [esi*4 + 0x4e2f34]
mov dword [eax], edx
cmp dword [esp + 0x74], 0x10
mov byte [esp + 0xc0], 4
jb 0x4c10fe
mov eax, dword [esp + 0x60]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
inc esi
cmp esi, 0xd
jbe 0x4c10a0
mov edi, dword [esp + 0x1c]
lea ecx, [edi + 0x438]
push ecx
push edi
call fcn.004ae380
add esp, 8
cmp dword [esp + 0xac], 0x10
mov dword [edi + 0x434], eax
jb 0x4c1138
mov edx, dword [esp + 0x98]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x24]
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], ebp
mov byte [esp + 0x98], 0
mov byte [esp + 0xc0], 2
cmp esi, ebp
je 0x4c118c
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c118c
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 0x4c118c
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, edi
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004a665a
add esp, 0xb0
ret 4
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], ebp
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x4f7eac
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], ebp
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x4f7eac
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], ebp
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x4f7eac
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3