Function at 0x1002c240
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e1db
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x168
mov eax, dword [0x100b7040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebx + 8]
test esi, esi
je 0x1002cc4e
cmp dword [ebx + 0xc], 1
jne 0x1002cc4e
push 0x103
lea eax, [ebp - 0x11f]
mov byte [ebp - 0x120], 0
push 0
push eax
call fcn.10081b50
add esp, 0xc
mov eax, 0x100b8f60
cmp dword [0x100b8f74], 0xf
cmova eax, dword [0x100b8f60]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp - 0x13c], 0x15
mov al, 0x5a
xor al, byte [ebp - 0x13c]
mov cl, 0x65
xor cl, byte [ebp - 0x13c]
mov dh, 0x7b
mov byte [ebp - 0x13b], al
mov ah, 0x7c
mov byte [ebp - 0x13a], cl
mov dl, 0x61
mov cl, byte [ebp - 0x13c]
mov ch, 0x7a
mov byte [ebp - 0x13f], 0x3b
xor dl, cl
mov al, byte [ebp - 0x13f]
xor ch, cl
xor al, cl
mov byte [ebp - 0x14d], 0x5c
mov byte [ebp - 0x135], al
mov al, byte [ebp - 0x14d]
xor al, cl
mov byte [ebp - 0x122], dh
mov byte [ebp - 0x134], al
xor dh, cl
mov al, byte [ebp - 0x122]
xor al, cl
mov byte [ebp - 0x121], ah
mov byte [ebp - 0x133], al
xor ah, cl
mov al, byte [ebp - 0x121]
xor al, cl
mov byte [ebp - 0x138], ah
mov byte [ebp - 0x132], al
lea eax, [ebp - 0x13b]
push eax
lea eax, [ebp - 0x120]
mov byte [ebp - 0x131], 0
push eax
mov byte [ebp - 0x139], dl
mov byte [ebp - 0x137], ch
mov byte [ebp - 0x136], dh
mov byte [ebp - 0x131], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x1002c52a
cmp esi, eax
jne 0x1002c52a
xor edx, edx
lea ecx, [ebp - 0x174]
cmp dword [0x100b8fe4], 1
setne dl
mov dword [0x100b8fe4], edx
call fcn.10014150
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1002c3d5
mov esi, dword [esi]
mov cl, 0x22
mov byte [ebp - 0x14c], 0x47
mov ah, cl
mov byte [ebp - 0x122], 0x35
xor cl, byte [ebp - 0x14c]
mov al, 0x15
xor al, byte [ebp - 0x14c]
mov dl, 0x2a
mov byte [ebp - 0x14b], al
mov ch, dl
mov byte [ebp - 0x121], ah
mov dh, 0x25
mov al, byte [ebp - 0x121]
mov byte [ebp - 0x14a], cl
mov cl, byte [ebp - 0x14c]
xor al, cl
mov byte [ebp - 0x130], 0x2a
mov byte [ebp - 0x145], al
xor ah, cl
mov al, byte [ebp - 0x122]
xor dl, cl
xor al, cl
mov byte [ebp - 0x148], ah
mov byte [ebp - 0x144], al
xor ch, cl
xor dh, cl
mov byte [ebp - 0x149], dl
mov al, 0x6b
mov byte [ebp - 0x147], ch
xor al, byte [ebp - 0x130]
mov cl, 0x49
mov byte [ebp - 0x12f], al
mov dl, cl
mov al, byte [ebp - 0x130]
mov ah, 0x45
xor cl, al
mov byte [ebp - 0x146], dh
xor dl, al
mov byte [ebp - 0x121], 0x5e
xor ah, al
mov byte [ebp - 0x143], 0
mov ch, 0x5f
mov byte [ebp - 0x12c], ah
xor ch, al
mov byte [ebp - 0x128], 0
mov dh, 0x44
mov byte [ebp - 0x143], 0
xor dh, al
mov byte [ebp - 0x12e], cl
mov al, byte [ebp - 0x121]
xor al, byte [ebp - 0x130]
mov byte [ebp - 0x129], al
lea eax, [ebp - 0x120]
push eax
push esi
lea eax, [ebp - 0x14b]
mov byte [ebp - 0x12d], dl
push eax
lea eax, [ebp - 0x12f]
mov byte [ebp - 0x12b], ch
push eax
mov byte [ebp - 0x12a], dh
mov byte [ebp - 0x128], 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x160]
cmp ecx, 0xf
jbe 0x1002c527
mov edx, dword [ebp - 0x174]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002c51d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002cc70
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov esi, dword [ebx + 8]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1002cc4a
cmp esi, eax
jne 0x1002cc4a
cmp dword [0x100b8fe4], 0
je 0x1002c96f
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1002c615
mov eax, dword [ecx]
mov eax, dword [eax + 0x9c]
call eax
cmp dword [eax + 0x18], 0x10
lea edx, [eax + 4]
jb 0x1002c56a
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x164], 0
xorps xmm0, xmm0
mov dword [ebp - 0x160], 0
movups xmmword [ebp - 0x174], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c590
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x174]
call fcn.10002540
mov dword [ebp - 4], 0
lea eax, [ebp - 0x174]
cmp dword [ebp - 0x160], 0xf
mov ecx, 0x100b8f90
push dword [ebp - 0x164]
cmova eax, dword [ebp - 0x174]
push eax
call fcn.10006300
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x160]
cmp ecx, 0xf
jbe 0x1002c626
mov edx, dword [ebp - 0x174]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002c609
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002cc75
push ecx
push edx
call fcn.1007fa46
add esp, 8
jmp 0x1002c626
push 0
push 0x100a8f3c
mov ecx, 0x100b8f90
call fcn.10006300
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1002c6ee
mov eax, dword [ecx]
mov eax, dword [eax + 0x9c]
call eax
cmp dword [eax + 0x18], 0x10
lea edx, [eax + 4]
jb 0x1002c646
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x164], 0
xorps xmm0, xmm0
mov dword [ebp - 0x160], 0
movups xmmword [ebp - 0x174], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c670
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x174]
call fcn.10002540
mov dword [ebp - 4], 1
lea eax, [ebp - 0x174]
cmp dword [ebp - 0x160], 0xf
mov ecx, 0x100b8fa8
push dword [ebp - 0x164]
cmova eax, dword [ebp - 0x174]
push eax
call fcn.10006300
mov ecx, dword [ebp - 0x160]
cmp ecx, 0xf
jbe 0x1002c6ff
mov edx, dword [ebp - 0x174]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002c6e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002cc75
push ecx
push edx
call fcn.1007fa46
add esp, 8
jmp 0x1002c6ff
push 0
push 0x100a8f3c
mov ecx, 0x100b8fa8
call fcn.10006300
cmp dword [0x100b8fa4], 0xf
mov cl, 0x26
mov dl, cl
mov byte [ebp - 0x13c], 0x45
mov esi, 0x100b8f90
mov byte [ebp - 0x121], 0x31
cmova esi, dword [0x100b8f90]
mov al, 4
xor al, byte [ebp - 0x13c]
mov ah, 0x2a
xor cl, byte [ebp - 0x13c]
mov ch, 0x30
mov byte [ebp - 0x13b], al
mov dh, 0x2b
mov al, byte [ebp - 0x121]
mov byte [ebp - 0x13a], cl
mov cl, byte [ebp - 0x13c]
xor al, cl
mov byte [ebp - 0x122], 0xc
mov byte [ebp - 0x135], al
xor ah, cl
mov al, byte [ebp - 0x122]
xor dl, cl
xor al, cl
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [ebp - 0x134], al
xor ch, cl
mov byte [ebp - 0x14d], 1
xor dh, cl
mov al, byte [ebp - 0x14d]
xor al, cl
mov byte [ebp - 0x130], 0x14
mov byte [ebp - 0x133], al
mov cl, 0x77
mov byte [ebp - 0x138], ah
mov al, 0x55
xor al, byte [ebp - 0x130]
mov ah, 0x7b
mov byte [ebp - 0x12f], al
mov al, byte [ebp - 0x130]
xor ah, al
mov byte [ebp - 0x139], dl
mov byte [ebp - 0x137], ch
mov dl, cl
xor cl, al
mov byte [ebp - 0x136], dh
xor dl, al
mov byte [ebp - 0x121], 0x60
mov ch, 0x61
mov byte [ebp - 0x12c], ah
xor ch, al
mov byte [ebp - 0x132], 0
mov dh, 0x7a
mov byte [ebp - 0x128], 0
xor dh, al
mov byte [ebp - 0x132], 0
mov al, byte [ebp - 0x121]
xor al, byte [ebp - 0x130]
mov byte [ebp - 0x129], al
lea eax, [ebp - 0x120]
push eax
push esi
lea eax, [ebp - 0x13b]
mov byte [ebp - 0x12e], cl
push eax
lea eax, [ebp - 0x12f]
mov byte [ebp - 0x12d], dl
push eax
mov byte [ebp - 0x12b], ch
mov byte [ebp - 0x12a], dh
mov byte [ebp - 0x128], 0
call edi
cmp dword [0x100b8fbc], 0xf
mov esi, 0x100b8fa8
mov dl, 0x74
mov byte [ebp - 0x14c], 7
cmova esi, dword [0x100b8fa8]
mov al, 0x57
mov cl, 0x66
mov ah, dl
mov ch, 0x50
xor al, byte [ebp - 0x14c]
mov dh, 0x68
xor cl, byte [ebp - 0x14c]
mov byte [ebp - 0x14b], al
mov byte [ebp - 0x14a], cl
mov cl, byte [ebp - 0x14c]
mov byte [ebp - 0x121], 0x75
xor ah, cl
mov al, byte [ebp - 0x121]
xor dl, cl
xor al, cl
mov byte [ebp - 0x122], 0x63
mov byte [ebp - 0x145], al
xor ch, cl
mov al, byte [ebp - 0x122]
xor dh, cl
xor al, cl
mov byte [ebp - 0x130], 0x23
mov byte [ebp - 0x144], al
mov cl, 0x40
mov byte [ebp - 0x148], ah
mov al, 0x62
xor al, byte [ebp - 0x130]
mov ah, 0x4c
mov byte [ebp - 0x12f], al
mov al, byte [ebp - 0x130]
xor ah, al
mov byte [ebp - 0x149], dl
mov byte [ebp - 0x147], ch
mov dl, cl
xor cl, al
mov byte [ebp - 0x146], dh
xor dl, al
mov byte [ebp - 0x121], 0x57
mov ch, 0x56
mov byte [ebp - 0x12c], ah
xor ch, al
mov byte [ebp - 0x143], 0
mov dh, 0x4d
mov byte [ebp - 0x128], 0
xor dh, al
mov byte [ebp - 0x143], 0
mov al, byte [ebp - 0x121]
xor al, byte [ebp - 0x130]
mov byte [ebp - 0x129], al
lea eax, [ebp - 0x120]
push eax
push esi
lea eax, [ebp - 0x14b]
mov byte [ebp - 0x12e], cl
push eax
lea eax, [ebp - 0x12f]
mov byte [ebp - 0x12d], dl
push eax
mov byte [ebp - 0x12b], ch
mov byte [ebp - 0x12a], dh
mov byte [ebp - 0x128], 0
call edi
jmp 0x1002cbe0
mov cl, 0x6c
mov byte [ebp - 0x13c], 0xf
mov dl, cl
mov byte [ebp - 0x121], 0x7b
xor cl, byte [ebp - 0x13c]
mov al, 0x4e
xor al, byte [ebp - 0x13c]
mov ah, 0x60
mov byte [ebp - 0x13b], al
mov ch, 0x7a
mov al, byte [ebp - 0x121]
mov dh, 0x61
mov byte [ebp - 0x13a], cl
mov cl, byte [ebp - 0x13c]
xor al, cl
mov byte [ebp - 0x122], 0x46
mov byte [ebp - 0x135], al
xor ah, cl
mov al, byte [ebp - 0x122]
xor dl, cl
xor al, cl
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [ebp - 0x134], al
xor ch, cl
mov byte [ebp - 0x14d], 0x4b
xor dh, cl
mov al, byte [ebp - 0x14d]
xor al, cl
mov byte [ebp - 0x138], ah
mov byte [ebp - 0x133], al
mov cl, 0x17
mov byte [ebp - 0x130], 0x74
mov al, 0x35
xor al, byte [ebp - 0x130]
mov ah, 0x1b
mov byte [ebp - 0x12f], al
mov al, byte [ebp - 0x130]
xor ah, al
mov byte [ebp - 0x139], dl
mov byte [ebp - 0x137], ch
mov dl, cl
xor cl, al
mov byte [ebp - 0x136], dh
xor dl, al
mov byte [ebp - 0x121], 0
mov ch, 1
mov byte [ebp - 0x12c], ah
xor ch, al
mov word [ebp - 0x140], 0x3e
mov dh, 0x1a
mov byte [ebp - 0x132], 0
xor dh, al
mov byte [ebp - 0x128], 0
mov al, byte [ebp - 0x121]
xor al, byte [ebp - 0x130]
mov byte [ebp - 0x129], al
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x13f]
mov byte [ebp - 0x13f], 0
push eax
lea eax, [ebp - 0x13b]
mov byte [ebp - 0x132], 0
push eax
lea eax, [ebp - 0x12f]
mov byte [ebp - 0x12e], cl
push eax
mov byte [ebp - 0x12d], dl
mov byte [ebp - 0x12b], ch
mov byte [ebp - 0x12a], dh
mov byte [ebp - 0x128], 0
call esi
mov dl, 0x4d
mov word [ebp - 0x150], 0x1b
mov byte [ebp - 0x14f], 0
mov al, 0x6e
mov byte [ebp - 0x13c], 0x3e
mov cl, 0x5f
mov ah, dl
mov ch, 0x69
mov dh, 0x51
xor al, byte [ebp - 0x13c]
xor cl, byte [ebp - 0x13c]
mov byte [ebp - 0x13b], al
mov byte [ebp - 0x13a], cl
mov cl, byte [ebp - 0x13c]
mov byte [ebp - 0x121], 0x4c
xor ah, cl
mov al, byte [ebp - 0x121]
xor dl, cl
xor al, cl
mov byte [ebp - 0x122], 0x5a
mov byte [ebp - 0x135], al
xor ch, cl
mov al, byte [ebp - 0x122]
xor dh, cl
xor al, cl
mov byte [ebp - 0x138], ah
mov byte [ebp - 0x134], al
mov cl, 0x26
mov byte [ebp - 0x15c], 0x45
mov al, 4
xor al, byte [ebp - 0x15c]
mov ah, 0x2a
mov byte [ebp - 0x15b], al
mov al, byte [ebp - 0x15c]
xor ah, al
mov byte [ebp - 0x139], dl
mov byte [ebp - 0x137], ch
mov dl, cl
xor cl, al
mov byte [ebp - 0x136], dh
xor dl, al
mov byte [ebp - 0x121], 0x31
mov ch, 0x30
mov byte [ebp - 0x158], ah
xor ch, al
mov byte [ebp - 0x133], 0
mov dh, 0x2b
mov byte [ebp - 0x154], 0
xor dh, al
mov byte [ebp - 0x133], 0
mov al, byte [ebp - 0x121]
xor al, byte [ebp - 0x15c]
mov byte [ebp - 0x155], al
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x14f]
mov byte [ebp - 0x15a], cl
push eax
lea eax, [ebp - 0x13b]
mov byte [ebp - 0x159], dl
push eax
lea eax, [ebp - 0x15b]
mov byte [ebp - 0x157], ch
push eax
mov byte [ebp - 0x156], dh
mov byte [ebp - 0x154], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push dword [0x100bab70]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
test eax, eax
jne 0x1002cc1b
call fcn.1007e630
call esi
push eax
call fcn.1007eb00
push 0x1002cc80
push 0x100bab70
call fcn.1007e340
call fcn.1007e690
push 4
push dword [0x100bab6c]
call edi
test eax, eax
jne 0x1002cc4a
call fcn.1007e630
call esi
push eax
call fcn.1007eb00
push 0x1002ccc0
push 0x100bab6c
call fcn.1007e340
call fcn.1007e690
mov al, 1
jmp 0x1002cc50
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007f9e5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.10084bdf
call fcn.10084bdf
int3