joyce8/EMBER2024-capa huggingface dataset:
Function at 0x527dd8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x527df0
mov eax, ebx
call fcn.005276a8
cmp dword [ebx + 0x68], 0
jne 0x527dfd
mov eax, ebx
call fcn.00527630
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x10]
mov eax, ebx
call fcn.005274b0
lea eax, [esp + 0x10]
xor edx, edx
call fcn.0052879c
cmp eax, dword [esp]
je 0x527e6b
lea eax, [esp + 0x10]
xor edx, edx
call fcn.005287b0
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x527e47
adc edx, 0
push edx
lea eax, [esp + 0x14]
xor edx, edx
call fcn.0052879c
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x527e60
adc edx, 0
push edx
lea eax, [esp + 0x18]
push eax
call sub.user32.dll_InflateRect
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x527e86
push 3
mov eax, dword [esi + 0x10]
call fcn.0045333c
push eax
call sub.user32.dll_GetWindow
mov esi, eax
jmp 0x527e93
push 3
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x68]
call fcn.0044c2c4
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.0044c2e8
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.0044c310
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.0044c334
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.004177fc
mov eax, ebp
mov edx, dword [0x549b68]
mov byte [edx + 2], al
mov eax, dword [0x549b68]
mov byte [eax], 0
mov eax, dword [0x549b68]
mov byte [eax + 1], 0
mov eax, dword [0x549b68]
mov byte [eax + 3], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0045333c
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0045333c
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0045333c
push eax
call sub.user32.dll_SetWindowLongA
push 2
mov eax, dword [0x549b68]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.004282e8
call fcn.00423e58
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0045333c
push eax
mov eax, dword [0x549b20]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.0045333c
push eax
call sub.user32.dll_ShowWindow
push 0
push esi
call sub.user32.dll_ReleaseDC
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [0x549fcc]
mov eax, dword [eax]
call fcn.0046c8dc
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, esi
jb 0x528b8f
pop esi
pop ebx
ret
Function at 0x5290d8
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.004092c8
test al, al
je 0x52915f
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00402f84
or esi, 0x100
test esi, esi
jns 0x529113
call fcn.004034e0
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00404834
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x52915f
mov dl, 1
mov eax, dword [0x421eb4]
call fcn.004298b4
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.00429c84
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x52915f
mov eax, esp
call fcn.0040e344
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret

Function at 0x52bf2c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x52bf5b
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x52bfda
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0052a7e8
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x52bfa8
mov cx, word [esp]
sub cx, si
jmp 0x52bfaa
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x52bf91
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x52bfd0
mov cx, word [esp]
sub cx, si
jmp 0x52bfd2
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x52bfb9
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x52c037
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.0052bc00
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x52c022
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x52c037
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x52bf36
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x53256c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x54c4e4
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x53258e
shr eax, 1
xor eax, 0xedb88320
jmp 0x532590
shr eax, 1
dec edx
jne 0x53257c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x532575
mov byte [0x54c8e4], 1
pop esi
pop ebx
ret

Function at 0x5325ac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x54c8e4], 0
jne 0x5325c3
call fcn.0053256c
mov eax, edi
dec eax
test eax, eax
jl 0x5325ec
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x54c4e4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5325cd
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x53504c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
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 0x53507d
dec al
je 0x5350b9
dec al
je 0x5350fd
dec al
je 0x535168
jmp 0x5351f2
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5351f2
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
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x53508d
jmp 0x5351f2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5351f2
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 0x5350c9
jmp 0x5351f2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5351f2
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 ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x53512b
xor ebp, ebp
jmp 0x53513c
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x535145
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 0x53510d
jmp 0x5351f2
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5351f2
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 0x5351c0
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + 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 [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.005325f4
add al, byte [esp]
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 0x53517c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x53ce38
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404824
xor eax, eax
push ebp
push 0x53cef2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x53cec2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
mov ecx, 0x53cf08
mov edx, dword [ebp - 4]
call fcn.00404680
mov eax, dword [ebp - 0x24]
call fcn.00404834
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
mov edx, dword [ebp - 8]
mov eax, 8
call fcn.00408de8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53ced4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53cef9
lea eax, [ebp - 0x24]
call fcn.00404374
lea eax, [ebp - 4]
call fcn.00404374
ret

Function at 0x53d29c
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
xor ebx, ebx
mov eax, esp
xor ecx, ecx
mov edx, 0x94
call fcn.00402f84
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x53d317
cmp dword [esp + 0x10], 2
jne 0x53d317
mov eax, dword [esp + 4]
cmp eax, 5
jne 0x53d2f9
mov edx, dword [esp + 8]
test edx, edx
jne 0x53d2e3
mov ebx, 0x32
jmp 0x53d2f9
cmp edx, 2
jne 0x53d2ef
mov ebx, 0x34
jmp 0x53d2f9
cmp edx, 1
jne 0x53d2f9
mov ebx, 0x33
cmp eax, 6
jne 0x53d317
mov eax, dword [esp + 8]
test eax, eax
jne 0x53d30d
mov ebx, 0x3c
jmp 0x53d317
cmp eax, 1
jne 0x53d317
mov ebx, 0x3d
mov eax, ebx
add esp, 0x94
pop ebx
ret
Function at 0x53d3f0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov ebx, edx
mov ebp, eax
mov byte [esp], 0
mov edx, ebx
mov eax, ebp
call fcn.0053d078
cmp al, 1
je 0x53d591
push ebx
push 0
push 0x2000000
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x53d591
mov eax, ebp
call fcn.004095e0
inc eax
mov dword [esp + 4], eax
push 4
push 0x1000
mov eax, dword [esp + 0xc]
push eax
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
test esi, esi
jne 0x53d460
test ebx, ebx
je 0x53d591
push ebx
call sub.kernel32.dll_CloseHandle
jmp 0x53d591
call fcn.0053d29c
cmp eax, 0x3c
jb 0x53d483
push 0x53d59c
push 0x53d5b0
call sub.kernel32.dll_GetModuleHandleW
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [esp + 0x18], eax
push 0x53d5bc
push 0x53d5cc
call sub.kernel32.dll_GetModuleHandleW
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
test edi, edi
je 0x53d591
call fcn.0053d29c
cmp eax, 0x3c
jb 0x53d4b7
cmp dword [esp + 0x18], 0
je 0x53d591
xor eax, eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 8]
push eax
push ebp
push esi
push ebx
call sub.kernel32.dll_WriteProcessMemory
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x53d4fa
push 0x8000
push 0
push esi
push ebx
call sub.kernel32.dll_VirtualFreeEx
test ebx, ebx
je 0x53d591
push ebx
call sub.kernel32.dll_CloseHandle
jmp 0x53d591
xor eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0xc], eax
call fcn.0053d29c
cmp eax, 0x3c
jb 0x53d52f
push 0
push 0
push 0
push 0
push 0
push esi
push edi
push ebx
push 0
push 0x2000000
lea eax, [esp + 0x30]
push eax
call dword [esp + 0x44]
jmp 0x53d546
lea eax, [esp + 0xc]
push eax
push 0
push esi
push edi
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
jne 0x53d563
push 0x8000
push 0
push esi
push ebx
call sub.kernel32.dll_VirtualFreeEx
push ebx
call sub.kernel32.dll_CloseHandle
jmp 0x53d591
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_GetExitCodeThread
test ebx, ebx
je 0x53d57c
push ebx
call sub.kernel32.dll_CloseHandle
cmp dword [esp + 8], 0
je 0x53d58d
mov eax, dword [esp + 8]
push eax
call sub.kernel32.dll_CloseHandle
mov byte [esp], 1
mov al, byte [esp]
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x53d5e0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x40c], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x53d6ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404374
push 0
push 0
push 0
push 0
push 0x53d6f8
call sub.wininet.dll_InternetOpenA
mov esi, eax
test esi, esi
je 0x53d6bb
push 0
push 0x80000000
push 0
push 0
mov eax, edi
call fcn.00404834
push eax
push esi
call sub.wininet.dll_InternetOpenUrlA
mov edi, eax
test edi, edi
je 0x53d6b3
lea eax, [ebp - 0x405]
xor ecx, ecx
mov edx, 0x401
call fcn.00402f84
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x405]
mov ecx, 0x401
call fcn.004045e4
mov edx, dword [ebp - 0x40c]
mov eax, ebx
call fcn.0040463c
lea eax, [ebp - 0x405]
xor ecx, ecx
mov edx, 0x401
call fcn.00402f84
lea eax, [ebp - 4]
push eax
push 0x401
lea eax, [ebp - 0x405]
push eax
push edi
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 4], 0
jne 0x53d65a
push edi
call sub.wininet.dll_InternetCloseHandle
jmp 0x53d6d1
push esi
call sub.wininet.dll_InternetCloseHandle
jmp 0x53d6d1
mov ecx, 0x53d70c
mov dl, 1
mov eax, dword [0x4079c0]
call fcn.0040c79c
call fcn.00403d2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53d6f1
lea eax, [ebp - 0x40c]
call fcn.00404374
ret
Function at 0x421840
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x421852
mov eax, dword [0x58909f]
shl eax, 2
mov dword [0x5890a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0057aa40
pop edx
call fcn.0057a640
call fcn.0057af5c
push 0
call fcn.0057c254
pop ecx
push 0x589048
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x5890a7], eax
push 0
jmp fcn.00584da4
Function at 0x42f2b4
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
mov eax, dword [ebp + 0xc]
push eax
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
test ebx, ebx
jne 0x42f2d3
xor eax, eax
jmp 0x42f343
push 0x224
push 0
lea edx, [ebp - 0x224]
push edx
call fcn.0057b1df
add esp, 0xc
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], 0x224
push ecx
push ebx
call sub.KERNEL32.DLL_Module32First
test eax, eax
jne 0x42f308
xor eax, eax
jmp 0x42f343
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x204]
push ecx
call sub.KERNEL32.DLL_lstrcmpiA
test eax, eax
jne 0x42f32a
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x208]
jmp 0x42f343
lea edx, [ebp - 0x224]
push edx
push ebx
call sub.KERNEL32.DLL_Module32Next
test eax, eax
jne 0x42f308
push ebx
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4328ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x596e8c
push 0xa
push 0x432980
mov eax, dword [0x596e14]
push eax
call sub.KERNEL32.DLL_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x432910
call fcn.004664d8
push ebx
mov eax, dword [0x596e14]
push eax
call sub.KERNEL32.DLL_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x432927
call fcn.004664d8
push ebx
call sub.KERNEL32.DLL_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x432939
call fcn.004664d8
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x596e90], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x596e94], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x596e98], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x596e9c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x596ea0], ecx
add edx, dword [eax + 0x14]
mov dword [0x596ea4], edx
pop esi
pop ebx
ret

Function at 0x44eec4
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x44ef62
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x44ef26
cmp byte [ebx + 0x10], 0
jne 0x44ef26
cmp byte [ebx + 0x3c], 0
jne 0x44ef26
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x44ef47
lea edx, [ebp - 4]
mov eax, dword [0x596510]
call fcn.0047c1d8
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43f938]
call fcn.00463e28
call fcn.00477dfc
jmp 0x44ef47
lea edx, [ebp - 8]
mov eax, dword [0x596510]
call fcn.0047c1d8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43f938]
call fcn.00463e28
call fcn.00477dfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ef69
lea eax, [ebp - 8]
mov edx, 2
call fcn.00478f38
ret

Function at 0x44f7e0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x44f82e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0044ee48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44f847
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x44f850
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0044ee48
dec esi
jne 0x44f872
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x45108c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5970cc
cmp dword [edi], 0
jne 0x451108
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x5970c8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x58c438
mov ecx, 2
call fcn.004768b0
mov edx, 0x451064
lea eax, [esi + 5]
call fcn.00451084
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00451084
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4510dd
mov dword [0x5970c8], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4547d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45494b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00478f94
mov eax, dword [ebp - 4]
call fcn.00454068
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x454822
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00479748
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0045547c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x454901
xor eax, eax
push ebp
push 0x4548fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004543d0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00454980
test al, al
je 0x4548d8
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0047907c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4548d8
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00478fcc
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00454330
test al, al
je 0x4548d2
mov eax, dword [ebp - 8]
call fcn.00478fcc
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004790fc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004547d0
dec ebx
cmp ebx, 0xffffffff
jne 0x454881
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454901
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004543d0
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.00478fcc
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004543bc
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00454330
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454952
lea eax, [ebp - 0x3c]
call fcn.00478f30
lea eax, [ebp - 8]
mov edx, 2
call fcn.00478f38
ret