Function at 0x1017c420
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x10
call fcn.101b79b0
push ebp
push esi
mov esi, dword [esp + 0x38]
xor ebp, ebp
push edi
push esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
call fcn.100e41e0
mov edi, dword [esp + 0x3c]
add esp, 4
cmp edi, eax
je 0x1017c474
push 0x84
push str.crypto_rsa_rsa_sign.c
push 0x77
push 0x91
push 4
call fcn.100dc5a0
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret
push ebx
push 0x89
push str.crypto_rsa_rsa_sign.c
push edi
call fcn.100de150
mov ebx, eax
add esp, 0xc
cmp ebx, ebp
mov dword [esp + 0x10], ebx
jne 0x1017c4b2
push 0x8b
push str.crypto_rsa_rsa_sign.c
push 0x41
push 0x91
push 4
call fcn.100dc5a0
add esp, 0x14
jmp 0x1017c871
mov eax, dword [esp + 0x38]
push 1
push esi
push ebx
push eax
push edi
call fcn.100e4230
mov esi, eax
add esp, 0x14
cmp esi, ebp
jle 0x1017c871
mov edi, dword [esp + 0x24]
cmp edi, 0x72
jne 0x1017c5e0
mov eax, 0x24
cmp esi, eax
je 0x1017c504
push 0x9b
push str.crypto_rsa_rsa_sign.c
push 0x68
push 0x91
push 4
call fcn.100dc5a0
add esp, 0x14
jmp 0x1017c871
mov edi, dword [esp + 0x30]
cmp edi, ebp
je 0x1017c528
mov ecx, 9
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
mov dword [esp + 0x1c], 1
jmp 0x1017c871
cmp dword [esp + 0x2c], eax
je 0x1017c551
push 0xa4
push str.crypto_rsa_rsa_sign.c
push 0x83
push 0x91
push 4
call fcn.100dc5a0
add esp, 0x14
jmp 0x1017c871
mov ecx, dword [esp + 0x28]
mov edx, ebx
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x1017c56f
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x1017c557
cmp eax, ebp
je 0x1017c5cc
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1017c5be
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebp
je 0x1017c5cc
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1017c5be
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebp
je 0x1017c5cc
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1017c5be
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebp
je 0x1017c5cc
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x1017c5cc
cmp esi, ebp
mov eax, 1
jg 0x1017c5ce
or eax, 0xffffffff
jmp 0x1017c5ce
xor eax, eax
cmp eax, ebp
je 0x1017c848
push 0xa9
jmp 0x1017c4e9
cmp edi, 0x5f
jne 0x1017c6f9
cmp esi, 0x12
jne 0x1017c6f9
cmp byte [ebx], 4
jne 0x1017c6f9
mov eax, 0x10
cmp byte [ebx + 1], al
jne 0x1017c6f9
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
je 0x1017c63b
mov edx, dword [ebx + 2]
mov dword [ecx], edx
mov edx, dword [ebx + 6]
mov dword [ecx + 4], edx
mov edx, dword [ebx + 0xa]
mov dword [ecx + 8], edx
mov edx, dword [ebx + 0xe]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
mov dword [esp + 0x1c], 1
jmp 0x1017c871
cmp dword [esp + 0x2c], eax
je 0x1017c664
push 0xb8
push str.crypto_rsa_rsa_sign.c
push 0x83
push 0x91
push 4
call fcn.100dc5a0
add esp, 0x14
jmp 0x1017c871
mov edx, dword [esp + 0x28]
lea ecx, [ebx + 2]
jmp 0x1017c670
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x1017c688
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x1017c670
cmp eax, ebp
je 0x1017c6e5
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1017c6d7
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebp
je 0x1017c6e5
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1017c6d7
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebp
je 0x1017c6e5
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1017c6d7
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebp
je 0x1017c6e5
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x1017c6e5
cmp esi, ebp
mov eax, 1
jg 0x1017c6e7
or eax, 0xffffffff
jmp 0x1017c6e7
xor eax, eax
cmp eax, ebp
je 0x1017c848
push 0xbd
jmp 0x1017c4e9
cmp dword [esp + 0x30], ebp
je 0x1017c76e
push edi
call fcn.100e8620
push eax
call fcn.100e8070
add esp, 8
cmp eax, ebp
jne 0x1017c732
push 0xca
push str.crypto_rsa_rsa_sign.c
push 0x75
push 0x91
push 4
call fcn.100dc5a0
add esp, 0x14
jmp 0x1017c871
push eax
call fcn.100e91a0
mov ebp, eax
add esp, 4
cmp ebp, esi
jbe 0x1017c764
push 0xd0
push str.crypto_rsa_rsa_sign.c
push 0x8f
push 0x91
push 4
call fcn.100dc5a0
add esp, 0x14
jmp 0x1017c871
mov ebx, esi
sub ebx, ebp
add ebx, dword [esp + 0x10]
jmp 0x1017c776
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
push ebp
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.1017c230
add esp, 0x10
test eax, eax
je 0x1017c86d
mov eax, dword [esp + 0x14]
cmp eax, esi
jne 0x1017c852
cmp eax, 4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
jb 0x1017c7c4
lea ecx, [ecx]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x1017c7c8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x1017c7b0
test eax, eax
je 0x1017c825
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1017c817
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1017c825
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1017c817
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1017c825
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1017c817
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1017c825
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x1017c825
test esi, esi
mov eax, 1
jg 0x1017c827
or eax, 0xffffffff
jmp 0x1017c827
xor eax, eax
test eax, eax
jne 0x1017c852
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1017c844
push ebp
push ebx
push eax
call fcn.101b4f90
mov eax, dword [esp + 0x40]
add esp, 0xc
mov dword [eax], ebp
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], 1
jmp 0x1017c871
push 0xdc
push str.crypto_rsa_rsa_sign.c
push 0x68
push 0x91
push 4
call fcn.100dc5a0
add esp, 0x14
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 0xea
push str.crypto_rsa_rsa_sign.c
push ecx
push edx
call fcn.100de220
mov eax, dword [esp + 0x4c]
push 0xeb
push str.crypto_rsa_rsa_sign.c
push eax
push ebx
call fcn.100de220
mov eax, dword [esp + 0x3c]
add esp, 0x20
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x10
ret