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

Disassembly:
mov ecx, dword [esp + 0x2c]
sub esp, 0x4fc
lea eax, [esp + 0xa8]
push eax
push 0x54
push ecx
call dword [0x56cc20]
test eax, eax
jne 0x4e4c46
add esp, 0x4fc
ret
mov ecx, dword [esp + 0xba]
push ebx
mov eax, ecx
push ebp
and eax, 0xffff
push esi
imul eax, dword [esp + 0xb8]
add eax, 0x1f
push edi
sar eax, 3
and al, 0xfc
mov dword [esp + 0x18], 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x51c]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x24], eax
lea ebp, [edx*8 + 0x1f]
sar ebp, 3
and ebp, 0xfffffffc
cmp cx, 8
mov dword [esp + 0x38], ebp
ja 0x4e4d13
push 0x400
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x514]
add esp, 4
mov ebx, eax
push 5
push ecx
mov dword [esp + 0x20], ebx
call dword [0x56cb08]
lea edx, [esp + 0x10c]
push edx
push 0x100
push 0
push eax
call dword [0x56cbfc]
lea esi, [esp + 0x10c]
lea edi, [esp + 0x10d]
sub esi, ebx
lea ecx, [esp + 0x10c]
lea eax, [ebx + 1]
sub edi, ebx
mov edx, 0x100
mov bl, byte [ecx]
add ecx, 4
mov byte [eax + 1], bl
mov bl, byte [esi + eax]
mov byte [eax], bl
mov bl, byte [edi + eax]
mov byte [eax - 1], bl
add eax, 4
dec edx
jne 0x4e4cfa
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x94]
mov ebx, dword [esp + 0x530]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x51c]
mov edi, dword [esp + 0x520]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x534]
test eax, eax
mov dword [esp + 0x90], 0x28
mov dword [esp + 0x98], edi
mov word [esp + 0x9c], 1
mov word [esp + 0x9e], 0x18
mov dword [esp + 0xa0], 0
je 0x4e4d9f
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0x528]
mov ecx, edi
sub eax, edx
neg ecx
sub eax, ebx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x528], eax
lea eax, [ebx + 1]
mov dword [esp + 0x3c], eax
lea edx, [eax*4]
push edx
call sub.MFC42.DLL_operatornew
mov esi, dword [esp + 0x530]
mov dword [esp + 0x4c], eax
lea eax, [esi*4 + 4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 8
mov dword [esp + 0x64], eax
test esi, esi
jne 0x4e4dde
xor ecx, ecx
mov dword [esp + 0x60], ecx
jmp 0x4e4dee
mov eax, dword [esp + 0x51c]
cdq
idiv esi
mov dword [esp + 0x60], eax
mov ecx, eax
test ebx, ebx
jne 0x4e4df8
mov dword [esp + 0x54], ebx
jmp 0x4e4e01
mov eax, edi
cdq
idiv ebx
mov dword [esp + 0x54], eax
test ecx, ecx
jne 0x4e4e12
mov dword [esp + 0x80], 1
jmp 0x4e4e25
mov eax, 0x80000000
xor edx, edx
div ecx
shr eax, 8
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x4e4e3a
mov dword [esp + 0x88], 1
jmp 0x4e4e53
mov eax, 0x80000000
xor edx, edx
div dword [esp + 0x54]
mov ecx, dword [esp + 0x60]
shr eax, 8
mov dword [esp + 0x88], eax
inc ecx
mov eax, 0x80000000
xor edx, edx
div ecx
mov ecx, dword [esp + 0x54]
xor edx, edx
shr eax, 8
mov dword [esp + 0x84], eax
inc ecx
mov eax, 0x80000000
div ecx
mov edx, dword [esp + 0x64]
xor ecx, ecx
mov dword [edx], ecx
xor edx, edx
shr eax, 8
test esi, esi
mov dword [esp + 0x8c], eax
jle 0x4e4eb7
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x51c]
add ecx, esi
cmp ecx, edi
jle 0x4e4eaa
add eax, 4
inc edx
sub ecx, edi
mov dword [eax], 0
inc dword [eax]
cmp edx, esi
jl 0x4e4e98
mov edi, dword [esp + 0x520]
mov eax, dword [esp + 0x48]
xor ecx, ecx
xor edx, edx
test ebx, ebx
mov dword [eax], ecx
jle 0x4e4ee0
add ecx, ebx
cmp ecx, edi
jle 0x4e4ed7
add eax, 4
inc edx
sub ecx, edi
mov dword [eax], 0
mov esi, dword [eax]
inc esi
cmp edx, ebx
mov dword [eax], esi
jl 0x4e4ec5
lea esi, [edi + 1]
imul esi, ebp
push esi
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0xe2]
mov dword [esp + 0x80], eax
and ecx, 0xffff
sub eax, ebp
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x52c]
add esp, 4
xor edx, edx
xor edi, edi
add esi, eax
test ebx, ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], edx
mov byte [esp + 0x1c], 0
mov word [esp + 0x1d], dx
mov byte [esp + 0x10], 0
mov word [esp + 0x11], dx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x6c], esi
jl 0x4e5389
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
imul esi, ecx
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x524]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
add esi, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x4c]
lea ebp, [eax - 1]
cmp ebp, 0x17
ja case.0x4e4f86.6
xor ecx, ecx
mov cl, byte [ebp + 0x4e5590]
jmp dword [ecx*4 + 0x4e5578]
lea eax, [esi + ebx*2]
mov edi, ebx
add edi, eax
jmp 0x4e5007
mov ax, word [esi + ebx*2]
lea edi, [esp + 0x1c]
mov cl, al
shl cl, 3
mov byte [esp + 0x1c], cl
mov ecx, eax
shr ecx, 2
shr eax, 7
and cl, 0xf8
and al, 0xf8
mov byte [esp + 0x1d], cl
mov byte [esp + 0x1e], al
jmp 0x4e5007
xor eax, eax
mov al, byte [esi + ebx]
jmp 0x4e5000
test bl, 1
je 0x4e4fd6
mov eax, ebx
shr eax, 1
mov al, byte [eax + esi]
and eax, 0xf
jmp 0x4e5000
mov ecx, ebx
xor eax, eax
shr ecx, 1
mov al, byte [ecx + esi]
shr eax, 4
jmp 0x4e5000
mov ecx, ebx
mov eax, 0x80
and ecx, 7
sar eax, cl
mov ecx, ebx
shr ecx, 3
mov cl, byte [ecx + esi]
and al, cl
neg al
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x18]
lea edi, [ecx + eax*4]
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0xbc]
dec eax
cmp ebx, eax
jge 0x4e50c5
cmp ebp, 0x17
lea eax, [ebx + 1]
ja case.0x4e502f.5
xor ecx, ecx
mov cl, byte [ebp + 0x4e55c0]
jmp dword [ecx*4 + 0x4e55a8]
lea edx, [esi + eax*2]
add eax, edx
mov edx, eax
jmp 0x4e50c7
mov ax, word [esi + eax*2]
mov edx, eax
mov cl, al
shr edx, 2
shr eax, 7
shl cl, 3
and dl, 0xf8
and al, 0xf8
mov byte [esp + 0x11], dl
mov byte [esp + 0x10], cl
mov byte [esp + 0x12], al
lea edx, [esp + 0x10]
jmp 0x4e50c7
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov cl, byte [esi + eax]
lea edx, [edx + ecx*4]
jmp 0x4e50c7
test al, 1
je 0x4e508d
mov edx, dword [esp + 0x18]
shr eax, 1
mov al, byte [eax + esi]
and eax, 0xf
lea edx, [edx + eax*4]
jmp 0x4e50c7
mov edx, dword [esp + 0x18]
xor ecx, ecx
shr eax, 1
mov cl, byte [eax + esi]
mov eax, ecx
shr eax, 4
lea edx, [edx + eax*4]
jmp 0x4e50c7
mov ecx, eax
mov edx, 0x80
and ecx, 7
sar edx, cl
shr eax, 3
mov ecx, dword [esp + 0x18]
mov al, byte [eax + esi]
and dl, al
neg dl
sbb edx, edx
neg edx
lea edx, [ecx + edx*4]
jmp 0x4e50c7
mov edx, edi
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x52c]
mov eax, dword [esp + 0x6c]
test ecx, ecx
mov dword [esp + 0x78], eax
jle 0x4e5330
lea eax, [ebx + 1]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
lea esi, [eax + eax]
lea eax, [eax + eax*2]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x70], esi
mov dword [esp + 0x40], eax
xor ecx, ecx
xor ebx, ebx
mov cl, byte [edi]
mov bl, byte [edi + 2]
mov ebp, ecx
xor ecx, ecx
mov cl, byte [edi + 1]
mov edi, dword [esp + 0x40]
mov esi, ebx
mov ebx, dword [esp + 0x60]
mov edi, dword [edi]
mov eax, ebp
sub edi, ebx
xor ebx, ebx
mov bl, byte [edx]
mov dword [esp + 0x5c], ecx
mov edi, dword [esp + edi*4 + 0x80]
mov dword [esp + 0x74], esi
mov dword [esp + 0x30], edi
mov edi, ebx
xor ebx, ebx
sub edi, ebp
mov bl, byte [edx + 1]
imul edi, dword [esp + 0x30]
mov ebp, ebx
mov ebx, dword [esp + 0x5c]
sub ebp, ebx
xor ebx, ebx
mov bl, byte [edx + 2]
imul ebp, dword [esp + 0x30]
mov edx, ebx
mov ebx, dword [esp + 0x74]
sub edx, ebx
mov dword [esp + 0x5c], 0
imul edx, dword [esp + 0x30]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x40]
shl eax, 0x17
mov ebx, dword [edx]
shl ecx, 0x17
shl esi, 0x17
test ebx, ebx
jle 0x4e51c1
mov edx, dword [esp + 0x78]
mov ebx, eax
sar ebx, 0x17
mov byte [edx], bl
mov ebx, ecx
inc edx
add eax, edi
sar ebx, 0x17
mov byte [edx], bl
mov ebx, esi
inc edx
add ecx, ebp
sar ebx, 0x17
mov byte [edx], bl
mov ebx, dword [esp + 0x40]
inc edx
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x30]
add esi, edx
mov edx, dword [esp + 0x5c]
inc edx
cmp edx, dword [ebx]
mov dword [esp + 0x5c], edx
jl 0x4e5186
mov esi, dword [esp + 0x4c]
cmp esi, 0xf
je 0x4e51db
cmp esi, 0x10
je 0x4e51db
mov edx, dword [esp + 0x14]
mov edi, edx
mov dword [esp + 0x34], edi
jmp 0x4e51f5
mov ax, word [esp + 0x10]
mov cl, byte [esp + 0x12]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], cl
mov eax, dword [esp + 0xbc]
lea ecx, [eax - 1]
mov eax, dword [esp + 0x44]
lea ebx, [eax - 1]
cmp ebx, ecx
jge 0x4e5225
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x70]
add ebx, 3
add ebp, 2
inc eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x44], eax
lea ebx, [eax - 1]
cmp ebx, ecx
jge case.0x4e5242.6
dec esi
cmp esi, 0x17
ja case.0x4e5242.6
xor ecx, ecx
mov cl, byte [esi + 0x4e55f0]
jmp dword [ecx*4 + 0x4e55d8]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x68]
add edx, esi
mov dword [esp + 0x14], edx
jmp 0x4e530f
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x70]
mov ax, word [esi + eax]
mov edx, eax
mov cl, al
shr edx, 2
and dl, 0xf8
shr eax, 7
shl cl, 3
mov byte [esp + 0x11], dl
and al, 0xf8
lea edx, [esp + 0x10]
mov byte [esp + 0x10], cl
mov byte [esp + 0x12], al
mov dword [esp + 0x14], edx
jmp 0x4e530f
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov cl, byte [esi + eax]
lea edx, [edx + ecx*4]
mov dword [esp + 0x14], edx
jmp 0x4e530f
test al, 1
je 0x4e52c3
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
shr eax, 1
mov al, byte [eax + esi]
and eax, 0xf
lea edx, [edx + eax*4]
mov dword [esp + 0x14], edx
jmp 0x4e530f
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
shr eax, 1
xor ecx, ecx
mov cl, byte [eax + esi]
mov eax, ecx
shr eax, 4
lea edx, [edx + eax*4]
mov dword [esp + 0x14], edx
jmp 0x4e530f
mov esi, dword [esp + 0x20]
mov ecx, eax
and ecx, 7
mov edx, 0x80
sar edx, cl
shr eax, 3
mov ecx, dword [esp + 0x18]
mov al, byte [eax + esi]
and dl, al
neg dl
sbb edx, edx
neg edx
lea edx, [ecx + edx*4]
mov dword [esp + 0x14], edx
jmp 0x4e530f
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
add ecx, 4
dec eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
jne 0x4e5103
mov ebx, dword [esp + 0x524]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x6c]
imul eax, dword [ecx]
mov ecx, dword [esp + 0x28]
sub ebp, eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x6c], ebp
dec eax
cmp ecx, eax
jge 0x4e5364
mov eax, dword [esp + 0x50]
inc ecx
add esi, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add ecx, 4
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
jne 0x4e4f6e
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x530]
mov eax, dword [esp + 0x51c]
mov edi, dword [esp + 0x58]
test eax, eax
mov dword [esp + 0x44], edi
jle 0x4e54ee
mov ecx, eax
mov dword [esp + 0x4c], ecx
jmp 0x4e53af
mov ebx, dword [esp + 0x530]
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
mov edx, edi
imul eax, ebp
sub edx, eax
test ebx, ebx
mov dword [esp + 0x28], edx
jle 0x4e54d4
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x530]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x38]
mov eax, edi
sub eax, ebx
xor ebx, ebx
mov bl, byte [edi + 1]
xor ecx, ecx
mov cl, byte [edi]
mov esi, ebx
xor ebx, ebx
mov dword [esp + 0x58], ecx
mov bl, byte [edi + 2]
mov dword [esp + 0x74], esi
mov edi, ebx
mov ebx, dword [ebp]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x24], edi
sub ebx, ebp
shl ecx, 0x17
mov ebx, dword [esp + ebx*4 + 0x88]
mov dword [esp + 0x2c], ebx
xor ebx, ebx
mov bl, byte [edx]
mov ebp, ebx
mov ebx, dword [esp + 0x58]
sub ebp, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
imul ebp, dword [esp + 0x2c]
mov edx, ebx
mov ebx, dword [esp + 0x74]
sub edx, ebx
mov ebx, dword [esp + 0x28]
imul edx, dword [esp + 0x2c]
mov dword [esp + 0x58], edx
xor edx, edx
mov dl, byte [ebx + 2]
mov ebx, dword [esp + 0x24]
sub edx, ebx
mov ebx, dword [esp + 0x50]
imul edx, dword [esp + 0x2c]
shl esi, 0x17
shl edi, 0x17
cmp dword [ebx], 1
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], 1
jle 0x4e54a6
jmp 0x4e5474
mov edx, dword [esp + 0x30]
add esi, dword [esp + 0x58]
add ecx, ebp
add edi, edx
mov edx, ecx
sar edx, 0x17
mov byte [eax], dl
mov edx, esi
sar edx, 0x17
mov byte [eax + 1], dl
mov edx, edi
sar edx, 0x17
mov byte [eax + 2], dl
mov edx, dword [esp + 0x38]
sub eax, edx
mov edx, dword [esp + 0x24]
inc edx
cmp edx, dword [ebx]
mov dword [esp + 0x24], edx
jl 0x4e5470
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x28]
imul eax, dword [esp + 0x38]
mov edi, edx
sub edx, eax
mov eax, dword [esp + 0x3c]
lea ebp, [ebx + 4]
dec eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x3c], eax
jne 0x4e53db
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x38]
add edi, 3
dec eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], eax
jne 0x4e53a8
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x520]
lea ecx, [esp + 0x90]
push 0
lea edx, [esi + ebp]
push ecx
mov ecx, dword [esp + 0x520]
push edx
mov edx, dword [esp + 0x520]
push eax
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x53c]
push eax
mov eax, dword [esp + 0x534]
push ecx
push edx
push eax
call dword [0x56cbf0]
push esi
mov edi, eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x4e5551
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x64]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x4c]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4fc
ret