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

Disassembly:
mov eax, 0x1e0
call fcn.1001d6a0
mov ecx, dword [esp + 0x1e4]
push ebx
push ebp
push esi
lea eax, [esp + 0x44]
push edi
push eax
push 0x1005e120
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.10061610
add esp, 0x14
test eax, eax
je 0x1005dd75
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1e0
ret
mov edi, dword [esp + 0x50]
cmp edi, 0x10
je 0x1005dd9d
cmp edi, 0x11
je 0x1005dd9d
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
push edi
push edx
push eax
call fcn.1005e620
add esp, 0xc
mov edi, eax
jmp 0x1005df31
cmp dword [esp + 0x1f8], ebx
jne 0x1005ddd1
push 0xa3
push str..crypto_asn1_asn1_gen.c
push 0xc0
push 0xb2
push 0xd
call fcn.1001e430
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.1001e990
test ebp, ebp
mov dword [esp + 0x18], eax
je 0x1005de55
mov ecx, dword [esp + 0x1f8]
push ebp
push ecx
call fcn.1005eb40
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1005def0
push ebx
xor ebp, ebp
call fcn.1001ed80
add esp, 4
test eax, eax
jle 0x1005de55
mov edx, dword [esp + 0x1f8]
push edx
push ebp
push ebx
call fcn.1001ed90
mov eax, dword [eax + 8]
add esp, 8
push eax
call fcn.1005dd10
mov esi, eax
add esp, 8
test esi, esi
je 0x1005def0
mov ecx, dword [esp + 0x18]
push esi
push ecx
call fcn.1001ec90
xor esi, esi
push ebx
inc ebp
call fcn.1001ed80
add esp, 0xc
cmp ebp, eax
jl 0x1005de12
xor edx, edx
cmp edi, 0x11
mov eax, dword [esp + 0x18]
sete dl
mov ebp, edx
push ebp
push 0
push edi
push fcn.1002f630
push 0
push eax
call fcn.100507e0
push 0x1dc
push str..crypto_asn1_asn1_gen.c
push eax
mov dword [esp + 0x5c], eax
call fcn.1001da90
mov edx, dword [esp + 0x3c]
push ebp
push 0
push edi
lea ecx, [esp + 0x6c]
push fcn.1002f630
push ecx
push edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], eax
call fcn.100507e0
add esp, 0x3c
call fcn.1002f650
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x1005dedf
push edi
call fcn.1002f3a0
add esp, 4
mov dword [ebp + 4], eax
test eax, eax
je 0x1005dedf
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 0x1005def0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1005def0
push eax
call main
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1005df06
push fcn.1002f660
push eax
call fcn.1001ed00
add esp, 8
test esi, esi
je 0x1005df13
push esi
call fcn.1002f660
add esp, 4
test ebx, ebx
je 0x1005df28
mov ecx, dword [esp + 0x1f8]
push ebx
push ecx
call fcn.1005eb90
add esp, 8
mov edi, dword [esp + 0x14]
or esi, 0xffffffff
xor ebx, ebx
cmp edi, ebx
jne 0x1005df42
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1e0
ret
cmp dword [esp + 0x48], esi
jne 0x1005df55
cmp dword [esp + 0x1ec], ebx
je 0x1005e109
lea edx, [esp + 0x1c]
push edx
push edi
call fcn.1002f630
mov ebp, eax
push edi
mov dword [esp + 0x20], ebp
call fcn.1002f660
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 0x1005dfe4
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.1002ee60
add esp, 0x14
test al, 0x80
jne 0x1005e0e7
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 0x1005dfc8
mov dword [esp + 0x20], 2
mov dword [esp + 0x28], ebx
jmp 0x1005dfcf
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.1002f0e0
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 0x1005e01f
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.1002f0e0
add esp, 0xc
mov ebp, eax
mov eax, dword [esp + 0x1ec]
inc edi
sub esi, 0x14
cmp edi, eax
jl 0x1005dff8
push 0xe5
push str..crypto_asn1_asn1_gen.c
push ebp
call fcn.1001da90
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 0x1005e08f
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.1002efe0
mov eax, dword [esi - 4]
add esp, 0x14
test eax, eax
je 0x1005e080
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 0x1005e04d
mov eax, dword [esp + 0x48]
cmp eax, 0xffffffff
je 0x1005e0b5
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.1002efe0
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.1002f610
add esp, 0xc
mov edi, eax
xor ebx, ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1005e0f8
push eax
call main
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x1005e109
push eax
call main
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e0
ret