Function at 0x457cc0
Capabilities:
Generate random numbers via winapi
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x587084]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, ecx
mov dword [esp + 0x1c], 0x67452301
push ebx
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [eax + 0x18]
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
mov dword [esp + 0x34], 0xc3d2e1f0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
push edi
test eax, eax
je 0x457d75
lea ecx, [esp + 0x88]
push ecx
push 0x14
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
lea esi, [esp + 0x88]
xor edi, edi
mov ecx, esi
lea eax, [esp + 0x9c]
cmp eax, ecx
sbb ebx, ebx
and ebx, 0xffffffec
add ebx, 0x14
nop word [eax + eax]
movzx eax, byte [esi]
lea ecx, [esp + 0x28]
push eax
call fcn.00457840
inc edi
lea esi, [esi + 1]
cmp edi, ebx
jne 0x457d60
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
xor edi, edi
lea eax, [esp + 0x14]
mov ecx, esi
cmp eax, ecx
sbb ebx, ebx
and ebx, 0xfffffffc
add ebx, 4
movzx eax, byte [esi]
lea ecx, [esp + 0x28]
push eax
call fcn.00457840
inc edi
lea esi, [esi + 1]
cmp edi, ebx
jne 0x457d95
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
xor edi, edi
lea eax, [esp + 0x14]
mov ecx, esi
cmp eax, ecx
sbb ebx, ebx
and ebx, 0xfffffffc
add ebx, 4
nop word [eax + eax]
movzx eax, byte [esi]
lea ecx, [esp + 0x28]
push eax
call fcn.00457840
inc edi
lea esi, [esi + 1]
cmp edi, ebx
jne 0x457dd0
lea eax, [esp + 0x88]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x8c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea esi, [esp + 0x88]
xor edi, edi
mov ecx, esi
lea eax, [esp + 0x90]
cmp eax, ecx
sbb ebx, ebx
and ebx, 0xfffffff8
add ebx, 8
nop dword [eax + eax]
movzx eax, byte [esi]
lea ecx, [esp + 0x28]
push eax
call fcn.00457840
inc edi
lea esi, [esi + 1]
cmp edi, ebx
jne 0x457e20
push 0
call fcn.004de931
lea esi, [esp + 0x14]
mov dword [esp + 0x14], eax
add esp, 4
mov dword [esp + 0x14], edx
xor edi, edi
lea eax, [esp + 0x18]
mov ecx, esi
cmp eax, ecx
sbb ebx, ebx
and ebx, 0xfffffff8
add ebx, 8
nop dword [eax]
movzx eax, byte [esi]
lea ecx, [esp + 0x28]
push eax
call fcn.00457840
inc edi
lea esi, [esi + 1]
cmp edi, ebx
jne 0x457e60
mov esi, 0x59e748
mov dword [esp + 0x10], 0x59e748
xor edi, edi
mov eax, 0x59e75c
cmp eax, esi
sbb ebx, ebx
and ebx, 0xffffffec
add ebx, 0x14
movzx eax, byte [esi]
lea ecx, [esp + 0x28]
push eax
call fcn.00457840
inc edi
lea esi, [esi + 1]
cmp edi, ebx
jne 0x457e93
lea esi, [esp + 0x10]
xor edi, edi
mov ecx, esi
lea eax, [esp + 0x14]
cmp eax, ecx
sbb ebx, ebx
and ebx, 0xfffffffc
add ebx, 4
nop
movzx eax, byte [esi]
lea ecx, [esp + 0x28]
push eax
call fcn.00457840
inc edi
lea esi, [esi + 1]
cmp edi, ebx
jne 0x457ec0
call fcn.004e3e35
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
xor edi, edi
lea eax, [esp + 0x14]
mov ecx, esi
cmp eax, ecx
sbb ebx, ebx
and ebx, 0xfffffffc
add ebx, 4
movzx eax, byte [esi]
lea ecx, [esp + 0x28]
push eax
call fcn.00457840
inc edi
lea esi, [esi + 1]
cmp edi, ebx
jne 0x457ef4
call fcn.004e3e97
mov dword [esp + 0x88], eax
call fcn.004e3e97
mov dword [esp + 0x8c], eax
call fcn.004e3e97
lea esi, [esp + 0x88]
mov dword [esp + 0x90], eax
xor edi, edi
lea eax, [esp + 0x94]
mov ecx, esi
cmp eax, ecx
sbb ebx, ebx
and ebx, 0xfffffff4
add ebx, 0xc
nop dword [eax]
movzx eax, byte [esi]
lea ecx, [esp + 0x28]
push eax
call fcn.00457840
inc edi
lea esi, [esi + 1]
cmp edi, ebx
jne 0x457f50
push 4
call fcn.00498000
lea esi, [esp + 0x14]
mov dword [esp + 0x14], eax
add esp, 4
lea eax, [esp + 0x14]
xor edi, edi
mov ecx, esi
cmp eax, ecx
sbb ebx, ebx
and ebx, 0xfffffffc
add ebx, 4
nop dword [eax]
movzx eax, byte [esi]
lea ecx, [esp + 0x28]
push eax
call fcn.00457840
inc edi
lea esi, [esi + 1]
cmp edi, ebx
jne 0x457f90
push 4
push dword [esp + 0x14]
call fcn.004984f5
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x18]
mov dword [esp + 0x18], eax
add esp, 8
xor edi, edi
lea eax, [esp + 0x14]
mov ecx, esi
cmp eax, ecx
sbb ebx, ebx
and ebx, 0xfffffffc
add ebx, 4
movzx eax, byte [esi]
lea ecx, [esp + 0x28]
push eax
call fcn.00457840
inc edi
lea esi, [esi + 1]
cmp edi, ebx
jne 0x457fd1
mov eax, fcn.004e3e97
xor edi, edi
add eax, 4
mov esi, fcn.004e3e97
cmp eax, fcn.004e3e97
sbb ebx, ebx
and ebx, 0xfffffffc
add ebx, 4
cmp eax, fcn.004e3e97
jb 0x458025
nop dword [eax]
movzx eax, byte [esi]
lea ecx, [esp + 0x28]
push eax
call fcn.00457840
inc edi
lea esi, [esi + 1]
cmp edi, ebx
jne 0x458010
mov ecx, dword [esp + 0x24]
xor edi, edi
mov esi, ecx
lea eax, [ecx + 0x14]
cmp eax, ecx
sbb ebx, ebx
and ebx, 0xffffffec
add ebx, 0x14
cmp ecx, eax
ja 0x458055
nop
movzx eax, byte [esi]
lea ecx, [esp + 0x28]
push eax
call fcn.00457840
inc edi
lea esi, [esi + 1]
cmp edi, ebx
jne 0x458040
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x2c]
call fcn.00457ab0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x88]
xor dword [0x59e748], ecx
mov eax, dword [esp + 0x90]
xor dword [edx], ecx
mov ecx, dword [esp + 0x8c]
xor dword [0x59e74c], ecx
xor dword [edx + 4], ecx
xor dword [0x59e750], eax
xor dword [edx + 8], eax
mov eax, dword [esp + 0x94]
xor dword [0x59e754], eax
xor dword [edx + 0xc], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xa4]
xor dword [0x59e758], eax
xor dword [edx + 0x10], eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00497fef
mov esp, ebp
pop ebp
ret