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

Disassembly:
mov eax, 0x1e0
call fcn.0059d8e0
mov ecx, dword [esp + 0x1e4]
push ebx
push ebp
push esi
lea eax, [esp + 0x44]
push edi
push eax
push 0x5d43e0
push 1
xor ebx, ebx
or esi, 0xffffffff
push 0x2c
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], 1
mov dword [esp + 0x200], ebx
call fcn.005d3c10
add esp, 0x14
test eax, eax
je 0x5d4035
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1e0
ret
mov edi, dword [esp + 0x50]
cmp edi, 0x10
je 0x5d405d
cmp edi, 0x11
je 0x5d405d
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
push edi
push edx
push eax
call fcn.005d48e0
add esp, 0xc
mov edi, eax
jmp 0x5d41f1
cmp dword [esp + 0x1f8], ebx
jne 0x5d4091
push 0xa3
push str..crypto_asn1_asn1_gen.c
push 0xc0
push 0xb2
push 0xd
call fcn.005a24e0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e0
ret
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
xor esi, esi
call fcn.005acd80
test ebp, ebp
mov dword [esp + 0x18], eax
je 0x5d4115
mov ecx, dword [esp + 0x1f8]
push ebp
push ecx
call fcn.005d23b0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x5d41b0
push ebx
xor ebp, ebp
call fcn.005ad0d0
add esp, 4
test eax, eax
jle 0x5d4115
mov edx, dword [esp + 0x1f8]
push edx
push ebp
push ebx
call fcn.005ad0e0
mov eax, dword [eax + 8]
add esp, 8
push eax
call fcn.005d3fd0
mov esi, eax
add esp, 8
test esi, esi
je 0x5d41b0
mov ecx, dword [esp + 0x18]
push esi
push ecx
call fcn.005ad000
xor esi, esi
push ebx
inc ebp
call fcn.005ad0d0
add esp, 0xc
cmp ebp, eax
jl 0x5d40d2
xor edx, edx
cmp edi, 0x11
mov eax, dword [esp + 0x18]
sete dl
mov ebp, edx
push ebp
push 0
push edi
push fcn.005ad640
push 0
push eax
call fcn.005bc1f0
push 0x1dc
push str..crypto_asn1_asn1_gen.c
push eax
mov dword [esp + 0x5c], eax
call fcn.0059ec60
mov edx, dword [esp + 0x3c]
push ebp
push 0
push edi
lea ecx, [esp + 0x6c]
push fcn.005ad640
push ecx
push edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], eax
call fcn.005bc1f0
add esp, 0x3c
call fcn.005ad660
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x5d419f
push edi
call fcn.005b1ae0
add esp, 4
mov dword [ebp + 4], eax
test eax, eax
je 0x5d419f
mov ecx, dword [esp + 0x30]
mov dword [ebp], edi
mov dword [eax + 8], ecx
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x38]
mov dword [edx], eax
jmp 0x5d41b0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5d41b0
push eax
call fcn.0059eee0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5d41c6
push fcn.005ad670
push eax
call fcn.005ad050
add esp, 8
test esi, esi
je 0x5d41d3
push esi
call fcn.005ad670
add esp, 4
test ebx, ebx
je 0x5d41e8
mov ecx, dword [esp + 0x1f8]
push ebx
push ecx
call fcn.005d2400
add esp, 8
mov edi, dword [esp + 0x14]
or esi, 0xffffffff
xor ebx, ebx
cmp edi, ebx
jne 0x5d4202
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1e0
ret
cmp dword [esp + 0x48], esi
jne 0x5d4215
cmp dword [esp + 0x1ec], ebx
je 0x5d43c9
lea edx, [esp + 0x1c]
push edx
push edi
call fcn.005ad640
mov ebp, eax
push edi
mov dword [esp + 0x20], ebp
call fcn.005ad670
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
xor edi, edi
cmp eax, esi
je 0x5d42a4
lea ecx, [esp + 0x40]
push ebp
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.005b1640
add esp, 0x14
test al, 0x80
jne 0x5d43a7
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
sub edx, edi
add ebp, edx
test al, 1
mov dword [esp + 0x14], ebp
je 0x5d4288
mov dword [esp + 0x20], 2
mov dword [esp + 0x28], ebx
jmp 0x5d428f
and eax, 0x20
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push ebx
call fcn.005b18c0
add esp, 0xc
mov ebp, eax
mov eax, dword [esp + 0x1ec]
xor edi, edi
test eax, eax
lea edx, [eax + eax*4]
lea esi, [esp + edx*4 + 0x48]
jle 0x5d42df
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
add ebp, edx
push eax
push ebp
push 0
mov dword [esi + 0x10], ebp
call fcn.005b18c0
add esp, 0xc
mov ebp, eax
mov eax, dword [esp + 0x1ec]
inc edi
sub esi, 0x14
cmp edi, eax
jl 0x5d42b8
push 0xe5
push str..crypto_asn1_asn1_gen.c
push ebp
call fcn.0059ec60
mov ebx, eax
mov eax, dword [esp + 0x1f8]
add esp, 0xc
xor edi, edi
test eax, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], ebx
jle 0x5d434f
lea esi, [esp + 0x6c]
mov ecx, dword [esi - 0xc]
mov edx, dword [esi - 0x10]
mov eax, dword [esi]
push ecx
mov ecx, dword [esi - 8]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.005b17c0
mov eax, dword [esi - 4]
add esp, 0x14
test eax, eax
je 0x5d4340
mov eax, dword [esp + 0x10]
mov byte [eax], 0
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1ec]
inc edi
add esi, 0x14
cmp edi, eax
jl 0x5d430d
mov eax, dword [esp + 0x48]
cmp eax, 0xffffffff
je 0x5d4375
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
push ecx
push eax
mov eax, dword [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.005b17c0
add esp, 0x14
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x34]
and ecx, 3
push ebp
push eax
push 0
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x40], ebx
call fcn.005ad620
add esp, 0xc
mov edi, eax
xor ebx, ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x5d43b8
push eax
call fcn.0059eee0
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x5d43c9
push eax
call fcn.0059eee0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e0
ret