joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471bf4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x471c0b
add esp, 0xfffffff0
call fcn.00403ff0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004248e8
mov eax, dword [0x5bea6c]
cmp word [eax + 2], 0
jne 0x471c33
mov eax, dword [0x5bea6c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00473734
mov eax, dword [0x5beb78]
cmp word [eax + 2], 0
jne 0x471c4d
mov eax, dword [0x5beb78]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00473940
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418c50]
call fcn.00403c5c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418c50]
call fcn.00403c5c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x418c50]
call fcn.00403c5c
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42a890]
call fcn.00432bdc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x471e04
mov eax, dword [0x5be940]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00432fec
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x474000
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5be940]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ef3c
test eax, eax
je 0x471d54
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a88c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ef70
test eax, eax
je 0x471d68
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404e68
mov byte [ebx + 0xd4], 0
push ebx
push 0x473294
call fcn.00425a64
mov dword [ebx + 0xc8], eax
mov eax, dword [0x5be79c]
cmp byte [eax], 0
jne 0x471db9
mov eax, ebx
call fcn.00471f48
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004741dc
mov eax, ebx
call fcn.00474d60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x471df9
call fcn.00404048
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4721c8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5c25b8]
cmp dword [eax + 0x30], 0
je 0x472272
cmp dword [ebx + 0x94], 0
jne 0x47226c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x472158
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47226c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x472232
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47226c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041b614
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x472241
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x472f8c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x472fc1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404cd8
jmp 0x472fce
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c3c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4743c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47442e
mov eax, esi
call fcn.0045c4dc
test al, al
je 0x47442e
mov eax, dword [ebx + 0x84]
call fcn.0045c13c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47442e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x474422
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045c13c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004544d8
jmp 0x47442e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004741fc
pop esi
pop ebx
ret
Function at 0x477c88
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x477cb6
mov eax, ebx
call fcn.0047873c
cmp dword [ebx + 0x40], 0
je 0x477caf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x477d27
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x477d19
cmp dword [ebx + 8], 0
je 0x477cd8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x477cea
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x477d19
cmp dword [ebx + 8], 0
je 0x477ccb
cmp eax, 3
je 0x477cfd
dec eax
jne 0x477ccb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x477ccb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x477ccb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x477d45
cmp dword [ebx + 0x14], 0xcc
je 0x477d45
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00477d50
pop ebx
ret

Function at 0x49f688
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x49f6b8
cmp dword [esp + 4], 6
jb 0x49f6b8
call fcn.004469b4
call fcn.00446abc
test al, al
je 0x49f6b8
mov al, 1
jmp 0x49f6da
cmp dword [esp + 4], 5
jne 0x49f6d4
cmp dword [esp + 8], 1
jne 0x49f6d4
call fcn.004469b4
call fcn.00446abc
test al, al
jne 0x49f6d8
xor eax, eax
jmp 0x49f6da
mov al, 1
add esp, 0x94
ret
Function at 0x49fd8c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x408360]
call fcn.004059c4
xor eax, eax
push ebp
push 0x49ff2d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5945e8], 0
jne 0x49fde7
mov ecx, dword [0x5be7b0]
mov dl, 1
mov eax, dword [0x408994]
call fcn.0040e10c
call fcn.00404540
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403544
mov eax, ebx
call fcn.004055e0
mov dword [ebp - 0x24], eax
mov esi, 0x49ff3c
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406b00
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004055f0
test eax, eax
jle 0x49fed0
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49febc
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404e68
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x49fe62
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404e80
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x49fe78
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404e80
mov eax, dword [ebp - 0x54]
call fcn.004050bc
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404e68
mov eax, dword [ebp - 0x58]
call fcn.004050bc
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x49febe
xor eax, eax
test al, al
je 0x49fec9
mov ebx, 0x15
jmp 0x49fed5
mov ebx, 0x10
jmp 0x49fed5
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x5945e8]
call fcn.0049fc10
mov eax, dword [ebp - 4]
call fcn.0049fc10
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406b18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ff34
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404c0c
lea eax, [ebp - 0xc]
mov edx, dword [0x408360]
call fcn.00405a94
ret

Function at 0x4a7740
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4a7791
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4a7778
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4a7768
jmp 0x4a7791
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4a7779
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b71ec
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b7246
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5be840]
cmp byte [eax], 0
je 0x4b7216
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x4b7230
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404e20
mov eax, dword [ebp - 4]
call fcn.004050bc
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b724d
lea eax, [ebp - 4]
call fcn.00404be8
ret

Function at 0x4b82ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4b8310
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404e68
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.0040a2fc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8317
lea eax, [ebp - 0xc]
call fcn.00404be8
ret

Function at 0x4b83b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x4b840c
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4b83db
call fcn.0040f7d8
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00402f64
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4b840c
call fcn.0040f7d8
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x4bc81c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x4bc8e6
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4bc8b8
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x4bc8a7
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402f64
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc8ae
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
Function at 0x4bd1d4
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jns 0x4bd1eb
call fcn.00403b54
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
test byte [ebp - 0xc], 1
je 0x4bd208
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 0xc], eax
jmp 0x4bd20b
shr dword [ebp - 0xc], 1
inc dword [ebp - 8]
cmp dword [ebp - 8], 8
jne 0x4bd1f3
mov eax, dword [ebp - 4]
cmp eax, 0xff
jbe 0x4bd223
call fcn.00403b54
mov edx, dword [ebp - 0xc]
mov dword [eax*4 + 0x5c29d4], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x100
jne 0x4bd1df
mov esp, ebp
pop ebp
ret

Function at 0x4bd240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
sub eax, 1
jno 0x4bd262
call fcn.00403b5c
test eax, eax
jl 0x4bd2a2
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
xor al, byte [edx]
and eax, 0xff
mov eax, dword [eax*4 + 0x5c29d4]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
shr edx, 8
xor eax, edx
mov edx, dword [ebp - 4]
mov dword [edx], eax
add dword [ebp - 0x14], 1
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4bd271
mov esp, ebp
pop ebp
ret

Function at 0x4cf28c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp + 0x10]
mov edx, edi
xor eax, eax
call fcn.004cf38c
mov esi, eax
mov eax, esi
call fcn.00402d58
mov ebx, eax
lea ecx, [ebp + 0x10]
mov edx, edi
mov eax, ebx
call fcn.004cf38c
push 0
lea eax, [ebp - 8]
push eax
push esi
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, ebx
call fcn.00402d74
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4d33a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x24]
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x6c]
sub eax, edx
mov ecx, dword [ebx + 0x64]
sub eax, ecx
mov dword [ebp - 8], eax
jmp 0x4d33e4
mov edx, dword [ebx + 0x24]
sub edx, 0x106
add edx, esi
mov ecx, dword [ebx + 0x64]
cmp edx, ecx
ja 0x4d346f
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov edi, esi
add edx, edi
push edx
push eax
call fcn.004cf798
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], edi
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
mov ecx, dword [ebx + 0x3c]
add edx, ecx
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp esi, ecx
ja 0x4d3438
mov cx, word [ebp - 4]
sub cx, si
jmp 0x4d343a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4d341f
mov eax, esi
mov edx, eax
add edx, edx
mov ecx, dword [ebx + 0x38]
add edx, ecx
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp esi, ecx
ja 0x4d3464
mov cx, word [ebp - 4]
sub cx, si
jmp 0x4d3466
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4d344b
add dword [ebp - 8], esi
mov edi, dword [ebx]
mov eax, dword [edi + 4]
test eax, eax
je 0x4d34dc
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x64]
add ecx, eax
mov edx, dword [ebx + 0x6c]
add ecx, edx
push ecx
push edi
call fcn.004d305c
add esp, 0xc
add dword [ebx + 0x6c], eax
mov ecx, dword [ebx + 0x6c]
cmp ecx, 3
jb 0x4d34c5
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
mov edx, dword [ebx + 0x4c]
and eax, edx
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x6c]
cmp eax, 0x106
jae 0x4d34dc
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4d33af
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4e0500
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
jne 0x4e0532
push ebx
call fcn.004e1018
pop ecx
mov dl, byte [ebx + 0x40]
test dl, dl
je 0x4e052b
mov dword [ebx + 0x14], 0xcf
mov al, 1
pop ebx
pop ebp
ret
mov dword [ebx + 0x14], 0xcb
mov edx, dword [ebx + 0x14]
cmp edx, 0xcb
jne 0x4e05a8
mov ecx, dword [ebx + 0x190]
mov al, byte [ecx + 0x10]
test al, al
je 0x4e059d
mov edx, dword [ebx + 8]
test edx, edx
je 0x4e0558
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx]
pop ecx
push ebx
mov eax, dword [ebx + 0x190]
call dword [eax]
pop ecx
test eax, eax
jne 0x4e056b
xor eax, eax
pop ebx
pop ebp
ret
cmp eax, 2
je 0x4e059d
mov edx, dword [ebx + 8]
test edx, edx
je 0x4e054a
cmp eax, 3
je 0x4e057f
dec eax
jne 0x4e054a
mov ecx, dword [ebx + 8]
inc dword [ecx + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 8]
cmp edx, ecx
jl 0x4e054a
mov edx, dword [ebx + 0x11c]
add dword [eax + 8], edx
jmp 0x4e054a
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x84], eax
jmp 0x4e05c8
mov ecx, dword [ebx + 0x14]
cmp ecx, 0xcc
je 0x4e05c8
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
push ebx
mov ecx, dword [ebx]
call dword [ecx]
pop ecx
push ebx
call fcn.004e05d4
pop ecx
pop ebx
pop ebp
ret

Function at 0x4e05d4
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
cmp eax, 0xcc
je 0x4e065e
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
xor ecx, ecx
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x14], 0xcc
jmp 0x4e065e
mov eax, dword [ebx + 8]
test eax, eax
je 0x4e0617
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x60]
mov dword [eax + 8], edx
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx]
pop ecx
mov esi, dword [ebx + 0x78]
lea eax, [ebx + 0x78]
push 0
push eax
push 0
push ebx
mov edx, dword [ebx + 0x184]
call dword [edx + 4]
add esp, 0x10
mov ecx, dword [ebx + 0x78]
cmp esi, ecx
jne 0x4e063a
xor eax, eax
jmp 0x4e067d
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x60]
cmp edx, ecx
jb 0x4e0600
push ebx
mov eax, dword [ebx + 0x180]
call dword [eax + 4]
pop ecx
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
xor ecx, ecx
mov dword [ebx + 0x78], ecx
mov eax, dword [ebx + 0x180]
mov dl, byte [eax + 8]
test dl, dl
jne 0x4e063a
mov ecx, 0xce
mov al, byte [ebx + 0x41]
test al, al
jne 0x4e0678
dec ecx
mov dword [ebx + 0x14], ecx
mov al, 1
pop esi
pop ebx
pop ebp
ret

Function at 0x4e1c60
Capabilities:
Access peb ldr_data
Get process heap flags
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push 0x58
push 1
push ebx
mov eax, dword [ebx + 4]
call dword [eax]
mov dword [ebx + 0x1a8], eax
mov dword [eax], 0x4e1b58
mov dword [eax + 8], 0x4e1c40
mov dword [eax + 0xc], 0x4e1c48
Function at 0x4e1c8b
Capabilities:
Access peb ldr_data
Get process heap flags
Resolve function by parsing pe exports
Terminate process

Disassembly:
sub esp, 0x18
mov ecx, dword fs:[0x30]
mov edx, dword [ecx + 0xc]
add edx, 0xc
mov edx, dword [edx]
mov eax, dword [edx + 0x30]
test eax, eax
je 0x4e1c9b
mov edx, dword [edx + 0x18]
mov dword [esp], edx
mov esi, dword [0x5b6bc0]
mov ebp, dword [ecx + 0xc]
mov dword [esp + 4], eax
add ebp, 0xc
mov ebp, dword [ebp]
mov ebx, dword [ebp + 0x30]
test ebx, ebx
je 0x4e1cba
test esi, esi
je 0x4e1d20
movzx eax, word [ebx]
xor ecx, ecx
test eax, eax
je 0x4e1d10
xor edx, edx
inc edx
movzx edi, word [ebx + edx*4 - 4]
cmp edi, 0x41
jl 0x4e1ce7
cmp edi, 0x5a
lea eax, [edi + 0x20]
cmovle edi, eax
movzx eax, di
add ecx, eax
movzx eax, word [ebx + edx*4 - 2]
test eax, eax
je 0x4e1d10
cmp eax, 0x41
jl 0x4e1d06
lea edi, [eax + 0x20]
movzx edi, di
cmp eax, 0x5a
cmovle eax, edi
add ecx, eax
movzx eax, word [ebx + edx*4]
test eax, eax
jne 0x4e1cd3
nop dword [eax + eax]
nop dword [eax]
cmp esi, ecx
jne 0x4e1cba
mov eax, dword [esp + 4]
mov ebx, dword [ebp + 0x18]
mov ebp, dword [0x5b6bcc]
cmp dword [ebp], 0
je 0x4e1d99
movzx edx, word [eax]
test edx, edx
je 0x4e1eee
xor ecx, ecx
inc ecx
movzx esi, word [eax + ecx*4 - 2]
lea edi, [ecx + ecx]
lea edx, [ecx + ecx - 1]
test esi, esi
je 0x4e1d5b
movzx esi, word [eax + ecx*4]
mov edx, edi
test esi, esi
jne 0x4e1d40
movzx edx, dl
cmp dl, byte [ebp]
je 0x4e1d6c
cmp dl, byte [ebp + 1]
jne 0x4e1e3d
xor ecx, ecx
xor edx, edx
inc edx
movzx esi, word [eax + edx*4 - 4]
add ecx, esi
movzx esi, word [eax + edx*4 - 2]
test esi, esi
je 0x4e1d8b
add ecx, esi
movzx esi, word [eax + edx*4]
mov bh, 0x34
nop
test esi, esi
jne 0x4e1d70
cmp ecx, dword [ebp + 4]
je 0x4e1d99
cmp ecx, dword [ebp + 8]
jne 0x4e1e3d
xor eax, eax
mov edx, dword [0x5b6b9c]
mov dword [esp + 4], eax
push edx
push eax
call dword [sym.imp.kernel32.dll_LocalAlloc]
mov ebp, eax
mov eax, dword [0x5b6b94]
test eax, eax
jbe 0x4e1dd9
xor eax, eax
invalid
invalid

Function at 0x4e1dbc
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
aam 0x6b
pop ebx
add byte [ebx + 0x4c89020c], cl
add eax, 0xc4358b00
imul ebx, dword [ebx], 3
invalid
Function at 0x4e1df0
Capabilities:
Terminate process

Disassembly:
jbe 0x4e1e3d
mov dl, byte [ebp]
xor esi, esi
mov dword [esp + 8], ecx
mov dword [esp + 0x14], ebp
mov ebp, ebx
add ebp, dword [eax + esi*4]
cmp dl, byte [ebp]
jne 0x4e1e38
mov dword [esp + 0x10], edi
xor ecx, ecx
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x14]
cmp byte [ecx + ebp], 0
je 0x4e1e45
cmp byte [ecx + edi], 0
je 0x4e1e45
inc ecx
mov al, byte [ecx + ebp]
cmp al, byte [ecx + edi]
je 0x4e1e17
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
inc esi
cmp esi, edi
jb 0x4e1dff
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [esp + 8]
mov eax, dword [ecx + ebx + 0x1c]
mov ecx, dword [ecx + ebx + 0x24]
add eax, ebx
add ecx, ebx
movzx edx, word [ecx + esi*2]
mov ebp, dword [eax + edx*4]
add ebx, ebp
je 0x4e1e3d
mov esi, dword [0x5b6ba8]
lea ebp, [esp + 4]
push ebp
mov edx, dword [0x5b6bc8]
mov eax, dword [0x5b6b94]
push eax
push edx
push esi
call ebx
mov edx, dword [0x5b6b98]
mov eax, dword [esp]
add eax, edx
mov ecx, dword [0x5b6bc8]
mov dword [esp], eax
mov edx, dword [eax + 4]
cmp ecx, 8
jbe 0x4e1eb8
mov ecx, eax
mov eax, 8
mov edi, dword [ecx + eax]
add edi, edx
mov dword [esi + eax], edi
mov edi, dword [0x5b6bc4]
add eax, edi
mov edi, dword [0x5b6bc8]
cmp eax, edi
jb 0x4e1e9e
mov eax, dword [0x5b6ba0]
push ebp
mov dword [esi + 8], eax
push dword [esp + 8]
mov edx, dword [0x5b6bc8]
push edx
push esi
call ebx
mov ecx, dword [esi + 0xc]
add ecx, esi
mov eax, dword [0x5b6bd0]
add ecx, eax
mov edx, dword [0x5b6bd0]
add esi, edx
push esi
call ecx
add esp, 4
jmp 0x4e1e3d