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

Disassembly:
mov eax, 0xec
call fcn.101ebae0
mov eax, dword [0x102ab2c0]
xor eax, esp
mov dword [esp + 0xe8], eax
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x108]
mov eax, dword [esp + 0x10c]
push ebx
mov ebx, dword [esp + 0xf4]
push ebp
push esi
mov esi, dword [esp + 0x110]
xor ebp, ebp
push edi
xor edi, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x70], ebp
cmp dword [esp + 0x108], edi
jne 0x100c59cd
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x38], eax
jmp 0x100c59d1
mov dword [esp + 0x38], edi
mov dword [edx], edi
mov eax, dword [ecx + 0x2c]
test eax, eax
jne 0x100c5a23
test esi, esi
jne 0x100c59f4
cmp dword [esp + 0x110], 0x800
sbb esi, esi
and esi, 0xffffffa0
add esi, 0x100
cmp esi, 0xa0
jne 0x100c5a03
mov eax, str.SHA1
jmp 0x100c5a23
cmp esi, 0xe0
jne 0x100c5a12
mov eax, str.SHA_224
jmp 0x100c5a23
cmp esi, 0x100
jne 0x100c6405
mov eax, str.SHA_256
push dword [ecx + 0x30]
push eax
push ebx
call fcn.10025060
add esp, 0xc
mov dword [esp + 0x18], eax
mov edi, eax
test eax, eax
je 0x100c640b
push eax
call fcn.10017bd0
mov ebp, eax
add esp, 4
test ebp, ebp
jle 0x100c63fe
test esi, esi
jne 0x100c5a5c
lea esi, [ebp*8]
mov ecx, dword [esp + 0x110]
mov eax, esi
shr eax, 3
mov dword [esp + 0x5c], eax
cmp ecx, esi
jbe 0x100c63f0
mov eax, dword [esp + 0x10c]
cmp eax, 1
jne 0x100c5acb
cmp ecx, 0x400
jne 0x100c5a92
cmp esi, 0xa0
jne 0x100c5aaa
jmp 0x100c5b0f
cmp ecx, 0x800
jne 0x100c5aaa
cmp esi, 0xe0
je 0x100c5b0f
cmp esi, 0x100
je 0x100c5b0f
call fcn.10027460
push 0x1022b3cc
push 0x4d
push str.crypto_ffc_ffc_params_generate.c
call fcn.10027560
push 0
push 0x7f
push 5
jmp 0x100c63e8
test eax, eax
jne 0x100c63f0
cmp ecx, 0xc00
jb 0x100c5ae5
cmp esi, 0x100
jb 0x100c5aed
jmp 0x100c5b0f
cmp ecx, 0x800
jb 0x100c5af7
cmp esi, 0xe0
jb 0x100c5b03
jmp 0x100c5b0f
cmp ecx, 0x400
jb 0x100c63cc
cmp esi, 0xa0
jb 0x100c63cc
call fcn.10024fd0
mov edi, dword [esp + 0x18]
mov dword [esp + 0x70], eax
test eax, eax
je 0x100c63fe
push ebx
call fcn.100a46e0
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x100c5bd4
push ebx
call fcn.100a4780
push ebx
call fcn.100a4590
push ebx
mov dword [esp + 0x48], eax
call fcn.100a4590
push ebx
mov dword [esp + 0x74], eax
call fcn.100a4590
push ebx
mov dword [esp + 0x64], eax
call fcn.100a4590
push dword [esp + 0x24]
mov ebx, eax
call fcn.100a4590
add esp, 0x18
mov dword [esp + 0x40], eax
mov edx, edi
test eax, eax
je 0x100c5bd0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x14]
test eax, eax
cmove eax, ebp
xor edi, edi
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x10]
test eax, eax
cmovne edi, eax
cmp dword [esp + 0x108], 0
mov dword [esp + 0x24], edi
je 0x100c5c7f
mov edi, dword [esp + 0x20]
xor ecx, ecx
cmp dword [edi + 4], ecx
sete cl
xor eax, eax
cmp dword [edi], eax
sete al
cmp eax, ecx
je 0x100c5c54
mov eax, dword [esp + 0x1c]
mov dword [eax], 0x800
mov edi, edx
mov ebx, dword [esp + 0x10]
xor ebp, ebp
xor esi, esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x10]
je 0x100c5bf8
push 0x31a
push str.crypto_ffc_ffc_params_generate.c
push ecx
call fcn.1002a880
add esp, 0xc
push 0x31b
push str.crypto_ffc_ffc_params_generate.c
push dword [esp + 0x4c]
call fcn.1002a880
add esp, 0xc
test ebx, ebx
je 0x100c5c1b
push ebx
call fcn.100a4490
add esp, 4
push ebx
call fcn.100a4500
push ebp
call fcn.10099ab0
push dword [esp + 0x78]
call fcn.10024f40
push edi
call fcn.10025090
mov ecx, dword [esp + 0x108]
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101ebfaa
add esp, 0xec
ret
mov eax, dword [esp + 0x38]
mov ecx, edi
and eax, 1
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
test edx, edx
je 0x100c5cbd
test eax, eax
jne 0x100c5cbd
mov eax, dword [ecx + 4]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x30], eax
jmp 0x100c6044
mov eax, dword [esp + 0x38]
and eax, 1
je 0x100c5ca1
test edi, edi
je 0x100c5c92
cmp dword [ecx + 0x18], 0
jge 0x100c5ca1
mov eax, dword [esp + 0x1c]
mov dword [eax], 0x200
jmp 0x100c5bce
test byte [esp + 0x38], 2
je 0x100c5c5d
cmp dword [ecx + 8], 0
jne 0x100c5c5d
mov eax, dword [esp + 0x1c]
mov dword [eax], 0x400
jmp 0x100c5bce
mov edi, dword [esp + 0x10]
push edi
call fcn.100a4590
push edi
mov dword [esp + 0x30], eax
call fcn.100a4590
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x30], eax
mov edi, ecx
test eax, eax
je 0x100c5bd0
mov edx, dword [esp + 0x34]
lea eax, [edx*8]
cmp eax, esi
jae 0x100c5d04
mov eax, dword [esp + 0x1c]
mov dword [eax], 0x40000
jmp 0x100c5bd0
push 0x283
push str.crypto_ffc_ffc_params_generate.c
push edx
call fcn.1002a7f0
mov esi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x44], eax
mov edi, esi
test eax, eax
je 0x100c5bd0
cmp dword [esp + 0x24], 0
jne 0x100c5d6f
cmp dword [esp + 0x108], 0
jne 0x100c5d49
mov eax, dword [esp + 0x1c]
mov dword [eax], 0x200
jmp 0x100c5bd0
push 0x28e
push str.crypto_ffc_ffc_params_generate.c
push dword [esp + 0x3c]
call fcn.1002a7f0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x24], ecx
mov edi, esi
test ecx, ecx
je 0x100c5bd0
cmp dword [esp + 0x108], 0
mov edx, dword [esp + 0x110]
lea ecx, [edx*4 - 1]
mov dword [esp + 0x4c], ecx
jne 0x100c5dab
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x18]
cmp eax, ecx
jle 0x100c5da7
mov eax, dword [esp + 0x1c]
mov edi, esi
mov dword [eax], 0x1000
jmp 0x100c5bd0
mov dword [esp + 0x4c], eax
lea esi, [edx - 1]
xor edx, edx
lea ecx, [ebp*8]
mov eax, esi
div ecx
mov ebp, dword [esp + 0x18]
mov edi, ebp
push esi
mov dword [esp + 0x5c], eax
call fcn.1003a120
push eax
push ebx
call fcn.1003acb0
add esp, 0xc
test eax, eax
je 0x100c5bd0
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x10]
mov ebx, dword [esp + 0x48]
push ebp
mov dword [esp + 0x64], eax
call fcn.10017bd0
push dword [esp + 0x14]
mov edi, eax
call fcn.100a4860
push ebx
push 0
push dword [esp + 0x3c]
mov dword [esp + 0x88], eax
call fcn.1011bcb0
add esp, 0x14
test eax, eax
je 0x100c5fe0
nop
inc ebx
mov dword [esp + 0x48], ebx
cmp esi, dword [esp + 0x60]
je 0x100c5e49
push 0
push dword [esp + 0x38]
push esi
push dword [esp + 0x80]
call fcn.10081af0
add esp, 0x10
test eax, eax
jle 0x100c5fe0
push 0
push ebp
push 0
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x44]
push esi
call fcn.10024250
add esp, 0x18
test eax, eax
je 0x100c5fe0
mov ecx, dword [esp + 0x5c]
lea esi, [esp + 0xb8]
cmp edi, ecx
jle 0x100c5e82
mov eax, edi
sub eax, ecx
add esi, eax
jmp 0x100c5ea1
jge 0x100c5ea1
mov eax, ecx
sub eax, edi
push eax
lea eax, [esp + 0xbc]
add eax, edi
push 0
push eax
call fcn.101eec70
mov ecx, dword [esp + 0x68]
add esp, 0xc
push dword [esp + 0x30]
or byte [esi], 0x80
or byte [esi + ecx - 1], 1
push ecx
push esi
call fcn.100396e0
add esp, 0xc
test eax, eax
je 0x100c5fe0
push dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
push dword [esp + 0x14]
push esi
call fcn.1011bd00
add esp, 0xc
test eax, eax
jg 0x100c5f0b
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x60]
je 0x100c5fc8
test eax, eax
jne 0x100c5fe0
push ebx
push eax
push dword [esp + 0x34]
call fcn.1011bcb0
add esp, 0xc
test eax, eax
jne 0x100c5e20
mov edi, ebp
jmp 0x100c5bd0
cmp dword [esp + 0x108], 0
mov edi, dword [esp + 0x20]
jne 0x100c5f2d
push dword [edi + 4]
push esi
call fcn.10039880
add esp, 8
test eax, eax
jne 0x100c5fd6
mov ebx, dword [esp + 0x2c]
push 0
push 2
push ebx
call fcn.1011bcb0
add esp, 0xc
test eax, eax
je 0x100c5fe0
push 0
push 3
push ebx
call fcn.1011bcb0
add esp, 0xc
test eax, eax
je 0x100c5fe0
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
push ebx
push esi
push dword [esp + 0x4c]
call fcn.101eccd0
push dword [esp + 0x28]
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x40]
push dword [esp + 0x128]
push dword [esp + 0x44]
push dword [esp + 0x50]
push ebx
push dword [esp + 0x6c]
mov ebx, dword [esp + 0x3c]
push dword [esp + 0x84]
push dword [esp + 0x7c]
push ebp
push ebx
call fcn.100c4c80
add esp, 0x3c
test eax, eax
jg 0x100c5fe7
js 0x100c5fc1
cmp esi, dword [edi + 0x10]
jne 0x100c5de5
mov eax, dword [esp + 0x1c]
mov dword [eax], 1
mov edi, ebp
jmp 0x100c5bd4
mov eax, dword [esp + 0x1c]
mov edi, ebp
or dword [eax], 0x10
jmp 0x100c5bd0
mov eax, dword [esp + 0x1c]
mov dword [eax], 0x4000
mov edi, ebp
jmp 0x100c5bd0
push 1
push 2
push dword [esp + 0x34]
mov edi, ebp
call fcn.1011bcb0
add esp, 0xc
test eax, eax
je 0x100c5bd4
cmp dword [esp + 0x108], 0
jne 0x100c6036
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x54], eax
jne 0x100c602f
mov ebx, dword [esp + 0x20]
push dword [ebx]
push dword [esp + 0x2c]
call fcn.10039880
add esp, 8
test eax, eax
je 0x100c6036
mov ebx, dword [esp + 0x10]
mov edi, ebp
jmp 0x100c5bd4
mov eax, dword [esp + 0x38]
and al, 3
cmp al, 1
je 0x100c6387
call fcn.10099b00
mov ebx, dword [esp + 0x10]
mov edi, ebp
mov dword [esp + 0x14], eax
test eax, eax
je 0x100c6264
push ebx
push dword [esp + 0x2c]
push eax
call fcn.10099b60
add esp, 0xc
test eax, eax
je 0x100c6264
test byte [esp + 0x38], 2
mov ebx, dword [esp + 0x20]
je 0x100c60a7
push dword [esp + 0x1c]
push dword [esp + 0x44]
push dword [ebx + 8]
push dword [esp + 0x3c]
push dword [esp + 0x38]
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.1010fa80
add esp, 0x1c
test eax, eax
je 0x100c627b
call fcn.1003a120
mov edi, dword [esp + 0x64]
push eax
push dword [esp + 0x2c]
push edi
call fcn.100a4900
add esp, 0xc
test eax, eax
je 0x100c63a9
push dword [esp + 0x10]
push dword [esp + 0x34]
push edi
push 0
push dword [esp + 0x60]
call fcn.100a4b20
add esp, 0x14
test eax, eax
je 0x100c63a9
test esi, esi
je 0x100c6288
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x58], eax
cmp eax, 0xffffffff
je 0x100c6288
push dword [esp + 0x18]
mov dword [esp + 0x70], 1
xor ebp, ebp
call fcn.10017bd0
mov edi, eax
add esp, 4
test edi, edi
jle 0x100c626d
call fcn.10024fd0
mov esi, eax
test esi, esi
je 0x100c626d
mov ebx, 1
mov eax, dword [esp + 0x58]
mov byte [esp + 0x78], al
mov eax, ebx
push 0
push dword [esp + 0x1c]
sar eax, 8
push esi
mov byte [esp + 0x85], al
mov byte [esp + 0x86], bl
call fcn.100247b0
add esp, 0xc
test eax, eax
je 0x100c6220
push dword [esp + 0x34]
push dword [esp + 0x28]
push esi
call fcn.100247f0
add esp, 0xc
test eax, eax
je 0x100c6220
push 4
push str.ggenffc_validate_LN
push esi
call fcn.100247f0
add esp, 0xc
test eax, eax
je 0x100c6220
push 3
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.100247f0
add esp, 0xc
test eax, eax
je 0x100c6220
push 0
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.100245c0
add esp, 0xc
test eax, eax
je 0x100c6220
push dword [esp + 0x40]
lea eax, [esp + 0x7c]
push edi
push eax
call fcn.100396e0
add esp, 0xc
test eax, eax
je 0x100c6220
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x30]
push dword [esp + 0x5c]
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.100a50e0
add esp, 0x18
test eax, eax
je 0x100c6220
call fcn.1003a120
push eax
push dword [esp + 0x40]
call fcn.10039880
add esp, 8
test eax, eax
jg 0x100c621b
inc ebx
cmp ebx, 0xffff
jle 0x100c6131
jmp 0x100c6220
mov ebp, 1
push esi
call fcn.10024f40
add esp, 4
test ebp, ebp
je 0x100c626d
cmp dword [esp + 0x108], 0
jne 0x100c62c4
mov eax, dword [esp + 0x20]
push dword [eax + 8]
push dword [esp + 0x40]
call fcn.10039880
mov ebx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x100c62c8
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [eax], 0x8000
mov ebp, dword [esp + 0x14]
jmp 0x100c5bd6
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [eax], 0x400
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jmp 0x100c5bd6
cmp dword [esp + 0x108], 0
mov ebx, dword [esp + 0x10]
je 0x100c62d0
lea eax, [esp + 0x68]
mov edi, ebp
push eax
push dword [esp + 0x68]
push dword [esp + 0x58]
push dword [esp + 0x34]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x2c]
push ebx
call fcn.100c51e0
add esp, 0x20
test eax, eax
je 0x100c6264
jmp 0x100c62d0
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
push 1
push 3
push dword [esp + 0x34]
mov edi, ebp
call fcn.1011bcb0
add esp, 0xc
test eax, eax
je 0x100c6264
cmp dword [esp + 0x108], 0
je 0x100c6387
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov eax, dword [edi]
cmp ebx, eax
je 0x100c6317
push eax
call fcn.10039b60
push ebx
call fcn.10039ab0
add esp, 8
mov dword [edi], eax
mov eax, dword [edi + 4]
mov ebx, dword [esp + 0x30]
cmp ebx, eax
je 0x100c6334
push eax
call fcn.10039b60
push ebx
call fcn.10039ab0
add esp, 8
mov dword [edi + 4], eax
mov eax, dword [edi + 8]
mov ebx, dword [esp + 0x3c]
cmp ebx, eax
je 0x100c6351
push eax
call fcn.10039b60
push ebx
call fcn.10039ab0
add esp, 8
mov dword [edi + 8], eax
cmp dword [edi], 0
je 0x100c63a9
cmp dword [edi + 4], 0
je 0x100c63a9
test eax, eax
je 0x100c63a9
push dword [esp + 0x54]
mov ebx, dword [esp + 0x24]
mov edi, ebp
push dword [esp + 0x38]
push esi
push ebx
call fcn.100a3340
add esp, 0x10
test eax, eax
je 0x100c627b
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x24], eax
test byte [esp + 0x38], 2
je 0x100c63b8
cmp dword [esp + 0x6c], 0
jne 0x100c63b8
mov ebx, dword [esp + 0x10]
mov edi, ebp
mov ebp, dword [esp + 0x14]
mov esi, 2
jmp 0x100c5bd8
mov ebx, dword [esp + 0x10]
mov edi, ebp
mov ebp, dword [esp + 0x14]
jmp 0x100c5bd6
mov ebx, dword [esp + 0x10]
mov edi, ebp
mov ebp, dword [esp + 0x14]
mov esi, 1
jmp 0x100c5bd8
call fcn.10027460
push 0x1022b3cc
push 0x57
push str.crypto_ffc_ffc_params_generate.c
call fcn.10027560
push 0
push 0x72
push 0xa
call fcn.10027670
add esp, 0x18
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [eax], 0x20000
xor ebx, ebx
jmp 0x100c5bd4
mov dword [edx], 0x20
xor ebx, ebx
jmp 0x100c5bd6