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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x471dbf
add esp, 0xfffffff0
call fcn.00403688
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ff90
mov eax, dword [0x4e1cfc]
cmp word [eax + 2], 0
jne 0x471de7
mov eax, dword [0x4e1cfc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00473528
mov eax, dword [0x4e1e64]
cmp word [eax + 2], 0
jne 0x471e01
mov eax, dword [0x4e1e64]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00473720
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416928]
call fcn.00403334
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416928]
call fcn.00403334
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4225bc]
call fcn.0042aa0c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x471f88
mov eax, dword [0x4e1b68]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042addc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x473cc0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4e1b68]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA
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.0040d664
test eax, eax
je 0x471ef6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409274
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d68c
test eax, eax
je 0x471f0a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004043b8
mov eax, dword [0x4e18e0]
cmp byte [eax], 0
jne 0x471f3e
mov eax, ebx
call fcn.004720b0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00473e9c
mov eax, ebx
call fcn.00474860
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x471f7e
call fcn.004036e0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x472330
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4e3bec]
cmp dword [eax + 0x30], 0
je 0x4723da
cmp dword [ebx + 0x94], 0
jne 0x4723d4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4722c0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4723d4
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 0x47239a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4723d4
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.00418ffc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4723a9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x472f3c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x472f71
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.00404228
jmp 0x472f7e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040418c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x474078
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4740b9
mov eax, esi
call fcn.00459610
test al, al
je 0x4740b9
mov eax, dword [ebx + 0x84]
call fcn.0045930c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4740b9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045930c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x477780
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4777ae
mov eax, ebx
call fcn.00478234
cmp dword [ebx + 0x40], 0
je 0x4777a7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47781f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x477811
cmp dword [ebx + 8], 0
je 0x4777d0
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 0x4777e2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x477811
cmp dword [ebx + 8], 0
je 0x4777c3
cmp eax, 3
je 0x4777f5
dec eax
jne 0x4777c3
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 0x4777c3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4777c3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47783d
cmp dword [ebx + 0x14], 0xcc
je 0x47783d
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.00477848
pop ebx
ret
Function at 0x48c0a0
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 0x48c15a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404854
mov eax, dword [0x4e19ec]
cmp byte [eax], 0
je 0x48c10f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404bb4
mov eax, dword [ebx]
call fcn.004049e0
push eax
mov eax, dword [ebx]
call fcn.004049d0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004049e0
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404bb4
jmp 0x48c141
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.00409424
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004049c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c161
lea eax, [ebp - 0x3f0]
call fcn.00404138
ret

Function at 0x48f1e4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x48f23e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.0048f248
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f245
ret

Function at 0x496e60
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0045930c
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.004529d4
pop ebx
ret
Function at 0x49bf24
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 0x49bfde
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404854
mov eax, dword [0x4e19ec]
cmp byte [eax], 0
je 0x49bf93
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404bb4
mov eax, dword [ebx]
call fcn.004049e0
push eax
mov eax, dword [ebx]
call fcn.004049d0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004049e0
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404bb4
jmp 0x49bfc5
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.00409424
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004049c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bfe5
lea eax, [ebp - 0x3f0]
call fcn.00404138
ret

Function at 0x4a21a4
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
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 0x4a21d8
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4a2214
jmp 0x4a21dc
pop edx
pop eax
jge 0x4a2214
mov eax, dword [0x4e1fc4]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0049d040
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4a2239
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4a2239
cmp dword [ebx + 0x11c], 0
je 0x4a2239
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00433100
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 0x4ac6a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ac819
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x94], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4ac7fe
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00409424
mov dl, 1
mov eax, dword [0x4886a8]
call fcn.00488700
mov edx, dword [ebp - 4]
mov dword [edx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4172a0]
call fcn.00403334
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x90]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
call fcn.0048877c
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4ac7fb
mov dl, 1
mov eax, dword [0x489820]
call fcn.00489888
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
mov edx, 0x4ac830
call fcn.00488ac8
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404454
xor eax, eax
push ebp
push 0x4ac7f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00489b88
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ac838
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac7fb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
call fcn.00403364
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403364
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403364
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac820
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040415c
ret
Function at 0x4afa60
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 0x4afb1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404854
mov eax, dword [0x4e19ec]
cmp byte [eax], 0
je 0x4afacf
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404bb4
mov eax, dword [ebx]
call fcn.004049e0
push eax
mov eax, dword [ebx]
call fcn.004049d0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004049e0
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404bb4
jmp 0x4afb01
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.00409424
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004049c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afb21
lea eax, [ebp - 0x3f0]
call fcn.00404138
ret

Function at 0x4afb28
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.00409424
add esp, 0x3ec
pop ebx
ret
Function at 0x4b19f8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415eb0]
call fcn.00404c18
xor eax, eax
push ebp
push 0x4b1b3c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e0c04], 0
jne 0x4b1a4b
mov ecx, dword [0x4e1918]
mov dl, 1
mov eax, dword [0x4077e8]
call fcn.0040c850
call fcn.00403af0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d6c
mov eax, ebx
call fcn.004049d0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4b1b4c
lea edi, [ebp - 0x30]
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
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405cb0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004049e0
test eax, eax
jle 0x4b1ae3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4b1adc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004043d0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004043b8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408694
test eax, eax
jne 0x4b1adc
mov ebx, 0x15
jmp 0x4b1ae8
mov ebx, 0x10
jmp 0x4b1ae8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4e0c04]
call fcn.004b1950
mov eax, dword [ebp - 8]
call fcn.004b1950
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405cc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1b43
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040415c
lea eax, [ebp - 0x10]
mov edx, dword [0x415eb0]
call fcn.00404ce8
ret

Function at 0x4b90ac
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x4e0e5c]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x4b90e8
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4b9100
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4b90f9
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00402d6c
xor edx, edx
mov eax, 0x4e105c
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4b916a
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4b911e
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4b93a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4b93c1
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4b93ba
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4b93d3
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4b93cc
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004b8f9c
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4b93ed
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004b90ac
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4b9472
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4b948f
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004b902c
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4b94b8
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b94d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4b94e9
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4b94e2
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4b94fd
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b8e94
test bl, bl
jne 0x4b95d0
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4e3d78
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4b9534
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4b9548
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b93a8
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4b957a
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4b9529
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4b959d
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4b95ae
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4b95c2
jmp 0x4b968b
cmp bl, 1
jne 0x4b968b
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4e3dd2
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4b95f0
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4b9604
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b93a8
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4b9636
sub ebx, 6
inc dword [ebp - 8]
jne 0x4b95e5
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4b965d
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4b966e
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4b9682
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b8f18
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4ba9a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x120], ebx
mov esi, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004045f8
xor eax, eax
push ebp
push 0x4bab3f
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
mov edi, esi
mov esi, 0x4bab50
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404608
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4bab1e
mov eax, ebx
call fcn.0040277c
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4bab17
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4bab01
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4bab58
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4bab01
mov eax, dword [ebp - 0x1c]
test dword [eax + 0x1c], 2
jbe 0x4baa62
push esi
mov esi, 0x4bab5c
lea edi, [ebp - 0x11c]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4baa69
mov byte [ebp - 0x11c], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
call fcn.004071b0
movzx ebx, ax
mov eax, dword [ebp - 0x1c]
movzx edi, word [eax + 8]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
call fcn.004071b0
movzx eax, ax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x13c], 0
mov dword [ebp - 0x138], edi
mov byte [ebp - 0x134], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x124], 0
lea edx, [ebp - 0x140]
mov ecx, 3
mov eax, 0x4bab6c
call fcn.00409914
mov edx, dword [ebp - 0x120]
mov eax, esi
mov ecx, 0xff
call fcn.004043e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bab1e
mov eax, dword [ebp - 0x18]
call fcn.0040279c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bab46
lea eax, [ebp - 0x120]
call fcn.00404138
lea eax, [ebp - 4]
call fcn.00404138
ret

Function at 0x4bab78
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4babd1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.00408c10
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov ecx, 0xff
call fcn.004043e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4babd8
lea eax, [ebp - 0x28]
call fcn.00404138
ret