Function at 0x40ed70
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 4], 0x31
mov dword [ebp - 0x60], 0x43
mov dword [ebp - 0x10], 4
mov dword [ebp - 8], 0x32
mov dword [ebp - 0xc], 0x60
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x18], 0x49
mov dword [ebp - 0x48], 6
mov dword [ebp - 0x6c], 0x28
mov dword [ebp - 0x34], 0x34
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x28], 0x3c
mov dword [ebp - 0x44], 4
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x58], 0x5e
mov dword [ebp - 0x2c], 0x61
mov dword [ebp - 0x80], 0x63
mov dword [ebp - 0x14], 0x21
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x30], 0x36
mov dword [ebp - 0x1c], 0x48
mov dword [ebp - 0x4c], 0x30
mov dword [ebp - 0x20], 0x5e
mov dword [ebp - 0x38], 0xb
mov dword [ebp - 0x40], 0x62
mov dword [ebp - 0x84], 8
mov dword [ebp - 0x64], 0x5c
mov dword [ebp - 0x70], 0x57
mov dword [ebp - 0x3c], 0x18
mov eax, dword [ebp - 4]
xor eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x60]
add ecx, dword [ebp - 4]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x54]
and edx, dword [ebp - 8]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x48]
xor ecx, dword [ebp - 4]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x6c]
xor edx, dword [ebp - 0x48]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x34]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x24]
and ecx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x28]
and edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x44]
xor eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x50]
or ecx, dword [ebp - 0xc]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x58]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x80]
xor ecx, dword [ebp - 0x18]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x14]
and edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x74]
and eax, dword [ebp - 0x28]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x4c]
xor eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x20]
and ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x58]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x40]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x84]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x64]
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x70]
xor eax, dword [ebp - 8]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x3c]
xor ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x10
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xd
push ecx
call fcn.004378c0
add esp, 0xc
mov dword [ebp - 0x5c], 0
jmp 0x40ef7e
mov edx, dword [ebp - 0x5c]
add edx, 1
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x1c]
sub eax, 0x3a
cmp dword [ebp - 0x5c], eax
jge 0x40efc1
cmp dword [ebp - 0x10], 0x56
jne 0x40efbf
push 0x5e3
push 0x15f16
push 0xf9f2
push 0x1822e
push 0xa396
push 0x181a0
call dword [sym.imp.KERNEL32.dll_DecodePointer]
add esp, 0x18
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
jmp 0x40ef75
cmp dword [ebp - 0x60], 0x30
jne 0x40f035
cmp dword [ebp - 0x40], 0xc
jle 0x40f035
call dword [sym.imp.KERNEL32.dll_EncodePointer]
cmp dword [ebp - 0x44], 0x57
jge 0x40f009
mov edx, dword [ebp - 0x34]
add edx, 0x1d
mov dword [ebp - 0x34], edx
push 0x3c84
push 0x7bad
push 0x9c3f
push 0xd0e5
push 0x12ad
push 0x6393
call dword [sym.imp.USER32.dll_EndDialog]
add esp, 0x18
push 0xf4ac
push 0x3780
push 0xf0c2
push 0xe5a0
push 0x12f3e
push 0x13195
push 0x106d3
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
add esp, 0x1c
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 0x38], 0
jle 0x40f07a
cmp dword [ebp - 0x64], 0x5d
jle 0x40f07a
push 0x114e
push 0x167ba
push 0xfa22
push 0x6278
push 0x13131
push 0x1382c
call dword [sym.imp.USER32.dll_SetWindowTextA]
add esp, 0x18
mov ecx, dword [ebp + 0x1c]
sub ecx, 0x33
mov dword [ebp + 0x1c], ecx
cmp dword [ebp - 8], 0x26
jl 0x40efc1
cmp dword [ebp - 0x1c], 0x3b
jne 0x40f0c6
cmp dword [ebp + 8], 0x2c
jne 0x40f0c6
cmp dword [ebp - 0x38], 0x1a
je 0x40f0c6
mov edx, dword [ebp - 0x3c]
and edx, 0x40
mov dword [ebp - 0x3c], edx
push 0x117ac
push 0xd392
push 0x4082
push 0x83c1
push 0x11f50
push 0x77ba
call dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 0x18
mov eax, dword [ebp - 0x40]
add eax, 0x16
push eax
mov ecx, dword [ebp - 0x44]
sub ecx, 0xa4
push ecx
mov edx, dword [ebp + 8]
sub edx, 0x1e
push edx
call fcn.004378c0
add esp, 0xc
mov dword [ebp - 0x68], 0
jmp 0x40f0f8
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 8]
sub ecx, 0x25
cmp dword [ebp - 0x68], ecx
jge 0x40f10e
mov edx, dword [ebp - 0x14]
add edx, 7
mov dword [ebp - 0x14], edx
jmp 0x40f0ef
cmp dword [ebp - 0x20], 0x4f
jge 0x40f1af
cmp dword [ebp - 4], 0x4d
jle 0x40f18c
push 0xcb1a
push 0xc267
push 0x9162
push 0xd500
push 0x10adb
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
add esp, 0x14
cmp dword [ebp - 0x48], 0x23
jge 0x40f18c
cmp dword [ebp - 0x1c], 0x4e
je 0x40f18c
cmp dword [ebp - 0x6c], 0x4c
jle 0x40f18c
mov eax, dword [ebp - 0x4c]
or eax, 0x1d
mov dword [ebp - 0x4c], eax
push 0x2e3b
push 0x8246
push 0x11cf5
push 0xa9df
push 0x6a3d
push 0xdde5
push 0x9467
push 0x11aea
call dword [sym.imp.KERNEL32.dll_HeapSize]
add esp, 0x20
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x14], 0x63
jge 0x40f1aa
cmp dword [ebp - 0x70], 0x50
je 0x40f1aa
mov edx, dword [ebp + 0x14]
sub edx, 0x19
mov dword [ebp + 0x14], edx
jmp 0x40f10e
mov dword [ebp - 0x78], 0
jmp 0x40f1c1
mov eax, dword [ebp - 0x78]
add eax, 1
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x74]
add ecx, 1
cmp dword [ebp - 0x78], ecx
jge 0x40f1d7
mov edx, dword [ebp + 0x1c]
sub edx, 0x57
mov dword [ebp + 0x1c], edx
jmp 0x40f1b8
mov dword [ebp - 0x7c], 0
jmp 0x40f1e9
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 6
cmp dword [ebp - 0x7c], ecx
jge 0x40f1ff
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x40f1e0
mov esp, ebp
pop ebp
ret