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

Disassembly:
mov eax, 0xf0
call fcn.0059eec0
mov eax, dword [0x647f80]
xor eax, esp
mov dword [esp + 0xec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x110]
xor ebp, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x118]
mov esi, dword [esp + 0x114]
mov ebx, esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x124]
shr ebx, 3
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebp
mov dword [ecx], ebp
mov edi, dword [esp + 0x104]
cmp edx, esi
jbe 0x55a3ec
mov eax, dword [esp + 0x10c]
cmp eax, 1
jne 0x559b48
cmp edx, 0x800
jne 0x55a3ec
cmp esi, 0xe0
je 0x559b8a
jmp 0x559b7e
test eax, eax
jne 0x55a3ec
cmp edx, 0x400
jne 0x559b60
cmp esi, 0xa0
jmp 0x559b84
cmp edx, 0x800
jne 0x559b72
cmp esi, 0xe0
je 0x559b8a
jmp 0x559b7e
cmp edx, 0xc00
jne 0x55a3ec
cmp esi, 0x100
jne 0x55a3ec
call fcn.004a0690
mov dword [esp + 0x74], eax
test eax, eax
je 0x55a402
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x559bb5
push esi
push edi
call fcn.00559450
add esp, 8
mov dword [esp + 0x70], eax
mov dword [esp + 0x28], eax
push eax
call fcn.0049cd80
mov ebp, eax
add esp, 4
test ebp, ebp
jle 0x55a400
push edi
call fcn.00502a90
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
test edi, edi
je 0x55a3fc
push edi
call fcn.00502b60
push edi
call fcn.00502910
push edi
mov dword [esp + 0x44], eax
call fcn.00502910
push edi
mov dword [esp + 0x5c], eax
call fcn.00502910
push edi
mov dword [esp + 0x64], eax
call fcn.00502910
push dword [esp + 0x24]
mov edi, eax
call fcn.00502910
add esp, 0x18
mov dword [esp + 0x40], eax
test eax, eax
je 0x55a3f4
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x14]
test eax, eax
cmove eax, ebp
xor ecx, ecx
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x10]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x559c9c
xor ecx, ecx
cmp dword [edx + 4], ecx
sete cl
cmp dword [edx], eax
sete al
cmp eax, ecx
je 0x559c74
mov eax, dword [esp + 0x20]
mov dword [eax], 0x800
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
jmp 0x55a404
xor eax, eax
mov ecx, dword [edx]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x559ced
test eax, eax
jne 0x559ced
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edi, dword [ebx + 4]
mov dword [esp + 0x2c], edi
jmp 0x55a0a8
and eax, 1
je 0x559cc4
test ecx, ecx
je 0x559cad
mov ecx, edx
cmp dword [ecx + 0x18], 0
jge 0x559cc6
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [eax], 0x200
jmp 0x55a404
mov ecx, edx
test byte [esp + 0x11c], 2
je 0x559c76
cmp dword [ecx + 8], 0
jne 0x559c76
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [eax], 0x400
jmp 0x55a404
push dword [esp + 0x10]
call fcn.00502910
push dword [esp + 0x14]
mov dword [esp + 0x2c], eax
call fcn.00502910
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x559c67
mov ecx, dword [esp + 0x30]
lea eax, [ecx*8]
cmp eax, esi
jae 0x559d38
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [eax], pe_nt_image_headers32
jmp 0x55a404
push 0x250
push str.crypto_ffc_ffc_params_generate.c
push ecx
call fcn.004964c0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x14], esi
test esi, esi
je 0x559d70
cmp dword [esp + 0x18], 0
jne 0x559d9b
cmp dword [esp + 0x11c], 0
je 0x559d7d
mov eax, dword [esp + 0x20]
mov dword [eax], 0x200
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
jmp 0x55a406
push 0x25b
push str.crypto_ffc_ffc_params_generate.c
push dword [esp + 0x38]
call fcn.004964c0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x559d70
cmp dword [esp + 0x11c], 0
mov edx, dword [esp + 0x110]
lea ecx, [edx*4 - 1]
mov dword [esp + 0x48], ecx
je 0x559ddd
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, ecx
jle 0x559dd9
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [eax], 0x1000
jmp 0x55a406
mov dword [esp + 0x48], eax
lea esi, [edx - 1]
xor edx, edx
lea ecx, [ebp*8]
mov eax, esi
div ecx
push esi
mov dword [esp + 0x60], eax
call fcn.004b5660
push eax
push edi
call fcn.004ddda0
mov ebp, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x55a01d
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
push dword [esp + 0x28]
mov dword [esp + 0x64], eax
call fcn.0049cd80
push esi
mov edi, eax
call fcn.00502c60
mov esi, dword [esp + 0x4c]
push esi
push 0
push dword [esp + 0x44]
mov dword [esp + 0x8c], eax
call fcn.00523770
add esp, 0x14
test eax, eax
je 0x55a01d
inc esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x44], esi
cmp ebp, dword [esp + 0x60]
je 0x559e7a
push dword [esp + 0x30]
push ebp
push dword [esp + 0x80]
call fcn.004aa860
add esp, 0xc
test eax, eax
js 0x55a01d
push 0
push dword [esp + 0x2c]
lea eax, [esp + 0xc4]
push 0
push eax
push dword [esp + 0x40]
push ebp
call fcn.0049f750
add esp, 0x18
test eax, eax
je 0x55a01d
lea esi, [esp + 0xbc]
cmp edi, ebx
jle 0x559eb2
mov eax, edi
sub eax, ebx
add esi, eax
jmp 0x559ecd
jge 0x559ecd
mov eax, ebx
sub eax, edi
push eax
lea eax, [esp + 0xc0]
add eax, edi
push 0
push eax
call fcn.005a0390
add esp, 0xc
push dword [esp + 0x2c]
or byte [esi], 0x80
or byte [esi + ebx - 1], 1
push ebx
push esi
call fcn.004b4980
add esp, 0xc
test eax, eax
je 0x55a01d
mov esi, dword [esp + 0x34]
push esi
push dword [esp + 0x14]
push dword [esp + 0x34]
call fcn.005237c0
add esp, 0xc
test eax, eax
jg 0x559f3e
cmp ebp, dword [esp + 0x60]
je 0x559fff
test eax, eax
jne 0x55a01d
mov esi, dword [esp + 0x64]
push esi
push eax
push dword [esp + 0x3c]
call fcn.00523770
add esp, 0xc
test eax, eax
je 0x55a01d
inc esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x64], esi
jmp 0x559e5e
cmp dword [esp + 0x11c], 0
mov edi, dword [esp + 0x2c]
je 0x559f64
mov eax, dword [esp + 0x1c]
push dword [eax + 4]
push edi
call fcn.004b4c40
add esp, 8
test eax, eax
jne 0x55a013
push 0
push 2
push esi
call fcn.00523770
add esp, 0xc
test eax, eax
je 0x55a01d
push 0
push 3
push esi
call fcn.00523770
add esp, 0xc
test eax, eax
je 0x55a01d
mov esi, dword [esp + 0x30]
push esi
push ebp
push dword [esp + 0x1c]
call fcn.0059fdf0
push dword [esp + 0x2c]
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x48]
push dword [esp + 0x128]
push dword [esp + 0x40]
push edi
push esi
push dword [esp + 0x3c]
mov esi, dword [esp + 0x3c]
push dword [esp + 0x88]
push dword [esp + 0x78]
push dword [esp + 0x5c]
push esi
call fcn.0055a4c0
add esp, 0x3c
test eax, eax
jg 0x55a02a
js 0x55a01d
mov eax, dword [esp + 0x1c]
cmp ebp, dword [eax + 0x10]
jne 0x559e15
mov eax, dword [esp + 0x20]
mov edi, esi
mov esi, dword [esp + 0x14]
mov dword [eax], 1
jmp 0x55a406
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
or dword [eax], 0x10
jmp 0x55a406
mov eax, dword [esp + 0x20]
mov dword [eax], 0x4000
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x55a406
push 1
push 2
push dword [esp + 0x3c]
call fcn.00523770
add esp, 0xc
test eax, eax
je 0x55a01d
cmp dword [esp + 0x11c], 0
je 0x55a0a4
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x54], eax
jne 0x55a01d
mov ebx, dword [esp + 0x1c]
push dword [ebx]
push dword [esp + 0x28]
call fcn.004b4c40
add esp, 8
test eax, eax
jne 0x55a01d
mov eax, dword [esp + 0x11c]
and al, 3
cmp al, 1
jne 0x55a0a8
mov eax, dword [esp + 0x11c]
test al, 2
je 0x55a3da
cmp dword [esp + 0x6c], 0
jne 0x55a3da
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x58], 2
jmp 0x55a406
mov ebx, dword [esp + 0x1c]
call fcn.00501e20
mov dword [esp + 0x3c], eax
test eax, eax
je 0x55a01d
push esi
push dword [esp + 0x28]
push eax
call fcn.00501eb0
add esp, 0xc
test eax, eax
je 0x55a01d
test byte [esp + 0x11c], 2
je 0x55a0fe
push dword [esp + 0x20]
push dword [esp + 0x44]
push dword [ebx + 8]
push edi
push dword [esp + 0x34]
push dword [esp + 0x50]
push esi
call fcn.0057c870
add esp, 0x1c
test eax, eax
je 0x55a01d
call fcn.004b5660
push eax
push dword [esp + 0x28]
push dword [esp + 0x54]
call fcn.00504c20
add esp, 0xc
test eax, eax
je 0x55a01d
push esi
push edi
push dword [esp + 0x54]
push 0
push dword [esp + 0x60]
call fcn.005124a0
add esp, 0x14
test eax, eax
je 0x55a01d
test ebp, ebp
je 0x55a2e4
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x5c], eax
cmp eax, 0xffffffff
je 0x55a2e4
push dword [esp + 0x28]
mov dword [esp + 0x70], 1
xor ebp, ebp
call fcn.0049cd80
mov edi, eax
add esp, 4
test edi, edi
jle 0x55a2c9
call fcn.004a0690
mov esi, eax
test esi, esi
je 0x55a2c9
mov ebx, 1
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x7c], al
mov eax, ebx
push 0
push dword [esp + 0x2c]
sar eax, 8
push esi
mov byte [esp + 0x89], al
mov byte [esp + 0x8a], bl
call fcn.0049fb80
add esp, 0xc
test eax, eax
je 0x55a27c
push dword [esp + 0x30]
push dword [esp + 0x1c]
push esi
call fcn.0049ffe0
add esp, 0xc
test eax, eax
je 0x55a27c
push 4
push str.ggenSHA_224
push esi
call fcn.0049ffe0
add esp, 0xc
test eax, eax
je 0x55a27c
push 3
lea eax, [esp + 0x80]
push eax
push esi
call fcn.0049ffe0
add esp, 0xc
test eax, eax
je 0x55a27c
push 0
lea eax, [esp + 0x80]
push eax
push esi
call fcn.0049fa60
add esp, 0xc
test eax, eax
je 0x55a27c
push dword [esp + 0x40]
lea eax, [esp + 0x80]
push edi
push eax
call fcn.004b4980
add esp, 0xc
test eax, eax
je 0x55a27c
push dword [esp + 0x3c]
push dword [esp + 0x14]
push dword [esp + 0x2c]
push dword [esp + 0x5c]
push dword [esp + 0x50]
push dword [esp + 0x4c]
call fcn.00502d20
add esp, 0x18
test eax, eax
je 0x55a27c
call fcn.004b5660
push eax
push dword [esp + 0x3c]
call fcn.004b4c40
add esp, 8
test eax, eax
jg 0x55a277
inc ebx
cmp ebx, 0xffff
jle 0x55a184
jmp 0x55a27c
mov ebp, 1
push esi
call fcn.004a0600
add esp, 4
test ebp, ebp
je 0x55a2c9
cmp dword [esp + 0x11c], 0
mov ebx, dword [esp + 0x1c]
je 0x55a31e
push dword [ebx + 8]
push dword [esp + 0x3c]
call fcn.004b4c40
mov ebp, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x55a322
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [eax], 0x8000
jmp 0x55a406
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [eax], 0x400
jmp 0x55a406
cmp dword [esp + 0x11c], 0
jne 0x55a326
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x50]
push dword [esp + 0x58]
push dword [esp + 0x30]
push dword [esp + 0x50]
push dword [esp + 0x4c]
push dword [esp + 0x54]
push esi
call fcn.0055aa20
add esp, 0x20
test eax, eax
je 0x55a01d
jmp 0x55a326
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
push 1
push 3
push dword [esp + 0x3c]
call fcn.00523770
add esp, 0xc
test eax, eax
je 0x55a01d
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x55a07c
mov eax, dword [ebx]
mov esi, dword [esp + 0x24]
cmp esi, eax
je 0x55a368
push eax
call fcn.004b4f60
push esi
call fcn.004b4e80
add esp, 8
mov dword [ebx], eax
mov eax, dword [ebx + 4]
cmp edi, eax
je 0x55a381
push eax
call fcn.004b4f60
push edi
call fcn.004b4e80
add esp, 8
mov dword [ebx + 4], eax
mov eax, dword [ebx + 8]
mov esi, dword [esp + 0x38]
cmp esi, eax
je 0x55a39e
push eax
call fcn.004b4f60
push esi
call fcn.004b4e80
add esp, 8
mov dword [ebx + 8], eax
cmp dword [ebx], 0
je 0x55a01d
cmp dword [ebx + 4], 0
je 0x55a01d
test eax, eax
je 0x55a01d
push dword [esp + 0x54]
push dword [esp + 0x34]
push ebp
push ebx
call fcn.0051c970
add esp, 0x10
test eax, eax
je 0x55a01d
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x24], eax
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x58], 1
jmp 0x55a406
mov dword [ecx], 0x80
jmp 0x55a402
mov edi, dword [esp + 0x10]
xor ebp, ebp
jmp 0x55a404
xor ebp, ebp
jmp 0x55a404
xor ebp, ebp
xor edi, edi
xor esi, esi
mov ebx, dword [esp + 0x1c]
cmp ebp, dword [ebx + 0x10]
je 0x55a422
push 0x2e6
push str.crypto_ffc_ffc_params_generate.c
push ebp
call fcn.00496500
add esp, 0xc
push 0x2e7
push str.crypto_ffc_ffc_params_generate.c
push esi
call fcn.00496500
add esp, 0xc
test edi, edi
je 0x55a442
push edi
call fcn.00502810
add esp, 4
push edi
call fcn.00502880
push dword [esp + 0x40]
call fcn.00501dd0
push dword [esp + 0x78]
call fcn.004a0860
push dword [esp + 0x80]
call fcn.004a0600
mov ecx, dword [esp + 0x10c]
add esp, 0x10
mov eax, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059e4d3
add esp, 0xf0
ret