joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413773
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x411
lea ecx, [ebp - 4]
mov byte [0x4e311b], 1
call fcn.004465ac
push 0x822
push 0
push dword [ebp - 4]
call fcn.004b4520
mov edi, dword [ebp - 4]
add esp, 0xc
push 0x104
add edi, 0x410
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.PE_IDBASE
push 0x1000
mov esi, 0x4e3110
push esi
call fcn.00448c7f
push str.WM_PE_BASE
push 0x5000
push esi
call fcn.00448c7f
push str.PE_MENU_IDBASE
push 0x100
push esi
call fcn.00448c7f
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add esp, 0x24
push edi
push 0x4c94c2
call esi
push edi
mov ebx, 0x4e3110
push str.MyName
mov ecx, ebx
call fcn.00445c44
push 0x5c
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
xor edi, edi
cmp eax, edi
je 0x41383a
lea edi, [eax + 2]
push edi
push 0x4c94ae
call esi
push edi
push str.MyName0
mov ecx, ebx
call fcn.00445c44
xor edi, edi
push edi
push edi
push 0x4c8a98
call fcn.004136c0
push edi
push edi
push str.Favorites
call fcn.004136c0
push edi
push edi
push str.Programs
call fcn.004136c0
push edi
push edi
push 0x4c8a48
call fcn.004136c0
push edi
push edi
push str.Personal
call fcn.004136c0
push edi
push str.Start_Menu
push 0x4c8a80
call fcn.004136c0
add esp, 0x48
push edi
push str.Cache
push str.IECache
call fcn.004136c0
push edi
push edi
push str.Startup
call fcn.004136c0
push str.MicrosoftInternet_ExplorerQuick_Launch
push str.AppData
push str.QuickLaunch
call fcn.004136c0
add esp, 0x24
lea ecx, [ebp - 4]
call fcn.0043fe25
pop edi
pop esi
pop ebx
leave
ret

Function at 0x413925
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14b8
call fcn.004b4900
push esi
mov esi, 0x4e12e8
and word [ebp - 0x14b8], 0
mov edx, dword [esi]
mov word [ebp - 0x64], 0x26
lea ecx, [ebp - 0x62]
movsx ax, byte [edx]
mov word [ecx], ax
inc ecx
inc ecx
inc edx
test ax, ax
jne 0x41394b
push 0xa28
lea eax, [ebp - 0x14b8]
push eax
lea eax, [ebp - 0x62]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x14b8]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x4e3110
call fcn.00445c44
add esi, 4
cmp esi, 0x4e12fc
jl 0x413938
pop esi
leave
ret
Function at 0x41436b
Capabilities:
Check if file exists
Unmount volume via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp ebx, edi
je 0x41446b
cmp dword [ebp + 8], 0xffffffff
jne 0x41446b
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call esi
cmp eax, 2
jne 0x4143a5
xor eax, eax
cmp word [ebx + 2], 0x3a
sete al
jmp 0x4143c6
push ebx
call esi
cmp eax, 3
jne 0x4143c4
lea eax, [ebx + 2]
push 0x4c9a30
push eax
call fcn.004b493d
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x4143c6
xor eax, eax
cmp eax, edi
je 0x414420
mov ax, word [ebx]
mov esi, 0x4c9a20
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
mov ebx, 0x20000000
push ebx
push 3
push 0
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 3
mov word [ebp - 0x10], ax
push 0xc0000000
lea eax, [ebp - 0x18]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x4144ab
push 0
push ebx
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x18]
push eax
call edi
xor edi, edi
jmp 0x41448e
push 0xc0000000
push ebx
call dword [0x4e309c]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4144ad
push 0x80000000
push ebx
call dword [0x4e309c]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4144ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
je 0x414463
sub eax, 0x56
je 0x414463
sub eax, 0x3a
je 0x414463
sub eax, 0x7a
je 0x414463
sub eax, 0x101b
push 9
pop eax
jmp 0x41453b
push 0xc0000000
push dword [ebp + 8]
call dword [0x4e3098]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4144ad
push 0x80000000
push dword [ebp + 8]
call dword [0x4e3098]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4144ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
setne cl
inc ecx
mov eax, ecx
jmp 0x41453b
xor edi, edi
push esi
call fcn.00413da7
test eax, eax
pop ecx
jne 0x4144c6
push 5
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x41453b
test byte [ebp + 0x10], 3
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
je 0x414507
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
lea eax, [ebp + 0xc]
push eax
push edi
push edi
push edi
push edi
push 0x90018
push esi
call ebx
test eax, eax
jne 0x4144f2
push 2
jmp 0x4144ba
push edi
lea eax, [ebp + 0xc]
push eax
push edi
push edi
push edi
push edi
push 0x90020
push esi
call ebx
test eax, eax
je 0x4144ee
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push 8
lea eax, [ebp - 8]
push eax
push 8
push eax
push 0x83722014
push esi
call ebx
cmp dword [ebp - 8], edi
je 0x414532
push 3
jmp 0x4144ba
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414540
Capabilities:
Check if file exists
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
xor eax, eax
cmp esi, ebx
mov dword [ebp - 0x34], ebx
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jne 0x4145a4
push 0xc0000000
push dword [ebp + 8]
call dword [0x4e3098]
mov edi, eax
cmp edi, 0xffffffff
jne 0x414683
push 0x80000000
push dword [ebp + 8]
call dword [0x4e3098]
mov edi, eax
cmp edi, 0xffffffff
jne 0x414683
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
setne cl
inc ecx
mov eax, ecx
jmp 0x414723
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 2
jne 0x4145be
xor eax, eax
cmp word [esi + 2], 0x3a
sete al
jmp 0x4145df
push esi
call edi
cmp eax, 3
jne 0x4145dd
lea eax, [esi + 2]
push 0x4c9a30
push eax
call fcn.004b493d
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x4145df
xor eax, eax
cmp eax, ebx
je 0x414638
mov eax, dword [ebp + 0xc]
mov ax, word [eax]
mov esi, 0x4c9a20
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
push 0x20000000
movsd dword es:[edi], dword [esi]
push 3
push ebx
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 3
mov word [ebp - 0x1c], ax
push 0xc0000000
lea eax, [ebp - 0x24]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x414683
push ebx
push 0x20000000
push 3
push ebx
push 3
push 0x80000000
lea eax, [ebp - 0x24]
push eax
call esi
jmp 0x414583
push 0xc0000000
push esi
call dword [0x4e309c]
mov edi, eax
cmp edi, 0xffffffff
jne 0x414683
push 0x80000000
push esi
call dword [0x4e309c]
mov edi, eax
cmp edi, 0xffffffff
jne 0x414683
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
je 0x41467b
sub eax, 0x56
je 0x41467b
sub eax, 0x3a
je 0x41467b
sub eax, 0x7a
je 0x41467b
sub eax, 0x101b
push 9
pop eax
jmp 0x414723
mov eax, dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x10
lea eax, [ebp - 0x34]
push eax
push 0x7c0d0
push edi
mov dword [ebp - 0x34], 1
call esi
test eax, eax
jne 0x4146ba
push 3
pop ebx
jmp 0x41471a
push ebx
lea eax, [ebp - 4]
push eax
push 8
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x7405c
push edi
call esi
test eax, eax
je 0x4146ec
push ebx
lea eax, [ebp - 4]
push eax
push 0x18
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
push 0x70000
push edi
call esi
test eax, eax
jne 0x4146f0
push 2
jmp 0x4146b7
push ebx
push dword [ebp - 0x38]
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.004b4580
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 8
lea eax, [ebp - 0x14]
push eax
push 0x900f0
push edi
mov dword [ebp - 0x10], edx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414f56
Capabilities:
Acquire debug privileges

Disassembly:
cmp byte [ecx], 0
je 0x414f73
and byte [0x4e3ddc], 0xfb
push 0
push 4
push str.SeDebugPrivilege
call fcn.004139d3
add esp, 0xc
ret

Function at 0x4151fa
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x4e3d84
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.00403f71
mov edi, dword [ebp + 8]
pop ecx
push 0x5c
pop ecx
cmp word [edi], cx
mov byte [ebp - 4], al
mov eax, edi
jne 0x415241
cmp word [edi + 2], cx
jne 0x415241
cmp word [edi + 4], 0x3f
jne 0x415241
cmp word [edi + 6], cx
jne 0x415241
lea eax, [edi + 8]
cmp word [eax], 0
je 0x415258
cmp word [eax + 2], 0x3a
jne 0x415258
add eax, 4
cmp word [eax], cx
jne 0x415258
inc eax
inc eax
mov ebx, dword [sym.imp.SHLWAPI.dll_StrChrW]
push ecx
push eax
jmp 0x415284
and word [esi], 0
push edi
call fcn.004b3b0b
test eax, eax
pop ecx
jne 0x415279
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [esi], 0x5c
push 0x5c
add esi, 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x415262
cmp byte [ebp - 4], al
pop edi
pop esi
pop ebx
je 0x41529d
push dword [ebp - 8]
call fcn.00403f82
pop ecx
push 0x4e3d84
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
inc eax
leave
ret

Function at 0x415409
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
movzx ecx, word [eax + 6]
mov eax, dword [eax + 0x54]
push edi
mov edi, dword [ebp + 8]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
push eax
push dword [ebp + 0xc]
push edi
call fcn.004147ef
mov eax, dword [esi + 0x14]
xor ebx, ebx
add esp, 0xc
cmp word [eax + 6], bx
mov dword [ebp - 4], ebx
jbe 0x4154ac
mov eax, dword [esi + 0x18]
add eax, ebx
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41549a
mov edx, dword [eax + 0x10]
test edx, edx
je 0x41549a
mov eax, dword [eax + 0x14]
add eax, dword [ebp + 0xc]
push edx
add edi, ecx
push eax
push edi
call fcn.004147ef
mov eax, dword [esi + 0x18]
add esp, 0xc
add eax, ebx
push 0x4c9b44
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x415497
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x18]
sub edi, eax
lea ecx, [ecx + ebx + 0xc]
lea edx, [edi + eax]
add dword [ecx], edx
mov ecx, dword [esi + 0x18]
lea ecx, [ecx + ebx + 0x14]
add edi, eax
add dword [ecx], edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
movzx eax, word [eax + 6]
inc dword [ebp - 4]
add ebx, 0x28
cmp dword [ebp - 4], eax
jl 0x415440
mov dword [esi + 0x10], edi
mov eax, dword [edi + 0x3c]
add eax, edi
mov dword [esi + 0x14], eax
add eax, 0xf8
pop edi
mov dword [esi + 0x18], eax
pop esi
pop ebx
leave
ret 8
Function at 0x41578f
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0x40
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004b4520
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp dword [ebp + 8], 0
je 0x4157c4
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
leave
ret
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
leave
ret

Function at 0x41593f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x18]
test esi, esi
push edi
mov dword [ebp - 0xc], 0x20
je 0x41595b
mov dword [ebp - 8], esi
jmp 0x415963
lea eax, [ebp - 0xc]
mov dword [ebp - 8], eax
mov esi, eax
push dword [ebp + 0x10]
mov ax, word [esi + 2]
push dword [ebp + 0xc]
mov word [ebp - 4], ax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x41598e
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
jmp 0x415990
xor edi, edi
test ebx, ebx
je 0x4159a0
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x4159a2
xor eax, eax
xor cl, cl
test byte [esi], 1
mov byte [ebp + 0x1b], cl
je 0x4159be
test eax, eax
je 0x415a9f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov cl, byte [ebp + 0x1b]
mov ebx, eax
test ebx, ebx
je 0x415a9f
test edi, edi
jle 0x415a9f
test byte [esi], 0x40
jne 0x415a2e
push 0
push edi
push ebx
call fcn.004433e4
add esp, 0xc
test al, al
mov byte [ebp + 0x1b], al
je 0x415a2e
test byte [esi], 0x20
je 0x4159f8
test al, 2
je 0x4159f8
xor eax, eax
jmp 0x415aa8
push 0
lea ecx, [ebp - 0x18]
call fcn.00450595
movzx eax, word [ebp - 4]
mov esi, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x18]
push esi
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.0044a889
and dword [ebp - 0x18], 0
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.0043fe25
jmp 0x415a6b
mov esi, dword [ebp + 0x14]
lea eax, [edi + 0x410]
push eax
mov ecx, esi
call fcn.0040fa7f
push edi
push ebx
push dword [esi]
mov dword [esi + 8], edi
mov dword [esi + 4], edi
call fcn.00414839
add esp, 0xc
cmp word [ebp - 4], 0
je 0x415a6b
movzx eax, word [ebp - 4]
inc edi
shr edi, 1
push edi
push eax
push dword [esi]
call fcn.00412ffc
add esp, 0xc
mov eax, dword [esi + 4]
mov edi, dword [esi]
lea ecx, [eax + 0x10]
push 0x10
add eax, edi
push 0
push eax
mov dword [esi + 8], ecx
call fcn.004b4520
movzx eax, word [ebp - 4]
push 0xc
push eax
mov eax, dword [esi + 4]
add eax, edi
push eax
call fcn.004b4520
mov esi, dword [ebp - 8]
mov cl, byte [ebp + 0x1b]
add esp, 0x18
jmp 0x415aa1
xor edi, edi
and ecx, 2
or dword [esi], ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415aad
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push dword [ebp + 8]
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.00405c6d
cmp dword [ebp - 8], ebx
jne 0x415ade
push 0xfffffffffffffffe
pop esi
jmp 0x415b9e
push edi
push dword [ebp - 8]
call fcn.004a0f57
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov esi, eax
mov dword [ebp - 0x10], esi
call fcn.00441183
add esp, 0x14
add esi, 0xc
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0044645c
mov edi, dword [esi]
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0xc]
push 6
add eax, edi
push ebx
push eax
call fcn.004b4520
mov eax, dword [ebp - 0xc]
push dword [ebp + 0x10]
mov dword [esi + 8], eax
push eax
push edi
mov dword [esi + 4], eax
call fcn.004433e4
add esp, 0x18
cmp al, 1
mov byte [ebp - 1], al
pop edi
jne 0x415b87
push dword [0x4e30bc]
lea ecx, [ebp - 0x1c]
push esi
call fcn.0040facd
mov eax, dword [ebp - 0xc]
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0044a889
mov eax, dword [esi + 4]
add esp, 0xc
add eax, 0xc
push eax
mov ecx, esi
call fcn.0044645c
lea ecx, [ebp - 0x1c]
call fcn.0043fe25
push 1
push esi
call fcn.004a35cd
cmp byte [ebp - 1], bl
pop ecx
pop ecx
jge 0x415b9b
or esi, 0xffffffff
jmp 0x415b9e
mov esi, dword [esi + 4]
lea ecx, [ebp - 8]
call fcn.00402d2b
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41765c
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push 0x4e2c24
push 0x10004
push ecx
push 0x4175f9
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x4176aa
push edi
mov edi, 0x4e3d84
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x4e34c8], 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
ret
Function at 0x417d9c
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
and dword [ebp + 0xc], 0xfffffffe
and edi, 1
cmp word [ebx], 0
mov dword [ebp - 0x14], edi
je 0x417f73
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x417dd1
mov edi, dword [ebp - 0x14]
push ebx
mov dword [ebp - 0x10], ebx
call esi
add eax, edi
mov edi, dword [ebp - 0x10]
push edi
lea ebx, [ebx + eax*2]
call esi
and dword [ebp - 8], 0
lea eax, [edi + eax*2 - 2]
cmp word [eax], 0x5c
jne 0x417dfd
and word [eax], 0
mov dword [ebp - 8], 2
jmp 0x417e0f
push edi
call fcn.004b3b0b
test eax, eax
pop ecx
je 0x417e0f
mov dword [ebp - 8], 1
push edi
lea ecx, [ebp + 8]
call fcn.004505eb
cmp dword [ebp - 8], 0
je 0x417e2b
push 0x4ca28c
lea ecx, [ebp + 8]
call fcn.004465fa
and dword [ebp - 0xc], 0
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.004b3c03
push dword [ebp + 8]
call fcn.00410409
add esp, 0x10
push dword [ebp + 8]
call esi
inc eax
lea edi, [eax + eax]
mov eax, dword [ebp + 8]
mov word [edi + eax - 2], 0x5c
mov eax, dword [ebp + 8]
and word [edi + eax], 0
cmp dword [ebp - 0xc], 0
je 0x417f16
mov eax, dword [ebp + 8]
and word [edi + eax], 0
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp + 8]
call fcn.004465fa
test byte [ebp - 0x264], 0x10
jne 0x417ec1
cmp dword [ebp + 0xc], 0
push dword [ebp + 8]
je 0x417eb5
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x417efd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x417eb0
inc eax
mov dword [ebp - 4], eax
jmp 0x417efd
call fcn.00412114
test eax, eax
pop ecx
je 0x417efd
jmp 0x417eb0
cmp word [ebp - 0x238], 0x2e
jne 0x417ee9
cmp word [ebp - 0x236], 0
je 0x417efd
cmp word [ebp - 0x236], 0x2e
jne 0x417ee9
cmp word [ebp - 0x234], 0
je 0x417efd
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00417d9c
test eax, eax
pop ecx
pop ecx
jne 0x417efd
and dword [ebp - 4], eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0xc]
call fcn.00405ce3
test eax, eax
jne 0x417e72
jmp 0x417f24
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x417f21
inc eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
call fcn.00402d60
xor edi, edi
cmp dword [ebp - 8], edi
je 0x417f61
cmp dword [ebp + 0xc], edi
push dword [ebp - 0x10]
je 0x417f54
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x417f61
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jne 0x417f5e
xor eax, eax
inc eax
jmp 0x417f5e
call fcn.00412114
cmp eax, edi
pop ecx
je 0x417f61
mov dword [ebp - 4], eax
lea ecx, [ebp + 8]
call fcn.0043fe25
cmp word [ebx], di
jne 0x417dce
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x419397
Capabilities:
Check mutex on windows

Disassembly:
test byte [0x4e6003], 1
je 0x4193af
push str.UCallBackhWnd
call fcn.004128e5
test eax, eax
pop ecx
jne 0x4193b2
xor eax, eax
ret
push edi
push str.GlobalPECMD:main_u
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x4193ed
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
sub esi, 0xb7
neg esi
sbb esi, esi
push edi
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop esi
jne 0x4193ed
xor eax, eax
inc eax
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x41b3e0
Capabilities:
Log keystrokes via application hook

Disassembly:
sub esp, 0x1c
push ebx
push esi
mov ebx, 0x4e3d84
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
test byte [esp + 0x2e], 1
jne 0x41b408
cmp dword [0x4e306c], esi
jne 0x41b408
mov dword [0x4e3068], esi
movzx eax, byte [esp + 0x2c]
add dword [0x4e306c], 1
cmp dword [0x4e3064], esi
mov dword [esp + 0x2c], eax
jne 0x41b44b
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x41b2e1
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
cmp eax, esi
mov dword [0x4e3064], eax
jne 0x41b44b
sub dword [0x4e306c], 1
jmp 0x41b538
push ebp
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov esi, dword [esp + 0x30]
mov edi, eax
add edi, esi
cmp dword [esp + 0x34], 2
jne 0x41b508
test esi, esi
jne 0x41b508
push 0xa
pop esi
jmp 0x41b508
cmp dword [esp + 0x34], 2
je 0x41b494
call ebp
mov esi, edi
sub esi, eax
test esi, esi
jle 0x41b515
cmp byte [0x4e12e4], 0
jle 0x41b515
push 0xa
pop eax
cmp esi, eax
ja 0x41b4a6
mov eax, esi
push 0x4ff
push eax
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x41b4ff
cmp dword [0x4e3068], 0
jne 0x41b515
cmp dword [esp + 0x34], 2
je 0x41b4d3
call ebp
mov esi, edi
sub esi, eax
test esi, esi
jle 0x41b508
push 1
xor eax, eax
push eax
push eax
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x41b508
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x4e12e4], 0
jg 0x41b4b9
cmp dword [0x4e3068], 0
je 0x41b47f
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4e3068]
sub dword [0x4e306c], 1
pop edi
pop ebp
jne 0x41b536
mov dword [0x4e3068], 0
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x41ce0b
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push dword [0x4e30ec]
lea ecx, [ebp - 4]
push 0x30
call fcn.00414f74
mov eax, dword [ebp - 4]
test eax, eax
je 0x41ce31
add eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x14]
push ebx
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x20]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edi
mov dword [eax + 0x24], esi
mov ecx, dword [ebp - 4]
mov dword [eax + 0x2c], ecx
push esi
lea ecx, [ebp - 8]
call fcn.00414f9a
push 0x4e2c24
push 0x10004
push dword [ebp - 4]
push 0x416b71
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x41cea7
test esi, esi
je 0x41ce98
lea ecx, [ebp + 0xc]
call fcn.0040fbe5
lea ecx, [ebp - 4]
call fcn.0040fbe5
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp edi, 0xffffffff
je 0x41ceb9
push 0xa
mov eax, edi
xor edx, edx
pop ecx
div ecx
lea edi, [edi + eax + 5]
xor eax, eax
cmp ebx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
je 0x41ceeb
cmp dword [ebp + 0x24], eax
jbe 0x41cee4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x28]
push edi
call fcn.0041195d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 8]
call fcn.0040fc0d
and dword [ebp - 8], 0
lea ecx, [ebp - 8]
call fcn.0043fe25
lea ecx, [ebp - 4]
call fcn.0040fc0d
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
call fcn.0043fe25
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret