joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466c18
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x466cb7
cmp dword [ebx + 0x94], 0
jne 0x466cb1
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x466ba0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x466cb1
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 0x466c77
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x466cb1
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.00419ae4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x466c86
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x466ed0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b3cd4]
cmp dword [eax + 0x30], 0
je 0x46702d
test bl, bl
jne 0x466f7e
cmp dword [esi + 0x9c], 0
jne 0x466f73
mov eax, esi
call fcn.004696dc
push eax
push 0x466dfc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x466f44
mov eax, dword [0x4b3cd4]
call fcn.00469dbc
test al, al
je 0x466f44
mov eax, dword [0x4b3cf8]
call fcn.00406540
mov edi, eax
cmp edi, 0
jl 0x466f44
push 0
mov eax, dword [0x4b3cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x466f2e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x466f73
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419ae4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x466f53
inc dword [esi + 0x9c]
jmp 0x46702d
cmp dword [esi + 0x9c], 0
jle 0x46702d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46702d
cmp dword [esi + 0x44], 0
je 0x466fd9
mov eax, dword [0x4b3cd4]
call fcn.00469dbc
test al, al
je 0x466fd9
mov eax, dword [0x4b3cf8]
call fcn.00406540
mov edi, eax
cmp edi, 0
jl 0x466fd9
push 5
mov eax, dword [0x4b3cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x466fc3
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x467008
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419ae4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x466fe8
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4b3cf8
mov ecx, 1
mov edx, dword [0x466ddc]
call fcn.004066f4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x467ac0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x467b2a
mov eax, ebx
call fcn.00469dbc
test al, al
jne 0x467b2a
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.00405350
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x467b17
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x467b37
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004052b4
jmp 0x467b37
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004052b4
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x468ee0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x468f4e
mov eax, esi
call fcn.00452640
test al, al
je 0x468f4e
mov eax, dword [ebx + 0x84]
call fcn.00452290
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x468f4e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x468f42
push 0
mov eax, dword [ebx + 0x84]
call fcn.00452290
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044a1e0
jmp 0x468f4e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00468d1c
pop esi
pop ebx
ret
Function at 0x46a3bc
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 [0x4082d0]
call fcn.00405e30
xor eax, eax
push ebp
push 0x46a55d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ad83c], 0
jne 0x46a417
mov ecx, dword [0x4adcf8]
mov dl, 1
mov eax, dword [0x4088f4]
call fcn.0040d894
call fcn.00404bd4
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403968
mov eax, ebx
call fcn.00405be8
mov dword [ebp - 0x24], eax
mov esi, 0x46a56c
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.00406dd8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405bf8
test eax, eax
jle 0x46a500
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 0x46a4ec
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004054d0
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46a492
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.004054e8
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x46a4a8
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.004054e8
mov eax, dword [ebp - 0x54]
call fcn.004056f0
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004054d0
mov eax, dword [ebp - 0x58]
call fcn.004056f0
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46a4ee
xor eax, eax
test al, al
je 0x46a4f9
mov ebx, 0x15
jmp 0x46a505
mov ebx, 0x10
jmp 0x46a505
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 [0x4ad83c]
call fcn.0046a23c
mov eax, dword [ebp - 4]
call fcn.0046a23c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406df0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a564
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405284
lea eax, [ebp - 0xc]
mov edx, dword [0x4082d0]
call fcn.00405f00
ret
Function at 0x478788
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x478842
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405a68
mov eax, dword [0x4add78]
cmp byte [eax], 0
je 0x4787f7
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405dcc
mov eax, dword [ebx]
call fcn.00405bf8
push eax
mov eax, dword [ebx]
call fcn.00405be8
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405bf8
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405dcc
jmp 0x478829
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a884
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405bd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478849
lea eax, [ebp - 0x3f0]
call fcn.00405260
ret

Function at 0x478850
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040a884
add esp, 0x3ec
pop ebx
ret

Function at 0x478a10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x478ad8
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045d558
mov ebx, eax
movzx edx, word [esi + 4]
mov eax, ebp
call fcn.004786cc
mov edi, eax
test edi, edi
je 0x478a71
movzx eax, byte [0x478ae4]
cmp al, bl
jne 0x478a71
mov edx, edi
mov eax, ebp
call fcn.00478604
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x478ad8
cmp byte [ebp + 0x161], 2
jne 0x478a9c
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4ae128]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.0044b5b0
test eax, eax
jne 0x478ad8
jmp 0x478ad3
mov edx, dword [0x4ae010]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x478ad3
test byte [eax + 0x358], 8
jne 0x478ad3
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4ae010]
mov eax, edx
mov edx, 0xb006
call fcn.0044b5b0
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47edf8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x4ae128]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x47ee9e
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x47ee3d
cmp eax, dword [esp]
pop edx
pop eax
jae 0x47ee79
jmp 0x47ee41
pop edx
pop eax
jge 0x47ee79
mov eax, dword [0x4ae128]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00479814
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x47ee9e
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x47ee9e
cmp dword [ebx + 0x11c], 0
je 0x47ee9e
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.004398e4
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x485d58
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x485e12
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405a68
mov eax, dword [0x4add78]
cmp byte [eax], 0
je 0x485dc7
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405dcc
mov eax, dword [ebx]
call fcn.00405bf8
push eax
mov eax, dword [ebx]
call fcn.00405be8
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405bf8
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405dcc
jmp 0x485df9
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a884
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405bd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485e19
lea eax, [ebp - 0x3f0]
call fcn.00405260
ret

Function at 0x488f80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x488fda
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x310], ecx
mov dword [esi + 0x314], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x304], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x310]
mov eax, esi
call fcn.00488fe4
mov eax, dword [esi + 0x310]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488fe1
ret
Function at 0x48f838
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x48f86e
jmp 0x48f914
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x48f8b2
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x48f8b2
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x48f8c2
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x48f8c2
mov eax, dword [edx + 0x14]
test eax, eax
je 0x48f8db
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0048c1c4
jmp 0x48f914
mov dl, 1
mov eax, dword [0x424508]
call fcn.00426724
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.004270f8
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.00426248
mov edx, esp
mov eax, esi
call fcn.00426e34
mov eax, esi
call fcn.00404360
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x492144
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00452290
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x2c1], 0
xor edx, edx
mov eax, ebx
call fcn.0044a1e0
pop ebx
ret
Function at 0x49c7bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x49c7e2
push 0
mov eax, dword [ebx + 0x94]
call fcn.00452290
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x49c89c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49ca0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 0xc]
test byte [eax + 0x1c], 0x10
jne 0x49c9f3
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x10d]
call fcn.0040a884
mov dl, 1
mov eax, dword [0x472c3c]
call fcn.00472c94
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x417e0c]
call fcn.00404330
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.00472d10
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49c9ef
mov dl, 1
mov eax, dword [0x4741a8]
call fcn.00474210
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x34], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
mov edx, 0x49ca24
call fcn.00473484
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405578
xor eax, eax
push ebp
push 0x49c9e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.00474518
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0049ca2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c9ef
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.00404360
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.00404360
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.00404360
ret
movzx ebx, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ca15
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405284
ret
Function at 0x49e290
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 0
mov eax, dword [esi + 0x70]
push eax
call sub.kernel32.dll_PostQueuedCompletionStatus
mov eax, dword [esi + 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0x42000000
push 3
push 0
push 7
push 0xc0000000
mov eax, dword [esi + 0x68]
call fcn.004056f0
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
mov eax, esi
call fcn.0049e284
mov dword [esi + 0x44], edi
mov eax, esi
call fcn.0049e418
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x49e2ff
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
jne 0x49e319
mov eax, esi
call fcn.0049e284
xor eax, eax
mov dword [esi + 0x44], eax
xor eax, eax
mov dword [esi + 0x70], eax
mov eax, esi
call fcn.0049e418
jmp 0x49e38e
push 0
mov eax, dword [esi + 4]
push eax
push 0
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_CreateIoCompletionPort
mov ebx, eax
mov eax, esi
call fcn.0049e284
mov dword [esi + 0x70], ebx
mov eax, esi
call fcn.0049e418
xor eax, eax
mov dword [esi + 0x8c], eax
lea eax, [esi + 0x90]
xor ecx, ecx
mov edx, 0x1000
call fcn.00403968
push 0
lea eax, [esi + 0x74]
push eax
lea eax, [esi + 0x8c]
push eax
mov eax, dword [esi + 0x88]
push eax
cmp byte [esi + 0x6c], 1
cmc
sbb eax, eax
push eax
push 0x1000
lea eax, [esi + 0x90]
push eax
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_ReadDirectoryChangesW
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4a01a8
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403968
ret
Function at 0x4a0594
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
xor edx, edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], edx
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x408], edx
mov dword [ebp - 0x3f0], edx
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x3f8], eax
xor eax, eax
push ebp
push 0x4a080b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x4a0820
call fcn.004a03fc
lea eax, [ebp - 0x3f0]
call fcn.00405260
lea eax, [ebp - 0x3fc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x3f4]
call fcn.004056f0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4a07cc
xor eax, eax
push ebp
push 0x4a07c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x3e9
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 7
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x408]
mov eax, 0x4a0860
call fcn.004a03fc
mov eax, dword [ebp - 0x408]
call fcn.004056f0
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4a0697
push ebp
mov eax, 0x4a088c
call fcn.004a04ec
pop ecx
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x40c]
mov eax, 0x4a0898
call fcn.004a03fc
mov eax, dword [ebp - 0x40c]
call fcn.004056f0
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4a0721
push dword [ebp - 0x3f0]
push 0x4a08c0
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.004054d0
push dword [ebp - 0x410]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.004055f4
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x414]
mov eax, 0x4a08cc
call fcn.004a03fc
mov eax, dword [ebp - 0x414]
call fcn.004056f0
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4a07ab
push dword [ebp - 0x3f0]
push 0x4a08c0
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.004054d0
push dword [ebp - 0x418]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.004055f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a07cc
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x3f8]
mov edx, dword [ebp - 0x3f0]
call fcn.004052b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0812
lea eax, [ebp - 0x418]
mov edx, 5
call fcn.00405284
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.00405284
ret
Function at 0x4a5628
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056e0
xor eax, eax
push ebp
push 0x4a5763
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4a5733
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004056f0
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.0040a114
test al, al
jne 0x4a56a3
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00403700
lea eax, [ebp - 0x1d0]
call fcn.0040349c
call fcn.00403094
push dword [0x4b3e70]
push 0x4a577c
push dword [0x4b3e74]
push 0x4a577c
push dword [0x4b3e78]
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.004055f4
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.004a945c
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.00405a10
call fcn.00403dbc
call fcn.00403094
lea eax, [ebp - 0x1d0]
call fcn.004037c8
call fcn.00403094
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a573d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a576a
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.00405284
lea eax, [ebp - 4]
call fcn.00405260
ret