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

Disassembly:
push 0xffffffffffffffff
push 0x608180
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a1450]
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 0x50babf
inc esi
cmp byte [esi + edi], 0
jne 0x50bab4
mov dword [esp + 0x1c], esi
cmp dword [0x6f4ae4], 0
jne 0x50bad7
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
mov ebp, 2
mov dword [esp + 0x34], vtable.CryptoPP::Integer.0
push ebp
mov dword [esp + 0x40], ebp
call fcn.004e1fd0
push 8
call fcn.004dbaf0
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 0x50bb36
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
call fcn.00506530
xor eax, eax
mov edi, ebx
mov ecx, ebp
rep stosd dword es:[edi], eax
push ebx
call fcn.005ca27a
mov eax, dword [esp + 0x28]
jmp 0x50be7e
movsx eax, byte [esi + edi - 1]
add eax, 0xffffffbe
cmp eax, 0x2d
ja case.0x50bb4a.67
movzx eax, byte [eax + 0x50bea8]
jmp dword [eax*4 + 0x50be98]
mov ecx, 0x10
jmp 0x50bb6b
mov ecx, 8
jmp 0x50bb6b
mov ecx, 2
jmp 0x50bb6b
mov ecx, 0xa
mov dword [esp + 0x14], ecx
cmp esi, 2
jbe 0x50bb89
cmp byte [edi], 0x30
jne 0x50bb89
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 0x50be13
nop
mov al, byte [eax + edi]
cmp al, 0x30
jl 0x50bbb3
cmp al, 0x39
jg 0x50bbb3
movsx esi, al
sub esi, 0x30
jmp 0x50bbd5
cmp al, 0x41
jl 0x50bbc3
cmp al, 0x46
jg 0x50bbc3
movsx esi, al
sub esi, 0x37
jmp 0x50bbd5
cmp al, 0x61
jl 0x50bbd3
cmp al, 0x66
jg 0x50bbd3
movsx esi, al
sub esi, 0x57
jmp 0x50bbd5
mov esi, ecx
cmp esi, ecx
jge 0x50be00
cmp dword [0x6f4ae4], 0
mov edi, ecx
jne 0x50bbf7
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
push 2
mov dword [esp + 0x4c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x54], 2
call fcn.004e1fd0
push 8
call fcn.004dbaf0
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x54], eax
test ecx, ecx
js 0x50bc2e
mov dword [esp + 0x58], 0
jmp 0x50bc3a
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.00508e00
mov edi, eax
lea eax, [esp + 0x34]
mov byte [esp + 0x78], 2
cmp eax, edi
je 0x50bd17
mov edx, dword [edi + 8]
cmp ebp, edx
jne 0x50bc82
mov ecx, dword [edi + 0xc]
mov eax, edx
shr eax, 1
cmp dword [ecx + eax*4], 0
jne 0x50bcf7
mov eax, dword [edi + 0xc]
test edx, edx
je 0x50bc9b
lea eax, [eax + edx*4]
add eax, 0xfffffffc
nop
cmp dword [eax], 0
jne 0x50bc9b
sub eax, 4
dec edx
jne 0x50bc90
cmp edx, 8
ja 0x50bca9
mov edx, dword [edx*4 + 0x6416d4]
jmp 0x50bce5
cmp edx, 0x10
ja 0x50bcb5
mov edx, 0x10
jmp 0x50bce5
cmp edx, 0x20
ja 0x50bcc1
mov edx, 0x20
jmp 0x50bce5
cmp edx, 0x40
ja 0x50bccd
mov edx, 0x40
jmp 0x50bce5
lea eax, [edx - 1]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
call fcn.004da440
mov edx, dword [esp + 0x20]
mov ecx, eax
shl edx, cl
push edx
lea ecx, [esp + 0x3c]
call fcn.0050b120
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov ecx, dword [edi + 0xc]
cmp ebx, ecx
je 0x50bd10
lea eax, [ebp*4]
push eax
push ecx
push ebx
call fcn.005cda00
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 0x50bd3b
call fcn.005ffcb8
jmp 0x50bd40
call fcn.005ca27a
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.005ca27a
add esp, 4
cmp dword [0x6f4ae4], 0
jne 0x50bd78
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
push 2
mov dword [esp + 0x4c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x54], 2
call fcn.004e1fd0
push 8
call fcn.004dbaf0
add esp, 8
mov ebx, eax
mov dword [esp + 0x54], ebx
test esi, esi
js 0x50bdad
mov dword [esp + 0x58], 0
jmp 0x50bdb7
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.005087a0
xor eax, eax
mov byte [esp + 0x78], 0
mov edi, ebx
mov ecx, 2
rep stosd dword es:[edi], eax
push ebx
call fcn.005ca27a
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 0x50bba0
cmp byte [edi], 0x2d
jne 0x50be4b
cmp edx, 1
je 0x50be41
cmp dword [ebx], 0
jne 0x50be41
mov eax, ebp
test ebp, ebp
je 0x50be4b
lea ecx, [ebp - 1]
lea ecx, [ebx + ecx*4]
mov edi, edi
cmp dword [ecx], 0
jne 0x50be3d
sub ecx, 4
dec eax
jne 0x50be30
jmp 0x50be4b
test eax, eax
je 0x50be4b
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.00506530
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 0x50be77
call fcn.005ffcb8
jmp 0x50be7c
call fcn.005ca27a
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