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

Disassembly:
push ebp
sub esp, 0xc8
movzx eax, word [esp + 0xd0]
lea edx, [esp + 0xc0]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], 0x567468
mov dword [esp + 0x58], 0x5c0730
mov word [esp + 0x20], ax
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 0x60], 0x473b90
mov dword [esp + 0x64], esp
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Register
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x7b]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
add edx, 8
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x28], edx
call fcn.005675a0
mov edx, dword [esp + 0x1c]
mov dword [edx + 8], eax
lea eax, [esp + 0x76]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0x40], 1
call fcn.005675a0
mov edx, dword [esp + 0x1c]
cmp word [esp + 0x20], 0
mov dword [edx + 0xc], eax
je 0x473a93
movzx eax, word [esp + 0x20]
add edx, 0xc
mov dword [esp + 0x2c], edx
mov dword [esp], eax
mov dword [esp + 0x24], eax
call fcn.004595f0
test eax, eax
mov dword [esp + 0x20], eax
je 0x473ad8
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
and eax, 0xff000000
mov dword [edx + 4], eax
mov eax, dword [esp + 0x20]
and eax, 0xff0000
mov dword [edx], eax
movzx eax, byte [esp + 0x20]
cmp eax, 1
je 0x473bd0
cmp eax, 2
je 0x473c44
cmp eax, 3
je 0x473cb0
cmp eax, 4
je 0x473cf1
cmp eax, 5
jne 0x473d30
lea eax, [esp + 0x98]
mov dword [esp], str.SEED
mov dword [esp + 0x24], eax
lea eax, [esp + 0x77]
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp + 0x40], 5
call fcn.005674b8
sub esp, 8
mov dword [esp + 0x9c], 0x10
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], 6
mov ecx, dword [esp + 0x28]
mov dword [esp], edx
call fcn.00567588
sub esp, 4
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x1c]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x20]
and eax, 0xff00
cmp eax, 0x100
je 0x473ba3
cmp eax, 0x200
je 0x473c14
cmp eax, 0x300
je 0x473c80
cmp eax, 0x400
jne 0x473dfa
lea eax, [esp + 0x84]
mov dword [esp], str.SHA_384
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x78]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp + 0x40], 6
call fcn.005674b8
sub esp, 8
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], 7
mov ecx, dword [esp + 0x2c]
mov dword [esp], edx
call fcn.00567588
sub esp, 4
mov eax, 0xffffffff
mov ecx, dword [esp + 0x84]
lock xadd dword [ecx - 4], eax
test eax, eax
jle 0x473ac4
mov ecx, dword [esp + 0x98]
mov eax, 0xffffffff
lock xadd dword [ecx - 4], eax
test eax, eax
jle 0x473ab0
lea edx, [esp + 0x3c]
mov dword [esp], edx
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Unregister
add esp, 0xc8
pop ebp
ret 4
lea edx, [esp + 0x7b]
sub ecx, 0xc
mov dword [esp], edx
call fcn.00567500
sub esp, 4
jmp 0x473a93
lea eax, [esp + 0x7b]
sub ecx, 0xc
mov dword [esp], eax
call fcn.00567500
sub esp, 4
jmp 0x473a7e
mov dword [esp], 8
call sub.libstdc_6.dll___cxa_allocate_exception
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x80]
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x40], 2
call fcn.0046a0e0
lea edx, [esp + 0x80]
mov dword [esp + 4], str.Unknown_ciphersuite:
lea eax, [esp + 0x7c]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 0x40], 3
call fcn.005bde60
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x7c]
mov dword [esp + 0x40], 4
mov dword [esp], edx
call fcn.00567538
push eax
lea ecx, [esp + 0x7c]
call fcn.00567508
lea ecx, [esp + 0x80]
call fcn.00567508
mov eax, dword [esp + 0x30]
mov dword [esp + 8], fcn.00567528
mov dword [esp + 4], 0x62e404
mov dword [esp + 0x40], 5
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_throw
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
jmp dword [eax*4 + 0x5c93b0]
lea eax, [esp + 0x84]
mov dword [esp], 0x5c74ae
lea edx, [esp + 0x7b]
mov ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 4], edx
call fcn.005674b8
jmp 0x473a4b
lea eax, [esp + 0x98]
mov dword [esp + 0xb8], str.ARC4
mov dword [esp + 0x24], eax
lea eax, [esp + 0xb8]
mov ecx, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 0xbc], 0x10
mov dword [esp + 0x40], 5
call fcn.005aaf90
sub esp, 4
jmp 0x4739c2
lea eax, [esp + 0x84]
mov dword [esp], str.SHA_1
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x7a]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp + 0x40], 6
call fcn.005674b8
jmp 0x473a4b
lea edx, [esp + 0x98]
mov dword [esp + 0xb0], str.3DES
lea eax, [esp + 0xb0]
mov ecx, edx
mov dword [esp + 0x24], edx
mov dword [esp], eax
mov dword [esp + 0xb4], 0x18
mov dword [esp + 0x40], 5
call fcn.005aaf90
jmp 0x473c0c
lea edx, [esp + 0x84]
mov dword [esp], str.SHA_256
lea eax, [esp + 0x79]
mov ecx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 4], eax
mov dword [esp + 0x40], 6
call fcn.005674b8
jmp 0x473a4b
lea eax, [esp + 0x98]
mov dword [esp + 0xa8], str.AES_128
mov dword [esp + 0x24], eax
lea eax, [esp + 0xa8]
mov ecx, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 0xac], 0x10
mov dword [esp + 0x40], 5
call fcn.005aaf90
jmp 0x473c0c
lea edx, [esp + 0x98]
mov dword [esp + 0xa0], str.AES_256
lea eax, [esp + 0xa0]
mov ecx, edx
mov dword [esp + 0x24], edx
mov dword [esp], eax
mov dword [esp + 0xa4], 0x20
mov dword [esp + 0x40], 5
call fcn.005aaf90
jmp 0x473c0c
mov dword [esp], 0xc
call sub.libstdc_6.dll___cxa_allocate_exception
lea edx, [esp + 0x88]
mov dword [esp + 0xc], 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 0
mov dword [esp], edx
mov dword [esp + 0x40], 8
mov dword [esp + 4], eax
call fcn.0046a0e0
lea eax, [esp + 0x88]
mov dword [esp + 4], str.CipherSuite:_Unknown_cipher_type
lea edx, [esp + 0x8c]
mov dword [esp + 8], eax
mov dword [esp], edx
mov dword [esp + 0x40], 9
call fcn.005bde60
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x8c]
mov dword [esp], 0x50
mov dword [esp + 4], eax
mov dword [esp + 0x40], 0xa
call fcn.00579a50
push eax
push eax
lea ecx, [esp + 0x8c]
call fcn.00567508
lea ecx, [esp + 0x88]
call fcn.00567508
mov eax, dword [esp + 0x34]
mov dword [esp + 8], 0x579aa0
mov dword [esp + 4], 0x62d660
mov dword [esp + 0x40], 5
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_throw
mov dword [esp], 0xc
call sub.libstdc_6.dll___cxa_allocate_exception
lea edx, [esp + 0x90]
mov dword [esp + 0xc], 0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 0
mov dword [esp], edx
mov dword [esp + 0x40], 0xb
mov dword [esp + 4], eax
call fcn.0046a0e0
lea eax, [esp + 0x90]
mov dword [esp + 4], str.CipherSuite:_Unknown_MAC_type
lea edx, [esp + 0x94]
mov dword [esp + 8], eax
mov dword [esp], edx
mov dword [esp + 0x40], 0xc
call fcn.005bde60
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x94]
mov dword [esp], 0x50
mov dword [esp + 4], eax
mov dword [esp + 0x40], 0xd
call fcn.00579a50
push eax
push eax
lea ecx, [esp + 0x94]
call fcn.00567508
lea ecx, [esp + 0x90]
call fcn.00567508
mov eax, dword [esp + 0x38]
mov dword [esp + 8], 0x579aa0
mov dword [esp + 4], 0x62d660
mov dword [esp + 0x40], 6
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_throw
lea ecx, [esp + 0x7c]
call fcn.00567508
lea ecx, [esp + 0x80]
call fcn.00567508
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_free_exception
mov ecx, dword [esp + 0x2c]
call fcn.00567508
mov ecx, dword [esp + 0x28]
call fcn.00567508
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], eax
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Resume
lea ecx, [esp + 0x84]
call fcn.00567508
lea ecx, [esp + 0x98]
call fcn.005aafd0
jmp 0x473ee5