Function at 0x403ed0
Capabilities:
Hash data via bcrypt

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bb87
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a8
mov eax, dword [0x43c770]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0xf
mov byte [ebp - 0x1bc], 0
xor eax, eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x220], 0x10
mov dword [ebp - 0x224], 0x101
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], 0xf
mov byte [ebp - 0x26c], al
mov dword [ebp - 0x1c], 0x7461642e
mov byte [ebp - 0x18], al
mov dword [ebp - 0x2b8], eax
push 6
push str.abcdef
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2a4], 0xf
mov byte [ebp - 0x2b8], al
mov byte [ebp - 4], 7
call fcn.00402c50
mov dword [ebp - 0x28c], 0
push 0xa
push str.0123456789
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0xf
mov byte [ebp - 0x28c], 0
mov byte [ebp - 4], 9
call fcn.00402c50
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x294]
lea ecx, [ebp - 0x23c]
call fcn.00411e20
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.004101e0
mov edx, dword [ebp - 0x228]
cmp edx, 0x10
jb 0x4040eb
mov ecx, dword [ebp - 0x23c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4040e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x278]
cmp edx, 0x10
jb 0x404129
mov ecx, dword [ebp - 0x28c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40411f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2a4]
cmp edx, 0x10
jb 0x404167
mov ecx, dword [ebp - 0x2b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40415d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0xf
mov byte [ebp - 0x254], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0xf
mov byte [ebp - 0x21c], 0
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0xf
mov byte [ebp - 0x204], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0xf
mov byte [ebp - 0x1ec], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0xf
mov byte [ebp - 0x1d4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x184], 0
movq qword [ebp - 0x18c], xmm0
xor eax, eax
xor esi, esi
mov dword [ebp - 0x18c], eax
xor edx, edx
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x184], edx
movq qword [ebp - 0x180], xmm0
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x178], ecx
movq qword [ebp - 0x174], xmm0
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], ecx
movq qword [ebp - 0x168], xmm0
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], ecx
push 1
push 0x43c500
mov edx, 0x43c4f0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x280]
call fcn.004038b0
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x290], edi
add esp, 8
cmp ecx, eax
je 0x40432c
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x184], edx
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [ebp - 0x290], ecx
mov ecx, dword [ebp - 0x280]
test ecx, ecx
je 0x404366
mov edx, dword [ebp - 0x278]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40435c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055c9
push edx
push ecx
call fcn.00413ec3
add esp, 8
sub esi, dword [ebp - 0x290]
lea ecx, [ebp - 0x21c]
lea eax, [esi - 1]
mov esi, dword [ebp - 0x18c]
push eax
push esi
call fcn.00402c50
cmp dword [ebp - 0x208], 0x10
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x188], esi
cmovae eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [ebp - 0x208], 0x10
mov esi, eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x20c], 0
cmovae eax, dword [ebp - 0x21c]
mov byte [eax], 0
test esi, esi
je 0x4044d9
push 1
push 0x43c250
mov edx, 0x43c230
lea ecx, [ebp - 0x280]
call fcn.004038b0
lea ecx, [ebp - 0x180]
add esp, 8
cmp ecx, eax
je 0x404420
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov dword [ebp - 0x180], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x178], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x280]
test ecx, ecx
je 0x40445a
mov edx, dword [ebp - 0x278]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x404450
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055ce
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov ecx, dword [ebp - 0x180]
sub edi, ecx
lea eax, [edi - 1]
push eax
push ecx
lea ecx, [ebp - 0x204]
call fcn.00402c50
mov eax, dword [ebp - 0x180]
cmp dword [ebp - 0x1f0], 0x10
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x204]
cmovae eax, dword [ebp - 0x204]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebp - 0x1f0], 0x10
mov edi, eax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x1f4], 0
cmovae eax, dword [ebp - 0x204]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [eax], 0
call esi
test edi, edi
je 0x4044e3
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x2c]
push eax
call edi
jmp 0x4044e3
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
call esi
push 1
push 0x43c610
mov edx, 0x43c600
lea ecx, [ebp - 0x280]
call fcn.004038b0
lea ecx, [ebp - 0x174]
add esp, 8
cmp ecx, eax
je 0x404537
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov dword [ebp - 0x174], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x16c], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x404539
xor edi, edi
mov ecx, dword [ebp - 0x280]
test ecx, ecx
je 0x404573
mov edx, dword [ebp - 0x278]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x404569
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055d3
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov ecx, dword [ebp - 0x174]
sub edi, ecx
lea eax, [edi - 1]
push eax
push ecx
lea ecx, [ebp - 0x1ec]
call fcn.00402c50
mov eax, dword [ebp - 0x174]
cmp dword [ebp - 0x1d8], 0x10
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x1ec]
cmovae eax, dword [ebp - 0x1ec]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [ebp - 0x1d8], 0x10
mov ecx, eax
lea eax, [ebp - 0x1ec]
mov dword [ebp - 0x1dc], 0
cmovae eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x290], ecx
mov byte [eax], 0
test ecx, ecx
je 0x4046f2
push 1
push 0x43c560
mov edx, 0x43c550
lea ecx, [ebp - 0x280]
call fcn.004038b0
lea ecx, [ebp - 0x168]
add esp, 8
cmp ecx, eax
je 0x404637
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov dword [ebp - 0x168], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x160], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x404639
xor edi, edi
mov ecx, dword [ebp - 0x280]
test ecx, ecx
je 0x404673
mov edx, dword [ebp - 0x278]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x404669
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055d8
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov ecx, dword [ebp - 0x168]
sub edi, ecx
lea eax, [edi - 1]
push eax
push ecx
lea ecx, [ebp - 0x1d4]
call fcn.00402c50
mov eax, dword [ebp - 0x168]
cmp dword [ebp - 0x1c0], 0x10
mov edi, dword [ebp - 0x290]
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x1d4]
cmovae eax, dword [ebp - 0x1d4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebp - 0x1c0], 0x10
mov ecx, eax
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x1c4], 0
cmovae eax, dword [ebp - 0x1d4]
mov byte [eax], 0
test ecx, ecx
je 0x4046fc
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x138]
push eax
call ecx
jmp 0x4046fc
push 0
call esi
mov edi, dword [ebp - 0x290]
push edi
call esi
push 0
push 0
push 0x4377e4
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x4054a3
push 0
lea eax, [ebp - 0x15c]
push eax
push 4
lea eax, [ebp - 0x154]
push eax
push str.ObjectLength
push dword [ebp - 0x270]
call dword [sym.imp.bcrypt.dll_BCryptGetProperty]
test eax, eax
js 0x4054a3
mov esi, dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
mov edi, eax
lea eax, [ebp - 0x15c]
push eax
push 4
lea eax, [ebp - 0x158]
push eax
push str.HashDigestLength
push dword [ebp - 0x270]
call dword [sym.imp.bcrypt.dll_BCryptGetProperty]
test eax, eax
js 0x4054a5
mov esi, dword [ebp - 0x158]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
push 0
push 0
push dword [ebp - 0x154]
mov esi, eax
lea eax, [ebp - 0x274]
push edi
push eax
push dword [ebp - 0x270]
mov dword [ebp - 0x29c], esi
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
js 0x4054a5
lea ecx, [ebp - 0x138]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4047e0
push 0
sub ecx, edx
lea eax, [ebp - 0x138]
push ecx
push eax
push dword [ebp - 0x274]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
js 0x4054a5
push 0
push dword [ebp - 0x158]
push esi
push dword [ebp - 0x274]
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
test eax, eax
js 0x4054a5
cmp dword [ebp - 0x13c], 0x10
lea eax, [ebp - 0x150]
mov dword [ebp - 0x140], 0
cmovae eax, dword [ebp - 0x150]
mov byte [eax], 0
xor eax, eax
mov dword [ebp - 0x298], eax
nop dword [eax]
movzx edx, byte [eax + esi]
add eax, esi
mov dword [ebp - 0x294], eax
shr edx, 4
mov dword [ebp - 0x28c], 0
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0xf
mov byte [ebp - 0x28c], 0
cmp eax, edx
jb 0x4055e2
sub eax, edx
mov ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x1a8], 0x10
lea eax, [ebp - 0x1bc]
cmovae eax, dword [ebp - 0x1bc]
push ecx
add eax, edx
lea ecx, [ebp - 0x28c]
push eax
call fcn.00402c50
mov byte [ebp - 4], 0x1d
lea edx, [ebp - 0x28c]
cmp dword [ebp - 0x278], 0x10
mov edi, dword [ebp - 0x28c]
mov esi, dword [ebp - 0x140]
cmovae edx, edi
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x27c]
sub eax, esi
mov dword [ebp - 0x290], esi
push ecx
push edx
cmp ecx, eax
ja 0x404941
cmp dword [ebp - 0x13c], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x140], eax
lea esi, [ebp - 0x150]
cmovae esi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x290]
add eax, esi
push eax
call fcn.00414e60
mov eax, dword [ebp - 0x290]
add esp, 0xc
mov ecx, dword [ebp - 0x27c]
add eax, esi
mov byte [eax + ecx], 0
jmp 0x404959
push dword [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x150]
call fcn.00411c30
mov edi, dword [ebp - 0x28c]
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x278]
cmp eax, 0x10
jb 0x404993
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x404989
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push ecx
push edi
call fcn.00413ec3
add esp, 8
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x28c], 0
movzx edx, byte [eax]
and edx, 0xf
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0xf
mov byte [ebp - 0x28c], 0
cmp eax, edx
jb 0x4055e2
sub eax, edx
mov ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x1a8], 0x10
lea eax, [ebp - 0x1bc]
cmovae eax, dword [ebp - 0x1bc]
push ecx
add eax, edx
lea ecx, [ebp - 0x28c]
push eax
call fcn.00402c50
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x28c]
cmp dword [ebp - 0x278], 0x10
mov edi, dword [ebp - 0x28c]
mov esi, dword [ebp - 0x140]
cmovae edx, edi
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x27c]
sub eax, esi
mov dword [ebp - 0x290], esi
push ecx
push edx
cmp ecx, eax
ja 0x404a81
cmp dword [ebp - 0x13c], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x140], eax
lea esi, [ebp - 0x150]
cmovae esi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x290]
add eax, esi
push eax
call fcn.00414e60
mov eax, dword [ebp - 0x27c]
add esp, 0xc
mov ecx, dword [ebp - 0x290]
add eax, esi
mov byte [eax + ecx], 0
jmp 0x404a99
push dword [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x150]
call fcn.00411c30
mov edi, dword [ebp - 0x28c]
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x278]
cmp eax, 0x10
jb 0x404ad3
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x404ac9
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push ecx
push edi
call fcn.00413ec3
add esp, 8
mov eax, dword [ebp - 0x298]
mov esi, dword [ebp - 0x29c]
inc eax
mov dword [ebp - 0x298], eax
cmp eax, 0x10
jl 0x404850
mov dword [ebp - 0x2b8], 0
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
cmp eax, 0x14
jb 0x4055e2
add eax, 0xffffffec
mov ecx, 4
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x13c], 0x10
lea eax, [ebp - 0x150]
cmovae eax, dword [ebp - 0x150]
push ecx
add eax, 0x14
lea ecx, [ebp - 0x2b8]
push eax
call fcn.00402c50
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.004101e0
mov edx, dword [ebp - 0x2a4]
cmp edx, 0x10
jb 0x404b9d
mov ecx, dword [ebp - 0x2b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404b93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push edx
push ecx
call fcn.00413ec3
add esp, 8
xor eax, eax
mov dword [ebp - 0x270], 0
push eax
push eax
mov dword [ebp - 0x29c], eax
xor edi, edi
push 0x4377e4
lea eax, [ebp - 0x270]
mov dword [ebp - 0x274], 0
push eax
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x4054a5
push edi
lea eax, [ebp - 0x15c]
push eax
push 4
lea eax, [ebp - 0x154]
push eax
push str.ObjectLength
push dword [ebp - 0x270]
call dword [sym.imp.bcrypt.dll_BCryptGetProperty]
test eax, eax
js 0x4054a5
mov esi, dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
mov edi, eax
lea eax, [ebp - 0x15c]
push eax
push 4
lea eax, [ebp - 0x158]
push eax
push str.HashDigestLength
push dword [ebp - 0x270]
call dword [sym.imp.bcrypt.dll_BCryptGetProperty]
test eax, eax
js 0x4054a5
mov esi, dword [ebp - 0x158]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
push 0
push 0
push dword [ebp - 0x154]
mov esi, eax
lea eax, [ebp - 0x274]
push edi
push eax
push dword [ebp - 0x270]
mov dword [ebp - 0x29c], esi
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
js 0x4054a5
lea ecx, [ebp - 0x2c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404cb0
push 0
sub ecx, edx
lea eax, [ebp - 0x2c]
push ecx
push eax
push dword [ebp - 0x274]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
js 0x4054a5
push 0
push dword [ebp - 0x158]
push esi
push dword [ebp - 0x274]
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
test eax, eax
js 0x4054a5
cmp dword [ebp - 0x13c], 0x10
lea eax, [ebp - 0x150]
mov dword [ebp - 0x140], 0
cmovae eax, dword [ebp - 0x150]
mov byte [eax], 0
xor eax, eax
mov dword [ebp - 0x290], eax
nop word [eax + eax]
movzx edx, byte [esi + eax]
add esi, eax
mov dword [ebp - 0x298], esi
shr edx, 4
mov dword [ebp - 0x28c], 0
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0xf
mov byte [ebp - 0x28c], 0
cmp eax, edx
jb 0x4055e2
sub eax, edx
mov ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x1a8], 0x10
lea eax, [ebp - 0x1bc]
cmovae eax, dword [ebp - 0x1bc]
push ecx
add eax, edx
lea ecx, [ebp - 0x28c]
push eax
call fcn.00402c50
mov byte [ebp - 4], 0x22
lea edx, [ebp - 0x28c]
cmp dword [ebp - 0x278], 0x10
mov ecx, dword [ebp - 0x140]
mov edi, dword [ebp - 0x28c]
cmovae edx, edi
mov eax, dword [ebp - 0x13c]
sub eax, ecx
mov dword [ebp - 0x294], ecx
mov ecx, dword [ebp - 0x27c]
push ecx
push edx
cmp ecx, eax
ja 0x404e0f
mov esi, dword [ebp - 0x294]
cmp dword [ebp - 0x13c], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x150]
cmovae eax, dword [ebp - 0x150]
add esi, eax
push esi
call fcn.00414e60
mov eax, dword [ebp - 0x27c]
add esp, 0xc
mov byte [esi + eax], 0
mov esi, dword [ebp - 0x298]
jmp 0x404e27
push dword [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x150]
call fcn.00411c30
mov edi, dword [ebp - 0x28c]
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x278]
cmp eax, 0x10
jb 0x404e61
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x404e57
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push ecx
push edi
call fcn.00413ec3
add esp, 8
movzx edx, byte [esi]
and edx, 0xf
mov dword [ebp - 0x28c], 0
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0xf
mov byte [ebp - 0x28c], 0
cmp eax, edx
jb 0x4055e2
sub eax, edx
mov ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x1a8], 0x10
lea eax, [ebp - 0x1bc]
cmovae eax, dword [ebp - 0x1bc]
push ecx
add eax, edx
lea ecx, [ebp - 0x28c]
push eax
call fcn.00402c50
mov byte [ebp - 4], 0x24
lea edx, [ebp - 0x28c]
cmp dword [ebp - 0x278], 0x10
mov edi, dword [ebp - 0x28c]
mov esi, dword [ebp - 0x140]
cmovae edx, edi
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x27c]
sub eax, esi
mov dword [ebp - 0x298], esi
push ecx
push edx
cmp ecx, eax
ja 0x404f49
cmp dword [ebp - 0x13c], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x140], eax
lea esi, [ebp - 0x150]
cmovae esi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x298]
add eax, esi
push eax
call fcn.00414e60
mov eax, dword [ebp - 0x27c]
add esp, 0xc
mov ecx, dword [ebp - 0x298]
add eax, esi
mov byte [eax + ecx], 0
jmp 0x404f61
push dword [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x150]
call fcn.00411c30
mov edi, dword [ebp - 0x28c]
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x278]
cmp eax, 0x10
jb 0x404f9b
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x404f91
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push ecx
push edi
call fcn.00413ec3
add esp, 8
mov eax, dword [ebp - 0x290]
mov esi, dword [ebp - 0x29c]
inc eax
mov dword [ebp - 0x290], eax
cmp eax, 0x10
jl 0x404d20
mov dword [ebp - 0x28c], 0
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0xf
mov byte [ebp - 0x28c], 0
cmp eax, 0x12
jb 0x4055e2
add eax, 0xffffffee
mov ecx, 4
cmp eax, 4
cmovb ecx, eax
cmp dword [ebp - 0x13c], 0x10
lea eax, [ebp - 0x150]
cmovae eax, dword [ebp - 0x150]
push ecx
add eax, 0x12
lea ecx, [ebp - 0x28c]
push eax
call fcn.00402c50
mov byte [ebp - 4], 0x26
lea edx, [ebp - 0x28c]
cmp dword [ebp - 0x278], 0x10
mov edi, dword [ebp - 0x28c]
mov eax, dword [ebp - 0x190]
cmovae edx, edi
mov esi, dword [ebp - 0x194]
sub eax, esi
mov ecx, dword [ebp - 0x27c]
push ecx
push edx
cmp ecx, eax
ja 0x405089
cmp dword [ebp - 0x190], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x1a4]
cmovae eax, dword [ebp - 0x1a4]
add esi, eax
push esi
call fcn.00414e60
mov eax, dword [ebp - 0x27c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x4050a1
push dword [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x1a4]
call fcn.00411c30
mov edi, dword [ebp - 0x28c]
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x278]
cmp eax, 0x10
jb 0x4050db
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4050d1
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push ecx
push edi
call fcn.00413ec3
add esp, 8
mov dword [ebp - 0x28c], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x28c], 0
mov byte [ebp - 4], 0x1b
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405110
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x28c]
call fcn.00402c50
mov byte [ebp - 4], 0x28
lea edx, [ebp - 0x28c]
cmp dword [ebp - 0x278], 0x10
mov edi, dword [ebp - 0x28c]
mov esi, dword [ebp - 0x194]
cmovae edx, edi
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x27c]
sub eax, esi
mov dword [ebp - 0x298], esi
push ecx
push edx
cmp ecx, eax
ja 0x4051a5
cmp dword [ebp - 0x190], 0x10
lea eax, [esi + ecx]
mov dword [ebp - 0x194], eax
lea esi, [ebp - 0x1a4]
cmovae esi, dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x298]
add eax, esi
push eax
call fcn.00414e60
mov eax, dword [ebp - 0x298]
add esp, 0xc
mov ecx, dword [ebp - 0x27c]
add eax, esi
mov byte [eax + ecx], 0
jmp 0x4051bd
push dword [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x1a4]
call fcn.00411c30
mov edi, dword [ebp - 0x28c]
mov eax, dword [ebp - 0x278]
cmp eax, 0x10
jb 0x4051f3
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4051e9
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push ecx
push edi
call fcn.00413ec3
add esp, 8
mov esi, dword [ebp - 0x2a0]
movups xmm0, xmmword [ebp - 0x1a4]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x194]
movq qword [esi + 0x10], xmm0
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
test ecx, ecx
je 0x405279
mov edx, dword [ebp - 0x160]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40526f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov ecx, dword [ebp - 0x174]
test ecx, ecx
je 0x4052b3
mov edx, dword [ebp - 0x16c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4052a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov ecx, dword [ebp - 0x180]
test ecx, ecx
je 0x4052ed
mov edx, dword [ebp - 0x178]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4052e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov ecx, dword [ebp - 0x18c]
test ecx, ecx
je 0x405327
mov edx, dword [ebp - 0x184]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40531d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov edx, dword [ebp - 0x1c0]
cmp edx, 0x10
jb 0x405361
mov ecx, dword [ebp - 0x1d4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405357
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0xf
mov byte [ebp - 0x1d4], 0
cmp edx, 0x10
jb 0x4053b6
mov ecx, dword [ebp - 0x1ec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4053ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov edx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0xf
mov byte [ebp - 0x1ec], 0
cmp edx, 0x10
jb 0x40540b
mov ecx, dword [ebp - 0x204]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405401
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0xf
mov byte [ebp - 0x204], 0
cmp edx, 0x10
jb 0x405460
mov ecx, dword [ebp - 0x21c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405456
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055dd
push edx
push ecx
call fcn.00413ec3
add esp, 8
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0xf
mov byte [ebp - 0x21c], 0
call fcn.00410190
lea ecx, [ebp - 0x150]
call fcn.00410190
lea ecx, [ebp - 0x1a4]
call fcn.00410190
mov eax, esi
jmp 0x4055ab
xor edi, edi
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x4054b8
push 0
push eax
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x4054c9
push eax
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
je 0x4054e3
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call edi
push eax
call esi
jmp 0x4054e9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov eax, dword [ebp - 0x29c]
test eax, eax
je 0x4054fb
push eax
push 0
call edi
push eax
call esi
mov ecx, dword [ebp - 0x2a0]
push 0x4376cb
call fcn.00402bd0
lea ecx, [ebp - 0x168]
call fcn.0040ebb0
lea ecx, [ebp - 0x174]
call fcn.0040ebb0
lea ecx, [ebp - 0x180]
call fcn.0040ebb0
lea ecx, [ebp - 0x18c]
call fcn.0040ebb0
lea ecx, [ebp - 0x1d4]
call fcn.00410190
lea ecx, [ebp - 0x1ec]
call fcn.00410190
lea ecx, [ebp - 0x204]
call fcn.00410190
lea ecx, [ebp - 0x21c]
call fcn.00410190
lea ecx, [ebp - 0x254]
call fcn.00410190
lea ecx, [ebp - 0x23c]
call fcn.00410190
lea ecx, [ebp - 0x26c]
call fcn.00410190
lea ecx, [ebp - 0x1bc]
call fcn.00410190
lea ecx, [ebp - 0x150]
call fcn.00410190
lea ecx, [ebp - 0x1a4]
call fcn.00410190
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00413918
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00419536
call fcn.00419536
call fcn.00419536
call fcn.00419536
call fcn.00419536
call fcn.00410dc0
int3