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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x473607
add esp, 0xfffffff0
call fcn.00404224
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004408d0
mov eax, dword [0x58bb64]
cmp byte [eax], 0
jne 0x473634
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x58bec8]
cmp word [eax + 2], 0
jne 0x47364e
mov eax, dword [0x58bec8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004755ac
mov eax, dword [0x58bfe8]
cmp word [eax + 2], 0
jne 0x473668
mov eax, dword [0x58bfe8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004757bc
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x445e88]
call fcn.00447d10
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x475c40
mov dl, 1
mov eax, dword [0x435e24]
call fcn.00403da4
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x435e24]
call fcn.00403da4
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x446ae8]
call fcn.0044fa5c
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x473844
mov eax, dword [0x58bd3c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0044fe60
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x475ef0
mov dl, 1
mov eax, dword [0x435e24]
call fcn.00403da4
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x58bd3c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041a534
test eax, eax
je 0x473776
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041a300
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041a51c
test eax, eax
je 0x47378e
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040601c
push ebx
push 0x474f7c
call fcn.00469d3c
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x58bb64]
cmp byte [eax], 0
jne 0x4737df
mov eax, ebx
call fcn.004739b8
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.00476118
mov eax, ebx
call fcn.00476cdc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47383c
call fcn.0040427c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x473c8c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x473d2e
cmp dword [ebx + 0x90], 0
jne 0x473d28
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x473bd8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x473d28
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_GetWindowLongW
test al, 8
je 0x473cee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x473d28
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.0043884c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x473cfd
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x592100]
cmp dword [eax + 0x170], 0
je 0x4740b1
test bl, bl
jne 0x473fff
cmp dword [esi + 0x98], 0
jne 0x473ff4
mov eax, esi
call fcn.00476b2c
push eax
push 0x473e58
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x473fc5
mov eax, dword [0x592100]
cmp byte [eax + 0xcf], 0
je 0x473fc5
mov eax, dword [esi + 0xd4]
call fcn.004076f4
mov edi, eax
cmp edi, 0
jl 0x473fc5
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x473fae
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x473ff4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0043884c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x473fd4
inc dword [esi + 0x98]
jmp 0x4740b1
cmp dword [esi + 0x98], 0
jle 0x4740b1
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x4740b1
cmp dword [esi + 0x40], 0
je 0x47405c
mov eax, dword [0x592100]
cmp byte [eax + 0xcf], 0
je 0x47405c
mov eax, dword [esi + 0xd4]
call fcn.004076f4
mov edi, eax
cmp edi, 0
jl 0x47405c
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x474045
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47408b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0043884c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47406b
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x469744]
call fcn.004078b4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x474c6c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x474cd7
cmp byte [ebx + 0xcf], 0
jne 0x474cd7
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405f48
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x474cc4
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x474ce4
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405e0c
jmp 0x474ce4
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405e0c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4762ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x47635a
mov eax, esi
call fcn.004924e0
test al, al
je 0x47635a
mov eax, dword [ebx + 0x80]
call fcn.00492134
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47635a
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x47634e
push 0
mov eax, dword [ebx + 0x80]
call fcn.00492134
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.00489750
jmp 0x47635a
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.00476138
pop esi
pop ebx
ret

Function at 0x4780b4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00405e0c
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x4780fb
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040601c
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x47d514
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47d64d
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x44542c]
call fcn.00445568
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x47d623
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00445608
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.0040601c
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x47d668
call fcn.004062f0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0044566c
test al, al
je 0x47d60d
lea ecx, [ebp - 4]
mov edx, 0x47d6dc
mov eax, dword [ebp - 0xc]
call fcn.004458b8
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00421160
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x47d606
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x47d6f4
mov eax, dword [ebp - 8]
push eax
call fcn.00408f68
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x587138]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d60d
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d62a
mov eax, dword [ebp - 0xc]
call fcn.00403dd4
ret

Function at 0x47d758
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x47d79f
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47d782
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47d793
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x47d79f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x486ee4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x59219c], 0
je 0x487025
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x58bfc0]
mov edx, dword [edx]
xor al, byte [edx + 0xb8]
je 0x487025
mov eax, dword [0x5921a0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x59219c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x486ff4
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x59219c]
call fcn.0043884c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x486fec
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1e2], 0
je 0x486fec
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x486fec
mov eax, dword [ebp - 0x14]
call fcn.00492134
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x486fec
push ebp
call fcn.00486ea0
pop ecx
test al, al
jne 0x486fec
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403fe4
test al, al
je 0x486fec
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403fe4
cmp byte [ebp - 1], 0
je 0x486fec
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00408b60
test al, al
je 0x486fec
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5921a0]
call fcn.00486618
inc edi
dec ebx
jne 0x486f49
mov eax, dword [0x5921a0]
cmp dword [eax + 8], 0
jle 0x48700c
mov eax, dword [0x5921a0]
call fcn.004866d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x487025
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00486d04
pop ecx
test al, al
jne 0x487025
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48ede8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00408b48
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00489360
test ebx, ebx
jne 0x48ee3b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0048ec7c
mov ebx, eax
test ebx, ebx
je 0x48ef26
cmp esi, ebx
je 0x48ee64
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x48ee79
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x48eeb1
add eax, 0xffffff5f
sub eax, 2
jb 0x48eec9
dec eax
sub eax, 2
jb 0x48eedd
dec eax
sub eax, 2
jb 0x48eed3
jmp 0x48eee7
add eax, 0xfffffdff
sub eax, 2
jb 0x48eec9
dec eax
sub eax, 2
jb 0x48eedd
dec eax
sub eax, 2
jb 0x48eed3
jmp 0x48eee7
mov byte [esp + 0x120], 0
jmp 0x48eeef
mov byte [esp + 0x120], 2
jmp 0x48eeef
mov byte [esp + 0x120], 1
jmp 0x48eeef
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00469df0
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0048ab58
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x48ef28
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x4b25d8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b26bd
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x4b26d8
mov eax, ebx
call fcn.004b2c24
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00418bb8
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.004186cc
mov eax, dword [ebp - 8]
mov edx, 0x4b2708
call fcn.004065c0
jne 0x4b26a2
mov dl, 1
mov eax, dword [0x4368ac]
call fcn.00403da4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b269b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x30]
call fcn.0043b8a0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0043b8a0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 4]
call fcn.004b17d8
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x30]
call fcn.0043c048
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 4]
call fcn.0043c060
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b26a2
mov eax, dword [ebp - 4]
call fcn.00403dd4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b26c4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405e04
ret
Function at 0x4b6f20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov byte [ebp - 5], dl
mov esi, eax
xor eax, eax
push ebp
push 0x4b70d4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [esi + 0x1c]
xor edx, edx
call fcn.00405e0c
xor eax, eax
mov dword [esi + 0x18], eax
xor eax, eax
mov dword [esi + 0x7c], eax
movzx eax, byte [esi + 0x20]
cmp eax, 5
ja case.default.0x4b6f62
jmp dword [eax*4 + 0x4b6f69]
call fcn.004b3560
call fcn.004b34f0
mov dword [esi + 0x7c], eax
jmp 0x4b6fd9
call fcn.004b357c
call fcn.004b34f0
mov dword [esi + 0x7c], eax
jmp 0x4b6fd9
call fcn.004b3598
call fcn.004b34f0
mov dword [esi + 0x7c], eax
jmp 0x4b6fd9
call fcn.004b35b4
call fcn.004b34f0
mov dword [esi + 0x7c], eax
jmp 0x4b6fd9
call fcn.004b35d0
call fcn.004b34f0
mov dword [esi + 0x7c], eax
jmp 0x4b6fd9
call fcn.004b35ec
call fcn.004b34f0
mov dword [esi + 0x7c], eax
cmp dword [esi + 0x7c], 0
jne 0x4b6feb
mov eax, esi
call fcn.004b665c
jmp case.default.0x4b6f62
lea eax, [ebp - 4]
mov edx, dword [esi + 0x28]
mov ecx, 0
call fcn.00406060
lea edx, [ebp - 4]
mov eax, dword [esi + 0x7c]
call fcn.004b34bc
cmp byte [esi + 0x54], 0
je 0x4b701d
xor ecx, ecx
mov edx, 1
mov eax, dword [esi + 0x7c]
call fcn.004b39fc
jmp 0x4b7029
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x7c]
call fcn.004b39fc
mov edx, 0x4b6444
mov eax, dword [esi + 0x7c]
call fcn.004b37e8
mov edx, esi
mov eax, dword [esi + 0x7c]
call fcn.004b3810
cmp byte [ebp - 5], 0
je 0x4b7085
cmp dword [esi + 0x2c], 0
jne 0x4b7085
cmp dword [esi + 0x34], 0
jne 0x4b7085
cmp dword [esi + 0x40], 0
jne 0x4b7085
cmp dword [esi + 0x3c], 0
jne 0x4b7085
lea edx, [ebp - 0x10]
mov edi, dword [esi + 0x10]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
mov eax, edi
call fcn.004a2b9c
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, esi
call fcn.004b6be0
test al, al
je case.default.0x4b6f62
xor eax, eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x7c]
call fcn.004b3868
mov edi, eax
mov dword [esi + 0x78], edi
test edi, edi
jne 0x4b70af
mov eax, esi
call fcn.004b665c
jmp case.default.0x4b6f62
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b70db
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405e04
lea eax, [ebp - 4]
call fcn.00404ff0
ret
Function at 0x4bab68
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x14]
mov edx, dword [0x42cdec]
call fcn.00406b18
xor eax, eax
push ebp
push 0x4bad29
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x58a6d8], 0
jne 0x4babbc
mov ecx, dword [0x58bb7c]
mov dl, 1
mov eax, dword [0x4170ec]
call fcn.0041eb18
call fcn.004047c8
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov edx, 0x10
call fcn.004036bc
mov eax, ebx
call fcn.00405cc8
mov dword [ebp - 0x28], eax
push esi
mov esi, 0x4bad38
lea edi, [ebp - 0x3c]
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 esi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
call fcn.0040809c
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
test eax, eax
je 0x4bac03
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4baccf
mov dword [ebp - 0x1c], 0x20
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.KERNEL32.DLL_GetComputerNameW
test eax, eax
je 0x4bacbb
lea eax, [ebp - 4]
lea edx, [ebp - 0x5c]
mov ecx, 0x10
call fcn.0040601c
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00406084
mov eax, dword [ebp - 4]
test eax, eax
je 0x4bac5e
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4bac5e
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004051dc
mov ebx, eax
test ebx, ebx
je 0x4bac69
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4bac86
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4bac86
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.004051dc
mov edi, eax
test edi, edi
je 0x4bac91
sub edi, 4
mov edi, dword [edi]
push edi
mov eax, dword [ebp - 8]
call fcn.00405e98
push eax
push ebx
mov eax, dword [ebp - 4]
call fcn.00405e98
push eax
push 1
push 0x400
call sub.KERNEL32.DLL_CompareStringW
sub eax, 2
test eax, eax
sete al
jmp 0x4bacbd
xor eax, eax
test al, al
je 0x4bacc8
mov ebx, 0x15
jmp 0x4bacd4
mov ebx, 0x10
jmp 0x4bacd4
mov ebx, 0x15
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
push ebx
push 0
push esi
call dword [0x58a6d8]
call fcn.004ba978
mov eax, dword [ebp - 0xc]
call fcn.004ba978
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.004080b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bad30
lea eax, [ebp - 0x14]
mov edx, dword [0x42cdec]
call fcn.00406bf0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405e04
ret
Function at 0x4bc8e4
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
ret

Function at 0x4bda84
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bdaca
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004bd99c
mov eax, dword [ebp - 4]
call fcn.00405e98
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdad1
lea eax, [ebp - 4]
call fcn.00405dfc
ret

Function at 0x4bdafc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405e98
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4bdb1a
test al, 0x10
je 0x4bdb1a
test ah, 4
je 0x4bdb1e
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4bdb24
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00405df4
xor eax, eax
push ebp
push 0x4bdc19
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0040688c
mov ebx, pe_nt_image_headers32
mov eax, edi
mov ecx, ebx
xor edx, edx
call fcn.00405f48
cmp dword [ebp + 0xc], 0
je 0x4bdba3
mov eax, dword [ebp + 0xc]
call fcn.00405e98
push eax
push ebx
mov eax, edi
call fcn.00406894
push eax
mov eax, dword [ebp - 4]
call fcn.00405e98
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405e98
push eax
mov eax, dword [ebp - 8]
call fcn.00405e98
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringW
mov esi, eax
jmp 0x4bdbce
push ebx
mov eax, edi
call fcn.00406894
push eax
mov eax, dword [ebp - 4]
call fcn.00405e98
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405e98
push eax
mov eax, dword [ebp - 8]
call fcn.00405e98
push eax
call sub.KERNEL32.DLL_GetProfileStringW
mov esi, eax
test esi, esi
je 0x4bdbe0
mov eax, dword [edi]
call fcn.00405e98
call fcn.0041a2b4
mov esi, eax
mov eax, ebx
sub eax, 8
cmp esi, eax
jl 0x4bdbf1
cmp ebx, 0x10000
jl 0x4bdbfc
mov eax, edi
mov edx, esi
call fcn.00406198
jmp 0x4bdc03
add ebx, ebx
jmp 0x4bdb5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdc20
lea eax, [ebp - 4]
call fcn.00405dfc
ret
Function at 0x4bdf2c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4bdfc3
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x4bdf77
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
mov ecx, eax
lea edx, [ebp - 0x20c]
mov eax, edi
call fcn.00405f48
jmp 0x4bdfad
call sub.KERNEL32.DLL_GetCommandLineW
mov ebx, eax
cmp word [ebx], 0
jne 0x4bdf90
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405e60
jmp 0x4bdfa3
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004bde3c
mov ebx, eax
test esi, esi
je 0x4bdfa3
dec esi
jmp 0x4bdf7e
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00405e0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdfca
lea eax, [ebp - 4]
call fcn.00405dfc
ret

Function at 0x4be2d8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0041a634
add esp, 0x208
pop ebx
ret

Function at 0x4be304
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0041a634
add esp, 0x208
pop ebx
ret