Function at 0x451b60
Capabilities:
Authenticate hmac
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519d5d
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x55b098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x210], edi
mov byte [ebp - 0x1e4], 0x12
mov al, 0x47
xor al, byte [ebp - 0x1e4]
mov dl, 0x5b
mov byte [ebp - 0x1e3], al
mov dh, 0x7a
mov al, byte [ebp - 0x1e4]
mov bl, 0x4e
xor dl, al
mov byte [ebp - 0x1da], 0
xor dh, al
mov byte [ebp - 0x1e2], dl
mov byte [ebp - 0x1dd], dh
xor bl, al
mov ah, 0x67
mov byte [ebp - 0x1d5], 0x60
xor ah, al
mov byte [ebp - 0x1e1], bl
mov cl, 0x7b
mov byte [ebp - 0x1e0], ah
xor cl, al
mov byte [ebp - 0x1da], 0
mov ch, 0x3c
mov byte [ebp - 0x1df], cl
xor ch, al
mov bh, 0x76
xor bh, al
mov byte [ebp - 0x1de], ch
mov al, byte [ebp - 0x1d5]
sub esp, 0x18
xor al, byte [ebp - 0x1e4]
mov edx, esp
mov byte [ebp - 0x1dc], bh
mov byte [ebp - 0x1db], al
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x451c49
mov eax, dword [edx]
jmp 0x451c4b
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1e3], 0
jne 0x451c5b
xor ecx, ecx
jmp 0x451c6d
lea ecx, [ebp - 0x1e3]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451c64
sub ecx, esi
push ecx
lea eax, [ebp - 0x1e3]
mov ecx, edx
push eax
call fcn.004488b0
call fcn.004519f0
push 0x550a7c
mov ecx, edi
call fcn.004511a0
mov ecx, dword [edi + 0xc]
mov eax, 0x92492493
sub ecx, dword [edi + 8]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x452599
xor eax, eax
mov byte [ebp - 0x1e4], 0x40
mov dword [ebp - 0x20c], eax
mov cl, 9
mov al, 0x15
mov byte [ebp - 0x1d5], 0x32
xor al, byte [ebp - 0x1e4]
mov dl, 0x1c
mov byte [ebp - 0x1e3], al
mov ah, 0x29
mov al, byte [ebp - 0x1e4]
mov ch, 0x6e
xor cl, al
mov byte [ebp - 0x1da], 0
xor dl, al
mov dword [ebp - 0x1c], 0
xor ah, al
mov byte [ebp - 0x1e2], cl
xor ch, al
mov byte [ebp - 0x1df], ah
mov dh, 0x28
mov byte [ebp - 0x1e1], dl
xor dh, al
mov byte [ebp - 0x1de], ch
mov bl, 0x35
mov byte [ebp - 0x1dd], dh
xor bl, al
mov byte [ebp - 0x1da], 0
mov bh, 0x24
mov byte [ebp - 0x1e0], bl
xor bh, al
mov al, byte [ebp - 0x1d5]
xor al, byte [ebp - 0x1e4]
mov byte [ebp - 0x1db], al
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x1e3]
mov byte [ebp - 0x1dc], bh
push eax
call fcn.00450ed0
mov dword [edi], eax
mov cl, 0x7c
mov byte [ebp - 0x1f8], 0x35
mov dl, 0x69
mov ch, 0x1b
mov byte [ebp - 0x1d5], 0x47
mov eax, dword [eax]
mov dh, 0x5d
mov dword [ebp - 0x1c], eax
mov bl, 0x40
mov al, 0x60
mov byte [ebp - 0x1ee], 0
xor al, byte [ebp - 0x1f8]
mov ah, 0x5c
mov byte [ebp - 0x1f7], al
mov bh, 0x51
mov al, byte [ebp - 0x1f8]
xor cl, al
mov byte [ebp - 0x1ee], 0
xor dl, al
mov byte [ebp - 0x1f6], cl
xor bl, al
mov byte [ebp - 0x1f5], dl
xor ah, al
mov byte [ebp - 0x1f4], bl
xor ch, al
mov byte [ebp - 0x1f3], ah
xor dh, al
mov byte [ebp - 0x1f2], ch
xor bh, al
mov byte [ebp - 0x1f1], dh
mov al, byte [ebp - 0x1d5]
xor al, byte [ebp - 0x1f8]
mov byte [ebp - 0x1ef], al
lea eax, [ebp - 0x1f7]
push 0x550a98
push eax
mov byte [ebp - 0x1f0], bh
call fcn.004f8d38
add esp, 8
mov dword [ebp - 0x1ec], eax
mov ah, 0x21
mov byte [ebp - 0x1d5], 0x17
mov byte [ebp - 0x1e5], ah
mov cl, 0xb
mov ah, byte [ebp - 0x1d5]
mov dl, 0x1e
mov byte [ebp - 0x1e4], 0x42
mov bl, 0x37
xor ah, byte [ebp - 0x1e4]
mov ch, 0x2b
xor cl, byte [ebp - 0x1e4]
mov dh, 0x6c
mov byte [ebp - 0x1d5], ah
mov bh, 0x31
mov byte [ebp - 0x1e3], ah
mov al, 0x30
mov ah, byte [ebp - 0x1e5]
mov byte [ebp - 0x1e2], cl
mov cl, byte [ebp - 0x1e4]
xor dl, cl
mov byte [ebp - 0x1da], 0
xor bl, cl
mov byte [ebp - 0x1e1], dl
xor ch, cl
mov byte [ebp - 0x1e0], bl
xor dh, cl
mov byte [ebp - 0x1df], ch
xor bh, cl
mov byte [ebp - 0x1de], dh
xor al, cl
mov byte [ebp - 0x1dd], bh
xor ah, cl
mov byte [ebp - 0x1dc], al
cmp byte [ebp - 0x1d5], 0
mov byte [ebp - 0x1db], ah
mov byte [ebp - 0x1da], 0
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x218], 0
mov byte [ebp - 0x228], 0
jne 0x451ebe
xor ecx, ecx
jmp 0x451ed0
lea ecx, [ebp - 0x1e3]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451ec7
sub ecx, edx
push ecx
lea eax, [ebp - 0x1e3]
push eax
lea ecx, [ebp - 0x228]
call fcn.004488b0
cmp dword [ebp - 0x214], 0x10
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push ecx
push eax
call fcn.004f7fff
xor esi, esi
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x214]
cmove esi, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x451f2a
inc eax
lea ecx, [ebp - 0x228]
push eax
push dword [ebp - 0x228]
call fcn.00448ce0
mov dword [ebp - 0x18], esi
mov esi, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x14], 0
cmp esi, edi
je 0x45256a
mov dword [ebp - 0x208], 0x64
nop dword [eax]
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
call fcn.004489b0
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
mov dh, 0x6f
mov byte [ebp - 0x1e4], 0x4a
mov bl, 0x74
cmovae eax, dword [ebp - 0x54]
mov ch, 0x11
push eax
mov al, 0x67
mov byte [ebp - 0x1da], 0
mov dl, al
mov byte [ebp - 0x1e5], 0x17
mov cl, al
mov byte [ebp - 0x1da], 0
xor al, byte [ebp - 0x1e4]
mov ah, 0x6a
mov byte [ebp - 0x1e3], al
mov bh, 0x39
mov al, byte [ebp - 0x1e4]
sub esp, 0x18
xor dl, al
xor dh, al
mov byte [ebp - 0x1e1], dl
xor cl, al
mov byte [ebp - 0x1dd], dh
xor bl, al
xor ah, al
mov byte [ebp - 0x1e2], cl
xor ch, al
mov byte [ebp - 0x1e0], bl
xor bh, al
mov byte [ebp - 0x1df], ah
mov al, byte [ebp - 0x1e5]
mov edx, esp
xor al, byte [ebp - 0x1e4]
mov byte [ebp - 0x1de], ch
mov byte [ebp - 0x1dc], bh
mov byte [ebp - 0x1db], al
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x45203b
mov eax, dword [edx]
jmp 0x45203d
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1e3], 0
jne 0x45204d
xor ecx, ecx
jmp 0x45205f
lea ecx, [ebp - 0x1e3]
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452056
sub ecx, ebx
push ecx
lea eax, [ebp - 0x1e3]
mov ecx, edx
push eax
call fcn.004488b0
lea eax, [ebp - 0x240]
push eax
call fcn.00450b90
mov ecx, dword [0x56e460]
add esp, 0x20
add ecx, 0x26c
mov byte [ebp - 4], 1
lea eax, [ebp - 0x240]
cmp ecx, eax
je 0x4520a1
push 0xffffffffffffffff
push 0
push eax
call fcn.004489b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x22c]
cmp eax, 0x10
jb 0x4520c3
inc eax
lea ecx, [ebp - 0x240]
push eax
push dword [ebp - 0x240]
call fcn.00448ce0
mov ebx, dword [ebp - 0x210]
mov eax, 0x92492493
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 8]
imul ecx
mov eax, dword [ebp - 0x208]
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor edx, edx
div ecx
mov ecx, eax
call fcn.00454bc0
mov eax, dword [0x56e460]
cvttsd2si ecx, xmm0
mov byte [eax + 0x284], cl
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00451040
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x452144
mov eax, dword [ecx]
jmp 0x452146
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.004489b0
push dword [ebx + 4]
push dword [ebx]
call fcn.00450e20
mov dword [ebp - 0x1d4], eax
test eax, eax
je 0x4521bf
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x1ec]
add ecx, eax
push 0
push ecx
push ebx
call fcn.004f8b79
add esp, 0xc
lea eax, [ebp - 0x18]
push ebx
push 1
push 4
push eax
call fcn.004f82c1
mov ecx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x24]
add ecx, 4
push 0
add eax, ecx
push eax
push ebx
call fcn.004f8b79
add esp, 0x1c
lea eax, [ebp - 0x14]
push ebx
push 1
push 4
push eax
call fcn.004f82c1
add esp, 0x10
jmp 0x45226f
mov eax, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x1d4], eax
call fcn.004f8de7
add esp, 4
lea ebx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
cmovae ebx, dword [ebp - 0x34]
push 2
push 0
push dword [ebp - 0x1ec]
call fcn.004f8b79
add esp, 0xc
lea eax, [ebp - 0x1d4]
push dword [ebp - 0x1ec]
push 1
push 4
push eax
call fcn.004f82c1
push 2
push 0
push dword [ebp - 0x1ec]
call fcn.004f8b79
add esp, 0x1c
push dword [ebp - 0x1ec]
push dword [ebp - 0x1d4]
push 1
push ebx
call fcn.004f82c1
mov ebx, dword [ebp - 0x1ec]
push 2
push 0
push ebx
call fcn.004f8b79
add esp, 0x1c
lea eax, [ebp - 0x18]
push ebx
push 1
push 4
push eax
call fcn.004f82c1
push 2
push 0
push ebx
call fcn.004f8b79
add esp, 0x1c
lea eax, [ebp - 0x14]
push ebx
push 1
push 4
push eax
call fcn.004f82c1
add esp, 0x10
inc dword [ebp - 0x20c]
push 0xb0
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004f0ad0
mov byte [ebp - 0x204], 0x63
mov al, 0x36
xor al, byte [ebp - 0x204]
mov cl, 0x2a
mov byte [ebp - 0x203], al
mov dl, 0x3f
mov al, byte [ebp - 0x204]
mov ah, 0xa
xor cl, al
mov byte [ebp - 0x1e5], 0
xor dl, al
mov byte [ebp - 0x202], cl
xor ah, al
mov byte [ebp - 0x1fa], 0
mov ch, 0x4d
mov byte [ebp - 0x1ff], ah
xor ch, al
mov byte [ebp - 0x201], dl
mov dh, 0x10
mov byte [ebp - 0x1fe], ch
xor dh, al
mov byte [ebp - 0x1fa], 0
mov bl, 0x16
mov byte [ebp - 0x1fd], dh
xor bl, al
lea ecx, [ebp - 0x118]
mov bh, 0x11
mov byte [ebp - 0x200], bl
xor bh, al
add esp, 4
mov al, byte [ebp - 0x1e5]
xor al, byte [ebp - 0x204]
mov byte [ebp - 0x1fb], al
lea eax, [ebp - 0x203]
push 0x28
push eax
mov byte [ebp - 0x1fc], bh
call fcn.00454270
push 0xb8
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.004f0ad0
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x1d0]
cmovae eax, dword [ebp - 0x54]
add esp, 4
push 0x20
push eax
call fcn.00454380
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x118]
call fcn.00454490
lea ecx, [ebp - 0x114]
call fcn.0044e060
test eax, eax
jne 0x4523a4
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x118]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.00449aa0
lea ecx, [ebp - 0x1c0]
call fcn.0044e060
test eax, eax
jne 0x4523de
mov eax, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x1d0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.00449aa0
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
call fcn.004f7078
mov eax, dword [ebp - 0x14]
add esp, 4
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1d0]
add dword [ebp - 0x208], 0x64
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1d4], eax
lea ecx, [ebp - 0x1c0]
call fcn.0044bdb0
mov eax, dword [ebp - 0x1d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1d4], eax
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004d668f
mov eax, dword [ebp - 0x118]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x11c], eax
lea ecx, [ebp - 0x114]
call fcn.0044bdb0
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x11c], eax
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0xb0], vtable.std::ios_base.0
call fcn.004d668f
mov eax, dword [ebp - 0x20]
add esp, 4
cmp eax, 0x10
jb 0x452500
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00448ce0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
cmp eax, 0x10
jb 0x45252e
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00448ce0
add esi, 0x1c
cmp esi, edi
jne 0x451f50
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x45256a
mov ebx, dword [ebp - 0x1ec]
add dword [ebp - 0x1c], eax
push 0
push 0
push ebx
call fcn.004f8b79
add esp, 0xc
lea eax, [ebp - 0x1c]
push ebx
push 1
push 4
push eax
call fcn.004f82c1
add esp, 0x10
push dword [ebp - 0x1ec]
call fcn.004f6fed
mov esi, dword [ebp - 0x210]
add esp, 4
push dword [ebp - 0x210]
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
call fcn.00454c00
mov eax, dword [esi + 8]
add esp, 8
mov dword [esi + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d7d33
mov esp, ebp
pop ebp
ret