Function at 0x615df8
Capabilities:
Authenticate hmac
Parse pe header

Disassembly:
push esi
mov eax, dword [0x6740b018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
cmp edi, 0xcb05a645
je 0x615bc2
cmp edi, 0x8b9f9429
jne 0x615bf2
mov eax, dword [esi + 0x208]
cmp eax, ecx
je 0x615bf2
cmp ebx, ecx
je 0x615bd8
cmp ebx, 0x7391fddd
jne 0x615bf2
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push edi
push eax
mov eax, dword [ecx + 8]
call eax
add esp, 0xc
cmp dword [ebp - 0x10], 0
jne 0x615dd0
test ebx, ebx
je 0x615c15
cmp ebx, 0x9b8ee6ed
je 0x615c15
mov eax, 0x80000001
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov dword [ebp - 0x125c], 0x43
mov dword [ebp - 0x20], 0x78
mov edx, dword [ebp - 0x125c]
cmp edx, dword [ebp - 0x20]
jle 0x615cde
in eax, dx
invalid
push esi
mov esi, ecx
call fcn.006157e4
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x615c75
mov eax, dword [0x6c0740e4]
cmp eax, 0x6c0740e4
je 0x615c71
test byte [eax + 0x1c], 1
je 0x615c71
cmp byte [eax + 0x19], 2
jb 0x615c71
push 0x6c0626dc
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0060cc61
add esp, 0x10
xor eax, eax
jmp 0x615cdc
push edi
mov edi, dword [ebp + 8]
push edi
call eax
pop ecx
mov dword [esi + 0xc], eax
test eax, eax
jne 0x615cb5
mov eax, dword [0x6c0740e4]
cmp eax, 0x6c0740e4
je 0x615cb1
test byte [eax + 0x1c], 1
je 0x615cb1
cmp byte [eax + 0x19], 2
jb 0x615cb1
push 0x6c0626dc
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0060cc61
add esp, 0x10
xor eax, eax
jmp 0x615cdb
push edi
push 0
push eax
mov dword [esi + 4], 6
mov dword [esi + 8], edi
call 0x646aef
mov eax, dword [esi]
add esp, 0xc
push dword [esi + 8]
mov ecx, esi
push dword [esi + 0xc]
call dword [eax + 4]
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebp
call fcn.005fec60
mov dword [ebp - 0x11a4], 0x3b
mov dword [ebp - 0x1174], 0xb4
mov eax, dword [ebp - 0x11a4]
cmp eax, dword [ebp - 0x1174]
jle 0x615d36
push ecx
and dword [ebp - 4], 0
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x615d21
mov eax, dword [ecx]
lea edx, [ebp - 4]
push edx
push 0x6aad96dc
call dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x615d2f
mov eax, dword [ecx]
call dword [eax + 8]
and dword [esi], 0
mov eax, dword [ebp - 4]
mov dword [esi], eax
pop esi
leave
mov dword [ebp - 0x12fc], 4
mov dword [ebp - 0x11a0], 0x93
mov ecx, dword [ebp - 0x12fc]
cmp ecx, dword [ebp - 0x11a0]
jle 0x615d65
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 8], eax
pop ebp
mov dword [ebp - 0x119c], 0x34
mov dword [ebp - 0x10a0], 0xb5
mov edx, dword [ebp - 0x119c]
cmp edx, dword [ebp - 0x10a0]
jle 0x615e58
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 8]
push eax
mov esi, ecx
call fcn.004c2957
cmp dword [eax + 4], 0xfffffffb
push esi
jne 0x615daa
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x48]
jmp 0x615db1
mov ecx, eax
call 0xb3c3d5
xor edx, edx
test eax, eax
setne dl
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
add edx, 0xfffffffa
mov dword [ecx + 4], edx
call 0x77cf5f
pop ecx
pop ecx
test eax, eax
jne 0x615dd8
push esi
call fcn.004c26d8
pop ecx
jmp 0x615e55
mov edi, dword [eax + 0x180]
push 0
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.004c27e3
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x615df7
mov eax, dword [eax]
jmp 0x615e39
cmp ecx, 0xfffffff9
jae fcn.00615e00
fld qword [eax]
jmp 0x615e2d
push ecx
push ecx
fstp qword [esp]
call 0xb3c2f4
pop ecx
pop ecx
mov ecx, dword [esi - 0x18]
mov ecx, dword [ecx + 8]
cmp dword [ecx + 0x11bc], 0xfffffffa
jne 0x615e50
push eax
mov ecx, edi
call 0x77e4d0
push 0xfffffffffffffffc
xor eax, eax
pop edx
pop edi
pop esi
leave
mov dword [ebp - 0x109c], 0x3e
mov dword [ebp - 0x12f8], 0xb9
mov eax, dword [ebp - 0x109c]
cmp eax, dword [ebp - 0x12f8]
jle 0x615f80
push ecx
push ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
push ebx
push esi
mov esi, dword [ecx + 0x10]
push edi
xor ebx, ebx
jmp 0x615e93
shl eax, 1
inc ebx
test eax, eax
jge 0x615e90
mov eax, ebx
imul eax, eax, 0x204
lea eax, [eax + esi + 0x144]
push 0x3f
mov dword [ebp - 8], eax
pop edx
mov dword [eax + 8], eax
mov dword [eax + 4], eax
add eax, 8
dec edx
jne 0x615eac
push 4
mov edi, ebx
push 0x1000
shl edi, 0xf
add edi, dword [ecx + 0xc]
push 0x8000
push edi
call dword [0x10015044]
test eax, eax
jne 0x615edf
or eax, 0xffffffff
jmp 0x615f7c
lea edx, [edi + 0x7000]
cmp edi, edx
mov dword [ebp - 4], edx
ja 0x615f2f
mov ecx, edx
sub ecx, edi
shr ecx, 0xc
lea eax, [edi + 0x10]
inc ecx
or dword [eax - 8], 0xffffffff
or dword [eax + 0xfec], 0xffffffff
lea edx, [eax + 0xffc]
mov dword [eax], edx
lea edx, [eax - 0x1004]
mov dword [eax - 4], 0xff0
mov dword [eax + 4], edx
mov dword [eax + 0xfe8], 0xff0
add eax, 0x1000
dec ecx
jne 0x615ef7
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
add eax, 0x1f8
lea ecx, [edi + 0xc]
mov dword [eax + 4], ecx
mov dword [ecx + 8], eax
lea ecx, [edx + 0xc]
mov dword [eax + 8], ecx
mov dword [ecx + 4], eax
and dword [esi + ebx*4 + 0x44], 0
xor edi, edi
inc edi
mov dword [esi + ebx*4 + 0xc4], edi
mov al, byte [esi + 0x43]
mov cl, al
inc cl
test al, al
mov eax, dword [ebp + 8]
mov byte [esi + 0x43], cl
jne 0x615f6c
or dword [eax + 4], edi
mov edx, 0x80000000
mov ecx, ebx
shr edx, cl
not edx
and dword [eax + 8], edx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
push 0x8007
call dword [0x757298]
mov dword [ebp - 0x68], 0xc
mov dword [ebp - 0x1364], 0xa9
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x1364]
jle 0x61601c
push 0xfffffffffffffffe
push 0x64e98e08
push 0x64e8be70
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x64e9a040]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
test eax, eax
je 0x616026
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x616026
mov ecx, dword [eax + 0x3c]
cmp ecx, 0x3e8
jg 0x616026
add eax, ecx
cmp dword [eax], 0x4550
jne 0x616026
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
mov dword [ebp - 0x1198], 1
mov dword [ebp - 0x1114], 0x83
mov edx, dword [ebp - 0x1198]
cmp edx, dword [ebp - 0x1114]
jle 0x6160a3
push ecx
push ecx
push esi
mov esi, ecx
cmp byte [esi + 0x1c], 0
je 0x61604d
xor al, al
jmp 0x6160a1
mov ecx, dword [esi + 8]
mov eax, dword [esi]
sub eax, ecx
push edi
cdq
add dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
lea edi, [ebp - 8]
push edi
push dword [esi + 0x18]
adc dword [esi + 0x14], edx
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xc]
test eax, eax
pop edi
je 0x616083
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 0x1003dd48
push eax
call 0x640aa1
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 8]
mov dword [esi], eax
add eax, ecx
test ecx, ecx
mov dword [esi + 4], eax
sete al
xor ecx, ecx
mov byte [esi + 0x1c], al
test al, al
sete cl
mov al, cl
pop esi
leave
mov dword [ebp - 0x1338], 0x27
mov dword [ebp - 0x1218], 0x86
mov eax, dword [ebp - 0x1338]
cmp eax, dword [ebp - 0x1218]
jle 0x6160cf
mov eax, dword [ebp + 8]
mov dword [ecx + 0x8c], eax
pop ebp
mov dword [ebp - 0x1360], 0x4d
mov dword [ebp - 0x12f4], 0xa4
mov ecx, dword [ebp - 0x1360]
cmp ecx, dword [ebp - 0x12f4]
jle 0x616127
and esp, 0xfffffff8
push ecx
push ebx
push esi
xor eax, eax
cmp dword [ebp + 0x1c], eax
mov esi, ecx
push edi
mov edi, dword [esi + 0x330]
jne 0x61611b
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
push dword [ebp + 8]
call 0x61612a
mov dword [esi + 0x330], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
mov dword [ebp - 0x1284], 0x53
mov dword [ebp - 0x11cc], 0x8e
mov edx, dword [ebp - 0x1284]
cmp edx, dword [ebp - 0x11cc]
jle 0x6161da
push 0xffffffffffffffff
push 0x3f06b6eb
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x3f07fc40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push 0x1c
call 0x637f4d
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x6161a5
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0060811a
mov dword [ebp - 0x20], eax
jmp 0x6161ac
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
push 0x3f02cf40
mov ecx, dword [ebp - 0x10]
call fcn.0061c4fa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov dword [ebp - 0x12b4], 0x1ae6b0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x64], 0x6f
pushfd
outsd dx, dword [esi]
add byte [eax], al
add byte [ebx + 0x453be445], cl
pushfd
jle 0x61624f
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x80], 6
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
call 0x6174c7
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.00618187
push 0xc363
push 1
mov ecx, dword [ebp - 4]
call fcn.00618927
push 1
push 0
push 0xc35e
push 0xc35b
push 1
mov ecx, dword [ebp - 4]
call 0x6162b7
mov esp, ebp
pop ebp
mov dword [ebp - 0x1214], 0x2f
mov dword [ebp - 0x1148], 0xbd
mov ecx, dword [ebp - 0x1214]
cmp ecx, dword [ebp - 0x1148]
jle 0x6162cf
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
call dword [0x6224a010]
mov ebx, eax
test ebx, ebx
jne 0x6162ca
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 8]
lea eax, [esi + 0x84]
xor edi, edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], edi
cmp eax, ecx
je 0x6162aa
push dword [eax]
call 0x6510fb
mov edi, dword [ebp - 4]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
test edi, edi
je 0x6162c9
mov eax, dword [edi]
push 0x62200000
mov ecx, edi
call dword [eax + 0x24]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
mov dword [ebp - 0x1280], 0x14
mov dword [ebp - 0x1144], 0xa9
mov edx, dword [ebp - 0x1280]
cmp edx, dword [ebp - 0x1144]
jle 0x616339
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
push eax
mov eax, dword [ebp + 0x30]
push ecx
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [0x1009a0ec]
push eax
push ecx
push edx
call fcn.00616c6e
add esp, 0x3c
pop ebp
invalid
test dword [eax], edi
out dx, al