joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ccd8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43ccf4
cmp dword [esi + 4], 0
je 0x43cd21
test byte [ebx + 0x55], 1
jne 0x43cd13
mov eax, ebx
call fcn.0043b878
test eax, eax
jne 0x43cd13
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43ce31
mov edx, esi
mov eax, ebx
call fcn.0043c7fc
jmp 0x43ce31
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43ce2a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043eb48
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00439514
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043ccd8
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043eb48
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ce31
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4434c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x481f4c]
cmp byte [eax + 0xc], 0
je 0x44362d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443626
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x482b70], 0
jne 0x443514
push 0x443634
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44363c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b70], eax
cmp dword [0x47fc88], 0
jne 0x44360f
push 0x44364c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x47fc88], eax
cmp dword [0x47fc88], 0
je 0x44360f
push 0x443658
mov eax, dword [0x47fc88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b74], eax
push 0x443668
mov eax, dword [0x47fc88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b78], eax
push 0x44367c
mov eax, dword [0x47fc88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b7c], eax
push 0x443694
mov eax, dword [0x47fc88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b80], eax
push 0x4436ac
mov eax, dword [0x47fc88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b84], eax
push 0x4436c0
mov eax, dword [0x47fc88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b88], eax
push 0x4436d8
mov eax, dword [0x47fc88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b8c], eax
push 0x4436f0
mov eax, dword [0x47fc88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b90], eax
push 0x44370c
mov eax, dword [0x47fc88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b94], eax
push 0x443718
mov eax, dword [0x47fc88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x482b98], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44362d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004047bc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x447523
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404a2c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ec60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44ecb0]
test si, 4
je 0x44ec74
or bl, 1
test si, 8
je 0x44ec7e
or bl, 4
test si, 1
je 0x44ec88
or bl, 8
test si, 2
je 0x44ec92
or bl, 0x10
test si, 0x10
je 0x44ec9c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ecab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44ecb4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44ecec]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44eccd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ecdc
or bl, 4
test esi, 0x20000000
je 0x44ece7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x455394
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4553a6
add esp, 0xfffffff0
call fcn.00403d0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041bc74
mov eax, dword [0x4819b0]
mov dword [eax + 4], ebx
mov dword [eax], 0x455738
mov eax, dword [0x4819c0]
mov dword [eax + 4], ebx
mov dword [eax], 0x455744
mov eax, ebx
call fcn.00455750
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41299c]
call fcn.004039d0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41299c]
call fcn.004039d0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41299c]
call fcn.004039d0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41299c]
call fcn.004039d0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41299c]
call fcn.004039d0
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x451b6c
push eax
push 0
push 0
mov eax, dword [0x481c14]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41d6c8]
call fcn.0041eb0c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41d6c8]
call fcn.0041eb0c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41d6c8]
call fcn.0041eb0c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00455b70
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455a4c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455a4c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455a4c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4554e3
call fcn.00403d64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x455830
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4559db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4559bc
mov dl, 1
mov eax, dword [0x413000]
call fcn.004039d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004047bc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4559ab
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00443820
test al, al
je 0x45599e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4559ec
lea eax, [ebp - 0x254]
call fcn.004099b4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45599e
xor eax, eax
push ebp
push 0x455997
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x455a24
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x455980
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a2c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x455980
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45599e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4558a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00417728
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4559e2
lea eax, [ebp - 0x260]
call fcn.004047bc
ret

Function at 0x456310
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x482bbc]
cmp byte [eax + 0xa5], 0
jne 0x456381
cmp dword [0x482bd4], 0
jne 0x456342
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4562cc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x482bd4], eax
cmp dword [0x482bd0], 0
jne 0x45635d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x482bd0], eax
cmp dword [0x482bd8], 0
jne 0x456381
push esp
push 0
push 0
push 0x456270
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x482bd8], eax
pop edx
ret
Function at 0x456478
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45648f
add esp, 0xfffffff0
call fcn.00403d0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041bc74
mov eax, dword [0x481bec]
cmp word [eax + 2], 0
jne 0x4564b7
mov eax, dword [0x481bec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00457bf8
mov eax, dword [0x481d20]
cmp word [eax + 2], 0
jne 0x4564d1
mov eax, dword [0x481d20]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00457df0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41299c]
call fcn.004039d0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41299c]
call fcn.004039d0
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 [0x41de78]
call fcn.00423f18
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x456658
mov eax, dword [0x481a74]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004242e8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4583a0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x481a74]
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.0040d368
test eax, eax
je 0x4565c6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409394
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d390
test eax, eax
je 0x4565da
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.00404a2c
mov eax, dword [0x481854]
cmp byte [eax], 0
jne 0x45660e
mov eax, ebx
call fcn.00456780
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.0045857c
mov eax, ebx
call fcn.00458f40
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45664e
call fcn.00403d64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456a00
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x482bbc]
cmp dword [eax + 0x30], 0
je 0x456aaa
cmp dword [ebx + 0x94], 0
jne 0x456aa4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x456990
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x456aa4
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 0x456a6a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x456aa4
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.00415054
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x456a79
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45760c
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 0x457641
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.004048ac
jmp 0x45764e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404810
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x458758
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458799
mov eax, esi
call fcn.0043ee4c
test al, al
je 0x458799
mov eax, dword [ebx + 0x84]
call fcn.0043eb48
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458799
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043eb48
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x459d84
Capabilities:
Timestomp file

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffb0
mov esi, ecx
lea edi, [esp + 0x28]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call sub.kernel32.dll_GetFileTime
lea edx, [esp + 0x40]
lea eax, [esp + 0x28]
call fcn.00459cfc
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x44]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
push esp
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
push esp
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 8]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle_1
add esp, 0x50
pop edi
pop esi
pop ebx
ret
Function at 0x45b5c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x45b5ea
cmp dword [ebx + 0x64], 0
jne 0x45b5ea
cmp dword [ebx + 0x6c], 0
jne 0x45b5ea
mov esi, edi
jmp 0x45b685
cmp esi, 0xffffffff
jne 0x45b5f5
dec esi
jmp 0x45b685
mov eax, dword [ebx + 0x64]
mov edx, edi
sub edx, 0x106
add edx, edi
cmp eax, edx
jb 0x45b685
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.00459740
cmp edi, dword [ebx + 0x68]
jbe 0x45b621
xor eax, eax
mov dword [ebx + 0x68], eax
jmp 0x45b624
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x45b64d
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x45b652
mov word [edx], 0
dec eax
test eax, eax
jne 0x45b633
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x45b679
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x45b67e
mov word [edx], 0
dec eax
test eax, eax
jne 0x45b65f
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x45b6e3
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0045b3ec
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x45b6ce
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x45b6e3
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x45b5ca
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45bbb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov ebx, 0x480a04
test edx, edx
jne 0x45bbc0
xor eax, eax
pop esi
pop ebx
ret
xor eax, 0xffffffff
cmp ecx, 8
jb 0x45bc88
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
sub ecx, 8
cmp ecx, 8
jae 0x45bbcc
test ecx, ecx
je 0x45bca7
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
dec ecx
test ecx, ecx
jne 0x45bc8c
xor eax, 0xffffffff
pop esi
pop ebx
ret

Function at 0x46741c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467491
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00404e08
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404c7c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404a7c
push eax
call sub.kernel32.dll_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404e08
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004671c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467498
lea eax, [ebp - 0xc]
call fcn.004047bc
ret
Function at 0x479078
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4790e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00479054
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004668c4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.00466414
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4790f0
lea eax, [ebp - 0x14]
call fcn.004047bc
ret

Function at 0x47cd34
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c6c
xor eax, eax
push ebp
push 0x47ce60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004047bc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c7c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x47ce3d
mov eax, ebx
call fcn.0040273c
mov esi, eax
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00404c7c
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47ce70
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00408ba4
push dword [ebp - 0x14]
push 0x47ce7c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00408ba4
push dword [ebp - 0x18]
push 0x47ce7c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00408ba4
push dword [ebp - 0x1c]
push 0x47ce7c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00408ba4
push dword [ebp - 0x20]
mov eax, edi
mov edx, 7
call fcn.00404b3c
mov eax, esi
call fcn.0040275c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ce67
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004047e0
lea eax, [ebp - 4]
call fcn.004047bc
ret