Function at 0x41127f
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], esp
push 0
push 1
push 0x4672f2
push 0x4672f2
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4112f0
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41134b
mov dword [ebp - 0x20], esp
push 8
push 1
push 0x4672f2
push 0x4672f2
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x411334
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41134b
mov eax, 0x4672f2
jmp 0x411762
mov dword [ebp - 0x20], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x411380
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4113be
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4113b4
push 6
call fcn.0042ed6f
add esp, 4
mov eax, 0x4672f2
jmp 0x411762
cmp dword [ebp + 0xc], 1
je 0x4113fe
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4113e4
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042ed63
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4113f5
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x41145f
push reloc.WSOCK32.dll_connect
push 0
push 0x59a9b2
push 1
mov ebx, 0x198
call fcn.004300a0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ecx, 2
call fcn.00405659
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x411447
push ebx
call fcn.0042ed69
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41145b
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x411472
mov eax, 0x467391
push eax
push 1
mov ebx, 0x194
call fcn.0042fb00
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push 0
push dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x41149d
add eax, 8
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4114bd
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x41151d
mov dword [ebp - 0x20], esp
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4114ec
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x411513
push 6
call fcn.0042ed6f
add esp, 4
mov eax, 0x4672f2
jmp 0x411762
mov dword [ebp - 0x20], esp
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x411533
add eax, 8
push eax
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x411558
push 6
call fcn.0042ed6f
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x1bc
call fcn.0042f6c0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41158b
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], esp
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4115a5
add eax, 8
push eax
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4115ca
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41162a
mov dword [ebp - 0x20], esp
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4115f9
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x411620
push 6
call fcn.0042ed6f
add esp, 4
mov eax, 0x4672f2
jmp 0x411762
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x41163d
mov eax, 0x467391
push eax
push 1
mov ebx, 0x194
call fcn.0042fb00
add esp, 0x10
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4116f5
mov ebx, dword [ebp - 0x10]
call fcn.004014fc
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x411684
push 4
call fcn.0042ed6f
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x411697
push 1
call fcn.0042ed6f
add esp, 4
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov al, byte [ebx]
and eax, 0xff
push eax
call fcn.0041179a
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.004010d5
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4116d5
push ebx
call fcn.0042ed69
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4116e9
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
pop eax
pop ebx
pop ecx
jmp 0x411659
add esp, 0xc
mov dword [ebp - 0x20], esp
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41171a
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x411741
push 6
call fcn.0042ed6f
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41175d
push eax
mov ebx, eax
call fcn.0040106a
inc eax
push eax
call fcn.0042ed63
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x411762
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x411773
push ebx
call fcn.0042ed69
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x411783
push ebx
call fcn.0042ed69
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x411793
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc