Function at 0x1000fa20
Capabilities:
Contain obfuscated stackstrings
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061856
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x10077604]
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 0x1000fa9e
xor ecx, ecx
jmp 0x1000fab0
lea ecx, [ebp - 0x15c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000faa7
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.100110f0
mov eax, dword [ebp - 0x1a0]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1000fafd
inc eax
push 1
push eax
push dword [ebp - 0x1b4]
call fcn.10002610
add esp, 0xc
xor cl, cl
mov byte [ebp - 0x1a8], 0x70
mov byte [ebp - 0x19d], cl
mov al, 0x3f
xor al, byte [ebp - 0x1a8]
mov ch, 0x1e
xor cl, byte [ebp - 0x1a8]
mov bl, 0x19
mov byte [ebp - 0x1a7], al
mov ah, 0x1f
mov byte [ebp - 0x197], ch
mov dl, 4
mov al, byte [ebp - 0x197]
mov dh, 0x5e
mov byte [ebp - 0x1a6], cl
mov bh, 0x39
mov cl, byte [ebp - 0x1a8]
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 - 0x1a5], dl
push eax
lea eax, [ebp - 0x174]
mov byte [ebp - 0x1a4], bl
xor ch, cl
mov byte [ebp - 0x19d], 0
xor dh, cl
mov byte [ebp - 0x1a2], ch
xor bh, cl
mov byte [ebp - 0x1a1], dh
push 0x100780e8
push eax
mov byte [ebp - 0x1a0], bh
call fcn.10006fd0
add esp, 0xc
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov ch, 0x5c
mov byte [ebp - 0x176], 0
cmovae esi, dword [ebp - 0x174]
mov cl, 0x33
xor cl, ch
mov byte [ebp - 0x17c], ch
mov al, 0x1f
mov byte [ebp - 0x17a], cl
xor al, ch
mov dword [ebp - 4], 1
mov dl, 0x29
mov byte [ebp - 0x17b], al
xor dl, ch
mov byte [ebp - 0x176], 0
mov dh, 0x6d
mov byte [ebp - 0x179], dl
mov cl, 0xb
mov byte [ebp - 0x18c], dh
mov bl, 0x32
mov byte [ebp - 0x185], 0
xor bl, ch
mov ah, 0x28
xor ah, ch
mov byte [ebp - 0x178], bl
mov al, 0x28
mov byte [ebp - 0x177], ah
mov dl, cl
xor al, dh
xor cl, dh
mov byte [ebp - 0x18b], al
mov bl, 8
mov byte [ebp - 0x18a], cl
mov ah, 0xe
mov ch, 0x19
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 0x1000fc90
mov dword [0x10078148], 0
jmp 0x1000fc9f
mov ecx, 0x1388
cmp eax, ecx
cmovg eax, ecx
mov dword [0x10078148], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov byte [ebp - 0x180], 0x70
mov al, 0x27
cmovae esi, dword [ebp - 0x174]
mov cl, 0x19
xor al, byte [ebp - 0x180]
mov ch, cl
mov byte [ebp - 0x17f], al
mov ah, 0x26
mov al, byte [ebp - 0x180]
mov dh, 0x15
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, 0x2a
mov byte [ebp - 0x17a], ch
mov dl, 0x1e
mov byte [ebp - 0x185], 0
xor dl, al
mov byte [ebp - 0x177], 0
mov bl, 0x17
mov byte [ebp - 0x17d], dl
xor bl, al
mov byte [ebp - 0x18c], dh
mov bh, 7
mov byte [ebp - 0x17c], bl
xor bh, al
mov byte [ebp - 0x185], 0
mov al, 0x6f
mov byte [ebp - 0x178], bh
mov ah, 0x49
xor al, dh
xor ah, dh
mov byte [ebp - 0x18b], al
push esi
mov byte [ebp - 0x187], ah
mov cl, 0x4c
push 1
lea eax, [ebp - 0x17f]
mov dl, cl
push eax
mov ch, 0x5e
lea eax, [ebp - 0x18b]
mov bl, 0x4f
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 0x1000fd9c
mov dword [0x1007814c], 0
jmp 0x1000fda7
cmp eax, 1
cmovg eax, ecx
mov dword [0x1007814c], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov cl, 0x66
mov byte [ebp - 0x180], 0xb
cmovae esi, dword [ebp - 0x174]
mov ch, cl
xor cl, byte [ebp - 0x180]
mov al, 0x4e
xor al, byte [ebp - 0x180]
mov ah, 0x6e
mov byte [ebp - 0x17f], al
mov dh, 0x5d
mov byte [ebp - 0x191], ah
mov dl, 0x69
mov al, byte [ebp - 0x191]
mov bl, 0x67
mov byte [ebp - 0x17e], cl
mov bh, 0x62
mov cl, byte [ebp - 0x180]
xor al, cl
mov byte [ebp - 0x197], 0x7c
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, 0x17
mov byte [ebp - 0x17d], dl
xor ch, cl
mov byte [ebp - 0x17c], bl
mov al, 0x52
mov byte [ebp - 0x17a], ch
mov ah, 0x74
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, 0x71
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, 0x63
mov byte [ebp - 0x185], 0
mov bl, 0x72
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 0x1000fecc
mov dword [0x10078150], 0
jmp 0x1000fedc
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x10078150], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov byte [ebp - 0x180], 0x12
mov al, 0x42
cmovae esi, dword [ebp - 0x174]
mov cl, 0x73
xor al, byte [ebp - 0x180]
mov ah, 0x7d
xor cl, byte [ebp - 0x180]
mov dh, 0x44
mov byte [ebp - 0x17f], al
mov dl, 0x66
mov byte [ebp - 0x17e], cl
mov ch, 0x61
mov cl, byte [ebp - 0x180]
mov bl, 0x7a
mov byte [ebp - 0x191], 0x77
xor ah, cl
mov al, byte [ebp - 0x191]
xor dh, cl
xor al, cl
mov byte [ebp - 0x197], 0x65
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, 0x30
mov dh, 0x75
mov byte [ebp - 0x17d], dl
mov ah, 0x16
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, 0x7b
mov byte [ebp - 0x187], ah
xor bh, cl
mov byte [ebp - 0x175], 0
mov cl, 0x13
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, 1
mov byte [ebp - 0x18c], dh
mov bl, 0x10
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 0x10010002
mov dword [0x10078154], 0
jmp 0x10010012
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x10078154], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov bh, 0x6a
mov byte [ebp - 0x184], 0
cmovae esi, dword [ebp - 0x174]
mov al, 0x28
xor al, bh
mov byte [ebp - 0x177], 0
mov ah, 1
mov byte [ebp - 0x18b], al
xor ah, bh
mov byte [ebp - 0x18c], bh
mov cl, 6
mov byte [ebp - 0x187], ah
mov ah, 0x28
mov byte [ebp - 0x184], 0
mov dl, 5
mov byte [ebp - 0x17c], ah
xor cl, bh
mov byte [ebp - 0x177], 0
xor dl, bh
mov byte [ebp - 0x18a], cl
mov bl, 9
mov byte [ebp - 0x189], dl
xor bl, bh
mov al, 0x65
mov byte [ebp - 0x188], bl
xor al, ah
push esi
mov cl, 0x41
mov byte [ebp - 0x17b], al
mov dl, 0x5b
xor cl, ah
xor dl, ah
mov byte [ebp - 0x17a], cl
mov bl, 0x4b
mov byte [ebp - 0x179], dl
xor bl, ah
mov ch, 0x3e
push 0
lea eax, [ebp - 0x18b]
mov byte [ebp - 0x178], bl
push eax
mov dh, 0x3a
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 0x100100e3
mov dword [0x10078158], 0
jmp 0x100100f3
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x10078158], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov byte [ebp - 0x18c], 0x20
mov al, 0x73
cmovae esi, dword [ebp - 0x174]
mov bl, 0x4c
xor al, byte [ebp - 0x18c]
mov ah, bl
mov byte [ebp - 0x18b], al
mov cl, 0x4b
mov al, byte [ebp - 0x18c]
mov dl, 0x49
xor cl, al
mov byte [ebp - 0x191], 0x41
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, 0x61
mov byte [ebp - 0x187], ah
xor ch, al
mov byte [ebp - 0x182], 0
mov dh, 0x52
mov byte [ebp - 0x177], 0
xor dh, al
mov byte [ebp - 0x186], ch
mov bh, 0x45
mov byte [ebp - 0x185], dh
xor bh, al
mov byte [ebp - 0x182], 0
mov al, byte [ebp - 0x191]
mov ah, 0x75
xor al, byte [ebp - 0x18c]
mov cl, 0x1c
mov byte [ebp - 0x183], al
mov dl, 6
mov al, 0x38
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, 0x16
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 0x100101f0
mov dword [0x1007815c], 0
jmp 0x10010200
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x1007815c], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov cl, 0x27
mov dword [ebp - 0x190], 0x49467527
cmovae esi, dword [ebp - 0x174]
xor eax, eax
mov dword [ebp - 0x18c], 0x40494e4c
mov dword [ebp - 0x188], 0x42414162
mov word [ebp - 0x184], 0x5344
mov byte [ebp - 0x182], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x18f], cl
inc eax
cmp eax, 0xd
jae 0x10010265
mov cl, byte [ebp - 0x190]
jmp 0x10010250
mov ah, 0x6a
mov byte [ebp - 0x177], 0
mov al, 0x27
mov byte [ebp - 0x17c], ah
xor al, ah
mov byte [ebp - 0x182], 0
push esi
mov cl, 3
mov byte [ebp - 0x17b], al
mov dl, 0x19
mov byte [ebp - 0x177], 0
xor cl, ah
xor dl, ah
mov bl, 9
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 [0x10078160], 0
jmp 0x100102dd
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x10078160], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov cl, 0x22
mov dword [ebp - 0x190], 0x4f436122
cmovae esi, dword [ebp - 0x174]
xor eax, eax
mov dword [ebp - 0x18c], 0x70435047
mov dword [ebp - 0x188], 0x47454c43
mov byte [ebp - 0x184], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x18f], cl
inc eax
cmp eax, 0xb
jae 0x10010335
mov cl, byte [ebp - 0x190]
jmp 0x10010320
mov ah, 0x1c
mov byte [ebp - 0x177], 0
mov al, 0x51
mov byte [ebp - 0x17c], ah
xor al, ah
mov byte [ebp - 0x184], 0
push esi
mov cl, 0x75
mov byte [ebp - 0x17b], al
mov dl, 0x6f
mov byte [ebp - 0x177], 0
xor cl, ah
xor dl, ah
mov bl, 0x7f
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 0x1001039d
mov dword [0x10078168], 0
jmp 0x100103ac
mov ecx, 0xa
cmp eax, ecx
cmovg eax, ecx
mov dword [0x10078168], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov byte [ebp - 0x18c], 0xd
mov al, 0x4a
cmovae esi, dword [ebp - 0x174]
mov dl, 0x60
xor al, byte [ebp - 0x18c]
mov dh, dl
mov byte [ebp - 0x18b], al
mov bl, 0x68
mov al, byte [ebp - 0x18c]
mov ah, 0x59
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, 0x46
mov byte [ebp - 0x184], bh
mov cl, 0x6c
mov byte [ebp - 0x17c], ah
xor cl, al
mov byte [ebp - 0x183], 0
mov ch, 0x64
mov byte [ebp - 0x18a], cl
xor ch, al
mov byte [ebp - 0x177], 0
mov al, 0xb
mov byte [ebp - 0x186], ch
xor al, ah
mov cl, 0x2f
push esi
mov dl, 0x35
mov byte [ebp - 0x17b], al
xor cl, ah
xor dl, ah
mov bl, 0x25
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 0x10010490
mov dword [0x10078164], 0
jmp 0x1001049f
mov ecx, 0x17
cmp eax, ecx
cmovg eax, ecx
mov dword [0x10078164], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov byte [ebp - 0x180], 0x2d
mov al, 0x7f
cmovae esi, dword [ebp - 0x174]
mov cl, 0x48
xor al, byte [ebp - 0x180]
mov bl, cl
mov byte [ebp - 0x17f], al
mov dl, 0x40
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, 0x5f
mov byte [ebp - 0x179], dh
xor bh, al
mov byte [ebp - 0x177], 0
mov ch, 0x4f
mov byte [ebp - 0x178], bh
xor ch, al
mov byte [ebp - 0x184], 0
mov bh, 0x48
mov byte [ebp - 0x17a], ch
mov al, 9
mov byte [ebp - 0x18c], bh
mov ah, 0x3d
xor al, bh
xor ah, bh
mov byte [ebp - 0x18b], al
push esi
mov byte [ebp - 0x187], ah
mov cl, 0x2b
push 0
lea eax, [ebp - 0x17f]
mov dl, cl
push eax
mov ch, 0x26
lea eax, [ebp - 0x18b]
mov dh, 0x3c
mov bl, 0x27
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 0x100105a1
mov dword [0x1007816c], 0
jmp 0x100105b1
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x1007816c], eax
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov byte [ebp - 0x180], 0x41
mov cl, 0x22
cmovae esi, dword [ebp - 0x174]
mov dl, cl
xor al, al
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 0x176], al
mov ah, 0x34
xor al, byte [ebp - 0x180]
mov ch, 0x2f
mov byte [ebp - 0x17f], al
mov dh, 0x35
mov al, byte [ebp - 0x180]
mov bl, 0x2e
xor cl, al
mov byte [ebp - 0x191], 5
xor dl, al
mov byte [ebp - 0x17e], cl
xor bl, al
mov byte [ebp - 0x17d], dl
xor ah, al
mov byte [ebp - 0x17c], bl
xor ch, al
mov byte [ebp - 0x17b], ah
xor dh, al
mov byte [ebp - 0x17a], ch
mov bh, 8
mov byte [ebp - 0x179], dh
xor bh, al
mov word [ebp - 0x198], 7
mov al, byte [ebp - 0x191]
mov ah, 0x71
xor al, byte [ebp - 0x180]
mov cl, 0x67
mov byte [ebp - 0x177], al
mov dl, cl
mov byte [ebp - 0x178], bh
mov al, 0x45
mov bh, 4
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, 0x6a
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, 0x70
lea eax, [ebp - 0x18b]
mov bl, 0x6b
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 0x100106e6
xor ecx, ecx
jmp 0x100106f9
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100106f0
sub ecx, edx
push ecx
lea eax, [ebp - 0x28]
mov ecx, 0x10078118
push eax
call fcn.10002800
cmp dword [ebp - 0x160], 0x10
lea esi, [ebp - 0x174]
mov byte [ebp - 0x180], 0x30
mov al, 0x60
cmovae esi, dword [ebp - 0x174]
mov dl, 0x43
xor al, byte [ebp - 0x180]
mov bl, dl
mov byte [ebp - 0x17f], al
mov ah, 0x67
mov al, byte [ebp - 0x180]
mov bh, 0x54
xor ah, al
mov word [ebp - 0x19c], 0x6f
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, 0x3c
mov byte [ebp - 0x17c], bl
mov cl, 0x51
mov byte [ebp - 0x177], 0
xor cl, al
mov byte [ebp - 0x184], 0
mov ch, 0x5f
mov byte [ebp - 0x17e], cl
xor ch, al
mov byte [ebp - 0x19b], 0
mov dh, 0x42
mov byte [ebp - 0x17a], ch
xor dh, al
mov byte [ebp - 0x177], 0
push esi
mov al, 0x7d
mov byte [ebp - 0x179], dh
xor al, bh
mov byte [ebp - 0x18c], bh
mov ah, 0x49
mov byte [ebp - 0x18b], al
xor ah, bh
mov byte [ebp - 0x184], 0
mov byte [ebp - 0x187], ah
mov cl, 0x5f
push 0x30
lea eax, [ebp - 0x58]
mov dl, cl
push eax
lea eax, [ebp - 0x19b]
mov ch, 0x52
push eax
lea eax, [ebp - 0x17f]
mov dh, 0x48
push eax
mov bl, 0x53
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 0x1001081f
xor ecx, ecx
jmp 0x1001082e
lea ecx, [ebp - 0x58]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010825
sub ecx, edx
push ecx
lea eax, [ebp - 0x58]
mov ecx, 0x10078130
push eax
call fcn.10002800
call fcn.10010880
mov eax, dword [ebp - 0x160]
cmp eax, 0x10
jb 0x1001085f
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.1005f6be
mov esp, ebp
pop ebp
ret