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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10415990]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x4c]
push esi
mov esi, dword [ecx]
push edi
mov edi, dword [ebx + 0xc0]
push 0x10424928
push 0xa7f
push 0x10424948
xor eax, eax
add edi, 4
push 2
push ebx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x11c], eax
call fcn.100a2610
mov eax, dword [esi + 0x10]
add esp, 0x14
cmp eax, 1
je 0x100c32f6
cmp eax, 5
je 0x100c32f6
cmp eax, 7
je 0x100c32f6
cmp eax, 9
je 0x100c32dc
cmp eax, 0xa
je 0x100c32dc
cmp eax, 6
je 0x100c2b1b
cmp eax, 8
jne 0x100c2b33
mov word [edi], 0
add edi, 2
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x108], 2
mov eax, dword [esi + 0x10]
cmp eax, 2
je 0x100c2b44
cmp eax, 6
jne 0x100c2ca4
mov eax, dword [ebx]
cmp dword [eax + 0x84], 0
je 0x100c32ac
cmp dword [eax + 0x90], 0
je 0x100c32ac
add eax, 0x7c
push eax
mov eax, dword [ebx + 0x3c]
add eax, 0xc
call fcn.100bcc20
mov esi, eax
add esp, 4
test esi, esi
jne 0x100c327d
mov edx, dword [ebx]
mov eax, dword [ebx + 0x3c]
add edx, 0x88
push edx
add eax, 0x18
call fcn.100bcc20
mov esi, eax
add esp, 4
test esi, esi
jne 0x100c327d
mov esi, dword [ebx + 0x3c]
lea eax, [esi + 0xc]
call fcn.100bd1c0
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
push edx
push ecx
lea edx, [ebp - 0x10c]
push edx
add eax, 7
shr eax, 3
push edi
push eax
add esi, 8
push esi
call fcn.100b5440
mov esi, eax
add esp, 0x18
test esi, esi
je 0x100c2c02
push 0xadc
push 1
push ebx
mov edx, esi
mov ecx, str.iFly_mbedtls_dhm_make_params
mov edi, 0x10424b70
call fcn.100a26b0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10c]
add dword [ebp - 0x108], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], edi
add edi, eax
mov eax, dword [ebx + 0x3c]
add eax, 0x24
push eax
push 0xae6
push ebx
mov edx, 0x10424a0c
mov ecx, 0x10424bc0
mov dword [ebp - 0x110], edi
call fcn.100a29f0
mov ecx, dword [ebx + 0x3c]
add esp, 0xc
add ecx, 0xc
push ecx
push 0xae7
push ebx
mov edx, 0x10424c10
mov ecx, 0x10424c18
call fcn.100a29f0
mov edx, dword [ebx + 0x3c]
add esp, 0xc
add edx, 0x18
push edx
push 0xae8
push ebx
mov edx, 0x10424c68
mov ecx, 0x10424c70
call fcn.100a29f0
mov eax, dword [ebx + 0x3c]
add esp, 0xc
add eax, 0x30
push eax
push 0xae9
push ebx
mov edx, 0x10424cc0
mov ecx, 0x10424cc8
call fcn.100a29f0
mov esi, dword [ebp - 0x114]
add esp, 0xc
mov eax, dword [esi + 0x10]
cmp eax, 3
je 0x100c2cba
cmp eax, 4
je 0x100c2cba
cmp eax, 8
jne 0x100c2e1d
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x78]
mov ecx, dword [edx]
test ecx, ecx
je 0x100c324d
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax + 0x1b8]
mov esi, edi
mov eax, dword [esi]
test eax, eax
je 0x100c2cee
lea ebx, [ebx]
cmp dword [eax], ecx
je 0x100c2cf8
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x100c2ce0
mov ecx, dword [edx + 4]
add edx, 4
test ecx, ecx
jne 0x100c2cd2
mov eax, dword [esi]
test eax, eax
je 0x100c324d
mov ecx, dword [eax + 8]
push ecx
push str.ECDHE_curve:__s
push 0xb0b
push 0x10424d78
push 2
push ebx
call fcn.100a2610
mov edx, dword [esi]
mov eax, dword [ebx + 0x3c]
mov edi, dword [edx]
add esp, 0x18
add eax, 0x84
call fcn.100cc430
mov esi, eax
test esi, esi
je 0x100c2d66
push 0xb10
push 1
push ebx
mov edx, esi
mov ecx, str.iFly_mbedtls_ecp_group_load
mov edi, 0x10424df0
call fcn.100a26b0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
mov ecx, dword [eax + 0x18]
mov edi, dword [ebp - 0x110]
mov eax, dword [eax + 0x1c]
push ecx
push edi
lea edx, [ebp - 0x10c]
push edx
mov edx, dword [ebx + 0x3c]
mov ecx, 0x4000
sub ecx, dword [ebp - 0x108]
add edx, 0x84
push edx
call fcn.100bfe30
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100c2dcf
push 0xb18
push 1
push ebx
mov edx, esi
mov ecx, str.iFly_mbedtls_ecdh_make_params
mov edi, 0x10424e60
call fcn.100a26b0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10c]
add dword [ebp - 0x108], eax
mov dword [ebp - 0x118], edi
add edi, eax
mov dword [ebp - 0x11c], eax
mov eax, dword [ebx + 0x3c]
add eax, 0x10c
push eax
push 0xb22
mov dword [ebp - 0x110], edi
push 0x10424eb0
mov edi, 0x10424de4
mov esi, ebx
call fcn.100a2950
mov edi, dword [ebp - 0x110]
mov esi, dword [ebp - 0x114]
add esp, 0xc
mov eax, dword [esi + 0x10]
cmp eax, 2
je 0x100c2e33
cmp eax, 3
je 0x100c2e33
cmp eax, 4
jne 0x100c31d0
xor esi, esi
cmp dword [ebx + 0x14], 3
mov dword [ebp - 0x114], esi
jne 0x100c2e85
mov ecx, dword [ebx + 0x3c]
mov al, byte [ecx]
call fcn.100ab150
mov dword [ebp - 0x10c], eax
cmp eax, esi
jne 0x100c2e90
push 0x10424f00
push 0xb3c
push 0x10424f28
push 1
push ebx
call fcn.100a2610
add esp, 0x14
mov eax, 0xffff9400
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x100c2ede
mov dword [ebp - 0x10c], eax
add eax, 0xfffffffd
cmp eax, 6
ja 0x100c2e9f
call fcn.100b09e0
mov esi, eax
xor eax, eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x12c], eax
cmp esi, eax
je 0x100c3055
mov eax, dword [esi + 0x20]
call eax
mov dword [ebp - 0x124], eax
test eax, eax
jne 0x100c2fd8
mov esi, 0xffffae80
jmp 0x100c305a
push 0x58
lea edx, [ebp - 0xa4]
push esi
push edx
mov dword [ebp - 0x10c], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x5c
lea eax, [ebp - 0x104]
push esi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa4]
call fcn.100b7200
mov ecx, dword [ebx + 0x3c]
add ecx, 0x41c
push ecx
mov eax, 0x40
lea esi, [ebp - 0xa4]
call fcn.100b7c20
mov edi, dword [ebp - 0x11c]
add esp, 4
test edi, edi
je 0x100c2f4b
mov edx, dword [ebp - 0x118]
push edx
mov eax, edi
call fcn.100b7c20
add esp, 4
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.100b7cc0
add esp, 4
lea eax, [ebp - 0x104]
call fcn.100b5cc0
mov ecx, dword [ebx + 0x3c]
add ecx, 0x41c
push ecx
mov eax, 0x40
lea esi, [ebp - 0x104]
call fcn.100b6f60
add esp, 4
test edi, edi
je 0x100c2f9a
mov edx, dword [ebp - 0x118]
push edx
mov eax, edi
call fcn.100b6f60
add esp, 4
lea edi, [ebp - 0x3c]
lea ecx, [ebp - 0x104]
call fcn.100b7000
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x12c], 0x24
call fcn.100b71e0
lea ecx, [ebp - 0x104]
call fcn.100b5ca0
mov edi, dword [ebp - 0x110]
mov eax, 0x24
jmp 0x100c308f
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x128], esi
call fcn.100b0af0
mov ecx, dword [ebx + 0x3c]
add ecx, 0x41c
push ecx
mov edx, 0x40
lea eax, [ebp - 0x128]
call fcn.100b0b10
mov edx, dword [ebp - 0x118]
add esp, 4
push edx
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x128]
call fcn.100b0b10
add esp, 4
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x128]
call fcn.100b0b40
lea esi, [ebp - 0x128]
call fcn.100b0a30
mov eax, dword [ebp - 0x10c]
add eax, 0xfffffffd
cmp eax, 6
ja 0x100c3051
call fcn.100b09e0
test eax, eax
jne 0x100c3089
xor al, al
jmp 0x100c308c
mov esi, 0xffffaf00
push 0xb90
push 1
push ebx
mov edx, esi
mov ecx, 0x10424f78
mov edi, 0x10424f90
call fcn.100a26b0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
mov al, byte [eax + 8]
movzx eax, al
push eax
lea eax, [ebp - 0x4c]
push eax
push 0xba3
push 0x10425040
push 3
mov ecx, 0x10425030
mov edx, ebx
call fcn.100a2730
add esp, 0x14
mov ecx, ebx
call fcn.100b8620
test eax, eax
jne 0x100c30ea
push str.got_no_private_key
push 0xbaa
push 0x104250c0
push 1
push ebx
call fcn.100a2610
add esp, 0x14
mov eax, 0xffff8a00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x14], 3
jne 0x100c3118
mov ecx, dword [ebx + 0x3c]
mov dl, byte [ecx]
mov ecx, ebx
mov byte [edi], dl
call fcn.100b8620
mov esi, eax
call fcn.100ab0f0
mov byte [edi + 1], al
add edi, 2
add dword [ebp - 0x108], 2
mov dword [ebp - 0x110], edi
mov eax, dword [ebx]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
push ecx
mov ecx, dword [ebp - 0x12c]
push edx
lea eax, [ebp - 0x114]
push eax
add edi, 2
push edi
push ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, ebx
call fcn.100b8620
mov edi, dword [ebp - 0x10c]
mov edx, eax
call fcn.100a24f0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x100c3184
push 0xbbc
push 1
push ebx
mov edx, esi
mov ecx, 0x10425110
mov edi, 0x10425128
call fcn.100a26b0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x110]
mov edx, ecx
shr edx, 8
mov byte [eax], dl
push ecx
mov byte [eax + 1], cl
add eax, 2
push eax
push 0xbc4
push 0x10425188
push 3
mov ecx, str.my_signature
mov edx, ebx
call fcn.100a2730
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x114]
lea edx, [ecx + eax + 2]
add esp, 0x14
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebx + 0xc0]
add eax, 4
mov dword [ebx + 0xc8], eax
mov dword [ebx + 0xc4], 0x16
mov byte [ecx], 0xc
inc dword [ebx + 4]
mov eax, ebx
call fcn.100a67f0
mov esi, eax
test esi, esi
je 0x100c3231
push 0xbd4
push 1
push ebx
mov edx, esi
mov ecx, 0x104251d8
mov edi, 0x104251f8
call fcn.100a26b0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
push str.__write_server_key_exchange
push 0xbd8
push 0x10425268
push 2
push ebx
call fcn.100a2610
jmp 0x100c3310
push str.no_matching_curve_for_ECDHE
push 0xb07
push 0x10424d18
push 1
push ebx
call fcn.100a2610
add esp, 0x14
mov eax, 0xffff8c80
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
push 0xad4
push 1
push ebx
mov edx, esi
mov ecx, str.iFly_mbedtls_mpi_copy
mov edi, 0x10424b00
call fcn.100a26b0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
push str.no_DH_parameters_set
push 0xac4
push 0x10424a98
push 1
push ebx
call fcn.100a2610
add esp, 0x14
mov eax, 0xffff8f00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
push ebx
call fcn.100c2970
add esp, 4
push str.__skip_write_server_key_exchange
push 0xa95
push 0x10424a30
jmp 0x100c3305
push 0x10424844
push 0xa88
push 0x10424998
push 2
push ebx
call fcn.100a2610
inc dword [ebx + 4]
mov ecx, dword [ebp - 8]
add esp, 0x14
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1015eea7
mov esp, ebp
pop ebp
ret