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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xdc
mov ebp, ecx
mov ebx, dword [esp + 0xf0]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x48], eax
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x4c], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x50], ecx
mov eax, dword [ebp + 0x24]
sub eax, dword [esp + 0x48]
sar eax, 2
lea edx, [eax - 1]
shl edx, 7
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x1c]
sar eax, 2
add eax, edx
mov edx, dword [esp + 0x4c]
sub edx, ecx
sar edx, 2
add edx, eax
mov dword [esp + 0x3c], edx
cmp ebx, ebp
je 0x4c2bb0
mov edx, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x54], ecx
mov esi, dword [ebx + 0x18]
mov edi, dword [ebx + 0x1c]
mov dword [esp + 0x44], edi
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], eax
mov edi, dword [ebx + 8]
mov dword [esp + 0x40], edi
mov edi, edx
sub edi, ecx
sar edi, 2
dec edi
shl edi, 7
mov eax, esi
sub eax, dword [esp + 0x44]
sar eax, 2
add edi, eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x40]
sar eax, 2
add eax, edi
cmp dword [esp + 0x3c], eax
jae 0x4c2bc0
mov esi, dword [ebx + 0xc]
mov eax, dword [esp + 0x40]
sub eax, esi
sar eax, 2
add eax, dword [esp + 0x3c]
js 0x4c2cec
cmp eax, 0x7f
jg 0x4c2ca4
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
lea eax, [edx + eax*4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x5c], edx
mov edx, esi
mov eax, dword [esp + 0x50]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x94], eax
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x98], edi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x9c], eax
mov edi, dword [esp + 0x40]
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x8c], edx
lea eax, [esp + 0x60]
lea edx, [esp + 0x90]
mov dword [esp + 0x24], edx
lea edi, [esp + 0x14]
lea esi, [esp + 0x80]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 4]
lea esi, [esp + 0xc0]
mov cl, 4
rep movsd dword es:[edi], dword [esi]
mov dword [esp], eax
call method.std::_Deque_iterator_tagPOINTS__tagPOINTS__tagPOINTS__std.copy_tagPOINTS__std::_Deque_iterator_tagPOINTS__tagPOINTS_const__tagPOINTS_const___std::_Deque_iterator_tagPOINTS__tagPOINTS_const__tagPOINTS_const___std::_Deque_iterator_tagPOINTS__ta
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x20]
mov edi, dword [ebp + 0x24]
mov edx, dword [ebx + 0x24]
sub edx, dword [esp + 0x54]
sar edx, 2
lea esi, [edx - 1]
shl esi, 7
mov edx, dword [ebx + 0x18]
sub edx, dword [ebx + 0x1c]
sar edx, 2
add edx, esi
mov esi, dword [esp + 0x58]
sub esi, dword [esp + 0x44]
sar esi, 2
add esi, edx
mov ebx, dword [ebp + 8]
cmp eax, ebx
je 0x4c2d85
mov edx, ecx
sub edx, eax
sar edx, 2
dec edx
cmp esi, edx
ja 0x4c2e34
mov edx, eax
sub edx, dword [esp + 0x40]
sar edx, 2
mov ebx, esi
add ebx, edx
js 0x4c2cff
cmp ebx, 0x7f
jg 0x4c2ef6
lea ebx, [eax + esi*4]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ecx
test esi, esi
jle 0x4c2d64
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x38], ebp
jmp 0x4c2b6b
dec esi
je 0x4c2d60
mov ebp, dword [edx]
mov dword [eax], ebp
add edx, 4
cmp edx, ebx
je 0x4c2d40
add eax, 4
cmp eax, ecx
jne 0x4c2b64
mov eax, dword [edi + 4]
lea ecx, [eax + 0x200]
add edi, 4
jmp 0x4c2b64
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov dword [ebp + 8], edx
mov ebx, dword [esp + 0x48]
mov dword [ebp + 0xc], ebx
mov edi, dword [esp + 0x40]
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x14], ecx
nop
mov eax, ebp
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x74], eax
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
mov dword [esp + 0xa0], esi
mov edi, dword [esp + 0x44]
mov dword [esp + 0xa4], edi
mov eax, dword [ebx + 0x20]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb0], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xb4], eax
mov edx, dword [esp + 0x38]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
lea ebx, [esp + 0x90]
lea eax, [esp + 0x70]
mov dword [esp + 0x24], eax
lea edi, [esp + 0x14]
lea esi, [esp + 0xa0]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 4]
lea esi, [esp + 0xb0]
mov cl, 4
rep movsd dword es:[edi], dword [esi]
mov dword [esp], ebx
call method.std::_Deque_iterator_tagPOINTS__tagPOINTS__tagPOINTS__std.copy_tagPOINTS__std::_Deque_iterator_tagPOINTS__tagPOINTS_const__tagPOINTS_const___std::_Deque_iterator_tagPOINTS__tagPOINTS_const__tagPOINTS_const___std::_Deque_iterator_tagPOINTS__ta
mov edi, dword [ebp + 0x24]
add edi, 4
mov esi, dword [esp + 0x9c]
add esi, 4
cmp edi, esi
jbe 0x4c2c89
lea esi, [esi]
mov eax, dword [esi]
mov dword [esp], eax
call sym.operator_delete_void_
add esi, 4
cmp edi, esi
ja 0x4c2c78
lea edi, [ebp + 0x18]
mov ecx, 4
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, ebp
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret 4
test eax, eax
jle 0x4c2cec
mov edi, eax
sar edi, 7
mov dword [esp + 0x44], edi
lea edi, [ecx + edi*4]
mov dword [esp + 0x3c], edi
mov edx, dword [edi]
lea edi, [edx + 0x200]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x44]
shl edi, 7
sub eax, edi
lea eax, [edx + eax*4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x58], edi
jmp 0x4c2a21
mov edx, eax
shr edx, 7
or edx, 0xfe000000
mov dword [esp + 0x44], edx
mov edi, edx
jmp 0x4c2cb1
mov edx, ebx
shr edx, 7
or edx, 0xfe000000
mov dword [esp + 0x38], edx
lea edx, [edi + edx*4]
mov dword [esp + 0x48], edx
mov edx, dword [edx]
mov dword [esp + 0x40], edx
add edx, 0x200
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x38]
shl edx, 7
sub ebx, edx
mov edx, ebx
mov ebx, dword [esp + 0x40]
lea edx, [ebx + edx*4]
mov dword [esp + 0x50], edx
jmp 0x4c2b4e
mov ebx, dword [esp + 0x3c]
mov edx, dword [ebx + 4]
lea ebx, [edx + 0x200]
mov ebp, dword [esp + 0x3c]
add ebp, 4
mov dword [esp + 0x3c], ebp
jmp 0x4c2b7a
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
mov dword [ebp + 0x18], edi
mov eax, dword [esp + 0x40]
mov dword [ebp + 0x1c], eax
mov edx, dword [esp + 0x4c]
mov dword [ebp + 0x20], edx
mov ecx, dword [esp + 0x48]
mov dword [ebp + 0x24], ecx
jmp 0x4c2bb0
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x48], ebx
mov edx, eax
sub edx, ebx
sar edx, 2
cmp esi, edx
ja 0x4c2f0c
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x40], ebx
mov edx, eax
sub edx, dword [esp + 0x48]
sar edx, 2
sub edx, esi
js 0x4c2fe1
cmp edx, 0x7f
jg 0x4c2fb0
mov edx, esi
neg edx
lea edx, [eax + edx*4]
mov dword [esp + 0x4c], edx
test esi, esi
jle 0x4c2b97
mov dword [esp + 0x38], ecx
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], ebp
jmp 0x4c2df7
dec esi
je 0x4c2b8f
mov ebp, dword [edx]
mov dword [eax], ebp
add edx, 4
cmp edx, ebx
je 0x4c2e18
add eax, 4
cmp eax, edi
jne 0x4c2df0
mov eax, dword [ecx + 4]
lea edi, [eax + 0x200]
add ecx, 4
jmp 0x4c2df0
mov ebx, dword [esp + 0x3c]
mov edx, dword [ebx + 4]
lea ebx, [edx + 0x200]
mov ebp, dword [esp + 0x3c]
add ebp, 4
mov dword [esp + 0x3c], ebp
jmp 0x4c2e02
mov ecx, esi
sub ecx, edx
mov dword [esp + 0x38], ecx
mov edx, edi
sub edx, dword [ebp + 0x14]
sar edx, 2
dec edx
shl edx, 7
sub eax, dword [esp + 0x40]
sar eax, 2
add edx, eax
mov eax, dword [ebp + 0x10]
sub eax, ebx
sar eax, 2
add eax, edx
mov ecx, 0x3fffffff
sub ecx, eax
cmp dword [esp + 0x38], ecx
ja 0x4c300e
mov ebx, dword [esp + 0x38]
add ebx, 0x7f
shr ebx, 7
mov dword [esp + 0x38], ebx
mov ecx, ebx
inc ecx
mov edx, edi
sub edx, dword [ebp]
sar edx, 2
mov eax, dword [ebp + 4]
sub eax, edx
cmp ecx, eax
jbe 0x4c2ea6
mov dword [esp + 4], 0
mov dword [esp], ebx
mov ecx, ebp
call method.std::deque_tagPOINTS__std::allocator_tagPOINTS___._M_reallocate_map_unsigned_int__bool_
sub esp, 8
mov edi, dword [ebp + 0x24]
mov ebx, 1
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c2fed
mov eax, edi
mov dword [esp + 0x40], esi
mov edi, dword [esp + 0x38]
jmp 0x4c2ec7
mov eax, dword [ebp + 0x24]
lea esi, [eax + ebx*4]
mov dword [esp], 0x200
call sym.operator_new_unsigned_int_
mov dword [esi], eax
inc ebx
cmp edi, ebx
jae 0x4c2ec4
mov esi, dword [esp + 0x40]
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x20]
jmp 0x4c2b23
test ebx, ebx
jle 0x4c2cff
mov edx, ebx
sar edx, 7
mov dword [esp + 0x38], edx
jmp 0x4c2d0e
mov ebx, esi
sub ebx, edx
mov ecx, dword [ebp + 0x14]
sub edi, ecx
sar edi, 2
dec edi
shl edi, 7
mov edx, eax
sub edx, dword [esp + 0x40]
sar edx, 2
add edi, edx
mov edx, dword [ebp + 0x10]
sub edx, eax
sar edx, 2
add edx, edi
mov eax, 0x3fffffff
sub eax, edx
cmp ebx, eax
ja 0x4c301a
lea edi, [ebx + 0x7f]
shr edi, 7
mov eax, ecx
sub eax, dword [ebp]
sar eax, 2
cmp edi, eax
jbe 0x4c2f6a
mov dword [esp + 4], 1
mov dword [esp], edi
mov ecx, ebp
call method.std::deque_tagPOINTS__std::allocator_tagPOINTS___._M_reallocate_map_unsigned_int__bool_
sub esp, 8
mov ecx, dword [ebp + 0x14]
mov ebx, 1
test edi, edi
je 0x4c2fff
mov dword [esp + 0x38], esi
jmp 0x4c2f83
mov ecx, dword [ebp + 0x14]
mov eax, ebx
neg eax
lea esi, [ecx + eax*4]
mov dword [esp], 0x200
call sym.operator_new_unsigned_int_
mov dword [esi], eax
inc ebx
cmp edi, ebx
jae 0x4c2f80
mov esi, dword [esp + 0x38]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x48], edx
jmp 0x4c2d9b
test edx, edx
jle 0x4c2fe1
mov eax, edx
sar eax, 7
lea ecx, [ecx + eax*4]
mov edi, dword [ecx]
mov dword [esp + 0x48], edi
add edi, 0x200
mov dword [esp + 0x40], edi
shl eax, 7
sub edx, eax
mov eax, dword [esp + 0x48]
lea edx, [eax + edx*4]
mov dword [esp + 0x4c], edx
jmp 0x4c2dca
mov eax, edx
shr eax, 7
or eax, 0xfe000000
jmp 0x4c2fb9
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x40], edx
mov ecx, dword [ebp + 0x20]
jmp 0x4c2b23
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x48], edi
jmp 0x4c2d9e
mov dword [esp], str.deque::_M_new_elements_at_back
call method.std.__throw_length_error_char_const_
mov dword [esp], str.deque::_M_new_elements_at_front
call method.std.__throw_length_error_char_const_
nop
nop