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

Disassembly:
push 0xffffffffffffffff
push 0x4bde8f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push esi
mov esi, ecx
mov ecx, dword [esp + 0x84]
push edi
mov dword [esp + 0x2c], 0
call fcn.0048bc30
mov ecx, dword [esp + 0x80]
mov edi, eax
mov dword [esp + 0x20], edi
call fcn.0048bc30
mov dword [esp + 0x1c], eax
cmp eax, edi
lea eax, [esp + 0x20]
jb 0x491392
lea eax, [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x4913c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [esp + 0x78]
push eax
mov ecx, esi
call fcn.0048b010
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x14
push ebx
cmp eax, 0x2e
push ebp
ja 0x4913d6
mov ebp, 1
mov dword [esp + 0x18], ebp
jmp 0x4913ea
mov ecx, 0x104
cmp ecx, eax
sbb eax, eax
neg eax
add eax, 2
mov dword [esp + 0x18], eax
mov ebp, eax
mov ebx, 1
mov ecx, ebp
shl ebx, cl
lea ecx, [esp + 0x5c]
mov dword [esp + 0x30], ebx
call fcn.0048af70
mov dword [esp + 0x28], eax
mov dl, byte [esp + 0x8c]
mov edi, ebx
mov ecx, ebp
mov dword [esp + 0x78], 1
shl edi, cl
mov byte [esp + 0x38], dl
test edi, edi
mov dword [esp + 0x14], edi
mov eax, edi
jge 0x491429
xor eax, eax
lea eax, [eax + eax*4]
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebp, eax
test edi, edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x10], ebp
jbe 0x491472
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.00494ea0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add esp, 8
add ecx, 0x14
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
jne 0x49144a
lea eax, [edi + edi*4]
lea eax, [ebp + eax*4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, edi
xor eax, eax
rep stosd dword es:[edi], eax
push edx
mov byte [esp + 0x7c], 3
call sub.MFC42.DLL_operatordelete
mov edi, dword [esp + 0x88]
add esp, 4
lea ecx, [ebp + 0x14]
mov dword [esp + 0x5c], vtable.CryptoPP::ASN1Object.0
push edi
call fcn.0048b6c0
mov ecx, dword [esp + 0x8c]
lea eax, [ebx + ebx*4]
shl eax, 2
push ecx
mov dword [esp + 0x24], eax
lea ecx, [eax + ebp]
call fcn.0048b6c0
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
cmp eax, 1
jne 0x4914f6
mov eax, dword [esp + 0x8c]
mov ecx, esi
push eax
push edi
call dword [edx + 0xc]
push eax
lea ecx, [ebp + 0x3c]
call fcn.0048b6c0
jmp 0x49169c
push edi
mov ecx, esi
call dword [edx + 0x18]
push eax
lea ecx, [ebp + 0x28]
call fcn.0048b6c0
mov ecx, dword [esp + 0x8c]
lea eax, [ebx + ebx*4]
shl eax, 3
mov dword [esp + 0x28], eax
push ecx
lea edi, [eax + ebp]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
push eax
mov ecx, edi
call fcn.0048b6c0
cmp ebx, 3
jbe 0x49155f
lea eax, [ebx - 2]
lea edi, [ebp + 0x3c]
shr eax, 1
mov dword [esp + 0x1c], eax
mov edx, dword [esi]
lea eax, [ebp + 0x28]
push eax
lea eax, [edi - 0x28]
push eax
mov ecx, esi
call dword [edx + 0xc]
push eax
mov ecx, edi
call fcn.0048b6c0
mov eax, dword [esp + 0x1c]
add edi, 0x28
dec eax
mov dword [esp + 0x1c], eax
jne 0x49153a
mov eax, 1
cmp ebx, eax
mov dword [esp + 0x10], eax
jbe 0x4915db
lea edi, [ebx + ebx*4 + 5]
shl edi, 2
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x14]
lea ecx, [eax + ebx]
cmp ecx, edx
mov dword [esp + 0x1c], ecx
jae 0x4915c9
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x8c]
mov eax, edi
push ecx
sub eax, edx
mov edx, dword [esi]
add eax, ebp
mov ecx, esi
push eax
call dword [edx + 0xc]
push eax
lea ecx, [edi + ebp]
call fcn.0048b6c0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add eax, ebx
add edi, edx
cmp eax, ecx
mov dword [esp + 0x1c], eax
jb 0x491586
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
add eax, 2
add edi, 0x28
cmp eax, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edi
jb 0x491577
mov eax, dword [esp + 0x14]
lea edi, [ebx + ebx*2]
cmp edi, eax
mov dword [esp + 0x10], edi
jae 0x491629
lea edi, [edi + edi*4]
shl edi, 2
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
mov eax, edi
sub eax, ecx
add ecx, ebp
add eax, ebp
push ecx
push eax
mov ecx, esi
call dword [edx + 0xc]
push eax
lea ecx, [edi + ebp]
call fcn.0048b6c0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
lea ecx, [ebx + ebx]
add edi, edx
add eax, ecx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x4915f0
mov eax, dword [esp + 0x14]
mov edx, ebx
cmp ebx, eax
mov dword [esp + 0x10], edx
jae 0x49169c
jmp 0x49163d
mov edx, dword [esp + 0x10]
lea ecx, [edx + 2]
lea eax, [edx + ebx]
cmp ecx, eax
jae 0x49168d
sub eax, ecx
lea edx, [ecx + ecx*4]
inc eax
shr eax, 1
lea edi, [ebp + edx*4]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x84]
mov eax, dword [esi]
lea edx, [edi - 0x14]
push ecx
push edx
mov ecx, esi
call dword [eax + 0xc]
push eax
mov ecx, edi
call fcn.0048b6c0
mov eax, dword [esp + 0x8c]
add edi, 0x28
dec eax
mov dword [esp + 0x8c], eax
jne 0x49165a
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea eax, [edx + ebx*2]
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x491639
lea ecx, [esp + 0x48]
call fcn.0048af70
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov byte [esp + 0x78], 4
mov dword [esp + 0x84], ebx
lea edi, [eax - 1]
lea ecx, [eax - 1]
test edi, edi
mov dword [esp + 0x28], ecx
mov byte [esp + 0x8c], 1
jl 0x491821
mov ecx, dword [esp + 0x88]
push edi
call fcn.0048b770
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x90]
and eax, 0xff
push edi
lea eax, [eax + edx*2]
mov dword [esp + 0x88], eax
call fcn.0048b770
and eax, 0xff
test edi, edi
lea ebx, [eax + ebx*2]
mov eax, dword [esp + 0x84]
je 0x49172a
mov ecx, dword [esp + 0x30]
lea edx, [eax + eax]
cmp edx, ecx
jae 0x49172a
lea edx, [ebx + ebx]
cmp edx, ecx
jb 0x49181a
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], 0
sub ecx, edi
mov dword [esp + 0x28], edi
test eax, eax
jne 0x491744
test ebx, ebx
je 0x49175d
test al, 1
jne 0x49175d
test bl, 1
jne 0x49175d
mov edx, dword [esp + 0x14]
shr eax, 1
shr ebx, 1
dec ecx
inc edx
mov dword [esp + 0x14], edx
jmp 0x49173c
mov dl, byte [esp + 0x8c]
mov dword [esp + 0x84], eax
test dl, dl
je 0x491792
mov ecx, dword [esp + 0x18]
shl ebx, cl
add ebx, eax
lea eax, [ebx + ebx*4]
lea ecx, [ebp + eax*4]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0048b6c0
mov byte [esp + 0x8c], 0
jmp 0x4917ea
mov edx, ecx
dec ecx
test edx, edx
je 0x4917c6
inc ecx
mov dword [esp + 0x24], ecx
mov eax, dword [esi]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call dword [eax + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.0048b6c0
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
jne 0x49179e
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x4917ce
test ebx, ebx
je 0x4917ea
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
shl ebx, cl
add ebx, eax
lea eax, [ebx + ebx*4]
lea ecx, [ebp + eax*4]
lea eax, [esp + 0x48]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, eax
dec eax
test ecx, ecx
je 0x491811
lea ebx, [eax + 1]
mov edx, dword [esi]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call dword [edx + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.0048b6c0
dec ebx
jne 0x4917f8
xor ebx, ebx
mov dword [esp + 0x84], ebx
dec edi
jns 0x4916d1
mov ebx, dword [esp + 0x80]
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
call fcn.0048b010
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, edi
xor eax, eax
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x38], 1
call sub.MFC42.DLL_operatordelete
mov edi, dword [esp + 0x44]
add esp, 4
cmp ebp, edi
mov dword [esp + 0x48], vtable.CryptoPP::ASN1Object.0
mov byte [esp + 0x78], 0
mov esi, ebp
je 0x491879
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx]
add esi, 0x14
cmp esi, edi
jne 0x49186a
push ebp
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x74]
add esp, 4
mov eax, ebx
mov dword fs:[0], ecx
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x6c
ret 0x14