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

Disassembly:
mov eax, 0xa4
call fcn.1005b330
mov eax, dword [0x102db074]
xor eax, esp
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xc4]
push ebx
mov ebx, dword [esp + 0xc4]
push ebp
xor ebp, ebp
mov dword [esp + 0x14], ecx
push esi
xor esi, esi
mov dword [esp + 0x50], edx
push edi
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], ebp
cmp dword [esp + 0xc0], esi
jne 0x10149701
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x38], eax
jmp 0x10149705
mov dword [esp + 0x38], esi
mov dword [ebx], esi
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
jne 0x10149757
test edi, edi
jne 0x10149728
cmp dword [esp + 0xc8], 0x800
sbb edi, edi
and edi, 0xffffffa0
add edi, 0x100
cmp edi, 0xa0
jne 0x10149737
mov ecx, str.SHA1
jmp 0x10149757
cmp edi, 0xe0
jne 0x10149746
mov ecx, str.SHA_224
jmp 0x10149757
cmp edi, 0x100
jne 0x1014a115
mov ecx, str.SHA_256
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x30]
push eax
push ecx
push edx
call fcn.100ae2b0
mov ebp, eax
add esp, 0xc
mov esi, ebp
test ebp, ebp
je 0x1014a093
push ebp
call fcn.100d1950
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x1014a093
mov edx, dword [esp + 0xc8]
shl eax, 3
test edi, edi
cmovne eax, edi
mov ebx, eax
mov dword [esp + 0x44], eax
shr ebx, 3
cmp edx, eax
jbe 0x1014a087
mov ecx, dword [esp + 0xc4]
cmp ecx, 1
jne 0x101497fe
cmp edx, 0x400
jne 0x101497c7
cmp eax, 0xa0
jne 0x101497dd
jmp 0x1014983f
cmp edx, 0x800
jne 0x101497dd
cmp eax, 0xe0
je 0x1014983f
cmp eax, 0x100
je 0x1014983f
call fcn.100c3120
push 0x1027c6bc
push 0x4d
push str.crypto_ffc_ffc_params_generate.c
call fcn.100c3220
push 0
push 0x7f
push 5
jmp 0x1014a07f
test ecx, ecx
jne 0x1014a087
cmp edx, 0xc00
jb 0x10149817
cmp eax, 0x100
jb 0x1014981f
jmp 0x1014983f
cmp edx, 0x800
jb 0x10149828
cmp eax, 0xe0
jb 0x10149834
jmp 0x1014983f
cmp edx, 0x400
jb 0x1014a063
cmp eax, 0xa0
jb 0x1014a063
call fcn.100ae110
mov dword [esp + 0x6c], eax
mov esi, ebp
test eax, eax
je 0x1014a093
push dword [esp + 0x54]
call fcn.100ebef0
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
test edi, edi
je 0x1014a095
push edi
call fcn.100ebfc0
push edi
call fcn.100ebd70
push edi
mov dword [esp + 0x4c], eax
call fcn.100ebd70
push edi
mov dword [esp + 0x64], eax
call fcn.100ebd70
push edi
mov dword [esp + 0x6c], eax
call fcn.100ebd70
push edi
mov dword [esp + 0x60], eax
call fcn.100ebd70
add esp, 0x18
mov dword [esp + 0x4c], eax
test eax, eax
je 0x1014a095
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x14]
test eax, eax
cmove eax, dword [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x10]
test eax, eax
cmovne edi, eax
cmp dword [esp + 0xc0], 0
mov dword [esp + 0x30], edi
je 0x10149901
xor ecx, ecx
cmp dword [esi + 4], ecx
sete cl
xor eax, eax
cmp dword [esi], eax
sete al
cmp eax, ecx
je 0x10149949
mov eax, dword [esp + 0x18]
mov dword [eax], 0x800
mov esi, ebp
mov edi, dword [esp + 0x10]
jmp 0x1014a095
mov ecx, dword [esp + 0x38]
test cl, 1
je 0x10149929
test edi, edi
je 0x10149914
cmp dword [esi + 0x18], 0
jge 0x10149929
mov eax, dword [esp + 0x18]
mov esi, ebp
mov edi, dword [esp + 0x10]
mov dword [eax], 0x200
jmp 0x1014a095
test cl, 2
je 0x1014994d
cmp dword [esi + 8], 0
jne 0x1014994d
mov eax, dword [esp + 0x18]
mov esi, ebp
mov edi, dword [esp + 0x10]
mov dword [eax], 0x400
jmp 0x1014a095
mov ecx, dword [esp + 0x38]
mov eax, dword [esi]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10149968
test cl, 1
jne 0x10149968
mov ebx, dword [esi + 4]
mov dword [esp + 0x24], ebx
jmp 0x10149d02
mov esi, dword [esp + 0x10]
push esi
call fcn.100ebd70
push esi
mov dword [esp + 0x28], eax
call fcn.100ebd70
add esp, 8
mov dword [esp + 0x24], eax
mov esi, ebp
test eax, eax
je 0x101498f8
mov ecx, dword [esp + 0x2c]
lea eax, [ecx*8]
cmp eax, dword [esp + 0x44]
jae 0x101499b1
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [eax], 0x100
jmp 0x1014a095
push 0x283
push str.crypto_ffc_ffc_params_generate.c
push ecx
call fcn.100a5c30
add esp, 0xc
mov dword [esp + 0x50], eax
mov esi, ebp
test eax, eax
je 0x101498f8
test edi, edi
jne 0x10149a18
cmp dword [esp + 0xc0], edi
jne 0x101499f2
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [eax], 0x200
jmp 0x1014a095
push 0x28e
push str.crypto_ffc_ffc_params_generate.c
push dword [esp + 0x34]
call fcn.100a5c30
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x30], ecx
mov esi, ebp
test ecx, ecx
je 0x101498f8
cmp dword [esp + 0xc0], 0
mov edx, dword [esp + 0xc8]
mov edi, dword [esp + 0x1c]
lea ecx, [edx*4 - 1]
mov dword [esp + 0x44], ecx
jne 0x10149a58
mov eax, dword [edi + 0x18]
cmp eax, ecx
jle 0x10149a54
mov eax, dword [esp + 0x18]
mov esi, ebp
mov edi, dword [esp + 0x10]
mov dword [eax], 0x1000
jmp 0x1014a095
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov esi, ebp
lea ecx, [eax*8]
lea eax, [edx - 1]
xor edx, edx
div ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xc8]
dec eax
push eax
call fcn.100aa500
push eax
push dword [esp + 0x50]
call fcn.10114a70
add esp, 0xc
test eax, eax
je 0x101498f8
mov eax, dword [edi + 0x10]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
nop
push ebp
call fcn.100d1950
push dword [esp + 0x14]
mov edi, eax
call fcn.100ec0c0
push dword [esp + 0x3c]
mov dword [esp + 0x54], eax
push 0
push dword [esp + 0x38]
call fcn.10162d00
add esp, 0x14
test eax, eax
je 0x101498f6
nop
inc dword [esp + 0x34]
cmp esi, dword [esp + 0x3c]
je 0x10149af5
push 0
push dword [esp + 0x30]
push esi
push dword [esp + 0x54]
call fcn.100bc950
add esp, 0x10
test eax, eax
js 0x101498f6
push 0
push ebp
push 0
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x3c]
push esi
call fcn.100ad5c0
add esp, 0x18
test eax, eax
je 0x101498f6
lea esi, [esp + 0x70]
cmp edi, ebx
jle 0x10149b24
mov eax, edi
sub eax, ebx
add esi, eax
jmp 0x10149b3c
jge 0x10149b3c
mov eax, ebx
sub eax, edi
push eax
lea eax, [esp + 0x74]
add eax, edi
push 0
push eax
call fcn.10215950
add esp, 0xc
push dword [esp + 0x24]
or byte [esi], 0x80
or byte [esi + ebx - 1], 1
push ebx
push esi
call fcn.100a9810
add esp, 0xc
test eax, eax
je 0x101498f6
push dword [esp + 0x28]
mov esi, dword [esp + 0x28]
push dword [esp + 0x14]
push esi
call fcn.10162d50
add esp, 0xc
test eax, eax
jg 0x10149bad
mov esi, dword [esp + 0x30]
cmp esi, dword [esp + 0x3c]
je 0x10149c7c
test eax, eax
jne 0x101498f6
push dword [esp + 0x34]
push eax
push dword [esp + 0x30]
call fcn.10162d00
add esp, 0xc
test eax, eax
jne 0x10149ad0
mov edi, dword [esp + 0x10]
mov esi, ebp
jmp 0x1014a095
cmp dword [esp + 0xc0], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
jne 0x10149bd7
mov eax, dword [esp + 0x1c]
push dword [eax + 4]
push esi
call fcn.100a9ad0
add esp, 8
test eax, eax
jne 0x10149c8e
mov esi, dword [esp + 0x28]
push 0
push 2
push esi
call fcn.10162d00
add esp, 0xc
test eax, eax
je 0x101498f6
push 0
push 3
push esi
call fcn.10162d00
add esp, 0xc
test eax, eax
je 0x101498f6
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
push edi
push esi
push dword [esp + 0x58]
call fcn.10213e00
push dword [esp + 0x24]
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0x3c]
push dword [esp + 0xe0]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push edi
push dword [esp + 0x78]
mov edi, dword [esp + 0x3c]
push dword [esp + 0x8c]
push dword [esp + 0x74]
push ebp
push edi
call fcn.101489f0
add esp, 0x3c
test eax, eax
jg 0x10149ca3
js 0x10149c75
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x3c], eax
cmp esi, eax
jne 0x10149aa0
mov eax, dword [esp + 0x18]
mov dword [eax], 1
mov esi, ebp
jmp 0x1014a095
mov eax, dword [esp + 0x18]
or dword [eax], 0x10
mov edi, dword [esp + 0x10]
mov esi, ebp
jmp 0x1014a095
mov eax, dword [esp + 0x18]
mov esi, ebp
mov edi, dword [esp + 0x10]
mov dword [eax], 0x4000
jmp 0x1014a095
push 1
push 2
push dword [esp + 0x30]
mov esi, ebp
call fcn.10162d00
add esp, 0xc
test eax, eax
je 0x1014a095
cmp dword [esp + 0xc0], 0
jne 0x10149cec
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x5c], eax
jne 0x10149c75
mov eax, dword [esp + 0x1c]
push dword [eax]
push dword [esp + 0x24]
call fcn.100a9ad0
add esp, 8
test eax, eax
je 0x10149cec
jmp 0x1014a095
mov eax, dword [esp + 0x38]
and al, 3
cmp al, 1
je 0x1014a03b
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
call fcn.100c6f80
mov dword [esp + 0x14], eax
mov esi, ebp
test eax, eax
je 0x10149f27
push dword [esp + 0x10]
push dword [esp + 0x24]
push eax
call fcn.100c7010
add esp, 0xc
test eax, eax
je 0x10149f27
test byte [esp + 0x38], 2
je 0x10149d61
push dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push dword [esp + 0x50]
push dword [eax + 8]
push ebx
push dword [esp + 0x30]
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.10130860
add esp, 0x1c
test eax, eax
je 0x10149f27
call fcn.100aa500
mov esi, dword [esp + 0x54]
push eax
push dword [esp + 0x24]
push esi
call fcn.100ec160
add esp, 0xc
test eax, eax
je 0x10149f25
push dword [esp + 0x10]
push ebx
push esi
push 0
push dword [esp + 0x68]
call fcn.10114570
add esp, 0x14
test eax, eax
je 0x10149f25
test edi, edi
je 0x10149f34
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x60], eax
cmp eax, 0xffffffff
je 0x10149f34
push ebp
mov dword [esp + 0x6c], 1
call fcn.100d1950
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
jle 0x10149ed8
call fcn.100ae110
mov esi, eax
test esi, esi
je 0x10149ed8
mov ebx, 1
nop dword [eax]
mov eax, dword [esp + 0x60]
mov byte [esp + 0x70], al
mov eax, ebx
push 0
shr eax, 8
push ebp
push esi
mov byte [esp + 0x7d], al
mov byte [esp + 0x7e], bl
call fcn.100ada20
add esp, 0xc
test eax, eax
je 0x10149ecf
push dword [esp + 0x2c]
push edi
push esi
call fcn.100ada60
add esp, 0xc
test eax, eax
je 0x10149ecf
push 4
push str.ggenffc_validate_LN
push esi
call fcn.100ada60
add esp, 0xc
test eax, eax
je 0x10149ecf
push 3
lea eax, [esp + 0x74]
push eax
push esi
call fcn.100ada60
add esp, 0xc
test eax, eax
je 0x10149ecf
push 0
lea eax, [esp + 0x74]
push eax
push esi
call fcn.100ad8f0
add esp, 0xc
test eax, eax
je 0x10149ecf
push dword [esp + 0x4c]
lea eax, [esp + 0x74]
push dword [esp + 0x4c]
push eax
call fcn.100a9810
add esp, 0xc
test eax, eax
je 0x10149ecf
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x28]
push dword [esp + 0x64]
push dword [esp + 0x5c]
push dword [esp + 0x54]
call fcn.10123ad0
add esp, 0x18
test eax, eax
je 0x10149ecf
call fcn.100aa500
push eax
push dword [esp + 0x44]
call fcn.100a9ad0
add esp, 8
test eax, eax
jg 0x10149ef1
inc ebx
cmp ebx, 0xffff
jle 0x10149df0
push esi
call fcn.100ae080
add esp, 4
mov eax, dword [esp + 0x18]
mov esi, ebp
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov dword [eax], 0x400
jmp 0x1014a097
push esi
call fcn.100ae080
add esp, 4
cmp dword [esp + 0xc0], 0
jne 0x10149f6f
mov eax, dword [esp + 0x1c]
push dword [eax + 8]
push dword [esp + 0x44]
call fcn.100a9ad0
add esp, 8
test eax, eax
je 0x10149f6f
mov eax, dword [esp + 0x18]
mov dword [eax], 0x8000
mov esi, ebp
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jmp 0x1014a097
cmp dword [esp + 0xc0], 0
je 0x10149f73
lea eax, [esp + 0x64]
mov esi, ebp
push eax
push dword [esp + 0x58]
push dword [esp + 0x60]
push dword [esp + 0x2c]
push dword [esp + 0x5c]
push dword [esp + 0x54]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.10148f10
add esp, 0x20
test eax, eax
je 0x10149f27
jmp 0x10149f73
mov ebx, dword [esp + 0x24]
push 1
push 3
push dword [esp + 0x30]
mov esi, ebp
call fcn.10162d00
add esp, 0xc
test eax, eax
je 0x10149f27
cmp dword [esp + 0xc0], 0
je 0x1014a037
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
cmp dword [esp + 0x20], eax
je 0x10149fb7
push eax
call fcn.100a9df0
push dword [esp + 0x24]
call fcn.100a9d10
add esp, 8
mov dword [esi], eax
mov eax, dword [esi + 4]
cmp ebx, eax
je 0x10149fd0
push eax
call fcn.100a9df0
push ebx
call fcn.100a9d10
add esp, 8
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
mov ebx, dword [esp + 0x40]
cmp ebx, eax
je 0x10149fed
push eax
call fcn.100a9df0
push ebx
call fcn.100a9d10
add esp, 8
mov dword [esi + 8], eax
cmp dword [esi], 0
je 0x10149f25
cmp dword [esi + 4], 0
je 0x10149f25
cmp dword [esi + 8], 0
je 0x10149f25
push dword [esp + 0x5c]
mov ebx, dword [esp + 0x20]
mov esi, ebp
push dword [esp + 0x30]
push edi
push ebx
call fcn.100eec10
mov edi, dword [esp + 0x20]
add esp, 0x10
test eax, eax
je 0x10149f2b
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x24], eax
jmp 0x1014a03b
mov edi, dword [esp + 0x10]
test byte [esp + 0x38], 2
je 0x1014a056
cmp dword [esp + 0x68], 0
jne 0x1014a056
mov esi, ebp
mov ebx, 2
mov ebp, dword [esp + 0x14]
jmp 0x1014a099
mov esi, ebp
mov ebx, 1
mov ebp, dword [esp + 0x14]
jmp 0x1014a099
call fcn.100c3120
push 0x1027c6bc
push 0x57
push str.crypto_ffc_ffc_params_generate.c
call fcn.100c3220
push 0
push 0x72
push 0xa
call fcn.100c32d0
add esp, 0x18
mov eax, dword [esp + 0x18]
mov esi, ebp
mov dword [eax], 0x80
xor edi, edi
xor ebp, ebp
xor ebx, ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
cmp ecx, dword [eax + 0x10]
je 0x1014a0b9
push 0x31a
push str.crypto_ffc_ffc_params_generate.c
push ecx
call fcn.100a5c60
add esp, 0xc
push 0x31b
push str.crypto_ffc_ffc_params_generate.c
push dword [esp + 0x58]
call fcn.100a5c60
add esp, 0xc
test edi, edi
je 0x1014a0dc
push edi
call fcn.100ebc70
add esp, 4
push edi
call fcn.100ebce0
push ebp
call fcn.100c6f30
push dword [esp + 0x74]
call fcn.100ae080
push esi
call fcn.100ae2e0
mov ecx, dword [esp + 0xc0]
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005a1f2
add esp, 0xa4
ret
mov dword [ebx], 0x20
xor edi, edi
jmp 0x1014a097