joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4177e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0x80000001
push 0x433c48
mov eax, dword [ebp + 8]
push eax
call fcn.00405ef4
add esp, 8
test eax, eax
je 0x417815
mov ecx, dword [ebp + 8]
add ecx, 0xa
mov dword [ebp + 8], ecx
mov dword [ebp - 0x14], 0x80000002
lea edx, [ebp - 8]
push edx
push 0x20019
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x417837
mov eax, dword [ebp + 0x10]
jmp 0x41787e
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 4
mov dword [ebp - 4], 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x417871
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x417890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], 1
mov eax, dword [ebp + 0x10]
mov word [eax], 0
mov dword [ebp - 0x14], 0x80000001
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4178d0
xor eax, eax
jmp 0x417911
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 4], ecx
lea edx, [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x417904
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x417920
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x43d210]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x838], ecx
mov eax, dword [ebp - 0x838]
cmp dword [eax + 0xc], 0
jne 0x417949
xor eax, eax
jmp 0x4179c0
mov dword [ebp - 0x830], 0x820
mov dword [ebp - 0x834], 0
lea ecx, [ebp - 0x834]
push ecx
lea edx, [ebp - 0x830]
push edx
lea eax, [ebp - 0x828]
push eax
push str.Link64_WebWebWeb
push 0xffff
mov ecx, dword [ebp - 0x838]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 0x82c], eax
cmp dword [ebp - 0x82c], 0
jne 0x41799f
xor eax, eax
jmp 0x4179c0
push 0x433cf0
lea eax, [ebp - 0x828]
push eax
call fcn.00401b90
add esp, 8
test eax, eax
jne 0x4179bb
xor eax, eax
jmp 0x4179c0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004042ce
mov esp, ebp
pop ebp
ret
Function at 0x41f5e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x41f5fb
xor eax, eax
jmp 0x41f683
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [ebp - 4], 0x400000
jbe 0x41f616
mov dword [ebp - 0x14], 0x400000
jmp 0x41f61c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp dword [ebp - 8], 0
jne 0x41f673
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41f683
cmp dword [ebp - 0x10], 0
jne 0x41f67b
jmp 0x41f681
cmp dword [ebp - 4], 0
ja 0x41f604
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x41f690
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x41f6ab
xor eax, eax
jmp 0x41f733
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [ebp - 4], 0x400000
jbe 0x41f6c6
mov dword [ebp - 0x14], 0x400000
jmp 0x41f6cc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp dword [ebp - 8], 0
jne 0x41f723
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41f733
cmp dword [ebp - 0x10], 0
jne 0x41f72b
jmp 0x41f731
cmp dword [ebp - 4], 0
ja 0x41f6b4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4208e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x4208f8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x42094b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x420919
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x42093c
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 8], eax
jmp 0x420910
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx*4 + 0x442180], eax
jmp 0x4208ef
jmp 0x420956
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x800
jae 0x42098e
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x441d80]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x442180]
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x442180], edx
jmp 0x42094d
mov dword [0x4403e0], fcn.00420770
call fcn.0041b320
test eax, eax
jne 0x4209ab
mov dword [0x4403e0], 0x420880
mov esp, ebp
pop ebp
ret
Function at 0x421750
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x43d210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
test ecx, ecx
jne 0x421773
jmp 0x421966
push 0x436b1c
mov edx, dword [ebp + 8]
push edx
call fcn.004255a0
add esp, 8
test eax, eax
jne 0x42178d
jmp 0x421966
mov eax, dword [ebp + 8]
push eax
push 0x436b4c
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x460]
push edx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0xffffffff
je 0x4218fa
movzx ecx, word [ebp - 0x434]
cmp ecx, 0x2e
je 0x4218d1
lea edx, [ebp - 0x434]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x436b5c
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov edx, dword [ebp - 0x460]
and edx, 0x10
jne 0x42187d
cmp dword [ebp + 0x14], 2
je 0x42187b
cmp dword [ebp + 0x14], 3
je 0x42187b
cmp dword [ebp + 0x14], 4
jne 0x421832
push str..crypt.
lea eax, [ebp - 0x210]
push eax
call fcn.004255a0
add esp, 8
test eax, eax
je 0x42187b
lea ecx, [ebp - 0x210]
push ecx
call fcn.00404c36
add esp, 4
cmp eax, 0xffffffff
jne 0x42187b
push 0x80
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x210]
push eax
call fcn.00404c36
add esp, 4
cmp eax, 0xffffffff
jne 0x42187b
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00424810
jmp 0x4218d1
cmp dword [ebp + 0x14], 1
je 0x4218d1
mov edx, dword [ebp + 0x14]
sub edx, 2
neg edx
sbb edx, edx
and edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00421750
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call fcn.00405c7c
add esp, 4
cmp eax, 0xffffffff
jne 0x4218d1
cmp dword [ebp + 0x14], 3
je 0x4218d1
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00424810
lea edx, [ebp - 0x460]
push edx
mov eax, dword [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4217cd
mov ecx, dword [ebp - 0x464]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 8]
push edx
call fcn.00405c7c
add esp, 4
cmp dword [0x440464], 0
je 0x421966
mov eax, dword [0x440468]
add eax, 1
mov dword [0x440468], eax
mov ecx, dword [0x43e7ac]
cmp ecx, dword [0x440468]
jge 0x421939
mov edx, dword [0x43e7ac]
add edx, 1
mov dword [0x43e7ac], edx
cmp dword [0x43e7ac], 0
jle 0x421966
cmp dword [0x440460], 0x1e
jb 0x421966
mov eax, dword [0x440468]
imul eax, eax, 0x3c
cdq
idiv dword [0x43e7ac]
add eax, 0x1e
push eax
call fcn.00421660
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004042ce
mov esp, ebp
pop ebp
ret
Function at 0x422200
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d6ef
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x43d210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x338]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x422252
xor eax, eax
jmp 0x422381
cmp dword [ebp + 0x10], 0
je 0x422361
lea ecx, [ebp - 0x33c]
call fcn.00401050
mov dword [ebp - 4], 0
mov dword [ebp - 0x548], 0
jmp 0x422289
mov eax, dword [ebp - 0x548]
add eax, 1
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x550], 0x190
mov dword [ebp - 0x54c], 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x550]
push ecx
lea edx, [ebp - 0x334]
push edx
mov eax, dword [ebp - 0x548]
push eax
mov ecx, dword [ebp - 0x338]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4222cd
jmp 0x4222e1
lea edx, [ebp - 0x334]
push edx
lea ecx, [ebp - 0x33c]
call fcn.00424810
jmp 0x42227a
mov eax, dword [ebp - 0x338]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x33c]
mov dword [ebp - 0x554], ecx
jmp 0x42230a
mov edx, dword [ebp - 0x554]
mov eax, dword [edx]
mov dword [ebp - 0x554], eax
cmp dword [ebp - 0x554], 0
je 0x42234d
mov ecx, dword [ebp - 0x554]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x436f6c
lea ecx, [ebp - 0x544]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 1
lea edx, [ebp - 0x544]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00422200
add esp, 0xc
jmp 0x4222fc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x33c]
call fcn.00401070
jmp 0x42236e
mov ecx, dword [ebp - 0x338]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004042ce
mov esp, ebp
pop ebp
ret

Function at 0x4223a0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp + 8]
push eax
call fcn.00422130
add esp, 4
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4223de
jmp 0x4223f6
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x422400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 1
mov eax, dword [ebp + 0x10]
mov word [eax], 0
lea ecx, [ebp + 8]
push ecx
call fcn.00422130
add esp, 4
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0xc]
push edx
push 0x20019
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x422445
xor eax, eax
jmp 0x422486
mov dword [ebp - 0x10], 1
mov edx, dword [ebp + 0x14]
mov dword [ebp - 4], edx
lea eax, [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x422479
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x422490
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp + 8]
push eax
call fcn.00422130
add esp, 4
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4224ce
jmp 0x4224fb
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
mov eax, dword [ebp + 0x10]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x422500
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp + 8]
push eax
call fcn.00422130
add esp, 4
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x422540
xor eax, eax
jmp 0x422567
push 4
lea edx, [ebp + 0x10]
push edx
push 4
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x422570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp + 8]
push eax
call fcn.00422130
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 8]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4225a7
mov eax, dword [ebp + 0x10]
jmp 0x4225ee
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 4
mov dword [ebp - 4], 4
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4225e1
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x422600
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x43d210]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0x104
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [0x440444]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x220]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42264c
xor eax, eax
jmp 0x422731
mov ecx, dword [ebp - 4]
push ecx
call fcn.00404b73
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x422668
xor eax, eax
jmp 0x422731
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x220]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x422695
mov edx, dword [ebp - 0x10]
push edx
call fcn.00404a96
add esp, 4
xor eax, eax
jmp 0x422731
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x228]
push ecx
push 0x437330
mov edx, dword [ebp - 0x10]
push edx
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x437334
push 0x43fe68
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x224], edx
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004042ce
mov esp, ebp
pop ebp
ret
Function at 0x422740
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0
push 0x8000000
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x422772
xor eax, eax
jmp 0x422849
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
add edx, 0xa
push edx
call fcn.004048b4
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
push 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0x4000100
push 0
push 0x8000000
push 2
push 0
push 1
push 0xc0000000
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4227f8
xor eax, eax
jmp 0x422849
push 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
je 0x422832
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00404808
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 0x18], 0
jne 0x422846
mov eax, 1
jmp 0x422849
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x4249f0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 0xc]
call fcn.00424970
push 0x4374d8
mov ecx, dword [ebp + 8]
call fcn.00424420
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [ebp - 4], ax
movzx eax, word [ebp - 4]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x407
je 0x424a39
cmp dword [ebp - 8], 0x807
je 0x424a39
cmp dword [ebp - 8], 0xc07
je 0x424a39
jmp 0x424a48
push 0x4374e0
mov ecx, dword [ebp + 8]
call fcn.00424420
jmp 0x424a55
push 0x4374e8
mov ecx, dword [ebp + 8]
call fcn.00424420
mov ecx, dword [ebp + 8]
call fcn.00424640
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00424810
mov esp, ebp
pop ebp
ret
Function at 0x424d60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x43d210]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x424d7e
jmp 0x424e46
push 0x200
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x437564
lea edx, [ebp - 0x408]
push edx
call fcn.00422090
add esp, 8
test eax, eax
je 0x424dc6
lea eax, [ebp - 0x408]
push eax
call fcn.00424a70
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0
je 0x424e46
push 0x200
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x43756c
lea edx, [ebp - 0x408]
push edx
call fcn.00422090
add esp, 8
test eax, eax
je 0x424e2f
lea eax, [ebp - 0x408]
push eax
call fcn.00424a70
add esp, 4
push eax
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 2
mov edx, dword [ebp - 0x40c]
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x40c], eax
jmp 0x424dd8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004042ce
mov esp, ebp
pop ebp
ret

Function at 0x424f80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x43e7dc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 4], eax
mov ecx, dword [str.___656Z5RTfgZW__]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
jmp 0x424fb7
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jge 0x425008
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 4]
mov ecx, dword [0x43e7dc]
movzx edx, word [ecx + edx*2]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
add ecx, edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov byte [edx], cl
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 8]
mov eax, dword [str.___656Z5RTfgZW__]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
movzx eax, byte [edx]
xor eax, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
mov byte [ecx], al
jmp 0x424fae
mov esp, ebp
pop ebp
ret