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

Disassembly:
push 0xffffffffffffffff
push 0x655ba0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.0054f840
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], 0
call fcn.0054f840
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 1
call fcn.0054f840
mov eax, dword [esp + 0x78]
mov byte [esp + 0x70], 2
test eax, eax
je 0x5d57a4
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x5d57a4
mov esi, dword [esp + 0x88]
cmp dword [esi + 0x7c], 1
je 0x5d55f4
mov ecx, dword [esp + 0x8c]
push str.Must_use_a_private_key_to_create_DSA_signature.
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x5d57b5
cmp dword [esi + 0x80], 0x200
jl 0x5d5613
mov ecx, dword [esp + 0x8c]
push str.DSA_group_order_size_out_of_range
mov edx, dword [ecx]
jmp 0x5d57b2
lea ecx, [esp + 0x4c]
call fcn.004dfe70
mov eax, dword [esi + 0x80]
mov byte [esp + 0x70], 3
cmp eax, 0x200
jge 0x5d5633
cmp eax, 0xf
jg 0x5d563d
mov dword [esi + 0x80], 0x14
mov edi, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
mov eax, dword [esi + 0x80]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00553270
add esp, 8
test al, al
je 0x5d5733
lea edx, [esp + 0x10]
push 1
push edx
call fcn.00551330
add esp, 8
cmp eax, 1
jne 0x5d564b
lea eax, [esp + 0x24]
lea ecx, [esi + 0x98]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.00551620
lea eax, [esp + 0x30]
push 1
push eax
call fcn.00551330
add esp, 0x14
test eax, eax
jne 0x5d564b
lea ecx, [esp + 0x38]
lea ebp, [esi + 0x98]
push ecx
lea edx, [esp + 0x14]
push ebp
push edx
call fcn.005518c0
lea eax, [esi + 0x84]
push ebx
lea ecx, [esp + 0x20]
push eax
lea edx, [esi + 0xac]
push ecx
push edx
call fcn.0054fbf0
push ebx
push ebp
push ebx
call fcn.005529d0
mov eax, dword [ebx + 8]
add esp, 0x28
test eax, eax
je 0x5d564b
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00553320
push edi
lea eax, [esi + 0xd4]
push ebx
push eax
call fcn.00552dc0
lea ecx, [esp + 0x3c]
push edi
push ecx
push edi
call fcn.00551140
push edi
lea edx, [esp + 0x60]
push ebp
push edx
push edi
call fcn.00553120
mov eax, dword [edi + 8]
add esp, 0x34
test eax, eax
jne 0x5d5754
jmp 0x5d564b
mov ecx, dword [esp + 0x8c]
push str.Failed_to_generate_random_k
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 2
call fcn.004e0890
jmp 0x5d57b5
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 2
call fcn.004e0890
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 1
call fcn.0054f980
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0
call fcn.0054f980
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], 0xffffffff
call fcn.0054f980
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret
mov ecx, dword [esp + 0x8c]
push str.null_input_for_DSA_sign_hash_raw
mov edx, dword [ecx]
call dword [edx + 0x14]
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 1
call fcn.0054f980
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0
call fcn.0054f980
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], 0xffffffff
call fcn.0054f980
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret