joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c2cc8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5c2cda
add esp, 0xfffffff0
call fcn.00408534
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c09a8
mov eax, dword [0x66ec54]
mov dword [eax + 4], ebx
mov dword [eax], 0x5c3194
mov eax, dword [0x66ec6c]
mov dword [eax + 4], ebx
mov dword [eax], 0x5c31a0
mov eax, ebx
call fcn.005c31ac
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x488dac]
call fcn.00407e7c
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x488dac]
call fcn.00407e7c
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x488dac]
call fcn.00407e7c
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x488dac]
call fcn.00407e7c
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x488dac]
call fcn.00407e7c
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x5bd698
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4f1eec]
call fcn.004f8414
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4f1eec]
call fcn.004f8414
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4f1eec]
call fcn.004f8414
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4f1eec]
call fcn.004f8414
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4f1eec]
call fcn.004f8414
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.005c3788
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5c35b8
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5c35b8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5c35b8
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5c35b8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5c35b8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5c2e5a
call fcn.0040858c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5c3358
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5c3503
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5c34e4
mov dl, 1
mov eax, dword [0x48c768]
call fcn.004affec
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00409d18
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5c34d3
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.0052b9a4
test al, al
je 0x5c34c6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5c3514
lea eax, [ebp - 0x394]
call fcn.00423f80
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5c34c6
xor eax, eax
push ebp
push 0x5c34bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5c3584
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5c34a8
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a878
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5c34a8
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a878
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c34c6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5c33c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004aff10
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c350a
lea eax, [ebp - 0x3a0]
call fcn.00409d18
ret

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

Disassembly:
push ecx
mov eax, dword [0x676148]
cmp byte [eax + 0xc5], 0
jne 0x5c4182
cmp dword [0x67616c], 0
jne 0x5c4142
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x66b948]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x67616c], eax
cmp dword [0x676168], 0
jne 0x5c415d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x676168], eax
cmp dword [0x676170], 0
jne 0x5c4182
push esp
push 0
push 0
mov eax, dword [0x66b944]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x676170], eax
pop edx
ret
Function at 0x5c45a4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5c45bb
add esp, 0xfffffff0
call fcn.00408534
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c09a8
mov eax, dword [0x66e974]
cmp byte [eax], 0
jne 0x5c45e8
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x66f060]
cmp word [eax + 2], 0
jne 0x5c4602
mov eax, dword [0x66f060]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005c6998
mov eax, dword [0x66f2cc]
cmp word [eax + 2], 0
jne 0x5c461c
mov eax, dword [0x66f2cc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005c6b9c
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4f1eec]
call fcn.004f8414
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5c7114
mov dl, 1
mov eax, dword [0x488dac]
call fcn.00407e7c
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x488dac]
call fcn.00407e7c
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4f6c88]
call fcn.00502754
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5c480c
mov eax, dword [0x66edac]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00502c80
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5c73fc
mov dl, 1
mov eax, dword [0x488dac]
call fcn.00407e7c
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x66edac]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00423d80
test eax, eax
je 0x5c4736
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00423bd8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00423d64
test eax, eax
je 0x5c474e
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040a878
push ebx
push 0x5c6374
call fcn.005b9870
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x66e974]
cmp byte [eax], 0
jne 0x5c479f
mov eax, ebx
call fcn.005c49f0
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005c7634
mov eax, ebx
call fcn.005c82bc
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5c4803
call fcn.0040858c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c4d34
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5c4dd6
cmp dword [ebx + 0xac], 0
jne 0x5c4dd0
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5c4c70
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5c4dd0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5c4d96
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5c4dd0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004ab578
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5c4da5
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x676148]
cmp dword [eax + 0x188], 0
je 0x5c520a
test bl, bl
jne 0x5c5155
cmp dword [esi + 0xb4], 0
jne 0x5c514a
mov eax, esi
call fcn.005c810c
push eax
push 0x5c4f84
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5c511b
mov eax, dword [0x676148]
cmp byte [eax + 0xeb], 0
je 0x5c511b
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x5c50fc
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c511b
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c5104
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c514a
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ab578
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c512a
inc dword [esi + 0xb4]
jmp 0x5c520a
cmp dword [esi + 0xb4], 0
jle 0x5c520a
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5c520a
cmp dword [esi + 0x58], 0
je 0x5c51bf
mov eax, dword [0x676148]
cmp byte [eax + 0xeb], 0
je 0x5c51bf
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5c51a0
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c51bf
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c51a8
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c51ee
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ab578
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c51ce
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5b66ac]
call fcn.0040c168
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5c5ea8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5c5f05
cmp byte [ebx + 0xeb], 0
jne 0x5c5f05
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409ea0
mov eax, dword [esi]
test eax, eax
je 0x5c5ef2
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5c5f12
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a0f8
jmp 0x5c5f12
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a0f8
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5c7848
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5c78b9
mov eax, esi
call fcn.005254c4
test al, al
je 0x5c78b9
mov eax, dword [ebx + 0x98]
call fcn.005250f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5c78b9
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x134]
test al, al
je 0x5c78aa
push 0
mov eax, dword [ebx + 0x98]
call fcn.005250f0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0051bba8
jmp 0x5c78b9
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005c7654
pop esi
pop ebx
ret
Function at 0x5cc1f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5cc276
mov eax, dword [ebx + 8]
call fcn.005250f0
mov ecx, eax
mov dl, 1
mov eax, dword [0x5316e4]
call fcn.0051f25c
mov dword [ebx + 0x8c], eax
mov esi, dword [ebx + 0x8c]
xor edx, edx
mov eax, esi
call fcn.005363a0
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2c8], 0x5cbac8
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.005250f0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.005250f0
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5cc2f0
mov eax, dword [ebx + 8]
call fcn.005250f0
mov ecx, eax
mov dl, 1
mov eax, dword [0x5316e4]
call fcn.0051f25c
mov dword [ebx + 0x9c], eax
mov esi, dword [ebx + 0x9c]
mov dl, 1
mov eax, esi
call fcn.005363a0
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2c8], 0x5cbb14
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.005250f0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.005250f0
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5cc35e
mov eax, dword [ebx + 8]
call fcn.005250f0
mov ecx, eax
mov dl, 1
mov eax, dword [0x532180]
call fcn.0051f25c
mov dword [ebx + 0x94], eax
mov eax, dword [ebx + 0x94]
mov byte [eax + 0x2a0], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.005250f0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.005250f0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x603884
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov eax, ebx
call fcn.00409d18
mov dword [esp], 0xf
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x6038b5
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.00409ea0
add esp, 0x24
pop ebx
ret

Function at 0x609d6c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, esi
mov edx, dword [0x60809c]
call fcn.00408198
test al, al
je 0x609e85
mov edx, dword [ebx + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebx + 0x54]
mov eax, dword [esi + 0x54]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [esi + 8]
mov edx, dword [ebx + 8]
call fcn.0040a0f8
lea eax, [esi + 0x10]
mov edx, dword [ebx + 0x10]
call fcn.0040a0f8
lea eax, [esi + 0x14]
mov edx, dword [ebx + 0x14]
call fcn.0040a0f8
lea eax, [esi + 0x18]
mov edx, dword [ebx + 0x18]
call fcn.0040a0f8
lea eax, [esi + 0x1c]
mov edx, dword [ebx + 0x1c]
call fcn.0040a0f8
lea eax, [esi + 0x20]
mov edx, dword [ebx + 0x20]
call fcn.0040a0f8
lea eax, [esi + 0x4c]
mov edx, dword [ebx + 0x4c]
call fcn.0040a0f8
lea eax, [esi + 0x50]
mov edx, dword [ebx + 0x50]
call fcn.0040a0f8
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [ebx + 0x44]
mov dword [esi + 0x44], eax
lea eax, [esi + 0x48]
mov edx, dword [ebx + 0x48]
call fcn.0040a0f8
mov eax, dword [ebx + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [ebx + 0x5c]
mov dword [esi + 0x5c], eax
lea eax, [esi + 0x68]
mov edx, dword [ebx + 0x68]
call fcn.0040a0f8
mov eax, dword [ebx + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [ebx + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x70]
mov dword [esi + 0x70], eax
mov eax, dword [ebx + 0x74]
mov dword [esi + 0x74], eax
lea eax, [esi + 0x78]
mov edx, dword [ebx + 0x78]
call fcn.0040a0f8
movzx eax, byte [ebx + 0x7c]
mov byte [esi + 0x7c], al
lea eax, [esi + 0x80]
mov edx, dword [ebx + 0x80]
call fcn.0040a0f8
pop esi
pop ebx
ret
mov edx, esi
mov eax, ebx
call fcn.004acca4
pop esi
pop ebx
ret
Function at 0x62d814
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x62d81c
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x62d9d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x62d9ec
call fcn.0040aa28
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0x1c]
xor edx, edx
call fcn.0062b3ec
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x62da00
call fcn.005d5ea0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x62d897
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x62d8d8
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.0062b3ec
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x62da68
call fcn.005d5ea0
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040a9d0
mov eax, esi
mov edx, 0x62da94
call fcn.0040a9d0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x62d8f0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x62d95e
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x62daa8
call fcn.005d5ea0
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040a9d0
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x62d927
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x62d952
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x62dad8
call fcn.005d5ea0
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040a9d0
mov eax, esi
mov edx, 0x62da94
call fcn.0040a9d0
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x62d96a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x62d995
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x62db04
call fcn.005d5ea0
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040a9d0
mov eax, esi
mov edx, 0x62da94
call fcn.0040a9d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62d9d8
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00409d78
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00409d78
lea eax, [ebp - 4]
call fcn.00409d18
ret
Function at 0x405890
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2ab04
call fcn.00406950
push ebx
mov ebx, dword [esp + 0x2ab14]
push esi
push edi
mov edi, dword [esp + 0x2ab20]
xor esi, esi
xor ecx, ecx
mov eax, ecx
mov byte [esp + ecx + 0x10], cl
cdq
idiv edi
inc ecx
cmp ecx, 0x1557f
mov al, byte [edx + ebx]
mov byte [esp + ecx + 0x1558f], al
jl 0x4058af
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dl, byte [esp + ecx + 0x15590]
mov al, byte [esp + ecx + 0x10]
add esi, edx
add eax, esi
mov esi, 0x1557f
cdq
idiv esi
inc ecx
cmp ecx, 0x1557f
mov esi, edx
mov dl, byte [esp + ecx + 0xf]
mov al, byte [esp + esi + 0x10]
mov byte [esp + esi + 0x10], dl
mov byte [esp + ecx + 0xf], al
jl 0x4058cd
mov ebx, dword [esp + 0x2ab18]
xor edi, edi
test ebx, ebx
jle 0x40597e
mov esi, dword [esp + 0x2ab24]
push ebp
mov ebp, dword [esp + 0x2ab18]
sub ebp, esi
lea eax, [ecx + 1]
mov ecx, 0x1557f
cdq
idiv ecx
xor eax, eax
mov ecx, edx
mov al, byte [esp + ecx + 0x14]
add eax, edi
mov edi, 0x1557f
cdq
idiv edi
mov edi, edx
mov dl, byte [esp + ecx + 0x14]
mov al, byte [esp + edi + 0x14]
mov byte [esp + edi + 0x14], dl
mov byte [esp + 0x10], al
mov byte [esp + ecx + 0x14], al
mov edx, dword [esp + 0x10]
xor eax, eax
mov al, byte [esp + edi + 0x14]
and edx, 0xff
add eax, edx
xor edx, edx
div dword [0x40a078]
mov al, byte [esp + edx + 0x14]
mov dl, byte [esi + ebp]
xor al, dl
mov byte [esi], al
inc esi
dec ebx
jne 0x405921
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2ab04
ret

Function at 0x43b669
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
add ebx, 0xa114c49
dec edi
and edi, edi
call fcn.0043b6b2
sub edi, 0x182c5810
xor dword [eax], esi
dec edi
sub edi, 0x8dd3b70a
dec edi
inc eax
inc ebx
add edi, 0x747b8412
cmp eax, ecx
jne fcn.0043b669
sub edi, 0xae4dd697
sub ebx, 0x191808ae
ret
Function at 0x401630
Capabilities:
Get common file path

Disassembly:
sub esp, 0x800
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00401060
mov esi, eax
mov ecx, esi
call fcn.00404a70
push 1
mov ecx, esi
mov edi, eax
call fcn.00404a40
mov ecx, edi
call fcn.00405a00
test ax, ax
jne 0x4016ab
push 2
mov ecx, esi
call fcn.00404a40
mov ecx, esi
call fcn.00404a30
push eax
mov ecx, esi
call fcn.004049a0
mov ecx, ebx
call fcn.00401870
test eax, eax
jne 0x401773
push eax
push 0x481
mov dword [0x414870], 0x481
call fcn.00406090
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x800
ret
mov ecx, edi
call fcn.00405a40
push eax
mov ecx, esi
call fcn.004049e0
lea eax, [esp + 0x40c]
push 0x400
push eax
mov ecx, ebx
call fcn.00401790
test eax, eax
jne 0x401700
mov ecx, esi
mov dword [0x414870], 0x47f
call fcn.004049f0
shr eax, 0xa
push eax
push 0x47f
call fcn.00406090
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x800
ret
lea ecx, [esp + 0xc]
lea edx, [esp + 0x40c]
push ecx
push 0
push 0x4110f0
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0xc]
push eax
call fcn.00406a30
lea ecx, [esp + 0xc]
push 0x2e
push ecx
call fcn.004075f0
add esp, 8
lea edx, [esp + 0xc]
mov byte [eax], 0
push edx
call fcn.004069b0
test eax, eax
jne 0x40174e
lea eax, [esp + 0xc]
push eax
call fcn.004068e0
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004049a0
mov ecx, esi
call fcn.004050a0
test eax, eax
jne 0x401678
pop edi
pop esi
pop ebx
add esp, 0x800
ret
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x800
ret

Function at 0x401790
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00401060
mov ecx, eax
call fcn.004049f0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, eax
push edi
push ebp
shr esi, 0xa
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x4017d3
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push esi
push edi
mov ecx, ebx
call fcn.00401830
test eax, eax
jne 0x401821
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jle 0x4017ec
push esi
push edi
mov ecx, ebx
call fcn.00401830
test eax, eax
jne 0x401821
push 0x413da0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push esi
push 3
call fcn.004066c0
add esp, 0xc
test eax, eax
jge 0x401821
push edi
push esi
push 4
call fcn.004066c0
add esp, 0xc
test eax, eax
jge 0x401821
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8