joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004bbb8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x1004bbf0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x1004bbd1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x1004bbe0
or bl, 4
test esi, 0x20000000
je 0x1004bbeb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x100522b4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x100522c6
add esp, 0xfffffff0
call fcn.100039c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.1001d100
mov eax, dword [0x1005cf40]
mov dword [eax + 4], ebx
mov dword [eax], 0x10052658
mov eax, dword [0x1005cf4c]
mov dword [eax + 4], ebx
mov dword [eax], 0x10052664
mov eax, ebx
call fcn.10052670
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x100153f8]
call fcn.1000365c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x100153f8]
call fcn.1000365c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x100153f8]
call fcn.1000365c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x100153f8]
call fcn.1000365c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x100153f8]
call fcn.1000365c
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, 0x1004ea88
push eax
push 0
push 0
mov eax, dword [0x1005d098]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x1001eb54]
call fcn.100202ec
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x1001eb54]
call fcn.100202ec
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x1001eb54]
call fcn.100202ec
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.10052ac0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x10052988
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x10052988
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x10052988
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x10052403
call fcn.10003a1c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x1005276c
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 0x10052917
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x100528f8
mov dl, 1
mov eax, dword [0x10015814]
call fcn.1000365c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.10004418
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x100528e7
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.100406d4
test al, al
je 0x100528da
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, 0x10052928
lea eax, [ebp - 0x254]
call fcn.1000941c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x100528da
xor eax, eax
push ebp
push 0x100528d3
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 0x10052960
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x100528bc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.10004688
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 0x100528bc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.10004688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100528da
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x100527dd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.100192f0
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 0x1005291e
lea eax, [ebp - 0x260]
call fcn.10004418
ret

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

Disassembly:
push ecx
mov eax, dword [0x1005ebe0]
cmp byte [eax + 0xa5], 0
jne 0x100532d1
cmp dword [0x1005ebf8], 0
jne 0x10053292
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x1005321c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x1005ebf8], eax
cmp dword [0x1005ebf4], 0
jne 0x100532ad
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x1005ebf4], eax
cmp dword [0x1005ebfc], 0
jne 0x100532d1
push esp
push 0
push 0
push 0x100531c0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x1005ebfc], eax
pop edx
ret
Function at 0x10053964
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x1005ebe0]
cmp dword [eax + 0x30], 0
je 0x10053a0e
cmp dword [ebx + 0x94], 0
jne 0x10053a08
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x100538f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x10053a08
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 0x100539ce
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x10053a08
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.10017760
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x100539dd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x1005456c
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 0x100545a1
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.10004508
jmp 0x100545ae
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.1000446c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x10055650
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x10055691
mov eax, esi
call fcn.1003bd94
test al, al
je 0x10055691
mov eax, dword [ebx + 0x84]
call fcn.1003babc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x10055691
push 0
mov eax, dword [ebx + 0x84]
call fcn.1003babc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x10055f9c
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0x1005cd9c
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x10056060
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x10055fd4
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x10056077
dec edx
je 0x100560b8
jmp 0x10056115
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x10056115
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x10056178
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x10056195
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x100562a7
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x100561c8
je 0x10056214
sub ecx, 0x2b
je 0x1005620a
sub ecx, 4
je 0x1005620f
dec ecx
sub ecx, 0xa
jb 0x100561f9
jmp 0x10056217
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x100561da
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x100561e8
jmp 0x10056217
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x10056217
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x10056217
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x10056217
mov byte [eax], 0x3e
jmp 0x10056217
mov byte [eax], 0x3f
jmp 0x10056217
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x100561a7
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x10056267
cmp byte [esp + 3], 0xff
jne 0x10056267
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x1005629f
cmp dl, 0xff
je 0x1005629f
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x100561a0
add esp, 0xc
pop ebp
pop edi
pop esi
ret
Function at 0x10058f74
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x10014bf4]
call fcn.10004db4
xor eax, eax
push ebp
push 0x100590b8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x1005ce1c], 0
jne 0x10058fc7
mov ecx, dword [0x1005ce90]
mov dl, 1
mov eax, dword [0x100076e4]
call fcn.1000be74
call fcn.10003e2c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.1000309c
mov eax, ebx
call fcn.10004c80
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x100590c8
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.10005df4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.10004c90
test eax, eax
jle 0x1005905f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x10059058
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.100046a0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.10004688
mov eax, dword [ebp - 0x48]
pop edx
call fcn.1000855c
test eax, eax
jne 0x10059058
mov ebx, 0x15
jmp 0x10059064
mov ebx, 0x10
jmp 0x10059064
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x1005ce1c]
call fcn.10058ecc
mov eax, dword [ebp - 8]
call fcn.10058ecc
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.10005e0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100590bf
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.1000443c
lea eax, [ebp - 0x10]
mov edx, dword [0x10014bf4]
call fcn.10004e84
ret

Function at 0x1005a644
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.100048c8
xor eax, eax
push ebp
push 0x1005a6c7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.1000309c
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.100048d8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1005a6ce
lea eax, [ebp - 4]
call fcn.10004418
ret
Function at 0x407168
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push edi
mov edi, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
bnd call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov esp, edi
pop edi
dec eax
imul eax, dword [ecx]
cmp al, 0x3e
jne 0x4071bd
push 3
call dword [sym.imp.KERNEL32.dll_GetProcessId]
cmp eax, dword [edx + ebp]
je 0x4071ee
mov eax, 0x4071b8
lea eax, [edx + eax]
push ebp
push eax
push 0
call dword ss:[sym.imp.KERNEL32.dll_EnumResourceTypesA]
push esi
jmp 0x4071ee
cmc
nop
mov eax, esp
lea eax, [eax + 8]
xchg dword [eax], eax
or eax, 7
lock xchg dword ds:[esp + 0xc], edx
lea eax, es:[eax + 0x6033]
add dword es:[edx - 0x1b4], eax
pop ecx
add esp, 0x10
mov eax, 0
push cs
push ecx
retf
add byte [eax], al
add byte [eax], al
dec eax
xchg esi, eax
invalid
Function at 0x40f5f2
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
daa
xor eax, 0xff9c3f8
cmp byte [eax + 2], 0
add byte [eax], cl
add byte [eax], al
add byte ss:[eax], 0
pop esp
mov ecx, ebx
stc
jb 0x40ef71
add byte [ebx - 0x54], bl
cli
add ah, ah
jge 0x40d84d
add byte [eax + 0x2aec8b55], bh
mov dword [eax], eax
test byte [bx + si], cl
rol dword [eax], 1
retf
add ecx, dword [ecx + 0x3c]
stc
jb 0x40d9fb
ficom dword [esi - 0x1bffff96]
iretd
pushal
stc
jb 0x40d8ba
std
inc dword ss:[eax]
or dword [ebp + 0x66], edi
out dx, eax
dec edx
Function at 0x4013a0
Capabilities:
Persist via appinit_dlls registry key
Set registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x40a004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 3
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4013de
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040281c
mov esp, ebp
pop ebp
ret
mov eax, 0x44bd30
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4013e6
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub eax, edx
mov edx, dword [ebp - 0x1c]
sar eax, 1
lea ecx, [eax + eax]
push ecx
push 0x44bd30
push 1
push 0
push str.AppInit_DLLs
push edx
call esi
test eax, eax
jne 0x4013cd
mov ecx, dword [ebp - 0x1c]
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push 0
push str.LoadAppInit_DLLs
push ecx
mov dword [ebp - 0x20], 1
call esi
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x40ab24]
mov edx, dword [0x40ab28]
mov eax, dword [str._ei_r]
mov dword [ebp - 0x10], ecx
mov ecx, dword [0x40ab30]
mov dword [ebp - 0xc], edx
mov edx, dword [0x40ab34]
mov dword [ebp - 0x14], eax
mov eax, dword [0x40ab2c]
mov dword [ebp - 0x28], ecx
mov ecx, dword [0x40ab38]
mov dword [ebp - 0x24], edx
xor edx, edx
or ecx, dword [0x40ab3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], edx
mov eax, 0x40ab38
je 0x4014a0
lea esp, [esp]
mov ecx, dword [eax + 0xc]
add eax, 8
add edx, 8
or ecx, dword [eax]
jne 0x401490
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x40ab38
push 0x40ab38
call fcn.00401200
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push 0x44bd30
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4014f5
mov eax, dword [ebp - 0x18]
push 0
lea edx, [ebp - 0x18]
push edx
push eax
push 0x40ab38
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.0040281c
mov esp, ebp
pop ebp
ret
Function at 0x40132c
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
jmp loc.00415682

Function at 0x40150c
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], 0xffffffff
xor edx, edx
mov dword [esp + 0xc], edx
mov ebp, eax
mov eax, dword [esp]
add eax, ebp
mov dword [esp + 0x10], eax
mov ebx, dword [0x40d43c]
jmp 0x40158c
mov edi, dword [ebx]
mov esi, dword [ebx + 8]
cmp ebp, esi
ja 0x40158a
mov eax, esi
add eax, dword [ebx + 0xc]
cmp eax, dword [esp + 0x10]
ja 0x40158a
cmp esi, dword [esp + 8]
jae 0x401559
mov dword [esp + 8], esi
mov eax, esi
add eax, dword [ebx + 0xc]
cmp eax, dword [esp + 0xc]
jbe 0x401568
mov dword [esp + 0xc], eax
jmp 0x416c18
mov ebx, edi
cmp ebx, 0x40d43c
jne 0x40153b
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
cmp dword [esp + 0xc], 0
je 0x4015bc
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [eax], edx
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [edx + 4], eax
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4016d8
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, edx
mov edi, eax
mov ebp, 0x40d44c
add edi, 0x3fff
and edi, 0xffffc000
mov ebx, dword [ebp]
jmp 0x40172c
cmp edi, dword [ebx + 0xc]
jg 0x40172a
mov ecx, esi
mov edx, edi
mov eax, dword [ebx + 8]
call fcn.004015c4
cmp dword [esi], 0
je 0x40175f
jmp 0x416deb
mov ebx, dword [ebx]
cmp ebx, ebp
jne 0x4016f9
mov edx, esi
mov eax, edi
call fcn.00401430
cmp dword [esi], 0
je 0x40175f
mov ecx, esp
mov edx, esi
mov eax, ebp
call fcn.0040132c
cmp dword [esp], 0
jne 0x4016f4
mov ecx, esp
mov edx, dword [esi + 4]
mov eax, dword [esi]
call fcn.0040150c
xor eax, eax
mov dword [esi], eax
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x401918
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
push ebp
push 0x4019ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40d41c
call sub.kernel32.dll_InitializeCriticalSection
cmp byte [0x40d032], 0
je 0x401946
push 0x40d41c
call sub.kernel32.dll_EnterCriticalSection
mov eax, 0x40d43c
call fcn.004012dc
mov eax, 0x40d44c
call fcn.004012dc
mov eax, 0x40d478
call fcn.004012dc
push 0xff8
push 0
call sub.kernel32.dll_LocalAlloc
mov dword [0x40d474], eax
cmp dword [0x40d474], 0
je 0x4019ad
mov eax, 3
mov edx, dword [0x40d474]
xor ecx, ecx
mov dword [edx + eax*4 - 0xc], ecx
inc eax
cmp eax, 0x401
jne 0x401983
mov eax, 0x40d45c
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [0x40d468], eax
jmp 0x416195
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4019d5
cmp byte [0x40d032], 0
je 0x4019cd
push 0x40d41c
call sub.kernel32.dll_LeaveCriticalSection
ret
Function at 0x401b14
Capabilities:
Packed with generic packer

Disassembly:
mov edx, dword [0x40d478]
jmp 0x401b2c
mov ecx, dword [edx + 8]
cmp eax, ecx
jb 0x401b2a
add ecx, dword [edx + 0xc]
cmp eax, ecx
jb 0x401b40
mov edx, dword [edx]
cmp edx, 0x40d478
jne 0x401b1c
jmp 0x416b97
mov eax, edx
ret

Function at 0x401d80
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [0x40d46c], 0
jle 0x401dc9
cmp dword [0x40d46c], 0xc
jge 0x401d9e
jmp loc.00416b54
mov eax, dword [0x40d46c]
or eax, 2
mov edx, dword [0x40d470]
mov dword [edx], eax
mov eax, dword [0x40d470]
add eax, 4
call fcn.00401b74
xor eax, eax
mov dword [0x40d470], eax
xor eax, eax
mov dword [0x40d46c], eax
ret

Function at 0x401dcc
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
call fcn.00401d80
lea ecx, [esp + 8]
mov edx, edi
mov eax, 0x40d478
call fcn.0040132c
mov ebx, dword [esp + 8]
test ebx, ebx
jne 0x401dfc
xor eax, eax
jmp 0x401e4e
mov eax, dword [edi]
cmp ebx, eax
jae 0x401e0c
call fcn.00401bc0
sub dword [edi], eax
add dword [edi + 4], eax
mov eax, dword [edi]
add eax, dword [edi + 4]
mov esi, ebx
add esi, dword [esp + 0xc]
cmp eax, esi
jae 0x401e23
jmp 0x415f93
mov eax, dword [edi]
add eax, dword [edi + 4]
cmp esi, eax
jne 0x401e3d
sub eax, 4
mov edx, 4
call fcn.00401b44
sub dword [edi + 4], 4
mov eax, dword [edi]
mov dword [0x40d470], eax
mov eax, dword [edi + 4]
mov dword [0x40d46c], eax
mov al, 1
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x401e58
Capabilities:
Packed with generic packer

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov edx, esp
lea eax, [ebx + 4]
jmp loc.00416084

Function at 0x401e84
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
jmp loc.0041563d

Function at 0x401ee0
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov edi, 0x40d468
mov ebp, 0x40d46c
mov ebx, dword [0x40d460]
cmp esi, dword [ebx + 8]
jle 0x401f83
mov ebx, dword [edi]
mov eax, dword [ebx + 8]
cmp esi, eax
jle 0x401f83
mov dword [ebx + 8], esi
mov ebx, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jg 0x401f0b
mov edx, dword [edi]
mov dword [edx + 8], eax
cmp ebx, dword [edi]
je 0x401f20
mov dword [edi], ebx
jmp 0x401f83
cmp esi, 0x1000
jg 0x401f35
mov eax, esi
call fcn.00401eb8
mov ebx, eax
test ebx, ebx
jne 0x401f83
mov eax, esi
call fcn.00401e58
test al, al
jne 0x401f47
xor eax, eax
jmp 0x401fcf
cmp esi, dword [ebp]
jg 0x401ef0
jmp 0x416213
mov eax, ebx
call fcn.00401ac0
mov edx, dword [ebx + 8]
mov eax, edx
sub eax, esi
cmp eax, 0xc
jl 0x401fa2
mov edx, ebx
add edx, esi
xchg edx, eax
call fcn.00401d00
jmp 0x401fb4
mov esi, edx
cmp ebx, dword [edi]
jne 0x401fad
mov eax, dword [ebx + 4]
mov dword [edi], eax
mov eax, ebx
add eax, esi
and dword [eax], 0xfffffffe
mov eax, ebx
mov edx, esi
or edx, 2
mov dword [eax], edx
add eax, 4
inc dword [0x40d3fc]
sub esi, 4
add dword [0x40d400], esi
pop ebp
pop edi
pop esi
pop ebx
ret