joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434ec0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46195b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4735a8]
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 eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push 0x105
lea ecx, [ebp - 0x21c]
push ecx
mov dword [ebp - 0x23c], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec eax
cmp eax, 0x103
ja 0x434fc1
xor ebx, ebx
lea eax, [ebp - 0x21c]
mov byte [ebp - 0x21b], bl
mov dword [ebp - 0x224], 0xf
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x238], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x434f40
sub eax, edx
push eax
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x238]
call fcn.00407c70
push 5
push str.:_tmp
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], ebx
call fcn.00412850
cmp dword [ebp - 0x224], 0x10
mov eax, dword [ebp - 0x238]
jae 0x434f86
lea eax, [ebp - 0x238]
push eax
call fcn.004301d0
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 4
test eax, eax
jne 0x434fdf
cmp dword [ebp - 0x224], 0x10
mov eax, dword [ebp - 0x238]
jae 0x434fae
lea eax, [ebp - 0x238]
push ebx
push eax
call esi
test eax, eax
jne 0x434fdf
lea ecx, [ebp - 0x238]
call fcn.00407790
xor eax, eax
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.004396d4
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [ebp + 0x14], ebx
je 0x434fec
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x224], 0x10
mov ecx, dword [ebp - 0x238]
jae 0x435001
lea ecx, [ebp - 0x238]
push eax
push edi
push ecx
lea eax, [ebp - 0x114]
push str._s_s_u
push eax
call fcn.0043a71a
lea eax, [ebp - 0x114]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x435021
sub eax, edx
cmp dword [ebp + 0xc], eax
ja 0x43504c
cmp dword [ebp - 0x224], 0x10
jb 0x434fc1
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00439a51
add esp, 4
jmp 0x434fc1
lea edx, [ebp - 0x114]
push edx
call fcn.004301d0
add esp, 4
test eax, eax
lea eax, [ebp - 0x114]
jne 0x4350a0
push ebx
push eax
call esi
test eax, eax
je 0x434fb6
mov edx, dword [ebp - 0x23c]
lea eax, [ebp - 0x114]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x435081
lea ecx, [ebp - 0x238]
call fcn.00407790
mov eax, 1
jmp 0x434fc3
mov esi, dword [ebp - 0x23c]
mov edx, esi
lea ecx, [ebp - 0x114]
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4350b0
cmp dword [ebp + 0x18], ebx
je 0x4350cd
push 0x46556c
push esi
call fcn.004304a0
add esp, 8
lea ecx, [ebp - 0x238]
call fcn.00407790
mov eax, 1
jmp 0x434fc3
Function at 0x437db0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461b5b
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4735a8]
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 eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [ebp - 0x134]
lea esi, [ebp - 0x114]
push ecx
mov edx, esi
push edx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x134], 0x104
call edi
test eax, eax
jne 0x437e85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x138]
mov dword [ecx], eax
cmp eax, 0x6f
jne 0x437e7e
mov eax, dword [ebp - 0x134]
inc eax
push eax
mov dword [ebp - 0x134], eax
call fcn.0043bc5c
mov esi, eax
add esp, 4
test esi, esi
je 0x437e7e
lea edx, [ebp - 0x134]
push edx
push esi
mov dword [ebp - 0x140], 1
call edi
test eax, eax
jne 0x437e85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x138]
push esi
mov dword [ecx], eax
call fcn.0043bc51
add esp, 4
xor eax, eax
jmp 0x437f7b
mov edx, dword [ebp + 0xc]
push edx
push 0x20
push ebx
call fcn.0043a6a0
mov eax, esi
add esp, 0xc
mov byte [ebx], 0x33
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437ea0
sub eax, edx
mov edi, eax
cmp edi, dword [ebp + 0xc]
jb 0x437f42
xor ebx, ebx
push 0xc
push str.getHostId3:
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
call fcn.00407c70
mov eax, esi
mov dword [ebp - 4], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437ee6
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x130]
call fcn.00412850
mov eax, dword [ebp - 0x130]
mov ebx, 0x10
cmp dword [ebp - 0x11c], ebx
jae 0x437f15
lea eax, [ebp - 0x130]
push 0
push eax
push str.UtlHost
call fcn.00424ac0
add esp, 0xc
cmp dword [ebp - 0x11c], ebx
jb 0x437f3c
mov eax, dword [ebp - 0x130]
push eax
call fcn.00439a51
add esp, 4
mov ebx, dword [ebp - 0x13c]
mov eax, dword [ebp + 0xc]
dec eax
cmp edi, eax
jae 0x437f4c
mov eax, edi
push eax
push esi
inc ebx
push ebx
call fcn.00439a60
add esp, 0xc
cmp dword [ebp - 0x140], 0
je 0x437f6a
push esi
call fcn.0043bc51
add esp, 4
mov ecx, dword [ebp - 0x138]
mov dword [ecx], 0
mov eax, 1
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.004396d4
mov esp, ebp
pop ebp
ret
Function at 0x4396d4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4735a8]
jne 0x4396de
repz ret
jmp fcn.0043d5b8

Function at 0x458da7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0043f166
and dword [ebp - 0x14], 0
cmp dword [0x49dffc], 0
mov dword [ebp - 0x18], eax
jne 0x458e5a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x458f02
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x458f02
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x49dffc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x49e000], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49e004], eax
call edi
push eax
call esi
mov dword [0x49e00c], eax
test eax, eax
je 0x458e5a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x49e008], eax
mov eax, dword [0x49e008]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x458eb3
cmp dword [0x49e00c], ecx
je 0x458eb3
push eax
call esi
push dword [0x49e00c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x458eb3
test ebx, ebx
je 0x458eb3
call edi
test eax, eax
je 0x458eaa
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x458eaa
test byte [ebp - 8], 1
jne 0x458eb3
or dword [ebp + 0x10], 0x200000
jmp 0x458ee6
mov eax, dword [0x49e000]
cmp eax, dword [ebp - 0x18]
je 0x458ee6
push eax
call esi
test eax, eax
je 0x458ee6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x458ee6
mov eax, dword [0x49e004]
cmp eax, dword [ebp - 0x18]
je 0x458ee6
push eax
call esi
test eax, eax
je 0x458ee6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49dffc]
call esi
test eax, eax
je 0x458f02
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x458f04
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004396d4
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2ebd6d43
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data_1
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x22b241bb
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100232a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x610
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
call esi
cmp byte [ebp - 0x210], 0x22
jne 0x100235e
lea eax, [ebp - 0x20f]
push 0x100132c
jmp 0x1002369
lea eax, [ebp - 0x210]
push 0x1001328
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.01001878
mov edi, dword [ebp - 4]
push edi
mov dword [ebp - 8], eax
call fcn.01001de1
test eax, eax
lea eax, [ebp - 0x10c]
jne 0x10023a2
push 0x100ac44
push eax
call esi
push edi
lea eax, [ebp - 0x10c]
push eax
call fcn.01005b5f
jmp 0x10023a6
push edi
push eax
call esi
push 0x2e
push edi
call fcn.01005c15
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
je 0x100253c
push 0x1001320
push eax
call ebx
test eax, eax
jne 0x100253c
lea eax, [ebp - 0x10c]
push eax
call fcn.01005bf7
test eax, eax
jne 0x10023f2
push eax
push 0x10
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 0x525
push eax
jmp 0x10025bf
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
push 0x100131c
lea eax, [ebp - 4]
push eax
call fcn.01001878
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x100a0a4
mov edi, eax
call ebx
test edi, edi
je 0x100243c
cmp byte [edi], 0
je 0x1002421
mov dword [ebp - 4], edi
push 0x1001318
lea eax, [ebp - 4]
push eax
call fcn.01001878
mov edi, dword [ebp - 4]
cmp byte [edi], 0
je 0x100243f
push edi
call ebx
jmp 0x100243f
mov edi, dword [ebp - 4]
push 0x200
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 4], eax
jne 0x1002465
push ecx
push 0x10
push ecx
push ecx
push 0x4b5
push ecx
jmp 0x10025bf
cmp byte [edi], 0
mov ebx, 0x100a0a4
mov eax, edi
jne 0x1002473
mov eax, ebx
lea ecx, [ebp - 0x10c]
push ecx
push 0
push 0x1001310
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x100aa60], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
lea eax, [ebp - 0x10c]
push eax
push 8
push dword [ebp - 4]
push 0x1001254
push 0x1001304
push 0x10012fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x10024e0
or dword [0x100b494], 4
cmp byte [edi], 0
jne 0x10024c9
mov edi, ebx
push edi
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 4]
call esi
jmp 0x100262c
and dword [0x100b494], 0xfffffffb
cmp word [0x100aa64], 0
jne 0x1002511
push 0x104
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x10c]
push eax
mov esi, 0x10012f0
or al, 0x8b
jge 0x100251d
jge 0x100254a
add ebx, eax

Function at 0x100288c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
invalid
inc ebp
retf
Function at 0x1002996
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.010025a8
push eax
push esi
push dword [ebp + 8]
call fcn.0100255d
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.010025a8
push eax
push esi
push dword [ebp + 8]
call fcn.0100255d
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.01002598
xor eax, 0x88ac7f05
popfd
jl 0x1002a1d
invalid
invalid

Function at 0x1002cdf
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1002c6f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1002c8d
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1002ceb
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1002cd2
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1002cdb
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1002ce5
invalid
add eax, 0x980c803
add al, 0x40
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1002cc7
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1002c51
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1002d38
dec eax
je 0x1002d2f
sub eax, 3
je 0x1002d26
mov dword [ebp - 4], 0x40
jmp 0x1002d55
mov dword [ebp - 4], 4
jmp 0x1002d3b
mov dword [ebp - 4], 0x20
jmp 0x1002d3b
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1002d87
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1002d07
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.01002598
add dword [edx + ebx*4], eax
cmp eax, 0x6a1475ff
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x1002d93
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100458d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x10045e2
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x10045e7
jmp fcn.01003f3a
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x100462e
lea eax, [ebp - 0x714]
push eax
call fcn.010025a8
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0100255d
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x1004639
jmp 0x100463e
jmp fcn.01003f3a
cmp dword [ebp - 0x37c], 0
jne 0x10046e8
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
invalid

Function at 0x1004836
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
xor ebx, ebx
inc ebx
push esi
mov edi, ebx
call fcn.01005bf7
test eax, eax
jne 0x1004850
mov eax, ebx
jmp 0x10048ab
cmp dword [0x100ac3c], 0
jne 0x100489d
test byte [0x100b898], bl
jne 0x100489d
push 6
push 0
push 0x100386a
push dword [0x100aa4c]
mov dword [0x100ae64], esi
push 0x7d3
push dword [0x100b4a4]
call fcn.0100418e
sub eax, 6
je 0x100489b
dec eax
je 0x10048b1
sub eax, 0x832
jne 0x100489d
mov dword [0x100ac3c], ebx
mov edi, ebx
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
xor edi, edi
jmp 0x10048a9
Function at 0x1004c45
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [0x100b4a4], eax
xor eax, eax
mov ecx, 0x23f
mov edi, 0x100aba0
rep stosd dword es:[edi], eax
push 0x41
mov ecx, 0xcb
mov edi, 0x100b880
rep stosd dword es:[edi], eax
pop ecx
mov edi, 0x100aa80
rep stosd dword es:[edi], eax
push 0x7f
mov esi, 0x100abb4
xor edi, edi
push esi
xor ebx, ebx
inc edi
push 0x1001430
mov dword [ebp - 4], ebx
mov dword [0x100ae4c], edi
call fcn.01002a61
cmp eax, ebx
je 0x1004e6a
cmp eax, 0x80
ja 0x1004e6a
push ebx
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
mov dword [0x100aa50], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 4
push 0x100b494
push 0x1001424
call fcn.01002a61
test eax, eax
je 0x1004d02
test byte [0x100b494], 0xc0
je 0x1004d92
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0x1001414
call fcn.01002a61
test eax, eax
jne 0x1004d21
push ebx
push 0x10
push ebx
push ebx
push 0x4b1
push ebx
call fcn.010038f9
mov dword [0x100aa5c], 0x80070714
jmp 0x1004e7a
lea eax, [ebp - 0x108]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [0x100aa54], eax
je 0x1004d92
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1004d92
test byte [0x100b494], 0x80
je 0x1004d61
push ebx
push 0x10
push ebx
push esi
push 0x54b
push ebx
call fcn.010038f9
jmp 0x1004d77
push 4
push 0x20
push ebx
push esi
push 0x524
push ebx
call fcn.010038f9
cmp eax, 6
je 0x1004d92
push dword [0x100aa54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100aa5c], 0x800700b7
jmp 0x1004e7a
push dword [ebp + 0xc]
mov dword [0x100aa60], ebx
call fcn.010030d4
test eax, eax
jne 0x1004db3
push ebx
push 0x10
push ebx
push ebx
push 0x520
jmp 0x1004e74
cmp byte [0x100b89a], bl
je 0x1004dca
push 0x100b89a
call fcn.01001cb7
jmp 0x1004e7a
push 0xa
push 0x1001408
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x1004deb
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [0x100a2bc], ebx
je 0x1004df9
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp dword [0x100b884], ebx
jne 0x1004e66
push dword [ebp - 4]
call fcn.010041fa
test eax, eax
je 0x1004e7a
mov ax, word [0x100aa64]
cmp ax, di
je 0x1004e24
cmp ax, 2
je 0x1004e24
cmp ax, 3
jne 0x1004e66
test byte [0x100b495], 1
je 0x1004e66
test byte [0x100b898], 1
jne 0x1004e66
call fcn.010016c3
test eax, eax
jne 0x1004e66
push 0x83e
push 0x547
push 0x10017e9
push ebx
push 0x7d6
push dword [0x100b4a4]
call fcn.0100418e
cmp eax, 0x83d
jne 0x1004e7a
mov eax, edi
jmp 0x1004e7c
push ebx
push 0x10
push ebx
push ebx
push 0x4b1
push ebx
call fcn.010038f9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc