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

Disassembly:
mov eax, 0xec
call fcn.10175fd0
mov eax, dword [0x1024ee80]
xor eax, esp
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0xf4]
mov edx, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
push ebx
push ebp
mov ebp, dword [esp + 0xf8]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x110]
push edi
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x74], ebx
cmp dword [esp + 0x108], ebx
jne 0x1009af65
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x3c], ecx
jmp 0x1009af69
mov dword [esp + 0x3c], ebx
mov dword [edx], ebx
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x1009afbb
test esi, esi
jne 0x1009af8c
cmp dword [esp + 0x110], 0x800
sbb esi, esi
and esi, 0xffffffa0
add esi, 0x100
cmp esi, 0xa0
jne 0x1009af9b
mov eax, str.SHA1
jmp 0x1009afbb
cmp esi, 0xe0
jne 0x1009afaa
mov eax, str.SHA_224
jmp 0x1009afbb
cmp esi, 0x100
jne 0x1009b9c2
mov eax, str.SHA_256
mov ecx, dword [esp + 0x1c]
push dword [ecx + 0x30]
push eax
push ebp
call fcn.1004c8e0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x38], ebx
mov edi, ebx
test ebx, ebx
je 0x1009b940
push ebx
call fcn.10052770
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
jle 0x1009b940
mov ecx, dword [esp + 0x110]
lea ebx, [eax*8]
test esi, esi
cmovne ebx, esi
mov eax, ebx
shr eax, 3
mov dword [esp + 0x60], eax
cmp ecx, ebx
jbe 0x1009b932
mov eax, dword [esp + 0x10c]
cmp eax, 1
jne 0x1009b06c
cmp ecx, 0x400
jne 0x1009b033
cmp ebx, 0xa0
jne 0x1009b04b
jmp 0x1009b0b0
cmp ecx, 0x800
jne 0x1009b04b
cmp ebx, 0xe0
je 0x1009b0b0
cmp ebx, 0x100
je 0x1009b0b0
call fcn.10055e90
push 0x101b606c
push 0x4d
push str.crypto_ffc_ffc_params_generate.c
call fcn.10055f90
push 0
push 0x7f
push 5
jmp 0x1009b92a
test eax, eax
jne 0x1009b932
cmp ecx, 0xc00
jb 0x1009b086
cmp ebx, 0x100
jb 0x1009b08e
jmp 0x1009b0b0
cmp ecx, 0x800
jb 0x1009b098
cmp ebx, 0xe0
jb 0x1009b0a4
jmp 0x1009b0b0
cmp ecx, 0x400
jb 0x1009b90e
cmp ebx, 0xa0
jb 0x1009b90e
call fcn.1004c850
mov edi, dword [esp + 0x38]
mov dword [esp + 0x74], eax
test eax, eax
je 0x1009b940
push ebp
call fcn.100b6950
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov ebp, edi
test esi, esi
je 0x1009b942
push esi
call fcn.100b6a20
push esi
call fcn.100b67d0
push esi
mov dword [esp + 0x4c], eax
call fcn.100b67d0
push esi
mov dword [esp + 0x78], eax
call fcn.100b67d0
push esi
mov dword [esp + 0x4c], eax
call fcn.100b67d0
push esi
mov dword [esp + 0x74], eax
call fcn.100b67d0
add esp, 0x18
mov dword [esp + 0x44], eax
test eax, eax
je 0x1009b942
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x14]
test eax, eax
cmove eax, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x10]
test eax, eax
cmovne esi, eax
cmp dword [esp + 0x108], 0
mov dword [esp + 0x24], esi
je 0x1009b194
xor ecx, ecx
cmp dword [edi + 4], ecx
sete cl
xor eax, eax
cmp dword [edi], eax
sete al
cmp eax, ecx
je 0x1009b173
mov eax, dword [esp + 0x18]
mov dword [eax], 0x800
mov edi, ebp
mov esi, dword [esp + 0x10]
jmp 0x1009b942
mov eax, dword [esp + 0x3c]
and eax, 1
mov ecx, dword [edi]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x1009b1de
test eax, eax
jne 0x1009b1de
mov ebx, dword [edi + 4]
mov dword [esp + 0x2c], ebx
jmp 0x1009b58c
mov ecx, dword [esp + 0x3c]
mov eax, ecx
and eax, 1
je 0x1009b1be
test esi, esi
je 0x1009b1a9
cmp dword [edi + 0x18], 0
jge 0x1009b1be
mov eax, dword [esp + 0x18]
mov edi, ebp
mov esi, dword [esp + 0x10]
mov dword [eax], 0x200
jmp 0x1009b942
test cl, 2
je 0x1009b17a
cmp dword [edi + 8], 0
jne 0x1009b17a
mov eax, dword [esp + 0x18]
mov edi, ebp
mov esi, dword [esp + 0x10]
mov dword [eax], 0x400
jmp 0x1009b942
mov edi, dword [esp + 0x10]
push edi
call fcn.100b67d0
push edi
mov dword [esp + 0x28], eax
call fcn.100b67d0
add esp, 8
mov dword [esp + 0x2c], eax
mov edi, ebp
test eax, eax
je 0x1009b16a
mov ecx, dword [esp + 0x34]
lea eax, [ecx*8]
cmp eax, ebx
jae 0x1009b225
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov dword [eax], 0x100
jmp 0x1009b942
push 0x283
push str.crypto_ffc_ffc_params_generate.c
push ecx
call fcn.1004ddb0
add esp, 0xc
mov dword [esp + 0x48], eax
mov edi, ebp
test eax, eax
je 0x1009b16a
test esi, esi
jne 0x1009b28c
cmp dword [esp + 0x108], esi
jne 0x1009b266
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov dword [eax], 0x200
jmp 0x1009b942
push 0x28e
push str.crypto_ffc_ffc_params_generate.c
push dword [esp + 0x3c]
call fcn.1004ddb0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
mov edi, ebp
test esi, esi
je 0x1009b16a
cmp dword [esp + 0x108], 0
mov ecx, dword [esp + 0x110]
lea ebx, [ecx*4 - 1]
mov dword [esp + 0x50], ebx
jne 0x1009b2cc
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, ebx
jle 0x1009b2c8
mov eax, dword [esp + 0x18]
mov edi, ebp
mov esi, dword [esp + 0x10]
mov dword [eax], 0x1000
jmp 0x1009b942
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
lea esi, [ecx - 1]
xor edx, edx
mov edi, ebp
push esi
lea ecx, [eax*8]
mov eax, esi
div ecx
mov dword [esp + 0x68], eax
call fcn.100608e0
push eax
push dword [esp + 0x64]
call fcn.100611d0
add esp, 0xc
test eax, eax
je 0x1009b16a
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x1c]
nop dword [eax]
mov eax, dword [eax + 0x10]
mov esi, dword [esp + 0x4c]
push ebp
mov dword [esp + 0x2c], eax
call fcn.10052770
push dword [esp + 0x14]
mov edi, eax
call fcn.100b6b20
push esi
push 0
push dword [esp + 0x40]
mov dword [esp + 0x74], eax
call fcn.100dff50
add esp, 0x14
test eax, eax
je 0x1009b168
inc esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x28]
je 0x1009b375
push 0
push dword [esp + 0x38]
push esi
push dword [esp + 0x6c]
call fcn.1007f040
add esp, 0x10
test eax, eax
jle 0x1009b168
push 0
push ebp
push 0
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x44]
push esi
call fcn.1004bdb0
add esp, 0x18
test eax, eax
je 0x1009b168
lea esi, [esp + 0xb8]
cmp edi, ebx
jle 0x1009b3aa
mov eax, edi
sub eax, ebx
add esi, eax
jmp 0x1009b3c5
jge 0x1009b3c5
mov eax, ebx
sub eax, edi
push eax
lea eax, [esp + 0xbc]
add eax, edi
push 0
push eax
call fcn.101778a0
add esp, 0xc
push dword [esp + 0x2c]
or byte [esi], 0x80
or byte [esi + ebx - 1], 1
push ebx
push esi
call fcn.1005fc10
add esp, 0xc
test eax, eax
je 0x1009b168
push dword [esp + 0x30]
mov esi, dword [esp + 0x30]
push dword [esp + 0x14]
push esi
call fcn.100dffa0
add esp, 0xc
test eax, eax
jg 0x1009b437
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x24], ecx
je 0x1009b502
test eax, eax
jne 0x1009b168
mov esi, dword [esp + 0x5c]
push esi
push eax
push dword [esp + 0x38]
call fcn.100dff50
add esp, 0xc
test eax, eax
jne 0x1009b347
mov esi, dword [esp + 0x10]
mov edi, ebp
jmp 0x1009b942
cmp dword [esp + 0x108], 0
jne 0x1009b459
mov eax, dword [esp + 0x1c]
push dword [eax + 4]
push esi
call fcn.1005fed0
add esp, 8
test eax, eax
jne 0x1009b514
mov esi, dword [esp + 0x30]
push 0
push 2
push esi
call fcn.100dff50
add esp, 0xc
test eax, eax
je 0x1009b168
push 0
push 3
push esi
call fcn.100dff50
add esp, 0xc
test eax, eax
je 0x1009b168
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
push edi
push esi
push dword [esp + 0x50]
call fcn.10177320
push dword [esp + 0x24]
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x44]
push dword [esp + 0x128]
push dword [esp + 0x3c]
push dword [esp + 0x4c]
push edi
push dword [esp + 0x70]
push dword [esp + 0x90]
push dword [esp + 0x80]
push ebp
push dword [esp + 0x48]
call fcn.1009a290
add esp, 0x3c
test eax, eax
jg 0x1009b529
js 0x1009b168
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax + 0x10]
jne 0x1009b310
mov eax, dword [esp + 0x18]
mov edi, ebp
mov esi, dword [esp + 0x10]
mov dword [eax], 1
jmp 0x1009b942
mov eax, dword [esp + 0x18]
mov edi, ebp
mov esi, dword [esp + 0x10]
or dword [eax], 0x10
jmp 0x1009b942
mov eax, dword [esp + 0x18]
mov edi, ebp
mov esi, dword [esp + 0x10]
mov dword [eax], 0x4000
jmp 0x1009b942
push 1
push 2
push dword [esp + 0x38]
mov edi, ebp
call fcn.100dff50
add esp, 0xc
test eax, eax
je 0x1009b16a
cmp dword [esp + 0x108], 0
jne 0x1009b57a
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x54], eax
jne 0x1009b168
mov eax, dword [esp + 0x1c]
push dword [eax]
push dword [esp + 0x24]
call fcn.1005fed0
add esp, 8
test eax, eax
je 0x1009b57a
mov esi, dword [esp + 0x10]
jmp 0x1009b942
mov eax, dword [esp + 0x3c]
and al, 3
cmp al, 1
je 0x1009b8d8
mov ebx, dword [esp + 0x2c]
call fcn.10089b10
mov dword [esp + 0x14], eax
mov edi, ebp
test eax, eax
je 0x1009b7c9
push dword [esp + 0x10]
push dword [esp + 0x24]
push eax
call fcn.10089ba0
add esp, 0xc
test eax, eax
je 0x1009b7c9
test byte [esp + 0x3c], 2
je 0x1009b5eb
push dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push dword [esp + 0x48]
push dword [eax + 8]
push ebx
push dword [esp + 0x30]
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.100e10b0
add esp, 0x1c
test eax, eax
je 0x1009b7c9
call fcn.100608e0
mov edi, dword [esp + 0x68]
push eax
push dword [esp + 0x24]
push edi
call fcn.100d6f60
add esp, 0xc
test eax, eax
je 0x1009b7c7
push dword [esp + 0x10]
push ebx
push edi
push 0
push dword [esp + 0x48]
call fcn.100cf8c0
add esp, 0x14
test eax, eax
je 0x1009b7c7
test esi, esi
je 0x1009b7d6
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x64], eax
cmp eax, 0xffffffff
je 0x1009b7d6
push ebp
mov dword [esp + 0x74], 1
mov dword [esp + 0x2c], 0
call fcn.10052770
mov edi, eax
add esp, 4
test edi, edi
jle 0x1009b7bd
call fcn.1004c850
mov esi, eax
test esi, esi
je 0x1009b7bd
mov ebx, 1
nop dword [eax]
mov eax, dword [esp + 0x64]
mov byte [esp + 0x78], al
mov eax, ebx
push 0
sar eax, 8
push ebp
push esi
mov byte [esp + 0x85], al
mov byte [esp + 0x86], bl
call fcn.1004c220
add esp, 0xc
test eax, eax
je 0x1009b76f
push dword [esp + 0x34]
push dword [esp + 0x28]
push esi
call fcn.1004c260
add esp, 0xc
test eax, eax
je 0x1009b76f
push 4
push str.ggenffc_validate_LN
push esi
call fcn.1004c260
add esp, 0xc
test eax, eax
je 0x1009b76f
push 3
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.1004c260
add esp, 0xc
test eax, eax
je 0x1009b76f
push 0
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.1004c0f0
add esp, 0xc
test eax, eax
je 0x1009b76f
push dword [esp + 0x44]
lea eax, [esp + 0x7c]
push edi
push eax
call fcn.1005fc10
add esp, 0xc
test eax, eax
je 0x1009b76f
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x28]
push dword [esp + 0x44]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.100d7230
add esp, 0x18
test eax, eax
je 0x1009b76f
call fcn.100608e0
push eax
push dword [esp + 0x44]
call fcn.1005fed0
add esp, 8
test eax, eax
jg 0x1009b767
inc ebx
cmp ebx, 0xffff
jle 0x1009b680
jmp 0x1009b76f
mov dword [esp + 0x28], 1
push esi
call fcn.1004c7c0
add esp, 4
cmp dword [esp + 0x28], 0
je 0x1009b7bd
cmp dword [esp + 0x108], 0
jne 0x1009b811
mov eax, dword [esp + 0x1c]
push dword [eax + 8]
push dword [esp + 0x44]
call fcn.1005fed0
add esp, 8
test eax, eax
je 0x1009b811
mov eax, dword [esp + 0x18]
mov edi, ebp
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [eax], 0x8000
jmp 0x1009b944
mov eax, dword [esp + 0x18]
mov dword [eax], 0x400
mov edi, ebp
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
jmp 0x1009b944
cmp dword [esp + 0x108], 0
je 0x1009b819
lea eax, [esp + 0x6c]
mov edi, ebp
push eax
push dword [esp + 0x6c]
push dword [esp + 0x40]
push dword [esp + 0x2c]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.1009a7f0
add esp, 0x20
test eax, eax
je 0x1009b7c9
jmp 0x1009b819
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
push 1
push 3
push dword [esp + 0x38]
mov edi, ebp
call fcn.100dff50
add esp, 0xc
test eax, eax
je 0x1009b7c9
cmp dword [esp + 0x108], 0
je 0x1009b8d8
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
cmp dword [esp + 0x20], eax
je 0x1009b85d
push eax
call fcn.100601e0
push dword [esp + 0x24]
call fcn.10060100
add esp, 8
mov dword [edi], eax
mov eax, dword [edi + 4]
cmp ebx, eax
je 0x1009b876
push eax
call fcn.100601e0
push ebx
call fcn.10060100
add esp, 8
mov dword [edi + 4], eax
mov eax, dword [edi + 8]
mov ebx, dword [esp + 0x40]
cmp ebx, eax
je 0x1009b893
push eax
call fcn.100601e0
push ebx
call fcn.10060100
add esp, 8
mov dword [edi + 8], eax
cmp dword [edi], 0
je 0x1009b7c7
cmp dword [edi + 4], 0
je 0x1009b7c7
test eax, eax
je 0x1009b7c7
push dword [esp + 0x54]
mov edi, ebp
push dword [esp + 0x38]
push esi
push dword [esp + 0x28]
call fcn.1009a020
add esp, 0x10
test eax, eax
je 0x1009b7c9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x24], ecx
test byte [esp + 0x3c], 2
je 0x1009b8fa
cmp dword [esp + 0x70], 0
jne 0x1009b8fa
mov esi, dword [esp + 0x10]
mov edi, ebp
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x58], 2
jmp 0x1009b944
mov esi, dword [esp + 0x10]
mov edi, ebp
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x58], 1
jmp 0x1009b944
call fcn.10055e90
push 0x101b606c
push 0x57
push str.crypto_ffc_ffc_params_generate.c
call fcn.10055f90
push 0
push 0x72
push 0xa
call fcn.10056040
add esp, 0x18
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x38]
mov dword [eax], 0x80
xor esi, esi
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
cmp eax, dword [ecx + 0x10]
je 0x1009b964
push 0x31a
push str.crypto_ffc_ffc_params_generate.c
push eax
call fcn.1004ddf0
add esp, 0xc
push 0x31b
push str.crypto_ffc_ffc_params_generate.c
push dword [esp + 0x50]
call fcn.1004ddf0
add esp, 0xc
test esi, esi
je 0x1009b987
push esi
call fcn.100b66d0
add esp, 4
push esi
call fcn.100b6740
push ebx
call fcn.10089ac0
push dword [esp + 0x7c]
call fcn.1004c7c0
push edi
call fcn.1004c910
mov ecx, dword [esp + 0x108]
add esp, 0x10
mov eax, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10175bf0
add esp, 0xec
ret
mov dword [edx], 0x20
xor esi, esi
jmp 0x1009b944