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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4670db
add esp, 0xfffffff0
call fcn.00404648
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422f8c
mov eax, dword [0x4cbf98]
cmp word [eax + 2], 0
jne 0x467103
mov eax, dword [0x4cbf98]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468cdc
mov eax, dword [0x4cc0b8]
cmp word [eax + 2], 0
jne 0x46711d
mov eax, dword [0x4cc0b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468ee8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41968c]
call fcn.004042f4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41968c]
call fcn.004042f4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41968c]
call fcn.004042f4
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 [0x42785c]
call fcn.0042f854
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4672d4
mov eax, dword [0x4cbe18]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042fc28
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4695bc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4cbe18]
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.0040f29c
test eax, eax
je 0x467224
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a928
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f2d0
test eax, eax
je 0x467238
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.00405494
mov byte [ebx + 0xd4], 0
push ebx
push 0x4687ec
call fcn.0042411c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4cbbf0]
cmp byte [eax], 0
jne 0x467289
mov eax, ebx
call fcn.00467418
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.00469794
mov eax, ebx
call fcn.0046a2f8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4672c9
call fcn.004046a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467698
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x467737
cmp dword [ebx + 0x94], 0
jne 0x467731
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x467620
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x467731
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 0x4676f7
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x467731
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.0041bd5c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x467706
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4d1cd4]
cmp dword [eax + 0x30], 0
je 0x467aad
test bl, bl
jne 0x4679fe
cmp dword [esi + 0x9c], 0
jne 0x4679f3
mov eax, esi
call fcn.0046a174
push eax
push 0x46787c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4679c4
mov eax, dword [0x4d1cd4]
call fcn.0046a854
test al, al
je 0x4679c4
mov eax, dword [0x4d1cf8]
call fcn.004067a0
mov edi, eax
cmp edi, 0
jl 0x4679c4
push 0
mov eax, dword [0x4d1cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4679ae
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4679f3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041bd5c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4679d3
inc dword [esi + 0x9c]
jmp 0x467aad
cmp dword [esi + 0x9c], 0
jle 0x467aad
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x467aad
cmp dword [esi + 0x44], 0
je 0x467a59
mov eax, dword [0x4d1cd4]
call fcn.0046a854
test al, al
je 0x467a59
mov eax, dword [0x4d1cf8]
call fcn.004067a0
mov edi, eax
cmp edi, 0
jl 0x467a59
push 5
mov eax, dword [0x4d1cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x467a43
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x467a88
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041bd5c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x467a68
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4d1cf8
mov ecx, 1
mov edx, dword [0x46785c]
call fcn.00406954
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x468540
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 0x4685aa
mov eax, ebx
call fcn.0046a854
test al, al
jne 0x4685aa
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.00405314
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x468597
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4685b7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405278
jmp 0x4685b7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405278
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x469978
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4699e6
mov eax, esi
call fcn.00453228
test al, al
je 0x4699e6
mov eax, dword [ebx + 0x84]
call fcn.00452e78
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4699e6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4699da
push 0
mov eax, dword [ebx + 0x84]
call fcn.00452e78
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044ae00
jmp 0x4699e6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004697b4
pop esi
pop ebx
ret

Function at 0x4719f8
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 0x471ab2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405a2c
mov eax, dword [0x4cbcc4]
cmp byte [eax], 0
je 0x471a67
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405dc0
mov eax, dword [ebx]
call fcn.00405bec
push eax
mov eax, dword [ebx]
call fcn.00405bdc
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405bec
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405dc0
jmp 0x471a99
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.0040ab14
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405bcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471ab9
lea eax, [ebp - 0x3f0]
call fcn.00405224
ret

Function at 0x471ac0
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.0040ab14
add esp, 0x3ec
pop ebx
ret
Function at 0x471c80
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 0x471d48
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045df80
mov ebx, eax
movzx edx, word [esi + 4]
mov eax, ebp
call fcn.0047193c
mov edi, eax
test edi, edi
je 0x471ce1
movzx eax, byte [0x471d54]
cmp al, bl
jne 0x471ce1
mov edx, edi
mov eax, ebp
call fcn.00471874
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x471d48
cmp byte [ebp + 0x161], 2
jne 0x471d0c
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4cc1f0]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.0044c1d0
test eax, eax
jne 0x471d48
jmp 0x471d43
mov edx, dword [0x4cc080]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x471d43
test byte [eax + 0x358], 8
jne 0x471d43
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4cc080]
mov eax, edx
mov edx, 0xb006
call fcn.0044c1d0
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x478068
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 [0x4cc1f0]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x47810e
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x4780ad
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4780e9
jmp 0x4780b1
pop edx
pop eax
jge 0x4780e9
mov eax, dword [0x4cc1f0]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00472a84
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x47810e
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x47810e
cmp dword [ebx + 0x11c], 0
je 0x47810e
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0043a634
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 0x47efc8
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 0x47f082
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405a2c
mov eax, dword [0x4cbcc4]
cmp byte [eax], 0
je 0x47f037
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405dc0
mov eax, dword [ebx]
call fcn.00405bec
push eax
mov eax, dword [ebx]
call fcn.00405bdc
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405bec
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405dc0
jmp 0x47f069
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.0040ab14
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405bcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f089
lea eax, [ebp - 0x3f0]
call fcn.00405224
ret

Function at 0x4821f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x48224a
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.00482254
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 0x482251
ret

Function at 0x488aa8
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 0x488ade
jmp 0x488b84
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 0x488b22
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x488b22
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x488b32
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x488b32
mov eax, dword [edx + 0x14]
test eax, eax
je 0x488b4b
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00485434
jmp 0x488b84
mov dl, 1
mov eax, dword [0x4270b0]
call fcn.0042922c
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00429c00
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.00428d50
mov edx, esp
mov eax, esi
call fcn.0042993c
mov eax, esi
call fcn.00404324
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x48b3b4
Capabilities:
Hide graphical window

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

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

Function at 0x495b0c
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 0x495c7e
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 0x495c63
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.0040ab14
mov dl, 1
mov eax, dword [0x46bbd4]
call fcn.0046bc2c
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x419ffc]
call fcn.004042f4
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.0046bca8
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x495c5f
mov dl, 1
mov eax, dword [0x46d140]
call fcn.0046d1a8
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, 0x495c94
call fcn.0046c41c
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040553c
xor eax, eax
push ebp
push 0x495c58
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.0046d4b0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00495c9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495c5f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.00404324
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.00404324
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.00404324
ret
movzx ebx, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495c85
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405248
ret

Function at 0x4b451c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4b4576
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004b450c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004b2164
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004b1c7c
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b457d
lea eax, [ebp - 4]
call fcn.00405224
ret
Function at 0x4bcf2c
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.00403918
ret

Function at 0x4bd66c
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 [0x408524]
call fcn.00405e24
xor eax, eax
push ebp
push 0x4bd80d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4cb9bc], 0
jne 0x4bd6c7
mov ecx, dword [0x4cbc14]
mov dl, 1
mov eax, dword [0x408938]
call fcn.0040e414
call fcn.00404b98
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403918
mov eax, ebx
call fcn.00405bdc
mov dword [ebp - 0x24], eax
mov esi, 0x4bd81c
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.00407044
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405bec
test eax, eax
jle 0x4bd7b0
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 0x4bd79c
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405494
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4bd742
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.004054ac
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4bd758
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.004054ac
mov eax, dword [ebp - 0x54]
call fcn.004056b4
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405494
mov eax, dword [ebp - 0x58]
call fcn.004056b4
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x4bd79e
xor eax, eax
test al, al
je 0x4bd7a9
mov ebx, 0x15
jmp 0x4bd7b5
mov ebx, 0x10
jmp 0x4bd7b5
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 [0x4cb9bc]
call fcn.004bd4ec
mov eax, dword [ebp - 4]
call fcn.004bd4ec
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.0040705c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd814
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405248
lea eax, [ebp - 0xc]
mov edx, dword [0x408524]
call fcn.00405ef4
ret
Function at 0x4c0948
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c09b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405224
push 0x4c09d0
lea edx, [ebp - 8]
mov eax, esi
call fcn.00409f08
push dword [ebp - 8]
push 0x4c0a28
lea eax, [ebp - 4]
mov edx, 3
call fcn.004055b8
mov eax, dword [ebp - 4]
mov ecx, ebx
mov edx, 0x4c0a34
call fcn.004c045c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c09bf
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405248
ret

Function at 0x4c0f20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056a4
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4c1088
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0046acbc
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.0046acdc
mov ebx, eax
jmp 0x4c105a
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405494
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a71c
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004096bc
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004096bc
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.0040564c
je 0x4c103a
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405494
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004096bc
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004096bc
mov edx, dword [ebp - 0x148]
pop eax
call fcn.0040564c
jne 0x4c104f
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.0046acfc
mov ebx, eax
test ebx, ebx
jne 0x4c0f9b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c108f
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00405248
lea eax, [ebp - 4]
call fcn.00405224
ret
Function at 0x4c1230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
xor edx, 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 0x4c13f4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x4c1408
call fcn.004c1098
lea eax, [ebp - 0x3f0]
call fcn.00405224
lea eax, [ebp - 0x3fc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x3f4]
call fcn.004056b4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4c13b5
xor eax, eax
push ebp
push 0x4c13ae
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
push 0x4c1440
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4c130a
push ebp
mov eax, 0x4c145c
call fcn.004c1188
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 - 0x408]
mov eax, 0x4c1468
call fcn.004c1098
mov eax, dword [ebp - 0x408]
call fcn.004056b4
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4c1394
push dword [ebp - 0x3f0]
push 0x4c148c
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.00405494
push dword [ebp - 0x40c]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.004055b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c13b5
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.00405278
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c13fb
lea eax, [ebp - 0x40c]
mov edx, 2
call fcn.00405248
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.00405248
ret