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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45eeff
add esp, 0xfffffff0
call fcn.00404714
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423aac
mov eax, dword [0x4a6ba4]
cmp word [eax + 2], 0
jne 0x45ef27
mov eax, dword [0x4a6ba4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460bd8
mov eax, dword [0x4a6cdc]
cmp word [eax + 2], 0
jne 0x45ef41
mov eax, dword [0x4a6cdc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460de4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419d8c]
call fcn.004043c0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419d8c]
call fcn.004043c0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x419d8c]
call fcn.004043c0
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 [0x429870]
call fcn.00431794
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45f0f8
mov eax, dword [0x4a6a08]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00431b68
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4614b8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a6a08]
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.0040e59c
test eax, eax
je 0x45f048
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a424
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e5d0
test eax, eax
je 0x45f05c
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.00405664
mov byte [ebx + 0xd4], 0
push ebx
push 0x460664
call fcn.00424c28
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4a67b8]
cmp byte [eax], 0
jne 0x45f0ad
mov eax, ebx
call fcn.0045f23c
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.004616cc
mov eax, ebx
call fcn.00462230
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f0ed
call fcn.0040476c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f4bc
Capabilities:
Enumerate gui resources

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

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4abc9c]
cmp dword [eax + 0x30], 0
je 0x45f8d1
test bl, bl
jne 0x45f822
cmp dword [esi + 0x9c], 0
jne 0x45f817
mov eax, esi
call fcn.004620ac
push eax
push 0x45f6a0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45f7e8
mov eax, dword [0x4abc9c]
call fcn.0046269c
test al, al
je 0x45f7e8
mov eax, dword [0x4abcc0]
call fcn.0040658c
mov edi, eax
cmp edi, 0
jl 0x45f7e8
push 0
mov eax, dword [0x4abcc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45f7d2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45f817
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041c5bc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45f7f7
inc dword [esi + 0x9c]
jmp 0x45f8d1
cmp dword [esi + 0x9c], 0
jle 0x45f8d1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45f8d1
cmp dword [esi + 0x44], 0
je 0x45f87d
mov eax, dword [0x4abc9c]
call fcn.0046269c
test al, al
je 0x45f87d
mov eax, dword [0x4abcc0]
call fcn.0040658c
mov edi, eax
cmp edi, 0
jl 0x45f87d
push 5
mov eax, dword [0x4abcc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45f867
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45f8ac
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041c5bc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45f88c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4abcc0
mov ecx, 1
mov edx, dword [0x45f680]
call fcn.00406740
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4603b8
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 0x460422
mov eax, ebx
call fcn.0046269c
test al, al
jne 0x460422
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.004054e4
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46040f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46042f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405448
jmp 0x46042f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405448
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4618b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46191e
mov eax, esi
call fcn.0044a704
test al, al
je 0x46191e
mov eax, dword [ebx + 0x84]
call fcn.0044a3a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46191e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x461912
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044a3a8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00442414
jmp 0x46191e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004616ec
pop esi
pop ebx
ret

Function at 0x463af8
Capabilities:
Get file version info

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
lea eax, [ebx + 4]
push eax
mov eax, dword [ebx + 0x1c]
call fcn.00405884
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
mov dword [ebx + 8], esi
test esi, esi
jg 0x463b2e
mov ecx, 0x463bb4
mov dl, 1
mov eax, dword [0x46381c]
call fcn.0040d640
call fcn.00404d28
lea eax, [ebx + 0xc]
mov edx, dword [ebx + 8]
call fcn.00405b14
mov eax, dword [ebx + 0xc]
call fcn.00405884
push eax
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 0x1c]
call fcn.00405884
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x463b72
mov ecx, 0x463be0
mov dl, 1
mov eax, dword [0x4637c0]
call fcn.0040d640
call fcn.00404d28
push esp
lea eax, [ebx + 0x10]
push eax
mov eax, dword [0x4a4910]
push eax
mov eax, dword [ebx + 0xc]
call fcn.00405884
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x463ba5
mov ecx, 0x463c0c
mov dl, 1
mov eax, dword [0x4637c0]
call fcn.0040d640
call fcn.00404d28
pop edx
pop esi
pop ebx
ret
Function at 0x4642dc
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 [0x408370]
call fcn.00405e8c
xor eax, eax
push ebp
push 0x46447d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a4914], 0
jne 0x464337
mov ecx, dword [0x4a67f4]
mov dl, 1
mov eax, dword [0x4089c4]
call fcn.0040d6fc
call fcn.00404d28
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403aa0
mov eax, ebx
call fcn.00405d5c
mov dword [ebp - 0x24], eax
mov esi, 0x46448c
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.00406f38
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405d6c
test eax, eax
jle 0x464420
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 0x46440c
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405664
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4643b2
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.0040567c
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4643c8
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.0040567c
mov eax, dword [ebp - 0x54]
call fcn.00405884
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405664
mov eax, dword [ebp - 0x58]
call fcn.00405884
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46440e
xor eax, eax
test al, al
je 0x464419
mov ebx, 0x15
jmp 0x464425
mov ebx, 0x10
jmp 0x464425
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 [0x4a4914]
call fcn.0046415c
mov eax, dword [ebp - 4]
call fcn.0046415c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406f50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464484
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405418
lea eax, [ebp - 0xc]
mov edx, dword [0x408370]
call fcn.00405f5c
ret
Function at 0x469e00
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405874
xor eax, eax
push ebp
push 0x469ea5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x469e76
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
call fcn.00405884
push eax
mov edx, dword [ebx + 0x10]
lea eax, [ebp - 0xc]
mov ecx, 0x469ec0
call fcn.0040570c
mov eax, dword [ebp - 0xc]
call fcn.00405884
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x469e6c
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x469e87
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469eac
lea eax, [ebp - 0xc]
call fcn.004053f4
lea eax, [ebp - 4]
call fcn.004053f4
ret
Function at 0x46d6d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46d748
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x104
call fcn.00405b14
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
test esi, esi
je 0x46d712
sub esi, 4
mov esi, dword [esi]
mov eax, dword [ebx]
call fcn.00405884
push eax
push esi
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
xchg edx, eax
call fcn.00405b14
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.0046d5e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d74f
lea eax, [ebp - 8]
call fcn.004053f4
ret

Function at 0x471a6c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, edx
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0040a610
add esp, 0x108
pop ebx
ret

Function at 0x476188
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov esi, edx
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0xc], eax
push 0
push 0
mov eax, dword [esi]
call fcn.0041f33c
xor ebx, ebx
cmp dword [ebp - 0xc], 0
je 0x476212
mov eax, dword [ebp - 0xc]
call fcn.00402fa8
mov dword [ebp - 8], eax
xor ecx, ecx
push ebp
push 0x47620b
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov edx, dword [ebp - 8]
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
call fcn.0041f548
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4761ec
inc eax
xor edx, edx
mov ecx, dword [ebp - 8]
add bl, byte [ecx + edx]
xor bl, 0x79
inc edx
dec eax
jne 0x4761df
xor bl, 0x81
mov byte [ebp - 1], bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476212
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00402fc4
ret
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47b59c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, edx
mov dword [esp + 4], 1
push esp
push 0xf003f
push 0
push 0x47b620
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x47b660
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47b602
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, pe_nt_image_headers32
call fcn.00405664
jmp 0x47b60e
mov eax, ebx
mov edx, 0x47b66c
call fcn.00405448
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x10c
pop ebx
ret
Function at 0x47dbe4
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb0
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebp, dword [esp + 0x14]
call sub.kernel32.dll_GetCurrentProcessId
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
xor edi, edi
mov ebx, dword [esp + 0xc]
shr ebx, 0x10
mov eax, ebx
shl eax, 0x10
mov ebx, eax
mov eax, edi
shl eax, 0x10
sub ebx, eax
mov eax, ebx
xor edx, edx
div ebp
imul ebp
mov ebx, eax
push 4
push 0x3000
push ebp
push ebx
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
test esi, esi
je 0x47dc62
cmp esi, ebx
je 0x47dc62
push 0x8000
push 0
push esi
call sub.kernel32.dll_VirtualFree_1
inc edi
jmp 0x47dcda
test esi, esi
jne 0x47dce3
push 0x1c
lea eax, [esp + 0x38]
push eax
push ebx
call sub.kernel32.dll_VirtualQuery_1
cmp dword [esp + 0x40], 0x118
jb 0x47dcd7
mov eax, dword [esp + 0x48]
and eax, 4
cmp eax, 4
jne 0x47dcd7
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
cmp edx, dword [ebx + 4]
jne 0x47dcd7
cmp eax, dword [ebx]
jne 0x47dcd7
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
cmp edx, dword [ebx + 0x114]
jne 0x47dcd7
cmp eax, dword [ebx + 0x110]
jne 0x47dcd7
lea eax, [ebx + 8]
mov edx, dword [esp]
movzx ecx, byte [eax]
inc ecx
call fcn.00403a30
je 0x47dce3
inc edi
xor ebx, ebx
cmp edi, 0x14
jle 0x47dc1b
xor eax, eax
test esi, esi
je 0x47dd49
cmp esi, ebx
jne 0x47dd65
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea eax, [ebx + 8]
mov edx, dword [esp]
call fcn.00403984
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], edx
mov dword [ebx + 0x108], 1
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov dword [edx], 1
jmp 0x47dd65
test ebx, ebx
je 0x47dd65
inc dword [ebx + 0x108]
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov ecx, dword [ebx + 0x108]
mov dword [edx], ecx
add esp, 0x50
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47f484
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x47f52b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00405884
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x47f515
lea eax, [ebp - 4]
mov edx, edi
call fcn.00405b14
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.00405884
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47f515
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x47f53c
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47f515
cmp dword [ebp - 0xc], 0x34
jne 0x47f515
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f532
lea eax, [ebp - 4]
call fcn.004053f4
ret

Function at 0x47fa6c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47fc2c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403aa0
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4a56e4], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4a56e8], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4a56ec], eax
mov eax, dword [0x4a6f44]
cmp dword [eax], 2
sete byte [0x4a519c]
push 0x47fc38
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0047f454
cmp byte [0x4a519c], 0
jne 0x47faf8
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0047f484
test al, al
je 0x47faf8
mov eax, dword [ebp - 0x4c]
mov dword [0x4ac67c], eax
jmp 0x47faff
xor eax, eax
mov dword [0x4ac67c], eax
call fcn.0047f7e4
and eax, 0x7f
cmp eax, 0x10
ja case.0x47fb10.0
jmp dword [eax*4 + 0x47fb17]
mov byte [0x4a5188], 1
jmp case.0x47fb10.0
mov byte [0x4a518c], 1
jmp case.0x47fb10.0
mov byte [0x4a5190], 1
jmp case.0x47fb10.0
mov byte [0x4a5194], 1
jmp case.0x47fb10.0
mov byte [0x4a5198], 1
jmp case.0x47fb10.0
mov byte [0x4a51a0], 1
mov byte [0x4a51a4], 1
jmp case.0x47fb10.0
mov byte [0x4a51a0], 1
mov byte [0x4a51a8], 1
jmp case.0x47fb10.0
mov byte [0x4a51a0], 1
mov byte [0x4a51a8], 1
mov byte [0x4a51ac], 1
jmp case.0x47fb10.0
mov byte [0x4a51b0], 1
jmp case.0x47fb10.0
mov byte [0x4a51b4], 1
jmp case.0x47fb10.0
mov byte [0x4a51b8], 1
jmp case.0x47fb10.0
mov byte [0x4a51bc], 1
jmp case.0x47fb10.0
mov byte [0x4a51c0], 1
jmp case.0x47fb10.0
mov byte [0x4a51c4], 1
jmp case.0x47fb10.0
mov byte [0x4a51c8], 1
jmp case.0x47fb10.0
mov byte [0x4a51cc], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fc33
lea eax, [ebp - 4]
call fcn.004053f4
ret
Function at 0x48a7b4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48a7e2
mov eax, ebx
call fcn.0048b268
cmp dword [ebx + 0x40], 0
je 0x48a7db
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48a853
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48a845
cmp dword [ebx + 8], 0
je 0x48a804
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 0x48a816
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48a845
cmp dword [ebx + 8], 0
je 0x48a7f7
cmp eax, 3
je 0x48a829
dec eax
jne 0x48a7f7
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 0x48a7f7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48a7f7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48a871
cmp dword [ebx + 0x14], 0xcc
je 0x48a871
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.0048a87c
pop ebx
ret

Function at 0x49acf0
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x49ad8a
movzx edx, byte [esi + ebx]
shr edx, 2
movzx edx, byte [edx + 0x4a6294]
mov byte [ebp + edi], dl
movzx edx, byte [esi + ebx]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + 0x4a6294]
push edx
pop edx
mov byte [ebp + edi + 1], dl
movzx edx, byte [esi + ebx + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + 0x4a6294]
push edx
pop edx
mov byte [ebp + edi + 2], dl
movzx edx, byte [esi + ebx + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + 0x4a6294]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x49ad0f
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x49ada0
dec edx
je 0x49add5
jmp 0x49ae26
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + 0x4a6294]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx eax, byte [eax + 0x4a6294]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x49ae26
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + 0x4a6294]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx edx, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
movzx eax, byte [eax + 0x4a6294]
mov byte [ebp + edi + 1], al
movzx eax, byte [esi + ebx + 1]
and al, 0xf
movzx eax, al
add eax, eax
add eax, eax
movzx eax, byte [eax + 0x4a6294]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret