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

Disassembly:
push 0xffffffffffffffff
push 0x5faf13
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0xa0]
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
cmp esi, ebx
je 0x4db3ec
lea eax, [ecx + esi*4 - 4]
jmp 0x4db3e0
cmp dword [eax], ebx
jne 0x4db45b
dec esi
sub eax, 4
cmp esi, ebx
jne 0x4db3e0
xor edi, edi
mov eax, dword [esp + 0x98]
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x40], edi
cmp esi, ebx
je 0x4db413
lea eax, [ecx + esi*4 - 4]
cmp dword [eax], ebx
jne 0x4db475
dec esi
sub eax, 4
cmp esi, ebx
jne 0x4db407
xor eax, eax
mov dword [esp + 0x3c], eax
cmp eax, edi
lea eax, [esp + 0x40]
jb 0x4db425
lea eax, [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
cmp eax, ebx
jne 0x4db48a
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
mov esi, dword [esp + 0x90]
push eax
push esi
call fcn.004d3740
mov dword [esp + 0x88], ebx
mov dword [esp + 0x44], 1
jmp 0x4dc210
cmp esi, ebx
je 0x4db3ec
lea eax, [ecx + esi*4 - 4]
call fcn.004bbca0
dec esi
mov edi, eax
shl esi, 5
add edi, esi
jmp 0x4db3ee
cmp esi, ebx
je 0x4db413
lea eax, [ecx + esi*4 - 4]
call fcn.004bbca0
dec esi
shl esi, 5
add eax, esi
jmp 0x4db415
cmp eax, 0x2e
ja 0x4db496
mov ecx, 1
jmp 0x4db4a4
mov ecx, 0x104
cmp ecx, eax
sbb ecx, ecx
neg ecx
add ecx, 2
mov ebx, 1
shl ebx, cl
lea edx, [esp + 0x68]
mov dword [esp + 0x28], ecx
mov eax, ebx
shl eax, cl
mov dword [esp + 0x20], ebx
push eax
push edx
mov dword [esp + 0x2c], eax
call fcn.004e1e00
mov dword [esp + 0x88], 1
mov ecx, dword [esp + 0x78]
sub ecx, dword [esp + 0x74]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x4db4f4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x74]
mov ebp, dword [esp + 0x94]
mov esi, dword [ebp + 4]
add edi, 0xc
call fcn.004d6da0
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 8]
mov ebp, dword [sym.imp.MSVCR90.dll_memcpy_s]
add eax, eax
add eax, eax
push eax
push ecx
push eax
push edx
call ebp
mov ecx, dword [esp + 0x88]
sub ecx, dword [esp + 0x84]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 0x10
cmp ebx, eax
jb 0x4db54e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x9c]
mov esi, dword [edx + 4]
lea eax, [ebx + ebx*2]
add eax, eax
add eax, eax
lea edi, [ecx + eax]
mov dword [esp + 0x40], eax
call fcn.004d6da0
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 8]
add eax, eax
add eax, eax
push eax
push edx
push eax
mov eax, dword [edi + 8]
push eax
call ebp
mov ecx, dword [esp + 0x88]
sub ecx, dword [esp + 0x84]
mov eax, 0x2aaaaaab
imul ecx
add esp, 0x10
sar edx, 1
cmp dword [esp + 0x28], 1
jne 0x4db66b
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 3
ja 0x4db5c0
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edi, dword [esp + 0x74]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [esp + 0x98]
push eax
add edi, 0x24
call edx
mov ebx, eax
mov esi, dword [ebx + 4]
call fcn.004d6da0
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 8]
mov edx, dword [edi + 8]
add eax, eax
add eax, eax
push eax
push ecx
push eax
push edx
call ebp
add esp, 0x10
xor ebx, ebx
push ebx
mov dword [esp + 0x58], ebx
call fcn.004b4f50
add esp, 4
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x4c]
lea ecx, [eax - 1]
dec eax
cmp eax, ebx
mov byte [esp + 0x88], 3
mov dword [esp + 0x94], ebx
mov dword [esp + 0x40], ecx
mov byte [esp + 0x9c], 1
mov dword [esp + 0x3c], eax
jl 0x4dc1d3
mov edi, dword [esp + 0xa0]
mov ebp, dword [esp + 0x98]
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, esi
shr edx, 5
cmp edx, eax
jb 0x4dbe14
xor al, al
jmp 0x4dbe23
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
ja 0x4db67d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x74]
mov edx, dword [edx + 0x18]
push eax
add edi, 0x18
call edx
mov esi, dword [eax + 4]
mov dword [esp + 0x3c], eax
call fcn.004d6da0
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 8]
add eax, eax
add eax, eax
push eax
push edx
push eax
mov eax, dword [edi + 8]
push eax
call ebp
mov ecx, dword [esp + 0x88]
sub ecx, dword [esp + 0x84]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
lea esi, [ebx + ebx]
add ecx, edx
add esp, 0x10
cmp esi, ecx
jb 0x4db6e8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
lea edx, [esi + esi*2]
lea edi, [eax + edx*4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x9c]
mov edx, dword [edx + 0x18]
push eax
call edx
mov esi, dword [eax + 4]
mov dword [esp + 0x3c], eax
call fcn.004d6da0
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 8]
add eax, eax
add eax, eax
push eax
push edx
push eax
mov eax, dword [edi + 8]
push eax
call ebp
add esp, 0x10
mov dword [esp + 0x14], 3
cmp ebx, 3
jbe 0x4db867
mov dword [esp + 0x1c], 0x24
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, esi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
ja 0x4db773
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x14]
lea edx, [ecx + 0x18]
mov dword [esp + 0x3c], edx
mov edx, esi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [edi - 2]
cmp edx, eax
jb 0x4db7a7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x1c]
lea ebp, [ecx + eax - 0x18]
sub esi, ecx
mov eax, 0x2aaaaaab
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4db7cf
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x1c]
lea edi, [ecx + edx]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push ebp
call eax
mov ecx, dword [edi + 8]
mov ebp, eax
mov esi, dword [ebp + 4]
mov eax, dword [edi + 4]
mov dword [esp + 0x2c], ecx
cmp eax, esi
jne 0x4db7fe
mov eax, ecx
jmp 0x4db835
lea edx, [eax*4]
mov eax, dword [esp + 0x2c]
push edx
push 0
push eax
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.MSVCR90.dll_free]
push esi
call fcn.004b4f50
add esp, 0x14
test esi, esi
jne 0x4db82e
xor eax, eax
jmp 0x4db835
mov eax, esi
call fcn.004b45b0
mov dword [edi + 4], esi
add esi, esi
add esi, esi
mov dword [edi + 8], eax
mov edx, dword [ebp + 8]
push esi
push edx
push esi
push eax
call dword [sym.imp.MSVCR90.dll_memcpy_s]
mov eax, dword [esp + 0x24]
add dword [esp + 0x2c], 0x18
add eax, 2
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, ebx
jb 0x4db744
mov eax, 1
mov dword [esp + 0x14], eax
cmp ebx, eax
jbe 0x4dba25
mov ecx, dword [esp + 0x40]
add ecx, 0xc
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], 0xc
jmp 0x4db890
mov edx, dword [esp + 0x20]
lea edi, [eax + edx]
mov dword [esp + 0x1c], edi
cmp edi, dword [esp + 0x24]
jae 0x4dba03
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edx
jmp 0x4db8c4
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, esi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x2c], eax
jb 0x4db8f6
call ebx
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
sub esi, ecx
lea ebp, [ecx + edx]
mov eax, 0x2aaaaaab
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4db919
call ebx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x30]
lea edi, [ecx + edx]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x9c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push ebp
call eax
mov ebp, dword [edi + 8]
mov ebx, eax
mov esi, dword [ebx + 4]
mov eax, dword [edi + 4]
mov dword [esp + 0x48], ebx
cmp eax, esi
jne 0x4db94b
mov ecx, ebp
jmp 0x4db9ba
lea ecx, [eax*4]
push ecx
push 0
push ebp
call sub.MSVCR90.dll_memset
push ebp
call dword [sym.imp.MSVCR90.dll_free]
push esi
call fcn.004b4f50
add esp, 0x14
test esi, esi
jne 0x4db973
xor eax, eax
jmp 0x4db9b8
lea ebx, [esi*4]
push ebx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
test eax, eax
jne 0x4db9b4
push 0
call dword [sym.imp.MSVCP90.dll_void____cdecl___void____cdecl_std::set_new_handler_void____cdecl___void__]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4dba67
push ebp
call dword [sym.imp.MSVCP90.dll_void____cdecl___void____cdecl_std::set_new_handler_void____cdecl___void__]
call ebp
push ebx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 8
test eax, eax
je 0x4db988
mov ebx, dword [esp + 0x48]
mov ecx, eax
lea eax, [esi*4]
push eax
mov dword [edi + 8], ecx
mov dword [edi + 4], esi
mov edx, dword [ebx + 8]
push edx
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_memcpy_s]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x3c], ecx
add eax, ecx
mov ecx, dword [esp + 0x50]
add dword [esp + 0x40], ecx
add dword [esp + 0x44], ecx
add esp, 0x10
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x24]
jb 0x4db8c0
mov eax, dword [esp + 0x14]
mov ecx, 0x18
add dword [esp + 0x38], ecx
add dword [esp + 0x3c], ecx
add eax, 2
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x20]
jb 0x4db890
mov ebx, dword [esp + 0x20]
lea ebp, [ebx + ebx*2]
mov dword [esp + 0x14], ebp
cmp ebp, dword [esp + 0x24]
jae 0x4dbc20
lea eax, [ebp + ebp*2]
add eax, eax
add eax, eax
mov dword [esp + 0x38], eax
lea eax, [ebx + ebx*2]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x40], eax
mov eax, ebp
lea esi, [ebx + ebx]
sub eax, esi
lea ecx, [eax + eax*2]
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
jmp 0x4dba94
push 1
push 0x72de18
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCR90.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const___int_]
push 0x703a28
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x64], vtable.std::bad_alloc.0
call sub.MSVCR90.dll__CxxThrowException
nop
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, edi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4dbac2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
lea edx, [esi + esi*2]
lea eax, [ecx + edx*4]
mov dword [esp + 0x9c], eax
mov edx, edi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x3c], eax
jb 0x4dbaf7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
sub edi, ecx
lea esi, [ecx + edx]
mov eax, 0x2aaaaaab
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x4dbb1e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
lea edi, [ecx + edx]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x9c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push esi
call eax
mov ecx, dword [edi + 8]
mov ebp, eax
mov esi, dword [ebp + 4]
mov eax, dword [edi + 4]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x9c], ecx
cmp eax, esi
jne 0x4dbb58
jmp 0x4dbbdc
lea edx, [eax*4]
mov eax, dword [esp + 0x9c]
push edx
push 0
push eax
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0xa8]
push ecx
call dword [sym.imp.MSVCR90.dll_free]
push esi
call fcn.004b4f50
add esp, 0x14
test esi, esi
jne 0x4dbb8e
xor eax, eax
jmp 0x4dbbda
lea eax, [esi*4]
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
test eax, eax
jne 0x4dbbda
push 0
call dword [sym.imp.MSVCP90.dll_void____cdecl___void____cdecl_std::set_new_handler_void____cdecl___void__]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4dbc62
push ebp
call dword [sym.imp.MSVCP90.dll_void____cdecl___void____cdecl_std::set_new_handler_void____cdecl___void__]
call ebp
lea eax, [esi*4]
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 8
test eax, eax
je 0x4dbba3
mov ebp, dword [esp + 0x48]
mov ecx, eax
lea eax, [esi*4]
push eax
mov dword [edi + 8], ecx
mov dword [edi + 4], esi
mov edx, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_memcpy_s]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
add dword [esp + 0x48], ecx
add dword [esp + 0x44], ecx
lea esi, [ebx + ebx]
add dword [esp + 0x4c], esi
add eax, esi
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x24]
jb 0x4dba90
mov dword [esp + 0x14], ebx
cmp ebx, dword [esp + 0x24]
jae 0x4db602
mov edi, edi
mov ecx, dword [esp + 0x20]
lea ebp, [ebx + 2]
lea eax, [ebx + ecx]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x40], eax
cmp ebp, eax
jae 0x4dbdd1
lea edi, [ebp + ebp*2]
add edi, edi
add edi, edi
lea edx, [ebp - 1]
mov dword [esp + 0x9c], edi
mov dword [esp + 0x3c], edx
jmp 0x4dbc9b
push 1
push 0x72de18
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCR90.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const___int_]
push 0x703a28
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x64], vtable.std::bad_alloc.0
call sub.MSVCR90.dll__CxxThrowException
lea ebx, [ebx]
mov edi, dword [esp + 0x9c]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, esi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x3c], eax
jb 0x4dbccd
call ebx
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
sub esi, ecx
mov eax, 0x2aaaaaab
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edi, [ecx + edi - 0xc]
cmp ebp, eax
jb 0x4dbced
call ebx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x9c]
lea ebp, [ecx + edx]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x94]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push edi
call eax
mov edi, dword [ebp + 8]
mov ebx, eax
mov esi, dword [ebx + 4]
mov eax, dword [ebp + 4]
mov dword [esp + 0x48], ebx
cmp eax, esi
jne 0x4dbd22
mov ecx, edi
jmp 0x4dbd8e
lea ecx, [eax*4]
push ecx
push 0
push edi
call sub.MSVCR90.dll_memset
push edi
call dword [sym.imp.MSVCR90.dll_free]
push esi
call fcn.004b4f50
add esp, 0x14
test esi, esi
jne 0x4dbd4a
xor eax, eax
jmp 0x4dbd8c
lea ebx, [esi*4]
push ebx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
test eax, eax
jne 0x4dbd88
nop
push 0
call dword [sym.imp.MSVCP90.dll_void____cdecl___void____cdecl_std::set_new_handler_void____cdecl___void__]
mov edi, eax
add esp, 4
test edi, edi
je 0x4dbdec
push edi
call dword [sym.imp.MSVCP90.dll_void____cdecl___void____cdecl_std::set_new_handler_void____cdecl___void__]
call edi
push ebx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 8
test eax, eax
je 0x4dbd60
mov ebx, dword [esp + 0x48]
mov ecx, eax
lea eax, [esi*4]
push eax
mov dword [ebp + 8], ecx
mov dword [ebp + 4], esi
mov edx, dword [ebx + 8]
push edx
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_memcpy_s]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x4c], 2
add dword [esp + 0xac], 0x18
add eax, 2
add esp, 0x10
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x40]
jb 0x4dbc90
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add eax, eax
add ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, dword [esp + 0x24]
jb 0x4dbc30
jmp 0x4db602
push 1
push 0x72de18
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCR90.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const___int_]
push 0x703a28
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x64], vtable.std::bad_alloc.0
call sub.MSVCR90.dll__CxxThrowException
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + edx*4]
mov ecx, esi
and ecx, 0x1f
shr eax, cl
and al, 1
mov ecx, dword [esp + 0x94]
movzx eax, al
lea ecx, [eax + ecx*2]
mov dword [esp + 0x94], ecx
cmp edx, dword [edi + 8]
jb 0x4dbe40
xor al, al
jmp 0x4dbe56
mov eax, dword [edi + 0xc]
mov eax, dword [eax + edx*4]
mov ecx, esi
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0x94]
and al, 1
movzx edx, al
lea ebx, [edx + ebx*2]
test esi, esi
je 0x4dbe76
mov eax, dword [esp + 0x20]
lea edx, [ecx + ecx]
cmp edx, eax
jae 0x4dbe76
lea edx, [ebx + ebx]
cmp edx, eax
jb 0x4dc1c6
mov ebp, dword [esp + 0x40]
sub ebp, esi
xor eax, eax
mov dword [esp + 0x40], esi
test ecx, ecx
jne 0x4dbe8a
test ebx, ebx
je 0x4dbe9c
test cl, 1
jne 0x4dbe9c
test bl, 1
jne 0x4dbe9c
shr ecx, 1
shr ebx, 1
dec ebp
inc eax
jmp 0x4dbe82
cmp byte [esp + 0x9c], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x94], ecx
je 0x4dbfa4
mov ecx, dword [esp + 0x28]
shl ebx, cl
mov ecx, dword [esp + 0x78]
sub ecx, dword [esp + 0x74]
mov eax, 0x2aaaaaab
add ebx, dword [esp + 0x94]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
mov esi, ebx
add eax, edx
cmp esi, eax
jb 0x4dbee6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x58]
lea ecx, [esi + esi*2]
mov edi, dword [edx + ecx*4 + 4]
lea ebp, [edx + ecx*4]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x9c], ebp
mov esi, eax
cmp ecx, edi
je 0x4dbf7b
add ecx, ecx
add ecx, ecx
push ecx
push 0
push eax
call sub.MSVCR90.dll_memset
push esi
call dword [sym.imp.MSVCR90.dll_free]
push edi
call fcn.004b4f50
add esp, 0x14
test edi, edi
jne 0x4dbf2e
xor eax, eax
jmp 0x4dbf7b
lea ebx, [edi*4]
push ebx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
test eax, eax
jne 0x4dbf7b
mov ebp, dword [sym.imp.MSVCP90.dll_void____cdecl___void____cdecl_std::set_new_handler_void____cdecl___void__]
lea esp, [esp]
push 0
call ebp
mov esi, eax
add esp, 4
test esi, esi
je 0x4dc22b
push esi
call ebp
call esi
push ebx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 8
test eax, eax
je 0x4dbf50
mov ebp, dword [esp + 0x9c]
mov dword [esp + 0x54], edi
add edi, edi
add edi, edi
mov dword [esp + 0x58], eax
mov edx, dword [ebp + 8]
push edi
push edx
push edi
push eax
call dword [sym.imp.MSVCR90.dll_memcpy_s]
add esp, 0x10
mov byte [esp + 0x9c], 0
jmp 0x4dc0cd
test ebp, ebp
je 0x4dc07b
lea esp, [esp]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x50]
dec ebp
push edx
mov dword [esp + 0x50], ebp
call eax
mov edi, dword [eax + 4]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
mov esi, ecx
cmp eax, edi
je 0x4dc049
lea edx, [eax*4]
push edx
push 0
push ecx
call sub.MSVCR90.dll_memset
push esi
call dword [sym.imp.MSVCR90.dll_free]
push edi
call fcn.004b4f50
add esp, 0x14
test edi, edi
jne 0x4dc002
xor eax, eax
jmp 0x4dc047
lea ebp, [edi*4]
push ebp
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
test eax, eax
jne 0x4dc043
push 0
call dword [sym.imp.MSVCP90.dll_void____cdecl___void____cdecl_std::set_new_handler_void____cdecl___void__]
mov esi, eax
add esp, 4
test esi, esi
je 0x4dc253
push esi
call dword [sym.imp.MSVCP90.dll_void____cdecl___void____cdecl_std::set_new_handler_void____cdecl___void__]
call esi
push ebp
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 8
test eax, eax
je 0x4dc017
mov ebp, dword [esp + 0x4c]
mov ecx, eax
mov edx, dword [esp + 0x48]
lea eax, [edi*4]
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], edi
mov edx, dword [edx + 8]
push edx
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_memcpy_s]
add esp, 0x10
test ebp, ebp
jne 0x4dbfb0
mov ecx, dword [esp + 0x94]
test ecx, ecx
jne 0x4dc083
test ebx, ebx
je 0x4dc0cd
mov ecx, dword [esp + 0x28]
shl ebx, cl
mov ecx, dword [esp + 0x78]
sub ecx, dword [esp + 0x74]
mov eax, 0x2aaaaaab
add ebx, dword [esp + 0x94]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4dc0b2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [ebx + ebx*2]
lea eax, [esi + eax*4]
push eax
lea eax, [esp + 0x54]
push eax
call edx
cmp dword [esp + 0x1c], 0
je 0x4dc1ab
mov ebp, dword [esp + 0x18]
lea esp, [esp]
mov eax, dword [ebp]
mov edx, dword [eax + 0x18]
dec dword [esp + 0x1c]
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x58]
mov ebx, eax
mov edi, dword [ebx + 4]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x94], ebx
mov esi, ecx
cmp eax, edi
je 0x4dc181
add eax, eax
add eax, eax
push eax
push 0
push ecx
call sub.MSVCR90.dll_memset
push esi
call dword [sym.imp.MSVCR90.dll_free]
push edi
call fcn.004b4f50
add esp, 0x14
test edi, edi
jne 0x4dc132
xor eax, eax
jmp 0x4dc17f
lea ebp, [edi*4]
push ebp
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
test eax, eax
jne 0x4dc17b
mov ebx, dword [sym.imp.MSVCP90.dll_void____cdecl___void____cdecl_std::set_new_handler_void____cdecl___void__]
lea ecx, [ecx]
push 0
call ebx
mov esi, eax
add esp, 4
test esi, esi
je 0x4dc27b
push esi
call ebx
call esi
push ebp
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 8
test eax, eax
je 0x4dc150
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x18]
mov ecx, eax
lea eax, [edi*4]
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], edi
mov edx, dword [ebx + 8]
push edx
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_memcpy_s]
add esp, 0x10
cmp dword [esp + 0x1c], 0
jne 0x4dc0e0
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0xa0]
mov ebp, dword [esp + 0x98]
xor ebx, ebx
mov dword [esp + 0x94], ebx
sub esi, 1
mov dword [esp + 0x3c], esi
jns 0x4db654
mov esi, dword [esp + 0x90]
lea eax, [esp + 0x50]
push eax
push esi
call fcn.004d3740
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], 1
mov byte [esp + 0x88], 1
call fcn.004ae1e0
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x8c], 0
call fcn.004e1e80
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0x14
push 1
push 0x72de18
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCR90.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const___int_]
push 0x703a28
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x64], vtable.std::bad_alloc.0
call sub.MSVCR90.dll__CxxThrowException
push 1
push 0x72de18
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCR90.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const___int_]
push 0x703a28
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x64], vtable.std::bad_alloc.0
call sub.MSVCR90.dll__CxxThrowException
push 1
push 0x72de18
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCR90.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const___int_]
push 0x703a28
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x64], vtable.std::bad_alloc.0
call sub.MSVCR90.dll__CxxThrowException
int3