joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4304e0
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x430512
pop edi
mov eax, 1
pop esi
add esp, 0xc
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebp
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], 0
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov dword [esp + 0x1c], eax
call ebp
cmp dword [esp + 0x18], 0xffffffff
je 0x430597
cmp dword [esp + 0x10], 0
jne 0x430597
mov edx, dword [esp + 0x20]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push edx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x430597
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], 0
call ebx
push esi
mov edi, eax
call ebp
cmp edi, 0xffffffff
je 0x430597
cmp dword [esp + 0x14], 0
jne 0x430597
pop ebp
xor eax, eax
cmp dword [esp + 0x14], edi
pop ebx
pop edi
setne al
pop esi
add esp, 0xc
ret
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0xc
ret

Function at 0x430650
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
xor esi, esi
push 0x206
lea ecx, [esp + 0x1a]
xor eax, eax
push esi
push ecx
xor ebx, ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov word [esp + 0x20], ax
call fcn.00476ef0
add esp, 0xc
push 0x104
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [esp + 0x14]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x4306a4
mov ecx, 0xb
mov esi, str._system32Shell32.dll
lea eax, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00430440
add esp, 0xc
test eax, eax
je 0x4306f0
cmp dword [esp + 0x10], 0x60002
jb 0x4306f0
cmp dword [esp + 0xc], 0x3ab10000
mov eax, 1
jae 0x4306f2
mov eax, ebx
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00471eba
add esp, 0x214
ret
Function at 0x430750
Capabilities:
Get session user name
Get user security identifier

Disassembly:
sub esp, 0x20
push ebx
push ebp
xor ebx, ebx
push esi
push edi
cmp dword [esp + 0x34], ebx
je 0x43079d
push 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
xor edi, edi
xor ebp, ebp
call fcn.0040f530
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x43079d
push esi
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x4307a7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
lea eax, [esp + 0x18]
push eax
push ebx
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x4308c4
mov ecx, dword [esp + 0x18]
lea edx, [ecx + ecx]
push edx
call fcn.00472de8
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4308c0
lea eax, [esp + 0x18]
push eax
push esi
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x43089d
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
lea eax, [esp + 0x2c]
push eax
push ebx
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x43089d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43089d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00472de8
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x43089d
mov edx, dword [esp + 0x1c]
lea eax, [edx + edx]
push eax
call fcn.00472de8
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x43089d
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
push ebp
lea eax, [esp + 0x2c]
push eax
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x43089d
lea ecx, [esp + 0x14]
push ecx
push edi
call sub.ADVAPI32.dll_ConvertSidToStringSidW
test eax, eax
je 0x43089d
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x38]
mov ecx, 0x64
call fcn.004049e0
mov edx, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
setge cl
push edx
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x14], ebx
push esi
call fcn.00472c50
add esp, 4
cmp edi, ebx
je 0x4308b3
push edi
call fcn.00472c50
add esp, 4
cmp ebp, ebx
je 0x4308c0
push ebp
call fcn.00472c50
add esp, 4
mov esi, dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x430e40
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b2b80
push 0x476fd0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4bd450]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
xor eax, eax
cmp esi, eax
je 0x430fd6
cmp ebx, eax
je 0x430fd6
cmp edi, eax
jbe 0x430fd6
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x38], al
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov word [ebp - 0x2b], ax
mov byte [ebp - 0x29], al
mov byte [ebp - 0x28], al
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x38]
push eax
push edi
push esi
call fcn.004308e0
add esp, 0xc
test eax, eax
je 0x430fca
lea ecx, [ebp - 0x28]
push ecx
push edi
lea edi, [ebp - 0x38]
call fcn.00430db0
add esp, 8
test eax, eax
je 0x430fca
xor esi, esi
mov dword [ebp - 0x44], esi
xor edx, edx
mov dword [ebp - 0x48], edx
mov al, byte [ebp + esi - 0x28]
mov byte [ebp - 0x3a], al
inc esi
mov dword [ebp - 0x44], esi
cmp esi, 8
jb 0x430f09
xor cl, cl
jmp 0x430f11
mov cl, byte [ebp + esi - 0x28]
inc esi
mov dword [ebp - 0x44], esi
cmp esi, 8
jb 0x430f1c
mov byte [ebp - 0x39], 0
jmp 0x430f27
mov al, byte [ebp + esi - 0x28]
mov byte [ebp - 0x39], al
inc esi
mov dword [ebp - 0x44], esi
movzx eax, byte [ebp - 0x3a]
mov edi, eax
shr edi, 2
mov di, word [edi*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ebx + edx*2], di
movzx ecx, cl
mov edi, ecx
shr edi, 4
and eax, 3
shl eax, 4
or edi, eax
movzx eax, word [edi*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ebx + edx*2 + 2], ax
movzx eax, byte [ebp - 0x39]
mov edi, eax
shr edi, 6
and ecx, 0xf
add ecx, ecx
add ecx, ecx
or edi, ecx
mov cx, word [edi*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ebx + edx*2 + 4], cx
and eax, 0x3f
movzx eax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ebx + edx*2 + 6], ax
add edx, 4
mov dword [ebp - 0x48], edx
cmp esi, 8
jb 0x430ef5
mov ecx, 0x3d
mov word [ebx + edx*2 - 2], cx
xor eax, eax
mov word [ebx + edx*2], ax
mov dword [ebp - 0x40], 1
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x40]
jmp 0x430fd8
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x40]
jmp 0x430fd8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00471eba
mov esp, ebp
pop ebp
ret
Function at 0x431000
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
xor esi, esi
push 0x206
lea ecx, [esp + 0x1a]
xor eax, eax
push esi
push ecx
xor ebx, ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov word [esp + 0x20], ax
call fcn.00476ef0
add esp, 0xc
push 0x104
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [esp + 0x14]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x431054
mov ecx, 0xb
mov esi, str._system32Shell32.dll
lea eax, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00430440
add esp, 0xc
test eax, eax
je 0x4310a0
cmp dword [esp + 0x10], 0x60002
jb 0x4310a0
cmp dword [esp + 0xc], 0x295a01c8
mov eax, 1
jae 0x4310a2
mov eax, ebx
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00471eba
add esp, 0x214
ret

Function at 0x431e70
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x80c
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x808], eax
xor eax, eax
push esi
test edi, edi
je 0x431f88
push 0x3fe
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00476ef0
add esp, 0xc
call fcn.00409df0
cmp eax, 5
jbe 0x431f11
xor edx, edx
push 0x3fe
push edx
lea eax, [esp + 0x412]
push eax
mov word [esp + 0x414], dx
call fcn.00476ef0
add esp, 0xc
lea ecx, [esp + 0x408]
push ecx
call fcn.00432bd0
test eax, eax
je 0x431ef7
lea edx, [esp + 8]
push edx
lea esi, [esp + 0x40c]
call fcn.004320d0
test eax, eax
jne 0x431f24
xor eax, eax
pop esi
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00471eba
add esp, 0x80c
ret 4
lea eax, [esp + 8]
push eax
mov esi, str.http
call fcn.004320d0
test eax, eax
je 0x431f63
xor ecx, ecx
cmp cx, word [esp + 8]
je 0x431ef7
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x431ef7
mov eax, dword [esi]
mov ecx, dword [esp + 0x814]
push eax
mov edx, edi
call fcn.004049e0
push esi
test eax, eax
jge 0x431f7d
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00471eba
add esp, 0x80c
ret 4
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
mov ecx, dword [esp + 0x80c]
pop esi
xor ecx, esp
call fcn.00471eba
add esp, 0x80c
ret 4
Function at 0x431fa0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x810
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x808], eax
xor eax, eax
push esi
test edi, edi
je 0x4320b2
push 0x3fe
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00476ef0
add esp, 0xc
call fcn.00409df0
cmp eax, 5
jbe 0x43203f
xor edx, edx
push 0x3fe
push edx
lea eax, [esp + 0x412]
push eax
mov word [esp + 0x414], dx
call fcn.00476ef0
add esp, 0xc
lea ecx, [esp + 0x408]
push ecx
call fcn.00432bd0
test eax, eax
je 0x432027
lea edx, [esp + 8]
push edx
lea esi, [esp + 0x40c]
call fcn.00432150
test eax, eax
jne 0x432052
xor eax, eax
pop esi
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00471eba
add esp, 0x810
ret
lea eax, [esp + 8]
push eax
mov esi, str.http
call fcn.00432150
test eax, eax
je 0x43208f
xor ecx, ecx
cmp cx, word [esp + 8]
je 0x432027
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x432027
mov eax, dword [esi]
push eax
mov ecx, 0x103
mov edx, edi
call fcn.004049e0
push esi
test eax, eax
jge 0x4320a7
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00471eba
add esp, 0x810
ret
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
mov ecx, dword [esp + 0x80c]
pop esi
xor ecx, esp
call fcn.00471eba
add esp, 0x810
ret

Function at 0x432280
Capabilities:
Create thread

Disassembly:
push esi
call fcn.004319f0
mov esi, eax
cmp dword [esi + 8], 0
je 0x4322cb
push edi
push 0
push 1
lea edi, [esi + 0x2a0]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x4322ca
push eax
push eax
push esi
push 0x403a50
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x4322ca
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
ret

Function at 0x4323f0
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
xor ebx, ebx
call fcn.0040eb60
test eax, eax
je 0x4324a3
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432410
sub eax, edx
sar eax, 1
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
push 0x512dc0
neg ecx
or ecx, eax
push ecx
call fcn.00472b75
mov edi, eax
add esp, 8
test edi, edi
jne 0x43244f
pop edi
pop esi
pop ebp
pop ebx
ret 4
test esi, esi
je 0x43246a
cmp esi, 0x7fffffff
ja 0x43246a
push SysReAllocString
push ebp
mov ecx, esi
mov edx, edi
call fcn.00404a70
lea eax, [esp + 0x14]
push eax
push 0
push edi
push 0x4322d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x432497
push edi
call fcn.00472eb2
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 4
push eax
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 4
Function at 0x432d50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push eax
push 1
push 0
mov dword [esp + 0x14], 0
call fcn.0040ed90
add esp, 0xc
test eax, eax
jne 0x432dab
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x432d9a
test edi, edi
jne 0x432d9a
cmp esi, 2
jne 0x432d9a
xor esi, esi
mov eax, dword [esp + 8]
test eax, eax
je 0x432da9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret 8

Function at 0x432e10
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 4], 0
jne 0x432e73
mov eax, dword [0x518b18]
test eax, eax
je 0x432e40
push 0x3e8
push eax
mov dword [0x518b1c], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [0x518b18], 0
call fcn.00401000
call fcn.004319f0
cmp dword [eax + 8], 0
je 0x432e5a
call fcn.00435420
call fcn.00433c10
call fcn.00405a60
cmp dword [eax + 4], 0
je 0x432ea3
add eax, 0x14
call fcn.00407e80
mov eax, 1
ret
cmp dword [0x518b18], 0
jne 0x432ea3
push 0
push 0
push 0x518b1c
push 0x432dc0
push 0
push 0
mov dword [0x518b1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x518b18], eax
mov eax, 1
ret
Function at 0x433440
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x498d0a
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x54], 1
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea edx, [esp + 0x80]
xor ecx, ecx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
push edx
mov word [eax + 4], cx
call fcn.00402a90
mov byte [esp + 0x70], 2
mov byte [esp + 0x70], 1
lea edi, [esp + 0x38]
call fcn.0043aae0
mov byte [esp + 0x54], 3
sub esp, 0x1c
mov esi, esp
mov edi, 7
xor eax, eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov word [esi + 4], ax
mov eax, ebp
mov dword [esp + 0x34], esp
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4334e3
sub eax, ecx
sar eax, 1
push eax
push ebp
call fcn.00402bd0
mov byte [esp + 0x70], 4
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb8]
xor ecx, ecx
mov dword [eax + 0x18], edi
mov dword [eax + 0x14], ebx
push edx
mov word [eax + 4], cx
call fcn.00402a90
mov byte [esp + 0x8c], 5
mov byte [esp + 0x8c], 3
lea ecx, [esp + 0x54]
call fcn.0043b220
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x4a5b1c
mov byte [ecx + 4], bl
call fcn.00403290
mov byte [esp + 0x70], 6
mov byte [esp + 0x70], 3
lea esi, [esp + 0x38]
call fcn.0043acf0
mov byte [esp + 0x54], 1
mov eax, esi
push eax
call fcn.0043ac50
mov byte [esp + 0x54], bl
mov esi, 8
cmp dword [esp + 0x74], esi
jb 0x433599
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], dx
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x90], esi
jb 0x4335c6
mov eax, dword [esp + 0x7c]
push eax
call fcn.00471eaf
add esp, 4
xor ecx, ecx
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], cx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00471eba
add esp, 0x44
ret
Function at 0x433dd0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x28
push ebx
xor ebx, ebx
push ebp
push esi
mov esi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
cmp dword [edi + 8], ebx
jne 0x433f2c
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x433df0
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [edi + 0x214]
call fcn.00402bd0
lea esi, [edi + 0x24c]
mov eax, esi
call fcn.004351b0
lea ebx, [edi + 0x230]
mov eax, ebx
call fcn.004351b0
push 0x208
lea ebp, [edi + 0xc]
push 0
push ebp
call fcn.00476ef0
add esp, 0xc
mov dword [edi + 4], 0
call fcn.00403a60
call fcn.00437d40
test eax, eax
jne 0x433e5a
mov eax, 3
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
call fcn.00433d20
cmp eax, 1
jne 0x433f31
mov ecx, ebp
call fcn.00438000
test eax, eax
jne 0x433e7f
mov eax, 6
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x433f0c
mov eax, dword [esp + 0x18]
push edi
mov dword [edi + 4], eax
call fcn.00433700
mov ebp, 8
cmp dword [esi + 0x18], ebp
jb 0x433eba
mov esi, dword [esi + 4]
jmp 0x433ebd
add esi, 4
mov ecx, dword [edi + 0x26c]
push esi
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [ebx + 0x18], ebp
jb 0x433ed5
mov ebx, dword [ebx + 4]
jmp 0x433ed8
add ebx, 4
mov ecx, dword [edi + 0x26c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0x2001f
push 1
push 0
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x433f15
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
call fcn.00433ab0
mov eax, dword [esp + 0x10]
push eax
mov dword [edi + 8], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x435570
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x168
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push 0xec
lea eax, [esp + 0x10]
push esi
push eax
mov dword [esp + 0x14], esi
call fcn.00476ef0
add esp, 0xc
mov dword [esp + 0xf8], esi
cmp edi, esi
je 0x4356c3
cmp ebx, 0x10
jb 0x4356c3
test bl, 0xf
jne 0x4356c3
lea ecx, [edi + 0x10]
push ecx
lea eax, [ebx - 0x10]
lea ecx, [esp + 0x104]
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], esi
mov dword [esp + 0x104], 0x67452301
mov dword [esp + 0x108], 0xefcdab89
mov dword [esp + 0x10c], 0x98badcfe
mov dword [esp + 0x110], 0x10325476
call fcn.0041ddf0
add esp, 4
lea esi, [esp + 0x100]
lea ecx, [esp + 0x15c]
call fcn.0041de90
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x164]
mov dword [edi], edx
mov edx, dword [esp + 0x168]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
lea edx, [esp + 8]
mov eax, 0x4ebc60
call fcn.0041b760
mov ecx, dword [0x4ebc74]
mov edx, dword [0x4ebc78]
mov eax, dword [0x4ebc70]
mov dword [esp + 0x160], ecx
lea ecx, [esp + 0x15c]
push ecx
mov dword [esp + 0x160], eax
mov eax, dword [0x4ebc7c]
mov dword [esp + 0x168], edx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x170], eax
push ebx
mov eax, edi
mov ecx, edi
call fcn.0041c700
add esp, 0xc
mov al, 1
pop esi
pop ebx
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.00471eba
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x16c]
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.00471eba
mov esp, ebp
pop ebp
ret
Function at 0x4357e0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
mov ebx, dword [esp + 0x228]
push ebp
push esi
push edi
xor edi, edi
push 0x208
lea eax, [esp + 0x24]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
xor ebp, ebp
call fcn.00476ef0
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push edi
push 0x2001f
push 1
push edi
push edi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4358f6
push 0x4a7ff0
push ebx
lea eax, [esp + 0x28]
push 0x4a69f8
push eax
mov ecx, 0x104
mov dword [esp + 0x28], edi
call fcn.00404a10
add esp, 0x10
test eax, eax
jl 0x4358f6
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push edi
push 0x2001f
push 1
push edi
push edi
lea eax, [esp + 0x3c]
push eax
push ecx
call esi
test eax, eax
jne 0x4358f6
mov eax, str.360seURL
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4358a3
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push str.360seURL
push 1
push edi
push str.Progid
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4358f6
call fcn.00403a60
call fcn.00437c60
test eax, eax
je 0x4358f1
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.00436e70
test eax, eax
je 0x4358f6
mov ebp, 1
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
je 0x435907
push eax
call esi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x435912
push eax
call esi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.00471eba
add esp, 0x220
ret 4