Function at 0x401910
Capabilities:
Authenticate hmac
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [ebp + 8]
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0x2380
mov byte [esp + 0x8f], 0x2c
mov dword [esp + 0x88], 0x151f
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov esi, ecx
add esi, 0x3675
mov edi, edx
adc edi, 0
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
mov bl, byte [esp + 0x8f]
mov bh, bl
add bh, 0x9f
mov byte [esp + 0x37], bh
xor esi, 0x4e2f
or esi, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov byte [esp + 0x27], bl
mov dword [esp + 0x20], esi
je 0x401c0f
jmp 0x401c2d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
mov bl, byte [esp + 0x8f]
xor bl, 0x64
mov esi, esp
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi], edx
mov byte [esp + 0x1f], bl
call fcn.00401ca0
sub esp, 0xc
mov eax, dword [esp + 0x60]
add eax, 0x97b9
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov bl, byte [esp + 0x8f]
xor bl, 0x8b
mov bh, byte [esp + 0x1f]
mov byte [esp + 0x43], bh
cmp bl, byte [esp + 0x43]
jbe 0x401b40
jmp 0x401b9b
mov eax, dword [esp + 0x4c]
add eax, 1
mov dword [esp + 0x4c], eax
mov al, 0x5c
mov cl, byte [esp + 0x8f]
mov dl, byte [esp + 0x8f]
sub al, cl
add dl, 0x93
mov byte [esp + 0x6f], dl
mov cl, byte [esp + 0x6f]
mov dl, byte [esp + 0x37]
mov byte [esp + 0x4b], dl
cmp cl, al
jbe 0x401b20
jmp 0x401b20
mov eax, dword [esp + 0x4c]
imul eax, eax, 0xc
add eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x64]
imul ecx, dword [esp + 0x4c], 0xc
add eax, ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
imul eax, eax, 0xc
add eax, dword [esp + 0x64]
mov eax, dword [eax + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x74]
xor eax, dword [esp + 0x5c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x74]
add eax, ecx
mov ecx, dword [esp + 0x68]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], eax
call fcn.00403760
sub esp, 0xc
mov ecx, dword [esp + 0x80]
add ecx, dword [esp + 0x74]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x18], eax
jmp 0x401a07
mov eax, dword [esp + 0x38]
imul eax, eax, 0xc
add eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x90]
and ecx, 0x28db
mov edx, dword [esp + 0x64]
mov dword [esp + 0x90], ecx
imul eax, eax, 0xc
add edx, eax
mov eax, dword [edx + 8]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x84]
xor eax, dword [esp + 0x44]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
jmp 0x401b30
cmp byte [esp + 0x4b], 0x62
ja 0x401bff
jmp 0x401bff
mov eax, dword [esp + 0x38]
add eax, 1
mov dword [esp + 0x38], eax
jmp 0x401c0f
mov eax, esp
mov dword [eax], str.VirtualAlloc
call fcn.00402400
sub esp, 4
mov ecx, 0x151f
mov dword [esp + 0x70], eax
sub ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x70]
mov esi, esp
mov dword [esi + 4], eax
mov dword [esi + 0xc], 4
mov dword [esi + 8], 0x1000
mov dword [esi], 0
mov dword [esp + 0x14], ecx
call edx
sub esp, 0x10
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
jmp 0x401a12
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
or eax, 0x1382
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], eax
add ecx, 0xffffeae1
mov dword [edx + 4], 0x3fc00
mov eax, dword [esp + 0x60]
add eax, 0x692e
mov edx, dword [esp + 0x3c]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [eax + 0xc], 0x2800
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp dword [esp + 0x4c], 0x36
jb 0x401a44
jmp 0x4019a5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x88]
xor ecx, 0x1529
cmp eax, ecx
jb 0x401ac7
jmp 0x401b40
lea eax, section..data
mov ecx, 0x151f
mov edx, dword [esp + 0x90]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x3c], edx
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x88]
mov ebx, ecx
sub ebx, dword [esp + 0x88]
mov edx, ecx
sub edx, esi
sub ecx, edi
mov dword [esp + 0x64], eax
mov al, 0x96
mov ah, byte [esp + 0x27]
mov byte [esp + 0x13], al
mov al, ah
mov ah, byte [esp + 0x13]
mul ah
mov byte [esp + 0x97], al
mov dword [esp + 0x80], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x38], ebx
jmp 0x401c0f