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

Disassembly:
mov eax, 0x50
call fcn.00475160
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x18], 0
je 0x499b5c
mov eax, dword [eax]
test eax, eax
je 0x499b5c
mov edi, eax
mov dword [esp + 0x1c], edi
jmp 0x499b75
call fcn.0048c080
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x499b71
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
lea ecx, [esp + 0x24]
push esi
mov eax, dword [ebp]
lea edx, [esp + 0x24]
mov dword [esp + 0x18], eax
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0048bc10
add esp, 0x14
test al, 0x80
je 0x499bb2
mov dword [esp + 0x18], 0x65
jmp 0x499de2
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x499bcb
mov dword [esp + 0x18], 0x95
jmp 0x499de2
test al, 0x20
je 0x499d95
mov ecx, dword [esp + 0x14]
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x74]
xor ebp, ebp
mov dword [esp + 0x34], ecx
cmp esi, ebp
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
jne 0x499c03
xor eax, eax
jmp 0x499c06
lea eax, [ecx + esi]
cmp edi, ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
jne 0x499c2b
mov dword [esp + 0x3c], 0x23
jmp 0x499d53
test dl, 1
je 0x499c56
sub eax, ecx
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.0048bbd0
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x499cfb
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
jmp 0x499c62
mov edx, dword [esp + 0x4c]
test edx, edx
jle 0x499cfb
mov edx, dword [esp + 0x48]
sub eax, ecx
push edx
mov edx, dword [esp + 0x48]
push edx
push eax
mov dword [esp + 0x60], ecx
lea eax, [esp + 0x40]
lea ecx, [esp + 0x78]
push eax
push ecx
call fcn.00499b30
add esp, 0x14
test eax, eax
je 0x499d41
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x28]
mov eax, dword [edx]
add eax, ebp
push eax
push ecx
call fcn.00466190
add esp, 8
test eax, eax
je 0x499d4b
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov eax, ecx
lea edi, [edx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
test dl, 1
jne 0x499ce6
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x4c]
sub eax, ecx
add esi, eax
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x1c]
mov esi, dword [eax]
mov eax, dword [esp + 0x50]
add ebp, esi
jmp 0x499c2b
lea ecx, [esp + 0x34]
push ecx
call fcn.0048be10
add esp, 4
test eax, eax
je 0x499d53
mov eax, dword [edi + 8]
mov dword [edi], ebp
test eax, eax
je 0x499d20
mov edx, eax
push edx
call fcn.00460bf0
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x499d38
push eax
call fcn.0048c120
add esp, 4
mov eax, dword [esp + 0x34]
jmp 0x499e70
mov dword [esp + 0x3c], 0xd
jmp 0x499d53
mov dword [esp + 0x3c], 7
mov ecx, dword [esp + 0x3c]
push 0x13e
push str..crypto_asn1_a_bytes.c
push ecx
push 0x67
push 0xd
call fcn.004616f0
mov eax, dword [esp + 0x80]
add esp, 0x14
test eax, eax
je 0x499d82
push eax
call fcn.0048c120
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x499de2
push eax
call fcn.00460bf0
add esp, 4
jmp 0x499de2
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x499e4e
cmp dword [edi], ecx
jl 0x499dac
mov ebp, dword [edi + 8]
test ebp, ebp
jne 0x499e24
mov eax, dword [edi + 8]
test eax, eax
je 0x499dc0
push eax
call fcn.00460bf0
mov ecx, dword [esp + 0x14]
add esp, 4
push 0xde
inc ecx
push str..crypto_asn1_a_bytes.c
push ecx
call fcn.00460b30
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x499e20
mov dword [esp + 0x18], 0x21
test edi, edi
je 0x499dfb
mov eax, dword [esp + 0x64]
test eax, eax
je 0x499df2
cmp dword [eax], edi
je 0x499dfb
push edi
call fcn.0048c120
add esp, 4
mov edx, dword [esp + 0x18]
push 0xfc
push str..crypto_asn1_a_bytes.c
push edx
push 0x7e
push 0xd
call fcn.004616f0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov byte [ecx + ebp], 0
mov ecx, dword [esp + 0x10]
add dword [esp + 0x14], ecx
jmp 0x499e64
mov eax, dword [edi + 8]
xor ebp, ebp
test eax, eax
je 0x499e64
push eax
call fcn.00460bf0
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [edi], ecx
mov dword [edi + 8], ebp
mov dword [edi + 4], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x499e7a
mov dword [ecx], edi
mov edx, dword [esp + 0x68]
mov dword [edx], eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret