Function at 0x1000f950
Capabilities:
Authenticate hmac
Get common file path
Parse pe header
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060946
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x10075604]
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
push 0x104
lea eax, [ebp - 0x15c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x15c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp byte [ebp - 0x15c], 0
mov dword [ebp - 0x1a0], 0xf
mov dword [ebp - 0x1a4], 0
mov byte [ebp - 0x1b4], 0
jne 0x1000f9ce
xor ecx, ecx
jmp 0x1000f9e0
lea ecx, [ebp - 0x15c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f9d7
sub ecx, edx
push ecx
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.10002800
lea eax, [ebp - 0x1b4]
mov dword [ebp - 4], 0
push eax
call fcn.10011020
mov eax, dword [ebp - 0x1a0]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1000fa2d
inc eax
push 1
push eax
push dword [ebp - 0x1b4]
call fcn.10002610
add esp, 0xc
mov byte [ebp - 0x1a8], 0x33
mov al, 0x7c
xor al, byte [ebp - 0x1a8]
mov cl, 0x43
xor cl, byte [ebp - 0x1a8]
mov ch, 0x5d
mov byte [ebp - 0x1a7], al
mov bl, 0x5a
mov byte [ebp - 0x197], ch
mov ah, 0x5c
mov al, byte [ebp - 0x197]
mov dl, 0x47
mov byte [ebp - 0x1a6], cl
mov dh, 0x1d
mov cl, byte [ebp - 0x1a8]
mov bh, 0x7a
xor al, cl
mov byte [ebp - 0x191], bl
mov byte [ebp - 0x19f], al
xor ah, cl
mov al, byte [ebp - 0x191]
xor dl, cl
xor al, cl
mov byte [ebp - 0x1a3], ah
mov byte [ebp - 0x19e], al
xor bl, cl
lea eax, [ebp - 0x1a7]
mov byte [ebp - 0x19d], 0
push eax
lea eax, [ebp - 0x174]
mov byte [ebp - 0x1a5], dl
xor ch, cl
mov byte [ebp - 0x1a4], bl
xor dh, cl
mov byte [ebp - 0x1a2], ch
xor bh, cl
mov byte [ebp - 0x1a1], dh
push 0x100760e8
push eax
mov byte [ebp - 0x1a0], bh
mov byte [ebp - 0x19d], 0
call fcn.10006f30
add esp, 0xc
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov ch, 0x28
mov byte [ebp - 0x176], 0
cmovae esi, dword [ebp - 0x174]
mov cl, 0x47
xor cl, ch
mov byte [ebp - 0x17c], ch
mov al, 0x6b
mov byte [ebp - 0x17a], cl
xor al, ch
mov dword [ebp - 4], 1
mov dl, 0x5d
mov byte [ebp - 0x17b], al
xor dl, ch
mov byte [ebp - 0x176], 0
mov dh, 0x4b
mov byte [ebp - 0x179], dl
mov ah, 0x5c
mov byte [ebp - 0x18c], dh
xor ah, ch
mov byte [ebp - 0x185], 0
mov cl, 0x2d
mov byte [ebp - 0x177], ah
mov bl, 0x46
mov al, 0xe
xor bl, ch
mov dl, cl
xor al, dh
mov byte [ebp - 0x178], bl
xor cl, dh
mov byte [ebp - 0x18b], al
mov ah, ch
mov byte [ebp - 0x18a], cl
mov bl, 0x2e
mov ch, 0x3f
xor dl, dh
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor ah, dh
push esi
mov byte [ebp - 0x187], ah
xor bl, dh
push 0
lea eax, [ebp - 0x17b]
mov byte [ebp - 0x189], dl
push eax
lea eax, [ebp - 0x18b]
mov byte [ebp - 0x188], bl
xor ch, dh
mov byte [ebp - 0x185], 0
push eax
mov byte [ebp - 0x186], ch
call edi
test eax, eax
jns 0x1000fbc1
mov dword [0x10076148], 0
jmp 0x1000fbd0
mov ecx, 0x1388
cmp eax, ecx
cmovg eax, ecx
mov dword [0x10076148], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov byte [ebp - 0x180], 0x48
mov al, 0x1f
cmovae esi, dword [ebp - 0x174]
mov cl, 0x21
xor al, byte [ebp - 0x180]
mov ch, cl
mov byte [ebp - 0x17f], al
mov ah, 0x1e
mov al, byte [ebp - 0x180]
mov dh, 0x2d
xor ah, al
mov byte [ebp - 0x177], 0
xor dh, al
mov byte [ebp - 0x17b], ah
xor cl, al
mov byte [ebp - 0x179], dh
xor ch, al
mov byte [ebp - 0x17e], cl
mov dh, 0x53
mov byte [ebp - 0x17a], ch
mov dl, 0x26
mov byte [ebp - 0x185], 0
xor dl, al
mov byte [ebp - 0x177], 0
mov bl, 0x2f
mov byte [ebp - 0x17d], dl
xor bl, al
mov byte [ebp - 0x18c], dh
mov bh, 0x3f
mov byte [ebp - 0x17c], bl
xor bh, al
mov byte [ebp - 0x185], 0
mov al, 0x16
mov byte [ebp - 0x178], bh
mov ah, 0x30
xor al, dh
xor ah, dh
mov byte [ebp - 0x18b], al
push esi
mov byte [ebp - 0x187], ah
mov cl, 0x35
push 1
lea eax, [ebp - 0x17f]
mov dl, cl
push eax
mov ch, 0x27
lea eax, [ebp - 0x18b]
mov bl, 0x36
xor cl, dh
xor dl, dh
mov byte [ebp - 0x18a], cl
xor bl, dh
mov byte [ebp - 0x189], dl
xor ch, dh
mov byte [ebp - 0x188], bl
push eax
mov byte [ebp - 0x186], ch
call edi
mov ecx, 1
test eax, eax
jns 0x1000fccd
mov dword [0x1007614c], 0
jmp 0x1000fcd8
cmp eax, 1
cmovg eax, ecx
mov dword [0x1007614c], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov cl, 0x25
mov byte [ebp - 0x180], 0x48
cmovae esi, dword [ebp - 0x174]
mov ch, cl
xor cl, byte [ebp - 0x180]
mov al, 0xd
xor al, byte [ebp - 0x180]
mov ah, 0x2d
mov byte [ebp - 0x17f], al
mov dh, 0x1e
mov byte [ebp - 0x191], ah
mov dl, 0x2a
mov al, byte [ebp - 0x191]
mov bl, 0x24
mov byte [ebp - 0x17e], cl
mov bh, 0x21
mov cl, byte [ebp - 0x180]
xor al, cl
mov byte [ebp - 0x197], 0x3f
mov byte [ebp - 0x177], al
xor ah, cl
mov al, byte [ebp - 0x197]
xor dh, cl
xor al, cl
mov byte [ebp - 0x17b], ah
mov byte [ebp - 0x176], al
xor dl, cl
mov byte [ebp - 0x179], dh
xor bl, cl
mov dh, 0x4b
mov byte [ebp - 0x17d], dl
xor ch, cl
mov byte [ebp - 0x17c], bl
mov al, 0xe
mov byte [ebp - 0x17a], ch
mov ah, 0x28
mov byte [ebp - 0x175], 0
xor al, dh
mov byte [ebp - 0x185], 0
xor ah, dh
mov byte [ebp - 0x18b], al
push esi
xor bh, cl
mov byte [ebp - 0x187], ah
mov cl, 0x2d
mov byte [ebp - 0x178], bh
push 1
lea eax, [ebp - 0x17f]
mov byte [ebp - 0x175], 0
mov dl, cl
mov byte [ebp - 0x18c], dh
push eax
mov ch, 0x3f
mov byte [ebp - 0x185], 0
mov bl, 0x2e
lea eax, [ebp - 0x18b]
xor cl, dh
xor dl, dh
xor bl, dh
mov byte [ebp - 0x18a], cl
xor ch, dh
mov byte [ebp - 0x189], dl
push eax
mov byte [ebp - 0x188], bl
mov byte [ebp - 0x186], ch
call edi
test eax, eax
jns 0x1000fdfd
mov dword [0x10076150], 0
jmp 0x1000fe0d
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x10076150], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov byte [ebp - 0x180], 0x2a
mov al, 0x7a
cmovae esi, dword [ebp - 0x174]
mov cl, 0x4b
xor al, byte [ebp - 0x180]
mov ah, 0x45
xor cl, byte [ebp - 0x180]
mov dh, 0x7c
mov byte [ebp - 0x17f], al
mov dl, 0x5e
mov byte [ebp - 0x17e], cl
mov ch, 0x59
mov cl, byte [ebp - 0x180]
mov bl, 0x42
mov byte [ebp - 0x191], 0x4f
xor ah, cl
mov al, byte [ebp - 0x191]
xor dh, cl
xor al, cl
mov byte [ebp - 0x197], 0x5d
mov byte [ebp - 0x177], al
xor dl, cl
mov al, byte [ebp - 0x197]
xor bl, cl
xor al, cl
mov byte [ebp - 0x17b], ah
mov byte [ebp - 0x176], al
xor ch, cl
mov byte [ebp - 0x179], dh
mov al, 0x6f
mov dh, 0x2a
mov byte [ebp - 0x17d], dl
mov ah, 0x49
mov byte [ebp - 0x17c], bl
xor al, dh
mov byte [ebp - 0x17a], ch
xor ah, dh
mov byte [ebp - 0x18b], al
push esi
mov bh, 0x43
mov byte [ebp - 0x187], ah
xor bh, cl
mov byte [ebp - 0x175], 0
mov cl, 0x4c
mov byte [ebp - 0x185], 0
push 1
lea eax, [ebp - 0x17f]
mov byte [ebp - 0x178], bh
mov dl, cl
mov byte [ebp - 0x175], 0
push eax
mov ch, 0x5e
mov byte [ebp - 0x18c], dh
mov bl, 0x4f
mov byte [ebp - 0x185], 0
lea eax, [ebp - 0x18b]
xor cl, dh
xor dl, dh
mov byte [ebp - 0x18a], cl
xor bl, dh
mov byte [ebp - 0x189], dl
xor ch, dh
mov byte [ebp - 0x188], bl
push eax
mov byte [ebp - 0x186], ch
call edi
test eax, eax
jns 0x1000ff33
mov dword [0x10076154], 0
jmp 0x1000ff43
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x10076154], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov bh, 0x62
mov byte [ebp - 0x184], 0
cmovae esi, dword [ebp - 0x174]
mov al, 0x20
xor al, bh
mov byte [ebp - 0x177], 0
mov ah, 9
mov byte [ebp - 0x18b], al
xor ah, bh
mov byte [ebp - 0x18c], bh
mov cl, 0xe
mov byte [ebp - 0x187], ah
mov ah, 0x40
mov byte [ebp - 0x184], 0
mov dl, 0xd
mov byte [ebp - 0x17c], ah
xor cl, bh
mov byte [ebp - 0x177], 0
xor dl, bh
mov byte [ebp - 0x18a], cl
mov bl, 1
mov byte [ebp - 0x189], dl
xor bl, bh
mov al, 0xd
mov byte [ebp - 0x188], bl
xor al, ah
push esi
mov cl, 0x29
mov byte [ebp - 0x17b], al
mov dl, 0x33
xor cl, ah
xor dl, ah
mov byte [ebp - 0x17a], cl
mov bl, 0x23
mov byte [ebp - 0x179], dl
xor bl, ah
mov ch, 0x36
push 0
lea eax, [ebp - 0x18b]
mov byte [ebp - 0x178], bl
push eax
mov dh, 0x32
lea eax, [ebp - 0x17b]
xor ch, bh
xor dh, bh
push eax
mov byte [ebp - 0x186], ch
mov byte [ebp - 0x185], dh
call edi
test eax, eax
jns 0x10010014
mov dword [0x10076158], 0
jmp 0x10010024
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x10076158], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov byte [ebp - 0x18c], 0x62
mov al, 0x31
cmovae esi, dword [ebp - 0x174]
mov bl, 0xe
xor al, byte [ebp - 0x18c]
mov ah, bl
mov byte [ebp - 0x18b], al
mov cl, 9
mov al, byte [ebp - 0x18c]
mov dl, 0xb
xor cl, al
mov byte [ebp - 0x191], 3
xor dl, al
mov byte [ebp - 0x18a], cl
xor bl, al
mov byte [ebp - 0x189], dl
xor ah, al
mov byte [ebp - 0x188], bl
mov ch, 0x23
mov byte [ebp - 0x187], ah
xor ch, al
mov byte [ebp - 0x182], 0
mov dh, 0x10
mov byte [ebp - 0x177], 0
xor dh, al
mov byte [ebp - 0x186], ch
mov bh, 7
mov byte [ebp - 0x185], dh
xor bh, al
mov byte [ebp - 0x182], 0
mov al, byte [ebp - 0x191]
mov ah, 0x27
xor al, byte [ebp - 0x18c]
mov cl, 0x4e
mov byte [ebp - 0x183], al
mov dl, 0x54
mov al, 0x6a
mov byte [ebp - 0x17c], ah
xor al, ah
mov byte [ebp - 0x184], bh
push esi
xor cl, ah
mov byte [ebp - 0x17b], al
xor dl, ah
mov byte [ebp - 0x17a], cl
mov bl, 0x44
mov byte [ebp - 0x179], dl
xor bl, ah
mov byte [ebp - 0x177], 0
push 0
lea eax, [ebp - 0x18b]
mov byte [ebp - 0x178], bl
push eax
lea eax, [ebp - 0x17b]
push eax
call edi
test eax, eax
jns 0x10010121
mov dword [0x1007615c], 0
jmp 0x10010131
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x1007615c], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov cl, 0x44
mov dword [ebp - 0x190], 0x2a251644
cmovae esi, dword [ebp - 0x174]
xor eax, eax
mov dword [ebp - 0x18c], 0x232a2d2f
mov dword [ebp - 0x188], 0x21222201
mov word [ebp - 0x184], 0x3027
mov byte [ebp - 0x182], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x18f], cl
inc eax
cmp eax, 0xd
jae 0x10010195
mov cl, byte [ebp - 0x190]
jmp 0x10010180
mov ah, 0x14
mov byte [ebp - 0x177], 0
mov al, 0x59
mov byte [ebp - 0x17c], ah
xor al, ah
mov byte [ebp - 0x182], 0
push esi
mov cl, 0x7d
mov byte [ebp - 0x17b], al
mov dl, 0x67
mov byte [ebp - 0x177], 0
xor cl, ah
xor dl, ah
mov bl, 0x77
mov byte [ebp - 0x17a], cl
xor bl, ah
mov byte [ebp - 0x179], dl
push 0
lea eax, [ebp - 0x18f]
mov byte [ebp - 0x178], bl
push eax
lea eax, [ebp - 0x17b]
push eax
call edi
test eax, eax
jns 0x100101fd
mov dword [0x10076160], 0
jmp 0x1001020d
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x10076160], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov cl, 0x49
mov dword [ebp - 0x190], 0x24280a49
cmovae esi, dword [ebp - 0x174]
xor eax, eax
mov dword [ebp - 0x18c], 0x1b283b2c
mov dword [ebp - 0x188], 0x2c2e2728
mov byte [ebp - 0x184], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x18f], cl
inc eax
cmp eax, 0xb
jae 0x10010265
mov cl, byte [ebp - 0x190]
jmp 0x10010250
mov ah, 0x1f
mov byte [ebp - 0x177], 0
mov al, 0x52
mov byte [ebp - 0x17c], ah
xor al, ah
mov byte [ebp - 0x184], 0
push esi
mov cl, 0x76
mov byte [ebp - 0x17b], al
mov dl, 0x6c
mov byte [ebp - 0x177], 0
xor cl, ah
xor dl, ah
mov bl, 0x7c
mov byte [ebp - 0x17a], cl
xor bl, ah
mov byte [ebp - 0x179], dl
push 0
lea eax, [ebp - 0x18f]
mov byte [ebp - 0x178], bl
push eax
lea eax, [ebp - 0x17b]
push eax
call edi
test eax, eax
jns 0x100102cd
mov dword [0x10076168], 0
jmp 0x100102dc
mov ecx, 0xa
cmp eax, ecx
cmovg eax, ecx
mov dword [0x10076168], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov byte [ebp - 0x18c], 0x50
mov al, 0x17
cmovae esi, dword [ebp - 0x174]
mov dl, 0x3d
xor al, byte [ebp - 0x18c]
mov dh, dl
mov byte [ebp - 0x18b], al
mov bl, 0x35
mov al, byte [ebp - 0x18c]
mov ah, 4
xor ah, al
mov byte [ebp - 0x183], 0
xor dl, al
mov byte [ebp - 0x187], ah
mov bh, bl
mov byte [ebp - 0x189], dl
xor bl, al
mov byte [ebp - 0x177], 0
xor dh, al
mov byte [ebp - 0x188], bl
xor bh, al
mov byte [ebp - 0x185], dh
mov ah, 0x22
mov byte [ebp - 0x184], bh
mov cl, 0x31
mov byte [ebp - 0x17c], ah
xor cl, al
mov byte [ebp - 0x183], 0
mov ch, 0x39
mov byte [ebp - 0x18a], cl
xor ch, al
mov byte [ebp - 0x177], 0
mov al, 0x6f
mov byte [ebp - 0x186], ch
xor al, ah
mov cl, 0x4b
push esi
mov dl, 0x51
mov byte [ebp - 0x17b], al
xor cl, ah
xor dl, ah
mov bl, 0x41
mov byte [ebp - 0x17a], cl
xor bl, ah
mov byte [ebp - 0x179], dl
push 0
lea eax, [ebp - 0x18b]
mov byte [ebp - 0x178], bl
push eax
lea eax, [ebp - 0x17b]
push eax
call edi
test eax, eax
jns 0x100103c0
mov dword [0x10076164], 0
jmp 0x100103cf
mov ecx, 0x17
cmp eax, ecx
cmovg eax, ecx
mov dword [0x10076164], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov byte [ebp - 0x180], 0xe
mov al, 0x5c
cmovae esi, dword [ebp - 0x174]
mov cl, 0x6b
xor al, byte [ebp - 0x180]
mov bl, cl
mov byte [ebp - 0x17f], al
mov dl, 0x63
mov al, byte [ebp - 0x180]
mov ah, dl
xor ah, al
mov byte [ebp - 0x177], 0
xor cl, al
mov byte [ebp - 0x17b], ah
xor dl, al
mov byte [ebp - 0x17e], cl
mov dh, bl
mov byte [ebp - 0x17d], dl
xor bl, al
mov byte [ebp - 0x184], 0
xor dh, al
mov byte [ebp - 0x17c], bl
mov bh, 0x7c
mov byte [ebp - 0x179], dh
xor bh, al
mov byte [ebp - 0x177], 0
mov ch, 0x6c
mov byte [ebp - 0x178], bh
xor ch, al
mov byte [ebp - 0x184], 0
mov bh, 0x2e
mov byte [ebp - 0x17a], ch
mov al, 0x6f
mov byte [ebp - 0x18c], bh
mov ah, 0x5b
xor al, bh
xor ah, bh
mov byte [ebp - 0x18b], al
push esi
mov byte [ebp - 0x187], ah
mov cl, 0x4d
push 0
lea eax, [ebp - 0x17f]
mov dl, cl
push eax
mov ch, 0x40
lea eax, [ebp - 0x18b]
mov dh, 0x5a
mov bl, 0x41
xor cl, bh
xor dl, bh
xor ch, bh
mov byte [ebp - 0x18a], cl
xor dh, bh
mov byte [ebp - 0x189], dl
xor bl, bh
mov byte [ebp - 0x186], ch
push eax
mov byte [ebp - 0x188], bl
mov byte [ebp - 0x185], dh
call edi
test eax, eax
jns 0x100104d1
mov dword [0x1007616c], 0
jmp 0x100104e1
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x1007616c], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov byte [ebp - 0x180], 0x6f
mov al, 0x2e
cmovae esi, dword [ebp - 0x174]
mov cl, 0xc
xor al, byte [ebp - 0x180]
mov dl, cl
mov byte [ebp - 0x17f], al
xor bl, bl
mov al, byte [ebp - 0x180]
mov ah, 0x1a
xor cl, al
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor dl, al
mov byte [ebp - 0x176], bl
xor bl, al
mov byte [ebp - 0x191], 0x2b
xor ah, al
mov byte [ebp - 0x17e], cl
mov ch, 1
mov byte [ebp - 0x17b], ah
xor ch, al
mov byte [ebp - 0x17d], dl
mov dh, 0x1b
mov byte [ebp - 0x17c], bl
xor dh, al
mov byte [ebp - 0x17a], ch
mov bh, 0x26
mov byte [ebp - 0x179], dh
xor bh, al
mov word [ebp - 0x198], 0x1c
mov al, byte [ebp - 0x191]
mov ah, 0x76
xor al, byte [ebp - 0x180]
mov cl, 0x60
mov byte [ebp - 0x177], al
mov dl, cl
mov byte [ebp - 0x178], bh
mov al, 0x42
mov bh, 3
mov byte [ebp - 0x184], 0
xor al, bh
mov byte [ebp - 0x197], 0
xor ah, bh
mov byte [ebp - 0x18b], al
push esi
mov byte [ebp - 0x187], ah
mov ch, 0x6d
push 0x15
lea eax, [ebp - 0x28]
mov byte [ebp - 0x176], 0
push eax
lea eax, [ebp - 0x197]
mov byte [ebp - 0x18c], bh
push eax
lea eax, [ebp - 0x17f]
mov byte [ebp - 0x184], 0
push eax
mov dh, 0x77
lea eax, [ebp - 0x18b]
mov bl, 0x6c
xor cl, bh
xor dl, bh
mov byte [ebp - 0x18a], cl
xor ch, bh
mov byte [ebp - 0x189], dl
xor dh, bh
mov byte [ebp - 0x186], ch
xor bl, bh
mov byte [ebp - 0x185], dh
push eax
mov byte [ebp - 0x188], bl
call edi
cmp byte [ebp - 0x28], 0
jne 0x10010616
xor ecx, ecx
jmp 0x10010629
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010620
sub ecx, edx
push ecx
lea eax, [ebp - 0x28]
mov ecx, 0x10076118
push eax
call fcn.10002800
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov byte [ebp - 0x180], 0xc
mov al, 0x5c
cmovae esi, dword [ebp - 0x174]
mov dl, 0x7f
xor al, byte [ebp - 0x180]
mov bl, dl
mov byte [ebp - 0x17f], al
mov ah, 0x5b
mov al, byte [ebp - 0x180]
mov bh, 0x68
xor ah, al
mov word [ebp - 0x19c], 0x26
xor bh, al
mov byte [ebp - 0x17b], ah
xor dl, al
mov byte [ebp - 0x178], bh
xor bl, al
mov byte [ebp - 0x17d], dl
mov bh, 0x51
mov byte [ebp - 0x17c], bl
mov cl, 0x6d
mov byte [ebp - 0x177], 0
xor cl, al
mov byte [ebp - 0x184], 0
mov ch, 0x63
mov byte [ebp - 0x17e], cl
xor ch, al
mov byte [ebp - 0x19b], 0
mov dh, 0x7e
mov byte [ebp - 0x17a], ch
xor dh, al
mov byte [ebp - 0x177], 0
push esi
mov al, 0x10
mov byte [ebp - 0x179], dh
xor al, bh
mov byte [ebp - 0x18c], bh
mov ah, 0x24
mov byte [ebp - 0x18b], al
xor ah, bh
mov byte [ebp - 0x184], 0
mov byte [ebp - 0x187], ah
mov cl, 0x32
push 0x30
lea eax, [ebp - 0x58]
mov dl, cl
push eax
lea eax, [ebp - 0x19b]
mov ch, 0x3f
push eax
lea eax, [ebp - 0x17f]
mov dh, 0x25
push eax
mov bl, 0x3e
lea eax, [ebp - 0x18b]
xor cl, bh
xor dl, bh
xor ch, bh
mov byte [ebp - 0x18a], cl
xor dh, bh
mov byte [ebp - 0x189], dl
xor bl, bh
mov byte [ebp - 0x186], ch
push eax
mov byte [ebp - 0x188], bl
mov byte [ebp - 0x185], dh
call edi
cmp byte [ebp - 0x58], 0
jne 0x1001074f
xor ecx, ecx
jmp 0x1001075e
lea ecx, [ebp - 0x58]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010755
sub ecx, edx
push ecx
lea eax, [ebp - 0x58]
mov ecx, 0x10076130
push eax
call fcn.10002800
call fcn.100107b0
mov eax, dword [ebp - 0x160]
cmp eax, 0x10
jb 0x1001078f
push 1
inc eax
push eax
push dword [ebp - 0x174]
call fcn.10002610
add esp, 0xc
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.1005e77e
mov esp, ebp
pop ebp
ret