joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aae0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4210
call fcn.0040bab0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
push 0
mov dword [esp + 0x14], 0
call fcn.0040a780
add esp, 4
test eax, eax
jne 0x40ac74
mov esi, dword [esp + 0x4228]
mov ebp, dword [esp + 0x4224]
push str.wininit.ini
lea eax, [esp + 0x224]
push 0x4000
push eax
push str.rename
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov ebx, eax
cmp ebx, 0x3ffe
je 0x40ac4d
mov cl, byte [0x418ea8]
xor eax, eax
mov byte [esp + 0x18], cl
mov ecx, 0x40
lea edi, [esp + 0x19]
lea edx, [esp + 0x11c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
push edx
push esi
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x40ab7e
lea esi, [esp + 0x11c]
lea edi, [esp + ebx + 0x220]
push esi
push str.NUL_s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x18]
push 0x104
push eax
lea ebx, [ebx + ecx + 1]
mov ecx, dword [esp + 0x422c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x40abc3
lea ebp, [esp + 0x18]
push ebp
lea edi, [esp + ebx + 0x224]
push esi
push 0x41448c
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
lea edx, [esp + 0x220]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push str.wininit.ini
add ecx, ebx
push edx
push str.rename
mov byte [esp + ecx + 0x22d], al
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
test eax, eax
je 0x40ac4d
mov eax, dword [esp + 0x14]
push esi
push ebp
push str.WININIT.INI_has_been_updated_for_delayed_renaming__s_____s
push 0
mov dword [esp + 0x20], 1
push eax
call fcn.00404400
mov ecx, dword [esp + 0x28]
add esp, 0x14
push str.Some_files_were_in_use_while_copying
push 0
push ecx
call fcn.00404400
mov eax, dword [esp + 0x1c]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4210
ret 8
mov ecx, dword [esp + 0x14]
push esi
push ebp
push str.Cannot_update_WININIT.INI_for_delayed_renaming__s_____s:
push 1
push ecx
call fcn.00404400
mov eax, dword [esp + 0x24]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4210
ret 8
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [esp + 0x4228]
mov edi, dword [esp + 0x4224]
mov ebp, eax
test ebp, ebp
je 0x40acd8
push str.MoveFileExA
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40acb6
push 4
push 0
push ebx
call esi
push 4
push ebx
push edi
call esi
mov dword [esp + 0x10], eax
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40acd8
mov edx, dword [esp + 0x14]
push ebx
push edi
push str.Delayed_renaming__s_____s
push 0
push edx
jmp 0x40ac20
mov eax, dword [esp + 0x14]
push ebx
push edi
push str.Cannot_register_delayed_renaming__s_____s:
push 1
push eax
call fcn.00404400
mov eax, dword [esp + 0x24]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4210
ret 8
Function at 0x40ae30
Capabilities:
Get file version info

Disassembly:
push ecx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
push ebp
push edi
mov dword [esp + 0x14], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebp
jbe 0x40aea3
push ebx
push esi
call fcn.0040bfc5
add esp, 4
mov ebx, eax
push ebx
push esi
push ebp
push edi
call sub.VERSION.dll_GetFileVersionInfoA
cmp eax, 1
jne 0x40ae90
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x41449c
push ebx
call sub.VERSION.dll_VerQueryValueA
cmp eax, 1
jne 0x40ae90
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, 0xd
mov ebp, eax
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.0040ba96
add esp, 4
mov eax, ebp
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret 8
pop edi
mov eax, ebp
pop esi
pop ebp
pop ecx
ret 8
Function at 0x4578dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov eax, dword [esp + 0x10]
mov ebp, esp
push esi
push edi
mov esi, dword [ebp + 0xc]
shr esi, 2
mov edx, dword [ebp + 8]
mov ecx, esi
dec esi
test ecx, ecx
jle 0x45791d
movzx edi, byte [edx]
inc edx
movzx ecx, byte [edx]
shl ecx, 8
inc edx
or edi, ecx
movzx ecx, byte [edx]
shl ecx, 0x10
inc edx
or edi, ecx
movzx ecx, byte [edx]
shl ecx, 0x18
inc edx
or edi, ecx
mov ecx, esi
xor eax, edi
dec esi
test ecx, ecx
jg 0x4578f5
xor esi, esi
mov ecx, dword [ebp + 0xc]
and ecx, 3
cmp ecx, 1
je 0x457944
cmp ecx, 2
je 0x45793b
cmp ecx, 3
jne 0x457949
movzx esi, byte [edx]
shl esi, 0x10
inc edx
movzx ecx, byte [edx]
shl ecx, 8
inc edx
or esi, ecx
movzx ecx, byte [edx]
or esi, ecx
xor eax, esi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10015a70
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov eax, dword [ebx - 4]
test ebp, ebp
jle 0x10015ada
mov ecx, dword [esp + 0xc]
sub ecx, ebx
push esi
mov dword [esp + 0x10], ecx
push edi
nop dword [eax]
mov esi, dword [ecx + ebx]
lea ebx, [ebx + 4]
mov ecx, eax
mov edi, esi
and edi, 0xffff00ff
and ecx, 0xffff00ff
add edi, ecx
mov edx, esi
movzx ecx, ax
and edx, 0xff00
add edx, ecx
and eax, 0xff00ffff
mov ecx, dword [esp + 0x14]
xor edi, edx
and esi, 0xff00ff00
and edi, 0xff00ff
add eax, esi
xor eax, edi
mov dword [ebx - 4], eax
sub ebp, 1
jne 0x10015a90
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10016490
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
lea edi, [esi + eax*4]
cmp esi, edi
jae 0x100164e3
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [esi]
lea eax, [eax + 2]
mov edx, ebx
mov ecx, ebx
shr edx, 0x10
add esi, 4
shr ecx, 0xd
xor dl, cl
mov ecx, ebx
and dl, 7
shr ecx, 0x10
xor dl, cl
mov ecx, ebx
mov byte [eax - 2], dl
mov edx, ebx
shr edx, 5
shr ecx, 3
xor dl, cl
shr ebx, 5
and dl, 0x1f
xor dl, bl
mov byte [eax - 1], dl
cmp esi, edi
jb 0x100164a6
pop ebx
pop edi
pop esi
ret

Function at 0x100164f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
lea edi, [esi + eax*4]
cmp esi, edi
jae 0x10016539
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [esi]
lea eax, [eax + 2]
mov edx, ebx
mov ecx, ebx
shr ecx, 0xc
add esi, 4
shr edx, 0x10
xor dl, cl
mov ecx, ebx
shr ecx, 0x10
and dl, 0xf
xor dl, cl
mov ecx, ebx
shr ecx, 0x1c
and bl, 0xf0
or cl, bl
mov byte [eax - 2], dl
mov byte [eax - 1], cl
cmp esi, edi
jb 0x10016506
pop ebx
pop edi
pop esi
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x6a6f6aa9
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x306e787c
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100114b7
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x100114e3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
push 1
push dword [ebp - 0xc]
call fcn.10011544
add esp, 0xc
jmp 0x10011540
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10011528
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.100182d2
jmp 0x10011540
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10011540
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esp, ebp
pop ebp
ret
Function at 0x100172bd
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100172f3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
push 0x1dd0
push 0x4ebb
push dword [ebp - 0x1c]
push 0x7cad
push 1
call fcn.10017407
add esp, 0x14
jmp 0x10017402
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x100173fc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
push 2
mov ecx, dword [ebp - 8]
call fcn.100184a4
cmp dword [eax], 0xd303
jg 0x10017358
mov dword [ebp - 0x3c], 1
jmp 0x1001735c
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov esi, dword [eax]
push 2
mov ecx, dword [ebp - 8]
call fcn.100184a4
cmp esi, dword [eax]
jle 0x10017387
push 2
pop eax
test eax, eax
je 0x10017387
mov dword [ebp - 0xc], 1
jmp 0x1001738b
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
jge 0x1001739e
mov dword [ebp - 0x10], 1
jmp 0x100173a2
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, 0x66e161f3
mov ecx, dword [ebp - 0x10]
add ecx, 0x14af12a8
cmp eax, ecx
jle 0x100173c8
mov eax, 0xf5e
test eax, eax
jne 0x100173c8
and dword [ebp - 0x14], 0
jmp 0x100173cf
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
je 0x100173e2
mov dword [ebp - 0x18], 1
jmp 0x100173e6
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov esi, dword [eax]
add esi, dword [ebp - 0x18]
push 2
mov ecx, dword [ebp - 8]
call fcn.100184a4
mov dword [eax], esi
jmp 0x10017402
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001f144
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001f171
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push 0x6c27
push dword [ebp - 8]
push 0x2709
push 0
call fcn.10020646
add esp, 0x10
jmp 0x1001f1e6
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1001f19b
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x1001f1e6
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001f1c9
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x1001f1e6
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.100184a4
mov dword [eax], 0xfffffff8
jmp 0x1001f1be
mov esp, ebp
pop ebp
ret
Function at 0x1002083b
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100208f3
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x100208e0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x100208de
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100208c6
mov ecx, dword [ebp - 8]
call fcn.10030a20
movzx eax, al
test eax, eax
jne 0x100208de
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 8]
call fcn.100309e2
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov byte [eax], 1
jmp 0x100208ee
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
jmp 0x10020998
lea eax, [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x10020977
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10020943
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jg 0x10020975
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.100184a4
cmp dword [eax], 0
je 0x1002095f
jmp 0x10020975
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.100184a4
cmp dword [eax], 0
je 0x10020973
jmp 0x10020975
jmp 0x10020938
jmp 0x10020998
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x10020998
push 0x1fbf
call dword [sym.imp.USER32.dll_IsIconic]
mov esp, ebp
pop ebp
ret
Function at 0x100232ed
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10023315
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
push 1
push dword [ebp - 8]
push 0x123f
call fcn.10023367
add esp, 0xc
jmp 0x10023363
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10023341
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002333f
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
jmp 0x10023363
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10023363
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esp, ebp
pop ebp
ret
Function at 0x10030366
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100303ca
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x100303a4
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov byte [eax], 1
jmp 0x100303c8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x100303c8
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
jmp 0x100303e7
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
push 0x7e58
push 0
push dword [ebp - 0x20]
push 0x5204
call fcn.1001dcce
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10035981
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x10035a0b
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100359c4
push 0
push 0x29f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x10035a09
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x100359fd
mov dword [ebp - 4], 1
jmp 0x10035a01
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x10035a35
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0x286c
push dword [ebp - 0x38]
push 0
call fcn.10039112
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x1003608c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x100360bc
mov eax, dword [ebp + 0x28]
mov dword [ebp - 4], eax
push 0x54bc
push 1
push 0x1083
push dword [ebp - 4]
call fcn.1003617e
add esp, 0x10
jmp 0x1003617a
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003610e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1003610c
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
jmp 0x1003617a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
push dword [eax]
push 0x35f5
push 0x707f
mov eax, dword [ebp - 0x44]
push dword [eax]
mov eax, dword [ebp - 0x48]
push dword [eax]
push dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
push dword [eax]
push 0x3df3
push 0
call fcn.10046af4
add esp, 0x24
mov esp, ebp
pop ebp
ret
Function at 0x1003cc2a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100714c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1003cd90
lea eax, [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1003cc87
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x1003cd8e
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x20], 0x6ddb
mov dword [ebp - 0x44], 0x10008b94
cmp dword [ebp - 0x20], 0x713a
jle 0x1003cd27
and dword [ebp - 0x1c], 0
jmp 0x1003ccc9
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2dd8
jge 0x1003cd27
and dword [ebp - 0x14], 0
jmp 0x1003ccdf
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x7c03
jge 0x1003cd25
and dword [ebp - 0x18], 0
jmp 0x1003ccf5
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2cde
jge 0x1003cd23
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x18]
and edx, dword [ebp - 0x1c]
mov eax, edx
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov ecx, 0x10618cd8
call fcn.100180fd
jmp 0x1003ccee
jmp 0x1003ccd8
jmp 0x1003ccc2
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x6d30
jge 0x1003cd47
mov edx, dword [ebp - 0x44]
mov ecx, 0x10618cd8
call fcn.1001ae02
jmp 0x1003cd63
or dword [ebp - 4], 0xffffffff
jmp 0x1003cd6d
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jne 0x1003cd82
mov dword [ebp - 0x24], 1
jmp 0x1003cd86
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x1003cdc5
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
push 0x6d09
push 0x51af
push 0x119c
push 0
push dword [ebp - 0x54]
push 0xbc1
push 0x7247
push dword [ebp - 0x58]
call fcn.100340d6
add esp, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret