joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a448
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 0x44a464
cmp dword [esi + 4], 0
je 0x44a491
test byte [ebx + 0x55], 1
jne 0x44a483
mov eax, ebx
call fcn.00449018
test eax, eax
jne 0x44a483
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44a5a1
mov edx, esi
mov eax, ebx
call fcn.00449f68
jmp 0x44a5a1
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 0x44a59a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044c218
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.00446cb4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044a448
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.0044c218
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a5a1
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 0x450ac4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4894c8]
cmp byte [eax + 0xc], 0
je 0x450c31
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x450c2a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48d768], 0
jne 0x450b18
push 0x450c38
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x450c40
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48d768], eax
cmp dword [0x485408], 0
jne 0x450c13
push 0x450c50
call sub.kernel32.dll_LoadLibraryA
mov dword [0x485408], eax
cmp dword [0x485408], 0
je 0x450c13
push 0x450c5c
mov eax, dword [0x485408]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48d76c], eax
push 0x450c6c
mov eax, dword [0x485408]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48d770], eax
push 0x450c80
mov eax, dword [0x485408]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48d774], eax
push 0x450c98
mov eax, dword [0x485408]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48d778], eax
push 0x450cb0
mov eax, dword [0x485408]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48d77c], eax
push 0x450cc4
mov eax, dword [0x485408]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48d780], eax
push 0x450cdc
mov eax, dword [0x485408]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48d784], eax
push 0x450cf4
mov eax, dword [0x485408]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48d788], eax
push 0x450d10
mov eax, dword [0x485408]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48d78c], eax
push 0x450d1c
mov eax, dword [0x485408]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48d790], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450c31
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x454e68
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.00404890
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x454eb7
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.00404af8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45cd04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45cd54]
test si, 4
je 0x45cd18
or bl, 1
test si, 8
je 0x45cd22
or bl, 4
test si, 1
je 0x45cd2c
or bl, 8
test si, 2
je 0x45cd36
or bl, 0x10
test si, 0x10
je 0x45cd40
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45cd4f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45cd58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45cd90]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45cd71
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45cd80
or bl, 4
test esi, 0x20000000
je 0x45cd8b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4633ac
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4633be
add esp, 0xfffffff0
call fcn.00403e88
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004256cc
mov eax, dword [0x4890f0]
mov dword [eax + 4], ebx
mov dword [eax], 0x463750
mov eax, dword [0x489100]
mov dword [eax + 4], ebx
mov dword [eax], 0x46375c
mov eax, ebx
call fcn.00463768
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41b4c8]
call fcn.00403af4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41b4c8]
call fcn.00403af4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41b4c8]
call fcn.00403af4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41b4c8]
call fcn.00403af4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41b4c8]
call fcn.00403af4
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, 0x45fc30
push eax
push 0
push 0
mov eax, dword [0x489288]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4294fc]
call fcn.0042ac10
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4294fc]
call fcn.0042ac10
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4294fc]
call fcn.0042ac10
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00463b88
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463a64
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463a64
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463a64
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4634fb
call fcn.00403ee0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x463848
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 0x4639f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4639d4
mov dl, 1
mov eax, dword [0x41b9b8]
call fcn.00403af4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404890
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4639c3
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.00450e24
test al, al
je 0x4639b6
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, 0x463a04
lea eax, [ebp - 0x254]
call fcn.0040b964
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4639b6
xor eax, eax
push ebp
push 0x4639af
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 0x463a3c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x463998
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404af8
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 0x463998
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404af8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4639b6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4638b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041fc28
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 0x4639fa
lea eax, [ebp - 0x260]
call fcn.00404890
ret

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

Disassembly:
push ecx
mov eax, dword [0x48d7ac]
cmp byte [eax + 0xa5], 0
jne 0x464399
cmp dword [0x48d7c4], 0
jne 0x46435a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4642e4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48d7c4], eax
cmp dword [0x48d7c0], 0
jne 0x464375
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48d7c0], eax
cmp dword [0x48d7c8], 0
jne 0x464399
push esp
push 0
push 0
push 0x464288
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x48d7c8], eax
pop edx
ret
Function at 0x464490
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4644a7
add esp, 0xfffffff0
call fcn.00403e88
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004256cc
mov eax, dword [0x489270]
cmp word [eax + 2], 0
jne 0x4644cf
mov eax, dword [0x489270]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465b6c
mov eax, dword [0x489338]
cmp word [eax + 2], 0
jne 0x4644e9
mov eax, dword [0x489338]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465d64
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b4c8]
call fcn.00403af4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b4c8]
call fcn.00403af4
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], 0x80000018
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 [0x429f7c]
call fcn.00431a28
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x464670
mov eax, dword [0x489164]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00431df8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4662d4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x489164]
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.0040f0cc
test eax, eax
je 0x4645de
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040b2ac
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f0f4
test eax, eax
je 0x4645f2
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.00404af8
mov eax, dword [0x489004]
cmp byte [eax], 0
jne 0x464626
mov eax, ebx
call fcn.00464798
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.004664b0
mov eax, ebx
call fcn.00466e60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x464666
call fcn.00403ee0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464a0c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48d7ac]
cmp dword [eax + 0x30], 0
je 0x464ab6
cmp dword [ebx + 0x94], 0
jne 0x464ab0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46499c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x464ab0
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 0x464a76
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x464ab0
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.0041db68
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x464a85
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x465594
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 0x4655c9
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.00404980
jmp 0x4655d6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46668c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4666cd
mov eax, esi
call fcn.0044c51c
test al, al
je 0x4666cd
mov eax, dword [ebx + 0x84]
call fcn.0044c218
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4666cd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044c218
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46f2e0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x48d7dc
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x46f302
shr eax, 1
xor eax, 0xedb88320
jmp 0x46f304
shr eax, 1
dec edx
jne 0x46f2f0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x46f2e9
mov byte [0x48dbdc], 1
pop esi
pop ebx
ret

Function at 0x46f320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x48dbdc], 0
jne 0x46f33a
call fcn.0046f2e0
mov eax, edi
dec eax
test eax, eax
jl 0x46f363
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x48d7dc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x46f344
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x471438
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x47146b
dec al
je 0x4714ac
dec al
je 0x4714f0
dec al
je 0x471561
jmp 0x4715ef
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4715ef
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x47147b
jmp 0x4715ef
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4715ef
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4714bc
jmp 0x4715ef
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4715ef
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jae 0x47151f
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x471534
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [ebp - 8], edx
add eax, dword [ebp - 8]
sar eax, 1
jns 0x47153e
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x471500
jmp 0x4715ef
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4715ef
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4715bd
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [ebp - 8], edx
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [ebp - 0xc], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [ebp - 4], edx
mov cl, byte [ebp - 0xc]
push eax
mov al, byte [ebp - 8]
pop edx
call fcn.0046f36c
add al, byte [ebp - 4]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x471577
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477608
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404d40
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret
Function at 0x4826f8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
xor ecx, ecx
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d30
mov eax, dword [ebp - 8]
call fcn.00404d30
lea eax, [ebp - 0x160]
mov edx, dword [0x409718]
call fcn.0040526c
xor eax, eax
push ebp
push 0x482918
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040adb4
lea eax, [ebp - 0x164]
mov ecx, 0x48292c
mov edx, dword [ebp - 4]
call fcn.00404b94
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x160]
mov edx, 0x3f
call fcn.0040aefc
test eax, eax
jne 0x4828dc
mov eax, dword [ebp - 0x154]
mov edx, 0x482938
call fcn.00404c8c
je 0x4828be
mov eax, dword [ebp - 0x154]
mov edx, 0x482944
call fcn.00404c8c
je 0x4828be
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x482950
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00404c08
mov eax, dword [ebp - 0x168]
call fcn.0040ad90
test al, al
je 0x482845
push dword [ebp - 8]
push dword [ebp - 0x154]
push 0x482950
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00404c08
mov eax, dword [ebp - 0x16c]
push eax
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x482950
lea eax, [ebp - 0x170]
mov edx, 3
call fcn.00404c08
mov eax, dword [ebp - 0x170]
pop edx
call fcn.004826f8
jmp 0x4828be
lea eax, [ebp - 0x174]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00404b94
mov eax, dword [ebp - 0x174]
call fcn.0040ad80
test al, al
je 0x4828be
mov eax, dword [ebp - 0x154]
call fcn.00482644
test al, al
je 0x4828be
push 0
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 8]
call fcn.00404b94
mov eax, dword [ebp - 0x178]
call fcn.00404d40
push eax
lea eax, [ebp - 0x17c]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00404b94
mov eax, dword [ebp - 0x17c]
call fcn.00404d40
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x160]
call fcn.0040af4c
test eax, eax
je 0x48279b
lea eax, [ebp - 0x160]
call fcn.0040af70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48291f
lea eax, [ebp - 0x17c]
mov edx, 7
call fcn.004048b4
lea eax, [ebp - 0x160]
mov edx, dword [0x409718]
call fcn.0040533c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048b4
ret
Function at 0x40b810
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
jmp 0x40b82a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40b831
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40b820
mov eax, 1
add ebx, ebx
jne 0x40b843
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40b838
jne 0x40b854
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40b838
xor ecx, ecx
sub eax, 3
jb 0x40b868
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40b8da
mov ebp, eax
add ebx, ebx
jne 0x40b873
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40b880
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40b8a4
inc ecx
add ebx, ebx
jne 0x40b890
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40b885
jne 0x40b8a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40b885
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40b8c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40b8b5
jmp 0x40b826
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40b8c4
add edi, ecx
jmp 0x40b826
pop esi
mov edi, esi
mov ecx, 0xa5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40b8e2
cmp byte [edi], 2
jne 0x40b8e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40b8e7
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x40b956
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb8b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb9f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40b914
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb9f8]
or eax, eax
je 0x40b950
mov dword [ebx], eax
add ebx, 4
jmp 0x40b931
call dword [esi + 0xb9f4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40b987
cmp al, 0xef
ja 0x40b97a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40b95c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40b969
mov ebp, dword [esi + 0xb9fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40b9bb
sub esp, 0xffffff80
jmp 0x40339c