Function at 0x1006d260
Capabilities:
Authenticate hmac
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
push ebx
push esi
push edi
push 0x13
push 0x10035d20
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0xf
call fcn.1003ae40
push 3
push 0x10035d34
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0xf
call fcn.1003ae40
push 0x1f
push 0x10035d38
lea ecx, [esp + 0xa0]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0xf
call fcn.1003ae40
push 0x1e
push 0x10035d58
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0xf
call fcn.1003ae40
push 0xb
push 0x10035d78
lea ecx, [esp + 0xd0]
mov dword [esp + 0xd0], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0xf
call fcn.1003ae40
push 0x18
push 0x10035d84
lea ecx, [esp + 0xe8]
mov dword [esp + 0xe8], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0xf
call fcn.1003ae40
push 0x1a
push 0x10035da0
lea ecx, [esp + 0x100]
mov dword [esp + 0x100], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0xf
call fcn.1003ae40
lea ecx, [esp + 0x98]
push ecx
lea eax, [esp + 0x114]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.100785e0
push 0x1003adf0
push 5
push 0x18
lea eax, [esp + 0xa4]
push eax
call fcn.10079b58
push dword [esp + 0x94]
lea ecx, [esp + 0x44]
push dword [0x1009d074]
push dword [0x1009d070]
call fcn.10078c90
mov eax, dword [0x1000278c]
lea edx, [esp + 0x7c]
mov ecx, dword [0x100027b4]
mov ebx, dword [ebp + 0x4c]
push eax
push ecx
push dword [ebp + 0x54]
push 0x1009d0d0
push edx
push ebx
push 0x1009d1a0
push 0x1009d1b8
push dword [0x1000279c]
lea edx, [esp + 0x70]
push 0x1009d100
push ecx
push 0x1009d170
push 0x1009d1b8
push edx
mov edx, dword [0x100027ac]
push 0x588e
push 0x1009d1a0
push dword [ebp + 0x40]
push eax
push dword [ebp + 0x10]
push ecx
lea ecx, [esp + 0x78]
call fcn.10047f90
add esp, 0x50
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x1006d491
mov eax, dword [eax]
mov byte [eax], 0
mov edx, dword [esp + 0x3c]
cmp edx, 0x10
jb 0x1006d4ca
mov ecx, dword [esp + 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d4c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd42
push edx
push ecx
call fcn.10079b22
add esp, 8
cmp dword [0x1009d0c8], 0x6b
jae 0x1006d52a
push 0x1009d170
mov edx, 0x1009d224
lea ecx, [esp + 0x2c]
call fcn.100789e0
add esp, 4
mov ecx, 0x1009d0b8
push eax
call fcn.1003b590
mov edx, dword [esp + 0x3c]
cmp edx, 0x10
jb 0x1006d52a
mov ecx, dword [esp + 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d520
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd47
push edx
push ecx
call fcn.10079b22
add esp, 8
mov esi, dword [ebp + 0x48]
lea ecx, [esp + 0x10]
sub esp, 8
mov edi, dword [ebp + 0x14]
push esi
sub esp, 0x10
push dword [ebp + 0x28]
sub esp, 8
push dword [0x100027ac]
push dword [0x100027a0]
push 0x588e
sub esp, 8
push edi
sub esp, 0x10
call fcn.1004c8a0
mov edx, 0x5c
mov dword [esp + 0x78], 0
add esp, 0x50
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0xf
cmp dword [eax + 0x10], edx
cmovb edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x1006d58d
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.1003ae40
mov edx, dword [esp + 0x3c]
cmp edx, 0x10
jb 0x1006d5ce
mov ecx, dword [esp + 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d5c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd4c
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x1006d604
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d5fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd4c
push edx
push ecx
call fcn.10079b22
add esp, 8
cmp dword [esp + 0x5c], 0x36
jae 0x1006d721
push 0x1009d1a0
push 0x1009d0d0
push 0x1009d1d0
mov edx, 0x1009d20c
lea ecx, [esp + 0x70]
call fcn.100789e0
add esp, 4
lea ecx, [esp + 0x18]
mov edx, eax
call fcn.10078930
add esp, 4
lea ecx, [esp + 0x2c]
mov edx, eax
call fcn.10078930
add esp, 4
lea ecx, [esp + 0x4c]
push eax
call fcn.1003b590
mov edx, dword [esp + 0x3c]
cmp edx, 0x10
jb 0x1006d68b
mov ecx, dword [esp + 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d681
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd51
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0xf
mov byte [esp + 0x28], 0
cmp edx, 0x10
jb 0x1006d6d6
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d6cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd51
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x78]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
mov byte [esp + 0x10], 0
cmp edx, 0x10
jb 0x1006d721
mov ecx, dword [esp + 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d717
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd51
push edx
push ecx
call fcn.10079b22
add esp, 8
cmp dword [esp + 0x8c], 0x76
jae 0x1006d841
push 0x1009d11c
push 0x1009d188
push 0x1009d134
mov edx, 0x1009d1b8
lea ecx, [esp + 0x70]
call fcn.100789e0
add esp, 4
lea ecx, [esp + 0x18]
mov edx, eax
call fcn.10078930
add esp, 4
lea ecx, [esp + 0x2c]
mov edx, eax
call fcn.10078930
add esp, 4
lea ecx, [esp + 0x7c]
push eax
call fcn.1003b590
mov edx, dword [esp + 0x3c]
cmp edx, 0x10
jb 0x1006d7ab
mov ecx, dword [esp + 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d7a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd56
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0xf
mov byte [esp + 0x28], 0
cmp edx, 0x10
jb 0x1006d7f6
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d7ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd56
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x78]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
mov byte [esp + 0x10], 0
cmp edx, 0x10
jb 0x1006d841
mov ecx, dword [esp + 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d837
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd56
push edx
push ecx
call fcn.10079b22
add esp, 8
mov ecx, dword [ebp + 0x34]
mov edx, 0x45
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
cmp dword [ecx + 0x10], edx
cmovb edx, dword [ecx + 0x10]
cmp dword [ecx + 0x14], 0x10
jb 0x1006d870
mov ecx, dword [ecx]
push edx
push ecx
lea ecx, [esp + 0x18]
call fcn.1003ae40
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
mov byte [eax], 0
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x1006d8c2
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d8b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd6a
push edx
push ecx
call fcn.10079b22
add esp, 8
mov eax, dword [0x100027a8]
push eax
push eax
push edi
push dword [ebp + 0x18]
lea eax, [esp + 0x74]
push 0x1009d224
push 0x1009d1f4
push dword [0x1000278c]
push esi
push dword [0x1000279c]
push dword [ebp + 0x38]
push ebx
push 0x1009d0d0
push 0x1009d20c
push 0x1009d1b8
push 0x1009d224
push dword [0x10002798]
push dword [ebp + 0x10]
push dword [ebp + 0x40]
push dword [0x100027b4]
push dword [ebp + 0x30]
push dword [ebp + 8]
push eax
call sym.desktop.d_prosuffrage
mov edi, dword [0x1009d0e0]
add esp, 0x58
cmp dword [0x1009d0e4], 0x10
mov ecx, 0x1009d0d0
mov ebx, 2
mov esi, edi
cmovae ecx, dword [0x1009d0d0]
mov edx, 0x10035dc8
cmp edi, ebx
cmova esi, ebx
sub esi, 4
jb 0x1006d961
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1006d966
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1006d950
cmp esi, 0xfffffffc
je 0x1006d99a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1006d993
cmp esi, 0xfffffffd
je 0x1006d99a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1006d993
cmp esi, 0xfffffffe
je 0x1006d99a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1006d993
cmp esi, 0xffffffff
je 0x1006d99a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1006d99a
sbb esi, esi
or esi, 1
jmp 0x1006d99c
xor esi, esi
test esi, esi
jne 0x1006d9ad
cmp ebx, edi
jbe 0x1006d9a9
or esi, 0xffffffff
jmp 0x1006d9ad
sbb esi, esi
neg esi
push 0x10035dbc
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov edx, dword [esp + 0x78]
add eax, esi
xor eax, 0x7fffffff
mov dword [0x10002794], eax
cmp edx, 0x10
jb 0x1006d9fa
mov ecx, dword [esp + 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d9f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd5b
push edx
push ecx
call fcn.10079b22
add esp, 8
cmp dword [0x1009d234], 0xb6
jae 0x1006dabf
push 0x1009d0d0
push 0x1009d1a0
mov edx, 0x1009d100
lea ecx, [esp + 0x6c]
call fcn.100789e0
add esp, 4
lea ecx, [esp + 0x2c]
mov edx, eax
call fcn.10078930
add esp, 4
mov ecx, 0x1009d224
push eax
call fcn.1003b590
mov edx, dword [esp + 0x3c]
cmp edx, 0x10
jb 0x1006da74
mov ecx, dword [esp + 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006da6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd60
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x78]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0xf
mov byte [esp + 0x28], 0
cmp edx, 0x10
jb 0x1006dabf
mov ecx, dword [esp + 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006dab5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd60
push edx
push ecx
call fcn.10079b22
add esp, 8
push 3
push 0x10035dcc
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xf
call fcn.1003ae40
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
mov byte [eax], 0
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x1006db2e
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006db24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd6a
push edx
push ecx
call fcn.10079b22
add esp, 8
push 1
push 0x10035dd0
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xf
call fcn.1003ae40
push 1
push 0x10035dd0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xf
call fcn.1003ae40
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
xor eax, dword [esp + 0x38]
xor eax, dword [ebp + 0x54]
mov edx, dword [esp + 0x24]
mov dword [0x100027ac], eax
cmp edx, 0x10
jb 0x1006dbd5
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006dbcb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd65
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
mov byte [esp + 0x10], 0
cmp edx, 0x10
jb 0x1006dc20
mov ecx, dword [esp + 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006dc16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd65
push edx
push ecx
call fcn.10079b22
add esp, 8
cmp dword [0x1009d19c], 0x10
mov eax, 0x1009d188
mov dword [0x1009d198], 0
cmovae eax, dword [0x1009d188]
mov byte [eax], 0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x1006dcb6
mov edx, dword [esp + 0x44]
push ecx
call fcn.1003b800
mov ecx, dword [esp + 0x4c]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x44]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1006dc94
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd6a
push ecx
push esi
call fcn.10079b22
add esp, 8
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov edx, dword [esp + 0x60]
cmp edx, 0x10
jb 0x1006dcec
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006dce2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd6a
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x90]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0xf
mov byte [esp + 0x4c], 0
cmp edx, 0x10
jb 0x1006dd36
mov ecx, dword [esp + 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006dd2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd6a
push edx
push ecx
call fcn.10079b22
add esp, 8
pop edi
pop esi
mov eax, 0x1c0e
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
int3