joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c978
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x49cae0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0x490]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xc], eax
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004a7170
mov byte [ebp - 5], al
mov eax, dword [ebp - 0xc]
mov edx, dword [edi + 0x208]
mov dword [eax + 0x20], edx
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x1c0]
mov eax, dword [ebp - 0xc]
push edi
lea esi, [ebp - 0x20]
lea edi, [eax + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x108]
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, edi
mov si, 0xffb0
call fcn.00402b28
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov edx, dword [ebp - 0x10]
call fcn.0040416c
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0x490]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x58]
mov eax, dword [edi + 0x208]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov al, byte [ebp - 5]
push eax
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x148]
mov ebx, dword [edi + 0x208]
test byte [ebp - 5], 1
je 0x49ca7c
mov esi, dword [ebx + 0xc]
mov eax, esi
call fcn.00426f18
mov edx, eax
or dl, byte [0x49caf0]
mov eax, esi
call fcn.00426f24
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ebx, eax
mov al, byte [edi + 0x2bc]
sub al, 1
jae 0x49caa6
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0x490]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0xb0]
jmp 0x49cab9
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0x490]
mov ecx, dword [eax]
call dword [ecx + 0x30]
call fcn.004b76bc
add ebx, 5
jno 0x49cac3
call fcn.0040282c
cmp eax, ebx
setge al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cae7
lea eax, [ebp - 0x10]
call fcn.00404130
ret
Function at 0x4a6198
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a6300
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x490]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edi, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x208]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x43c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x490]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov esi, dword [eax + 0xb0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
call fcn.004a7388
add esi, eax
jno 0x4a621e
call fcn.0040282c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dl, 2
call fcn.004a7388
mov ecx, esi
sub ecx, eax
jno 0x4a6236
call fcn.0040282c
xor edx, edx
xor eax, eax
call fcn.00406420
push edi
lea esi, [ebp - 0x1c]
add edi, 0x24
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x490]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x208]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
mov edx, ebx
call fcn.004a7170
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
mov edx, ebx
mov esi, dword [eax]
call dword [esi + 0x108]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
mov edx, ebx
mov si, 0xffb0
call fcn.00402b28
lea eax, [edi + 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.0040416c
mov eax, dword [ebp - 0xc]
push eax
mov al, byte [ebp - 5]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
mov edx, ebx
mov ebx, dword [eax]
call dword [ebx + 0x148]
lea edx, [ebp - 0x24]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ebx, dword [ebp - 0x20]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6307
lea eax, [ebp - 0xc]
call fcn.00404130
ret
Function at 0x4a92e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd0
mov ebx, eax
xor esi, esi
test byte [ebx + 0x4a0], 8
je 0x4a939d
mov eax, dword [ebx + 0x280]
test eax, eax
jl 0x4a93cc
cmp dword [ebx + 0x284], 0
jl 0x4a93cc
mov edx, eax
mov eax, dword [ebx + 0x490]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov esi, eax
push esp
mov ecx, dword [ebx + 0x284]
mov edx, dword [ebx + 0x280]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x1c0]
mov edx, dword [ebx + 0x284]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x124]
mov edx, eax
mov ecx, esp
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x64]
mov edx, esp
mov eax, ebx
call fcn.004a9a08
test byte [ebx + 0x430], 0x20
jne 0x4a9376
sub dword [esp + 8], 1
jno 0x4a9376
call fcn.0040282c
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.004a6ed0
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 4]
jle 0x4a93cc
xor edx, edx
mov eax, dword [ebx + 0x2d0]
call fcn.00452e5c
jmp 0x4a949c
test byte [ebx + 0x4a0], 0x40
je 0x4a949c
mov edx, dword [ebx + 0x2d8]
mov eax, dword [ebx + 0x490]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov esi, eax
mov ecx, esp
mov edx, dword [ebx + 0x2d8]
mov eax, ebx
call fcn.004a7504
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 8]
push eax
call sub.user32.dll_InflateRect
cmp dword [esp], 0
jge 0x4a93e5
xor eax, eax
mov dword [esp], eax
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.004a6ed0
mov eax, dword [esp + 0x20]
cmp eax, dword [esp]
jle 0x4a940c
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.004a6ed0
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov ebx, dword [ebx + 0x2d0]
push 0
mov eax, ebx
call fcn.004597cc
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x40]
test al, 0x10
setne al
and eax, 0x7f
mov eax, dword [eax*4 + 0x4f5754]
or eax, 0x40
push eax
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 8]
sub eax, ebp
jno 0x4a944c
call fcn.0040282c
push eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
jno 0x4a945e
call fcn.0040282c
push eax
push ebp
push edi
push 0
mov eax, ebx
call fcn.004597cc
push eax
call sub.user32.dll_SetWindowPos
mov eax, ebx
call fcn.004597cc
push eax
call sub.user32.dll_SetFocus
lea edx, [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
push 0
lea eax, [esp + 0x14]
push eax
mov eax, ebx
call fcn.004597cc
push eax
call sub.user32.dll_InvalidateRect
add esp, 0x30
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ac3d4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ac591
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, dword [ebx + 0x490]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x94]
mov eax, dword [ebx + 0x208]
call fcn.00427e44
mov dword [ebp - 8], eax
mov edx, esi
mov eax, dword [ebx + 0x490]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x94]
mov eax, dword [ebx + 0x208]
call fcn.00427e28
mov edi, eax
mov edx, esi
mov eax, dword [ebx + 0x490]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov al, byte [eax + 0x98]
sub al, 1
jb 0x4ac4bb
jne 0x4ac528
mov edx, esi
mov eax, dword [ebx + 0x490]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
add eax, 2
jno 0x4ac475
call fcn.0040282c
mov dword [ebp - 0x18], eax
add edi, dword [ebp - 0x18]
jno 0x4ac482
call fcn.0040282c
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
call fcn.004a7234
mov edi, eax
mov eax, dword [ebp - 8]
add eax, 2
jno 0x4ac4a0
call fcn.0040282c
sub edi, eax
jno 0x4ac4a9
call fcn.0040282c
mov dword [ebp - 0x14], edi
add edi, dword [ebp - 8]
jno 0x4ac4b6
call fcn.0040282c
mov dword [ebp - 0xc], edi
jmp 0x4ac528
mov edx, esi
mov eax, dword [ebx + 0x490]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
mov edx, edi
add edx, 2
jno 0x4ac4dd
call fcn.0040282c
sub eax, edx
jno 0x4ac4e6
call fcn.0040282c
mov dword [ebp - 0x18], eax
add edi, dword [ebp - 0x18]
jno 0x4ac4f3
call fcn.0040282c
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
call fcn.004a7234
mov dword [ebp - 0x14], eax
mov edx, esi
mov eax, dword [ebx + 0x490]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x14]
jno 0x4ac525
call fcn.0040282c
mov dword [ebp - 0xc], eax
mov edi, dword [ebx + 0x208]
mov eax, dword [edi + 0xc]
mov dl, byte [0x4ac5a0]
call fcn.00426f24
mov eax, dword [edi + 0xc]
mov edx, dword [ebx + 0x46c]
call fcn.00426c58
mov edx, esi
mov eax, dword [ebx + 0x490]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x94]
lea eax, [ebp - 0x1c]
call fcn.004042ec
mov eax, dword [ebp - 0x1c]
push eax
push 0
xor ecx, ecx
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x208]
call fcn.0048dbe8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac598
lea eax, [ebp - 0x1c]
call fcn.00404130
ret
Function at 0x4bf1f8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov ebx, edx
mov esi, eax
cmp dword [esi + 0x18], 0
je 0x4bf20c
mov eax, esi
call fcn.004bf2cc
mov eax, dword [esi + 4]
mov dword [esi + 0x18], eax
test bl, bl
je 0x4bf235
mov eax, dword [esi + 4]
cmp word [eax], 0x25ff
jne 0x4bf235
add dword [esi + 0x18], 2
jno 0x4bf22b
call fcn.0040282c
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0x18]
jno 0x4bf242
call fcn.0040282c
sub eax, 5
jno 0x4bf24c
call fcn.0040282c
mov byte [esi + 0xc], 0xe9
mov edx, eax
and edx, 0xff
mov byte [esi + 0xd], dl
mov edx, eax
shr edx, 8
and edx, 0xff
mov byte [esi + 0xe], dl
mov edx, eax
shr edx, 0x10
and edx, 0xff
mov byte [esi + 0xf], dl
shr eax, 0x18
and eax, 0xff
mov byte [esi + 0x10], al
mov eax, dword [esi + 0x18]
mov al, byte [eax]
mov byte [esi + 0x11], al
mov eax, dword [esi + 0x18]
mov al, byte [eax + 1]
mov byte [esi + 0x12], al
mov eax, dword [esi + 0x18]
mov al, byte [eax + 2]
mov byte [esi + 0x13], al
mov eax, dword [esi + 0x18]
mov al, byte [eax + 3]
mov byte [esi + 0x14], al
mov eax, dword [esi + 0x18]
mov al, byte [eax + 4]
mov byte [esi + 0x15], al
push esp
push 0x40
push 5
mov eax, dword [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4bf2c5
call fcn.0040ece0
pop edx
pop esi
pop ebx
ret
Function at 0x4bf38c
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4bf3aa
add esp, 0xfffffff0
call fcn.00402c98
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00403ce4
xor eax, eax
push ebp
push 0x4bf586
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00403d04
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
mov dword [esi + 0x20], edi
cmp edi, 0xffffffff
jne 0x4bf412
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x4bf5b8
call fcn.00403b88
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4bbfc0]
call fcn.0040d670
call fcn.004030f8
push 0
push 0
push 0
push 2
push 0
mov eax, dword [esi + 0x20]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov edi, eax
mov dword [esi + 0x24], edi
test edi, edi
jne 0x4bf452
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x4bf5d4
call fcn.00403b88
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4bbfc0]
call fcn.0040d670
call fcn.004030f8
push 0
push 0
push 0
push 4
mov eax, dword [esi + 0x24]
push eax
call sub.kernel32.dll_MapViewOfFile
mov edi, eax
mov dword [esi + 0x28], edi
test edi, edi
jne 0x4bf4a5
push 0x4bf600
push dword [ebp - 4]
push 0x4bf61c
lea eax, [ebp - 0x14]
call fcn.004bcef4
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403bfc
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4bbfc0]
call fcn.0040d670
call fcn.004030f8
mov eax, dword [ebp + 0x10]
add eax, dword [esi + 0x28]
mov dword [esi + 0x2c], eax
mov byte [esi + 4], 0
mov edx, dword [esi + 0x2c]
xor ecx, ecx
mov eax, esi
call fcn.004bf36c
cmp eax, 0x950412de
je 0x4bf4f0
cmp eax, 0xde120495
je 0x4bf4f0
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, 0x4bf63c
call fcn.00403b88
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x4bbfc0]
call fcn.0040d670
call fcn.004030f8
cmp eax, 0xde120495
sete al
mov byte [esi + 4], al
mov edx, dword [esi + 0x2c]
mov ecx, 4
mov eax, esi
call fcn.004bf36c
mov edx, dword [esi + 0x2c]
mov ecx, 8
mov eax, esi
call fcn.004bf36c
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c]
mov ecx, 0xc
mov eax, esi
call fcn.004bf36c
mov dword [esi + 0x10], eax
mov edx, dword [esi + 0x2c]
mov ecx, 0x10
mov eax, esi
call fcn.004bf36c
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
test eax, eax
jns 0x4bf54c
call fcn.00402824
mov dword [esi + 0x18], 1
test eax, eax
je 0x4bf560
shr eax, 1
shl dword [esi + 0x18], 1
test eax, eax
jne 0x4bf557
shr dword [esi + 0x18], 1
mov eax, dword [esi + 0x18]
shr eax, 1
mov dword [esi + 0x1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf58d
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.0040386c
ret
Function at 0x4c70f0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdbc
push ebx
xor edx, edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x244], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c722e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push 3
push 0
push 3
push 0
push 0x4c7248
lea eax, [ebp - 0x244]
mov edx, ebx
call fcn.00403a68
push dword [ebp - 0x244]
push 0x4c7258
lea eax, [ebp - 0x240]
mov edx, 3
call fcn.00403bfc
mov eax, dword [ebp - 0x240]
call fcn.00403d04
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4c7210
xor eax, eax
push ebp
push 0x4c7209
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
xor ecx, ecx
mov edx, 0xc
call fcn.00401fe8
lea eax, [ebp - 0x23c]
xor ecx, ecx
mov edx, 0x224
call fcn.00401fe8
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 8]
push eax
push 0x224
lea eax, [ebp - 0x23c]
push eax
push 0xc
lea eax, [ebp - 0x18]
push eax
push 0x2d1400
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x4c71eb
cmp dword [ebp - 0x220], 7
sete al
and eax, 0x7f
mov dword [ebp - 4], eax
jmp 0x4c71f2
mov dword [ebp - 4], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7210
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7235
lea eax, [ebp - 0x244]
mov edx, 2
call fcn.0040386c
ret
Function at 0x4d1024
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4d1052
mov eax, ebx
call fcn.004d1ad8
cmp dword [ebx + 0x40], 0
je 0x4d104b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4d10c3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4d10b5
cmp dword [ebx + 8], 0
je 0x4d1074
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 0x4d1086
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d10b5
cmp dword [ebx + 8], 0
je 0x4d1067
cmp eax, 3
je 0x4d1099
dec eax
jne 0x4d1067
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 0x4d1067
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4d1067
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4d10e1
cmp dword [ebx + 0x14], 0xcc
je 0x4d10e1
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.004d10ec
pop ebx
ret

Function at 0x4e17e4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x4e1814
cmp dword [esp + 4], 6
jb 0x4e1814
call fcn.00446094
call fcn.00446174
test al, al
je 0x4e1814
mov al, 1
jmp 0x4e1816
xor eax, eax
add esp, 0x94
ret
Function at 0x4e2ba4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ce4
mov eax, dword [ebp - 8]
call fcn.00403ce4
xor eax, eax
push ebp
push 0x4e2df4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 1
xor ebx, ebx
xor eax, eax
mov al, byte [0x4f8b6c]
imul ecx, eax, 0x100
jno 0x4e2bee
call fcn.0040282c
or ecx, 0x2001f
mov dl, 1
mov eax, dword [0x438bb0]
call fcn.00438cf4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4e2dd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.00438d8c
xor ecx, ecx
mov edx, 0x4e2e10
mov eax, dword [ebp - 0x10]
call fcn.00438df4
test al, al
je 0x4e2c90
mov bl, 1
xor eax, eax
push ebp
push 0x4e2c6f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
jne 0x4e2c57
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00439320
jmp 0x4e2c62
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00439090
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e2d2b
cmp byte [0x4f8b6c], 0
je 0x4e2d2b
mov eax, dword [ebp - 0x10]
call fcn.00438d5c
lea eax, [ebp - 0x10]
call fcn.0040f2b8
mov ecx, 0x2021f
mov dl, 1
mov eax, dword [0x438bb0]
call fcn.00438cf4
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov edx, 0x4e2e10
mov eax, dword [ebp - 0x10]
call fcn.00438df4
test al, al
je 0x4e2d2b
mov bl, 1
xor eax, eax
push ebp
push 0x4e2d0f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
jne 0x4e2cfa
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00439320
jmp 0x4e2d05
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00439090
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e2d2b
test bl, bl
jne 0x4e2db4
mov eax, dword [ebp - 0x10]
call fcn.00438d5c
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.00438d8c
mov cl, 1
mov edx, 0x4e2e4c
mov eax, dword [ebp - 0x10]
call fcn.00438df4
test al, al
je 0x4e2db0
xor eax, eax
push ebp
push 0x4e2d94
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
jne 0x4e2d7f
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00439320
jmp 0x4e2d8a
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00439090
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e2db4
mov byte [ebp - 0xa], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2dd9
mov eax, dword [ebp - 0x10]
call fcn.00438d5c
lea eax, [ebp - 0x10]
call fcn.0040f2b8
ret
Function at 0x4e2ee0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403ce4
mov eax, dword [ebp - 8]
call fcn.00403ce4
xor eax, eax
push ebp
push 0x4e2fc2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp + 8]
or eax, 0x2001f
push eax
push 0
push 0
push 0
push 0x4e2fd0
push ebx
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00403d04
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegOpenKeyA
test ebx, ebx
jne 0x4e2f9a
test eax, eax
jne 0x4e2f9a
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00403d04
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x4e2f76
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004e2fd4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 4]
call fcn.00403d04
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test ebx, ebx
jne 0x4e2fa7
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2fc9
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040386c
ret