joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45bbb4
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 0x45bd5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45bd40
mov dl, 1
mov eax, dword [0x418684]
call fcn.00403540
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042fc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45bd2f
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.00449aa8
test al, al
je 0x45bd22
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, 0x45bd70
lea eax, [ebp - 0x254]
call fcn.00409478
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45bd22
xor eax, eax
push ebp
push 0x45bd1b
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 0x45bda8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45bd04
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040456c
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 0x45bd04
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040456c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bd22
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45bc25
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c1e8
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 0x45bd66
lea eax, [ebp - 0x260]
call fcn.004042fc
ret

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

Disassembly:
push ecx
mov eax, dword [0x47cb74]
cmp byte [eax + 0xa5], 0
jne 0x45c719
cmp dword [0x47cb8c], 0
jne 0x45c6da
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45c664
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47cb8c], eax
cmp dword [0x47cb88], 0
jne 0x45c6f5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47cb88], eax
cmp dword [0x47cb90], 0
jne 0x45c719
push esp
push 0
push 0
push 0x45c608
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47cb90], eax
pop edx
ret
Function at 0x45cdac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47cb74]
cmp dword [eax + 0x30], 0
je 0x45ce56
cmp dword [ebx + 0x94], 0
jne 0x45ce50
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45cd3c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45ce50
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 0x45ce16
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45ce50
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.0041a5e4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45ce25
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d9b4
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 0x45d9e9
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.004043ec
jmp 0x45d9f6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404350
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45eb98
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45ebd9
mov eax, esi
call fcn.00445040
test al, al
je 0x45ebd9
mov eax, dword [ebx + 0x84]
call fcn.00444d3c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45ebd9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444d3c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4622c8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4622f6
mov eax, ebx
call fcn.00462d7c
cmp dword [ebx + 0x40], 0
je 0x4622ef
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x462367
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x462359
cmp dword [ebx + 8], 0
je 0x462318
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 0x46232a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x462359
cmp dword [ebx + 8], 0
je 0x46230b
cmp eax, 3
je 0x46233d
dec eax
jne 0x46230b
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 0x46230b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46230b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x462385
cmp dword [ebx + 0x14], 0xcc
je 0x462385
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.00462390
pop ebx
ret
Function at 0x478d78
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.00407138
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x478dac
cmp dword [esp + 4], 5
jb 0x478dac
cmp dword [esp + 8], 1
jae 0x478db0
xor eax, eax
jmp 0x478db2
mov al, 1
add esp, 0x94
ret

Function at 0x479004
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
lea eax, [esp + 4]
push eax
push 0
push 0
push ebx
push 0
call sub.shfolder.dll_SHGetFolderPathA
call fcn.00417ae4
test al, al
je 0x479030
lea eax, [esp + 4]
mov dword [esp], eax
jmp 0x479038
mov eax, 0x479044
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0x10c
pop ebx
ret
Function at 0x409c70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450e58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
call ebx
sub eax, dword [0x463964]
cmp eax, 0x7530
jbe 0x409ccd
mov dword [0x46394c], 0xf
jp 0x409cb1
jnp 0x409cb1
lea esi, [ebx - 1]
shl dword [ebx + 0x463964], cl
call ebx
mov dword [0x463964], eax
jp 0x409cbe
jnp 0x409cbe
lea esi, [ebx + 0x5b]
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push edi
xor edi, edi
push edi
push 0x4741c0
lea ecx, [ebp - 0x18]
call sub.mfc42.dll_CSingleLock::CSingleLock
mov dword [ebp - 4], edi
jp 0x409ce7
jnp 0x409ce7
lea esi, [ebx + 0x6a]
dec dword [ebp + 0x2fe8e84d]
pushal
add al, 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call sub.mfc42.dll_CSingleLock::Lock
dec ebp
call 0x4a0ccd8
add byte [edx + 4], bh
jp 0x409cf7
jnp 0x409cf7
lea esi, [ebx + 0x39]
jge 0x409cea
cmp dword [ebp - 0x10], edi
je 0x409d8d
push esi
jp 0x409d07
jnp 0x409d07
lea esi, [ebx + 0x39]
cmp eax, 0x55f330
cmp dword [0x55f330], edi
jle 0x409d63
mov eax, dword [0x55f32c]
xor esi, esi
mov edx, dword [esi + eax]
xor ecx, ecx
mov cl, byte [0x46394b]
cmp edx, ecx
jne 0x409d55
mov dl, byte [esi + eax + 7]
mov al, byte [esi + eax + 6]
mov cl, byte [0x55edfb]
push edx
mov dl, byte [0x55edfa]
push eax
push ecx
push edx
call fcn.0043ec60
add esp, 0x10
jp 0x409d4b
jnp 0x409d4b
lea esi, [ebx - 0x7d]
clc
push es
cmp eax, 6
jbe 0x409dac
mov eax, dword [0x55f32c]
mov ecx, dword [0x55f330]
inc edi
add esi, 0x28
cmp edi, ecx
jl 0x409d16
mov al, byte [0x46394a]
mov cl, byte [0x463949]
push eax
push ecx
call fcn.0042f5d0
add esp, 8
jp 0x409d7e
jnp 0x409d7e
lea esi, [ebx - 0x73]
dec ebp
call 0x4a0326d
add byte [edx + 4], bh
lea ecx, [ebp - 0x18]
call sub.mfc42.dll_CSingleLock::Unlock
jp 0x409d8c
jnp 0x409d8c
lea esi, [ebx + 0x5e]
pop esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call sub.mfc42.dll_CSingleLock::Unlock
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
jp 0x409db2
jnp 0x409db2
lea esi, [ebx - 0x39]
add eax, 0x46394c
add eax, dword [eax]
add byte [eax], al
mov dword [0x46394c], 3
jp 0x409dc2
jnp 0x409dc2
lea esi, [ebx - 1]
shl dword [ebx + 0x463964], cl
call ebx
mov dword [0x463964], eax
jp 0x409dcf
jnp 0x409dcf
lea esi, [ebx - 0x15]
lodsd eax, dword [esi]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x409d7e
Function at 0x40a330
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450e98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
call ebx
sub eax, dword [0x463964]
cmp eax, 0x7530
jbe 0x40a38d
mov dword [0x46394c], 0xf
jp 0x40a371
jnp 0x40a371
lea esi, [ebx - 1]
shl dword [ebx + 0x463964], cl
call ebx
mov dword [0x463964], eax
jp 0x40a37e
jnp 0x40a37e
lea esi, [ebx + 0x5b]
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push edi
xor edi, edi
push edi
push 0x4741c0
lea ecx, [ebp - 0x18]
call sub.mfc42.dll_CSingleLock::CSingleLock
mov dword [ebp - 4], edi
jp 0x40a3a7
jnp 0x40a3a7
lea esi, [ebx + 0x6a]
dec dword [ebp + 0x6fe8e84d]
pop ecx
add al, 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call sub.mfc42.dll_CSingleLock::Lock
dec ebp
call 0x49a1398
add byte [edx + 4], bh
jp 0x40a3b7
jnp 0x40a3b7
lea esi, [ebx + 0x39]
jge 0x40a3aa
cmp dword [ebp - 0x10], edi
je 0x40a44d
push esi
jp 0x40a3c7
jnp 0x40a3c7
lea esi, [ebx + 0x39]
cmp eax, 0x55f330
cmp dword [0x55f330], edi
jle 0x40a423
mov eax, dword [0x55f32c]
xor esi, esi
mov edx, dword [esi + eax]
xor ecx, ecx
mov cl, byte [0x463947]
cmp edx, ecx
jne 0x40a415
mov dl, byte [esi + eax + 7]
mov al, byte [esi + eax + 6]
mov cl, byte [0x55edfb]
push edx
mov dl, byte [0x55edfa]
push eax
push ecx
push edx
call fcn.0043ec60
add esp, 0x10
jp 0x40a40b
jnp 0x40a40b
lea esi, [ebx - 0x7d]
clc
push es
cmp eax, 6
jbe 0x40a46c
mov eax, dword [0x55f32c]
mov ecx, dword [0x55f330]
inc edi
add esi, 0x28
cmp edi, ecx
jl 0x40a3d6
mov al, byte [0x463946]
mov cl, byte [0x463945]
push eax
push ecx
call fcn.0042f5d0
add esp, 8
jp 0x40a43e
jnp 0x40a43e
lea esi, [ebx - 0x73]
dec ebp
call 0x499792d
add byte [edx + 4], bh
lea ecx, [ebp - 0x18]
call sub.mfc42.dll_CSingleLock::Unlock
jp 0x40a44c
jnp 0x40a44c
lea esi, [ebx + 0x5e]
pop esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call sub.mfc42.dll_CSingleLock::Unlock
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
jp 0x40a472
jnp 0x40a472
lea esi, [ebx - 0x39]
add eax, 0x46394c
pop es
add byte [eax], al
add byte [edx + 4], bh
mov dword [0x46394c], 7
jp 0x40a482
jnp 0x40a482
lea esi, [ebx - 1]
shl dword [ebx + 0x463964], cl
call ebx
mov dword [0x463964], eax
jp 0x40a48f
jnp 0x40a48f
lea esi, [ebx - 0x15]
lodsd eax, dword [esi]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x40a43e
Function at 0x40a690
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
push edi
call esi
sub eax, dword [0x463964]
cmp eax, 0x7530
jbe 0x40a6ed
call fcn.0042fa00
jp 0x40a6b2
jnp 0x40a6b2
lea esi, [ebx - 0x5f]
lodsb al, byte [esi]
out dx, al
push ebp
add byte [edx], ch
mov eax, dword [0x55eeac]
push 0
push 0x23
push 0xbd4
push eax
call dword [sym.imp.user32.dll_PostMessageA]
jp 0x40a6cd
jnp 0x40a6cd
lea esi, [ebx - 0x39]
add eax, 0x46394c
or dword [eax], eax
add byte [eax], al
mov dword [0x46394c], 9
jp 0x40a6dd
jnp 0x40a6dd
lea esi, [ebx - 1]
salc
call esi
mov dword [0x463964], eax
jp 0x40a6ea
jnp 0x40a6ea
lea esi, [ebx + 0x5f]
pop edi
pop esi
ret
jp 0x40a6f3
jnp 0x40a6f3
lea esi, [ebx + 0x7a]
add al, 0x7b
add cl, byte [ebp + 0x4374a173]
jp 0x40a6f9
jnp 0x40a6f9
lea esi, [ebx - 0x5f]
je 0x40a73f
mov eax, dword [0x474374]
test eax, eax
je 0x40a734
inc edi
add byte [ebp - 0x40cd8b40], al
or al, 0
add byte [eax], al
mov edi, pe_nt_image_headers32
mov esi, 0x55b020
cmp dword [esi + 8], 0xff
je 0x40a722
push esi
call fcn.00439cf0
add esp, 4
test eax, eax
jne 0x40a754
add esi, 0x34
inc edi
cmp esi, 0x55bd20
jl 0x40a70c
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [0x46394c], 9
jp 0x40a744
add al, 0x7b
add cl, byte [ebp - 0x5c29008d]
cmp dword fs:[esi], eax
jnp 0x40a744
lea esi, [ebx - 1]
salc
call esi
mov dword [0x463964], eax
jp 0x40a751
jnp 0x40a751
lea esi, [ebx + 0x5f]
pop edi
pop esi
ret
push edi
call fcn.00430140
add esp, 4
jp 0x40a763
jnp 0x40a763
lea esi, [ebx + 0x7a]
add al, 0x7b
add cl, byte [ebp - 0x3ca1a08d]
nop
nop
nop
nop
jp 0x40a769
jnp 0x40a769
lea esi, [ebx + 0x5f]
pop edi
pop esi
ret
Function at 0x40ae30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
call ebx
sub eax, dword [0x463964]
cmp eax, 0x7530
jbe 0x40ae8d
mov dword [0x46394c], 0xf
jp 0x40ae71
jnp 0x40ae71
lea esi, [ebx - 1]
shl dword [ebx + 0x463964], cl
call ebx
mov dword [0x463964], eax
jp 0x40ae7e
jnp 0x40ae7e
lea esi, [ebx + 0x5b]
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push edi
xor edi, edi
push edi
push 0x4741c0
lea ecx, [ebp - 0x18]
call sub.mfc42.dll_CSingleLock::CSingleLock
mov dword [ebp - 4], edi
jp 0x40aea7
jnp 0x40aea7
lea esi, [ebx + 0x6a]
dec dword [ebp + 0x6fe8e84d]
dec esi
add al, 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call sub.mfc42.dll_CSingleLock::Lock
dec ebp
call 0x48f1e98
add byte [edx + 4], bh
jp 0x40aeb7
jnp 0x40aeb7
lea esi, [ebx + 0x39]
jge 0x40aeaa
cmp dword [ebp - 0x10], edi
je 0x40af4d
push esi
jp 0x40aec7
jnp 0x40aec7
lea esi, [ebx + 0x39]
cmp eax, 0x55f330
cmp dword [0x55f330], edi
jle 0x40af23
mov eax, dword [0x55f32c]
xor esi, esi
mov edx, dword [esi + eax]
xor ecx, ecx
mov cl, byte [0x463943]
cmp edx, ecx
jne 0x40af15
mov dl, byte [esi + eax + 7]
mov al, byte [esi + eax + 6]
mov cl, byte [0x55edfb]
push edx
mov dl, byte [0x55edfa]
push eax
push ecx
push edx
call fcn.0043ec60
add esp, 0x10
jp 0x40af0b
jnp 0x40af0b
lea esi, [ebx - 0x7d]
clc
push es
cmp eax, 6
jbe 0x40af6c
mov eax, dword [0x55f32c]
mov ecx, dword [0x55f330]
inc edi
add esi, 0x28
cmp edi, ecx
jl 0x40aed6
mov al, byte [0x463942]
mov cl, byte [0x463941]
push eax
push ecx
call fcn.0042f5d0
add esp, 8
jp 0x40af3e
jnp 0x40af3e
lea esi, [ebx - 0x73]
dec ebp
call 0x48e842d
add byte [edx + 4], bh
lea ecx, [ebp - 0x18]
call sub.mfc42.dll_CSingleLock::Unlock
jp 0x40af4c
jnp 0x40af4c
lea esi, [ebx + 0x5e]
pop esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call sub.mfc42.dll_CSingleLock::Unlock
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
jp 0x40af72
jnp 0x40af72
lea esi, [ebx - 0x39]
add eax, 0x46394c
or al, 0
add byte [eax], al
mov dword [0x46394c], 0xc
jp 0x40af82
jnp 0x40af82
lea esi, [ebx - 1]
shl dword [ebx + 0x463964], cl
call ebx
mov dword [0x463964], eax
jp 0x40af8f
jnp 0x40af8f
lea esi, [ebx - 0x15]
lodsd eax, dword [esi]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x40af3e
Function at 0x414ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x451558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, dword [edi + 8]
sub esp, 0x34
mov esi, esp
lea eax, [esp + 0x54]
mov dword [esp + 0x40], esp
push eax
mov ecx, esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x44], esi
call sub.mfc42.dll_CString::CString_1
mov cx, word [esp + 0x58]
mov byte [esp + 0x4c], 1
mov word [esi + 4], cx
mov edx, dword [esp + 0x5c]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x60]
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0x68]
mov dword [esi + 0x14], edx
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x18], eax
mov ecx, dword [esp + 0x70]
mov dword [esi + 0x1c], ecx
mov edx, dword [esp + 0x74]
lea eax, [esp + 0x78]
lea ecx, [esi + 0x24]
push eax
mov dword [esi + 0x20], edx
call sub.mfc42.dll_CString::CString_1
mov ecx, dword [esp + 0x7c]
push ebp
mov dword [esi + 0x28], ecx
mov dl, byte [esp + 0x84]
mov byte [esi + 0x2c], dl
mov al, byte [esp + 0x85]
mov byte [esi + 0x2d], al
mov cl, byte [esp + 0x86]
mov byte [esi + 0x2e], cl
mov dl, byte [esp + 0x87]
mov byte [esi + 0x2f], dl
mov eax, dword [esp + 0x88]
mov ecx, edi
mov dword [esi + 0x30], eax
mov byte [esp + 0x50], 0
call fcn.00414d30
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], 2
call fcn.0044fc00
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.0044fc00
mov ecx, dword [esp + 0x10]
pop edi
mov eax, ebp
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x10
ret 0x34
Function at 0x414fe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4515a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call sub.mfc42.dll_CString::CString
xor ebx, ebx
lea ecx, [esi + 0x24]
mov dword [esp + 0x14], ebx
call sub.mfc42.dll_CString::CString
mov ecx, dword [esp + 0xc]
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], 0xff
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov byte [esi + 0x2c], bl
mov byte [esi + 0x2d], bl
mov dword [esi + 0x30], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4197e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [0x460dcc], eax
jp 0x4197f2
jnp 0x4197f2
add dword [ecx + 0x1000], edi
mov ecx, 0x1000
mov esi, 0x467994
mov edi, 0x46f994
rep movsd dword es:[edi], dword [esi]
jp 0x419808
jnp 0x419808
add dword [ecx + 0x1000], edi
mov ecx, 0x1000
mov esi, 0x463994
mov edi, 0x46b994
rep movsd dword es:[edi], dword [esi]
jp 0x41981e
jnp 0x41981e
add dword [edx + 3], edi
jp 0x419823
jnp 0x419823
add dword [ebx], esi
ror byte [ebx + 0x1e181ca], cl
add byte [eax], al
cmp byte [ecx + 5], 0x49
xor edx, edx
mov ecx, edx
and ecx, 0x80000001
jns 0x419834
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
je 0x4198ab
jp 0x41983e
jnp 0x41983e
add dword [edx + 3], edi
jp 0x419843
jnp 0x419843
add dword [ebx - 0x1e7e36], ecx
add byte [eax], al
cmp byte [ecx + 8], 0x49
mov ecx, edx
and ecx, 0x800000ff
jns 0x419855
dec ecx
or ecx, 0xffffff00
inc ecx
and ecx, 0xff
mov eax, ecx
shl eax, 8
add eax, ecx
shl eax, 8
add eax, ecx
shl eax, 8
add eax, ecx
jp 0x419871
jnp 0x419871
add dword [ebx - 0x66b6af4], ecx
inc esi
add byte [ebx + 0x473b0c35], cl
add byte [ebx], dh
into
mov ecx, dword [edx*4 + 0x46f994]
mov esi, dword [0x473b0c]
xor ecx, esi
xor ecx, eax
mov dword [edx*4 + 0x46f994], ecx
jp 0x41988e
jnp 0x41988e
add dword [ebx + 0x473b0c0d], ecx
add byte [ebx], dh
enter 0x48b, 0xffffffffffffff95
xchg esp, eax
mov ecx, 0xc1330046
mov ecx, dword [0x473b0c]
xor ecx, eax
mov eax, dword [edx*4 + 0x46b994]
xor eax, ecx
mov dword [edx*4 + 0x46b994], eax
jp 0x4198ab
jnp 0x4198ab
add dword [edx - 0x7f], eax
cli
add byte [eax], dl
add byte [eax], al
inc edx
cmp edx, 0x1000
jl 0x419825
pop edi
pop esi
pop ebp
ret 4
Function at 0x426330
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x473a74]
test eax, eax
jne 0x42638a
jne 0x426343
je 0x426343
mov eax, dword [ebp - 0x39]
add eax, 0x473a74
add dword [eax], eax
add byte [eax], al
mov dword [0x473a74], 1
jne 0x426353
je 0x426353
mov eax, dword [ebp - 0x39]
inc ebp
cld
add byte [eax], al
add byte [eax], al
mov dword [ebp - 4], 0
jne 0x426360
je 0x426360
mov eax, dword [ebp - 0x73]
inc ebp
cld
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x425330
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
jne 0x42637d
je 0x42637d
mov eax, dword [ebp + 0x50]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
jne 0x42638a
je 0x42638a
mov eax, dword [ebp - 0x75]
in eax, 0x5d
mov esp, ebp
pop ebp
ret

Function at 0x4275c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x473a78], 1
jne 0x4275d4
je 0x4275d4
mov eax, dword [ebp - 0x39]
inc ebp
cld
add byte [eax], al
add byte [eax], al
mov dword [ebp - 4], 0
jne 0x4275e1
je 0x4275e1
mov eax, dword [ebp - 0x73]
inc ebp
cld
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4252a0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
jne 0x4275fe
je 0x4275fe
mov eax, dword [ebp + 0x50]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
jne 0x42760b
je 0x42760b
mov eax, dword [ebp - 0x75]
in eax, 0x5d
mov esp, ebp
pop ebp
ret

Function at 0x427710
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x473a7c]
push esi
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
test eax, eax
jne 0x42772d
call esi
mov dword [0x473a7c], eax
jne 0x42772d
je 0x42772d
mov eax, dword [ebp - 1]
salc
call esi
sub eax, dword [0x473a7c]
cmp eax, 0x7530
jbe 0x427774
mov eax, dword [0x4741fc]
test eax, eax
je 0x427774
mov eax, dword [0x4741f8]
test eax, eax
je 0x427774
mov eax, dword [0x4741f4]
test eax, eax
je 0x427774
mov dword [0x474200], 0x130
jne 0x427767
je 0x427767
mov eax, dword [ebp - 1]
salc
call esi
mov dword [0x473a7c], eax
jne 0x427774
je 0x427774
mov eax, dword [ebp + 0x5e]
pop esi
ret
Function at 0x428130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x453748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
push esi
push edi
mov edi, dword [esp + 0x1c]
lea edx, [eax + eax*2]
mov dword [esp + 8], 0
lea eax, [eax + edx*4]
lea esi, [ecx + eax*4]
mov ecx, edi
push esi
call sub.mfc42.dll_CString::CString_1
mov dx, word [esi + 4]
mov dword [esp + 0x14], 0
mov word [edi + 4], dx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [esi + 0x10]
mov dword [edi + 0x10], edx
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov ecx, dword [esi + 0x18]
mov dword [edi + 0x18], ecx
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0x24]
mov dword [edi + 0x1c], edx
mov eax, dword [esi + 0x20]
push ecx
lea ecx, [edi + 0x24]
mov dword [edi + 0x20], eax
call sub.mfc42.dll_CString::CString_1
mov edx, dword [esi + 0x28]
mov dword [edi + 0x28], edx
mov al, byte [esi + 0x2c]
mov byte [edi + 0x2c], al
mov cl, byte [esi + 0x2d]
mov byte [edi + 0x2d], cl
mov dl, byte [esi + 0x2e]
mov byte [edi + 0x2e], dl
mov al, byte [esi + 0x2f]
mov byte [edi + 0x2f], al
mov ecx, dword [esi + 0x30]
mov dword [edi + 0x30], ecx
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8