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

Disassembly:
push 0xffffffffffffffff
push 0x602810
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69a450]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ecx
xor esi, esi
mov dword [esp + 0x30], 0
cmp byte [edi], 0
mov dword [esp + 0x1c], esi
je 0x5062df
inc esi
cmp byte [esi + edi], 0
jne 0x5062d4
mov dword [esp + 0x1c], esi
cmp dword [0x6ed6ac], 0
jne 0x5062f7
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
mov ebp, 2
mov dword [esp + 0x34], vtable.CryptoPP::Integer.0
push ebp
mov dword [esp + 0x40], ebp
call fcn.004dc670
push 8
call fcn.004d6190
mov ebx, eax
xor edx, edx
add esp, 8
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edx
mov dword [ebx + 4], edx
mov dword [ebx], edx
mov dword [esp + 0x78], edx
test esi, esi
jne 0x506356
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
call fcn.00500d50
xor eax, eax
mov edi, ebx
mov ecx, ebp
rep stosd dword es:[edi], eax
push ebx
call fcn.005c663b
mov eax, dword [esp + 0x28]
jmp 0x50669e
movsx eax, byte [esi + edi - 1]
add eax, 0xffffffbe
cmp eax, 0x2d
ja case.0x50636a.67
movzx eax, byte [eax + 0x5066c8]
jmp dword [eax*4 + 0x5066b8]
mov ecx, 0x10
jmp 0x50638b
mov ecx, 8
jmp 0x50638b
mov ecx, 2
jmp 0x50638b
mov ecx, 0xa
mov dword [esp + 0x14], ecx
cmp esi, 2
jbe 0x5063a9
cmp byte [edi], 0x30
jne 0x5063a9
cmp byte [edi + 1], 0x78
mov eax, 0x10
cmove ecx, eax
mov dword [esp + 0x14], ecx
xor eax, eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], eax
test esi, esi
je 0x506633
nop
mov al, byte [eax + edi]
cmp al, 0x30
jl 0x5063d3
cmp al, 0x39
jg 0x5063d3
movsx esi, al
sub esi, 0x30
jmp 0x5063f5
cmp al, 0x41
jl 0x5063e3
cmp al, 0x46
jg 0x5063e3
movsx esi, al
sub esi, 0x37
jmp 0x5063f5
cmp al, 0x61
jl 0x5063f3
cmp al, 0x66
jg 0x5063f3
movsx esi, al
sub esi, 0x57
jmp 0x5063f5
mov esi, ecx
cmp esi, ecx
jge 0x506620
cmp dword [0x6ed6ac], 0
mov edi, ecx
jne 0x506417
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
push 2
mov dword [esp + 0x4c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x54], 2
call fcn.004dc670
push 8
call fcn.004d6190
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x54], eax
test ecx, ecx
js 0x50644e
mov dword [esp + 0x58], 0
jmp 0x50645a
mov edi, ecx
mov dword [esp + 0x58], 1
neg edi
mov dword [eax], edi
mov dword [eax + 4], 0
lea eax, [esp + 0x48]
mov byte [esp + 0x78], 1
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x3c]
call fcn.00503620
mov edi, eax
lea eax, [esp + 0x34]
mov byte [esp + 0x78], 2
cmp eax, edi
je 0x506537
mov edx, dword [edi + 8]
cmp ebp, edx
jne 0x5064a2
mov ecx, dword [edi + 0xc]
mov eax, edx
shr eax, 1
cmp dword [ecx + eax*4], 0
jne 0x506517
mov eax, dword [edi + 0xc]
test edx, edx
je 0x5064bb
lea eax, [eax + edx*4]
add eax, 0xfffffffc
nop
cmp dword [eax], 0
jne 0x5064bb
sub eax, 4
dec edx
jne 0x5064b0
cmp edx, 8
ja 0x5064c9
mov edx, dword [edx*4 + 0x63acb4]
jmp 0x506505
cmp edx, 0x10
ja 0x5064d5
mov edx, 0x10
jmp 0x506505
cmp edx, 0x20
ja 0x5064e1
mov edx, 0x20
jmp 0x506505
cmp edx, 0x40
ja 0x5064ed
mov edx, 0x40
jmp 0x506505
lea eax, [edx - 1]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
call fcn.004d4950
mov edx, dword [esp + 0x20]
mov ecx, eax
shl edx, cl
push edx
lea ecx, [esp + 0x3c]
call fcn.00505940
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov ecx, dword [edi + 0xc]
cmp ebx, ecx
je 0x506530
lea eax, [ebp*4]
push eax
push ecx
push ebx
call fcn.005c8660
add esp, 0xc
mov eax, dword [edi + 0x10]
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x64]
xor eax, eax
mov ebx, dword [esp + 0x68]
mov ecx, edx
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push ebx
cmp eax, 0x10
jb 0x50655b
call fcn.005fa578
jmp 0x506560
call fcn.005c663b
mov byte [esp + 0x7c], 0
add esp, 4
mov edx, dword [esp + 0x54]
xor eax, eax
mov edi, edx
mov ecx, 2
rep stosd dword es:[edi], eax
push edx
call fcn.005c663b
add esp, 4
cmp dword [0x6ed6ac], 0
jne 0x506598
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
push 2
mov dword [esp + 0x4c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x54], 2
call fcn.004dc670
push 8
call fcn.004d6190
add esp, 8
mov ebx, eax
mov dword [esp + 0x54], ebx
test esi, esi
js 0x5065cd
mov dword [esp + 0x58], 0
jmp 0x5065d7
mov dword [esp + 0x58], 1
neg esi
mov dword [ebx], esi
mov dword [ebx + 4], 0
lea eax, [esp + 0x48]
mov byte [esp + 0x78], 3
push eax
lea ecx, [esp + 0x38]
call fcn.00502fc0
xor eax, eax
mov byte [esp + 0x78], 0
mov edi, ebx
mov ecx, 2
rep stosd dword es:[edi], eax
push ebx
call fcn.005c663b
mov edx, dword [esp + 0x48]
add esp, 4
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jb 0x5063c0
cmp byte [edi], 0x2d
jne 0x50666b
cmp edx, 1
je 0x506661
cmp dword [ebx], 0
jne 0x506661
mov eax, ebp
test ebp, ebp
je 0x50666b
lea ecx, [ebp - 1]
lea ecx, [ebx + ecx*4]
mov edi, edi
cmp dword [ecx], 0
jne 0x50665d
sub ecx, 4
dec eax
jne 0x506650
jmp 0x50666b
test eax, eax
je 0x50666b
mov eax, dword [esp + 0x20]
sub eax, edx
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00500d50
xor eax, eax
mov edi, ebx
mov ecx, ebp
rep stosd dword es:[edi], eax
lea eax, [ebp*4]
push ebx
cmp eax, 0x10
jb 0x506697
call fcn.005fa578
jmp 0x50669c
call fcn.005c663b
mov eax, esi
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret