joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428e80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x479220
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x4b9314]
mov ecx, dword [esp + 0x94]
xor eax, esp
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
push esi
mov esi, dword [esp + 0x98]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0x14]
push edi
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
call fcn.00428d60
push 0x494a30
push eax
lea eax, [esp + 0x40]
xor ebx, ebx
push eax
mov dword [esp + 0xa4], ebx
call fcn.00402280
push esi
push eax
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0xb0], 1
call fcn.00402900
add esp, 0x1c
mov eax, dword [esp + 0x4c]
mov esi, 0x10
cmp eax, esi
jb 0x428f25
mov edx, dword [esp + 0x38]
push edx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x30], esi
mov edi, 0xf
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x94], 3
jb 0x428f51
mov eax, dword [esp + 0x1c]
push eax
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x84], esi
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jae 0x428f6e
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x428ff8
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x50]
call fcn.00401ad0
mov ecx, eax
mov byte [esp + 0x94], 5
call fcn.00416c62
cmp dword [esp + 0x68], esi
mov byte [esp + 0x94], 3
jb 0x428fb1
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x84], esi
mov ecx, dword [esp + 0x70]
jae 0x428fc2
lea ecx, [esp + 0x70]
push 0x20
push 1
push 3
mov edx, 0xc0000000
call fcn.004169e8
cmp eax, 0xffffffff
jne 0x428ff1
cmp dword [esp + 0x84], esi
jb 0x428fed
mov edx, dword [esp + 0x70]
push edx
call fcn.00466c9d
add esp, 4
xor al, al
jmp 0x429061
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x84], esi
mov edi, dword [esp + 0x70]
jae 0x429009
lea edi, [esp + 0x70]
cmp dword [ebp + 0x18], esi
jb 0x429013
mov edx, dword [ebp + 4]
jmp 0x429016
lea edx, [ebp + 4]
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x18], esi
jb 0x429024
mov ecx, dword [ecx + 4]
jmp 0x429027
add ecx, 4
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], esi
jb 0x429035
mov eax, dword [eax + 4]
jmp 0x429038
add eax, 4
push edi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
mov eax, dword [esp + 0x84]
setne bl
cmp eax, esi
jb 0x42905f
mov eax, dword [esp + 0x70]
push eax
call fcn.00466c9d
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x7c]
pop ebx
xor ecx, esp
call fcn.0044c1c4
add esp, 0x88
ret
Function at 0x42a400
Capabilities:
Resume thread

Disassembly:
mov dl, byte [ecx + 0x9d9]
xor al, al
test dl, dl
je 0x42a41e
mov dl, byte [ecx + 0x900]
test dl, dl
jne 0x42a41e
push 5
call fcn.0042eff0
ret
mov ecx, dword [ecx + 0xa24]
test ecx, ecx
je 0x42a435
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
ret

Function at 0x42ab40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov al, byte [ecx + 0x900]
push edi
xor edi, edi
test al, al
jne 0x42ab7b
call fcn.0042d580
cmp dword [eax + 0x18], 0x10
jb 0x42ab5e
mov eax, dword [eax + 4]
jmp 0x42ab61
add eax, 4
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
test edi, edi
setne al
test al, al
je 0x42abff
push ebx
push esi
push 0x1af
push 0xf618
push edi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x42abf0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42abf0
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test ebp, ebp
mov dword [esp + 0x10], eax
je 0x42abef
lea ebx, [eax + 1]
push ebx
call fcn.00466c98
push ebx
mov esi, eax
push ebp
push esi
call fcn.0044e860
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
add esp, 0x10
push esi
mov byte [esi + eax], 0
call fcn.004021a0
push esi
call fcn.00466c9d
add esp, 4
mov bl, 1
pop ebp
test edi, edi
je 0x42abfb
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov al, bl
pop ebx
pop edi
pop ecx
ret 4
Function at 0x42b7d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x479520
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [0x4b9314]
xor eax, esp
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x70], eax
push edi
mov byte [esp + 0xf], bl
mov dword [esp + 0x18], esi
push 0x4a
push str.SoftwareMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_
lea ecx, [esp + 0x44]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.004015a0
push ebx
lea eax, [esp + 0x5c]
push ebx
push eax
mov byte [esp + 0x8c], 1
call fcn.0042b6c0
add esp, 0xc
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 2
mov byte [esp + 0x1c], 0x5c
call fcn.0041bc03
cmp eax, 0xffffffff
mov edi, 0x10
je 0x42b915
mov edx, dword [esp + 0x6c]
inc eax
sub edx, eax
push edx
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x64]
call fcn.004016d0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 3
call fcn.00401ef0
cmp dword [esp + 0x38], edi
jb 0x42b8ac
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x42b8ba
lea eax, [esp + 0x40]
lea edx, [esp + 0x14]
push edx
push 0x2001f
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x42b915
mov esi, dword [esp + 0x14]
mov eax, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push str.BreakOnDllLoad
push esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [esp + 0x14], ebx
je 0x42b915
mov byte [esp + 0xf], 1
cmp dword [esp + 0x70], edi
jb 0x42b928
mov eax, dword [esp + 0x5c]
push eax
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x54], edi
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
jb 0x42b94b
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00466c9d
add esp, 4
cmp esi, ebx
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
je 0x42b966
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x78]
mov al, byte [esp + 0xf]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x6c]
pop ebx
xor ecx, esp
call fcn.0044c1c4
add esp, 0x78
ret
Function at 0x42c0d0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x479720
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x4b9314]
xor eax, esp
push ebx
push ebp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x64]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], eax
cmp dword [esi + 0x18], 0x10
push edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x14], ebx
lea ebp, [esi + 4]
jb 0x42c11f
mov eax, dword [ebp]
jmp 0x42c121
mov eax, ebp
lea ecx, [esp + 0x14]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x60], ebx
call fcn.00428530
cmp dword [esi + 0x18], 0x10
jb 0x42c153
mov ebp, dword [ebp]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push esi
push edx
push ebx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x42c187
push ebx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push 0x494840
mov ecx, edi
mov byte [edi + 4], bl
call fcn.004015a0
jmp 0x42c248
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x18]
mov ebp, 0x10
cmp ecx, ebp
jb 0x42c19c
mov eax, dword [eax + 4]
jmp 0x42c19f
add eax, 4
push eax
push 0x4e4
push 0x409
lea eax, [esp + 0x40]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.0041626d
add esp, 0x14
cmp dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x38]
mov byte [esp + 0x5c], 1
jae 0x42c1cf
lea eax, [esp + 0x38]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x42c219
push ebx
mov ebp, 0xf
mov dword [edi + 0x18], ebp
mov dword [edi + 0x14], ebx
push 0x494840
mov ecx, edi
mov byte [edi + 4], bl
call fcn.004015a0
cmp dword [esp + 0x4c], 0x10
jb 0x42c213
mov eax, dword [esp + 0x38]
push eax
call fcn.00466c9d
add esp, 4
mov dword [esp + 0x4c], ebp
jmp 0x42c240
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
call fcn.00401690
cmp dword [esp + 0x4c], ebp
jb 0x42c238
mov edx, dword [esp + 0x38]
push edx
call fcn.00466c9d
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
cmp esi, ebx
je 0x42c255
push esi
call fcn.00466c9d
add esp, 4
mov ecx, dword [esp + 0x54]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x44]
pop ebx
xor ecx, esp
call fcn.0044c1c4
add esp, 0x50
ret
Function at 0x42d060
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x479938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
xor esi, esi
push esi
push str.WTFULLSCREENWND
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x18], esi
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebp, eax
cmp ebp, esi
je 0x42d0d1
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, edi
call fcn.0042d620
cmp eax, dword [esp + 0x10]
jne 0x42d0d1
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42d0d1
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea ecx, [esp + 0x24]
call fcn.00410110
mov dword [esp + 0x28], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x28]
mov dword [eax], eax
mov eax, dword [esp + 0x28]
mov dword [eax + 8], eax
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
mov dword [esp + 0x3c], esi
call fcn.0042c030
mov eax, dword [esp + 0x28]
cmp eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x18], ecx
je 0x42d17a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.0040fba0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
push eax
call edi
lea ecx, [esp + 0x1c]
push ecx
push 0x42a040
mov dword [esp + 0x24], eax
call ebp
mov eax, dword [esp + 0x20]
cmp eax, esi
mov ebx, eax
jne 0x42d176
lea ecx, [esp + 0x18]
call fcn.0040fba0
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov ecx, dword [esp + 0x18]
cmp ecx, edx
jne 0x42d124
jmp 0x42d17a
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xffffffff
call fcn.0042bae0
mov eax, dword [esp + 0x28]
push eax
call fcn.00466c9d
mov ecx, dword [esp + 0x34]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x42edc0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [ecx + 4]
mov edx, 8
cmp esi, edx
lea eax, [ecx + 8]
pop esi
jbe 0x42edfb
push ebp
xor dword [eax], 0xf05643b7
xor dword [eax + 4], 0x3759814b
xor dword [eax + 8], 0x93aad9e1
xor dword [eax + 0xc], 0x903622a2
mov ebp, dword [ecx + 4]
add edx, 0x10
cmp edx, ebp
lea eax, [edx + ecx]
jb 0x42edd2
pop ebp
ret
Function at 0x430ca0
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x430d0e
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
je 0x430d07
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x430d07
lea edx, [esp + 8]
push edx
push 0
mov eax, edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x28]
and ecx, 0x27
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
add esp, 0x10
ret

Function at 0x430dc0
Capabilities:
Check for time delay via gettickcount
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x430e3c
mov eax, dword [esi + 4]
push ebx
push ebp
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
call edi
mov ebp, dword [esp + 0x14]
sub eax, ebx
cmp eax, ebp
jae 0x430e07
lea ecx, [ecx]
mov eax, dword [esi + 8]
test eax, eax
je 0x430e39
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
sub eax, ebx
cmp eax, ebp
jb 0x430df0
lea edi, [esi + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 8]
test eax, eax
je 0x430e32
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
pop ebx
pop esi
ret 4
Function at 0x434990
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
xor eax, eax
push edi
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.WTPROCIN_d
push edi
call fcn.0044dcc0
mov al, byte [esp + 0x18]
add esp, 0xc
test al, al
je 0x434a82
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x494854
mov dword [esi + 4], eax
call edi
push str.USER32.DLL
mov ebx, eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4987fc
push ebx
mov ebp, eax
call edi
push 0x4987e8
push ebx
mov dword [esi + 0x34], eax
call edi
push 0x4987dc
push ebx
mov dword [esi + 0x30], eax
call edi
push 0x4987cc
push ebx
mov dword [esi + 0x2c], eax
call edi
push 0x4987bc
push ebx
mov dword [esi + 0x38], eax
call edi
push 0x4987b0
push ebx
mov dword [esi + 0x44], eax
call edi
push 0x4987a0
push ebx
mov dword [esi + 0x58], eax
call edi
push 0x498790
push ebx
mov dword [esi + 0x48], eax
call edi
push 0x498784
push ebx
mov dword [esi + 0x4c], eax
call edi
push 0x498778
push ebx
mov dword [esi + 0x50], eax
call edi
push str.AllowSetForegroundWindow
push ebp
mov dword [esi + 0x54], eax
call edi
push 0x498748
push ebp
mov dword [esi + 0x3c], eax
call edi
pop ebp
mov dword [esi + 0x40], eax
pop ebx
pop edi
pop esi
ret 4
Function at 0x434c00
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x47a2c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [0x4b9314]
xor eax, esp
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x48], eax
xor esi, esi
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], 0
cmp dword [edi + 0x18], 0x10
mov dword [esp + 0x54], ebx
mov dword [esp + 0x18], ebx
lea ebp, [edi + 4]
jb 0x434c56
mov eax, dword [ebp]
jmp 0x434c58
mov eax, ebp
lea ecx, [esp + 0x18]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
jbe 0x434d08
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
push ebx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 1
call fcn.0041311b
mov ebx, dword [esp + 0x20]
test ebx, ebx
jne 0x434c93
xor eax, eax
jmp 0x434c99
mov eax, dword [esp + 0x24]
sub eax, ebx
cmp dword [edi + 0x18], 0x10
jb 0x434ca2
mov ebp, dword [ebp]
push ebx
push eax
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x434cf9
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0x494b14
push ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
cmp esi, edi
je 0x434cf9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x10005
mov eax, dword [eax + 0x14]
jb 0x434cf7
ja 0x434cf0
cmp eax, 0x32
jb 0x434cf7
mov esi, 1
jmp 0x434cf9
xor esi, esi
cmp ebx, edi
je 0x434d06
push ebx
call fcn.00466c9d
add esp, 4
xor ebx, ebx
mov ecx, dword [esp + 0x4c]
cmp esi, ebx
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3c]
setne al
pop ebx
xor ecx, esp
call fcn.0044c1c4
add esp, 0x48
ret 4

Function at 0x435200
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x4b9314]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, ebp
mov dword [esp + 0x134], eax
mov ebx, ecx
xor eax, eax
mov byte [esp + 0x28], 0
mov ecx, 0x40
lea edi, [esp + 0x29]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 0x23
lea eax, [esp + 0x30]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4352bf
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0042dcb0
mov ecx, dword [eax + 0x18]
mov edi, 0x10
cmp ecx, edi
jb 0x435269
mov eax, dword [eax + 4]
jmp 0x43526c
add eax, 4
push eax
lea edx, [esp + 0x2c]
push edx
push str._hsWildTangent_hsCacheHotSauce.hsdat
push 0x104
add ebx, 0x6d6
push ebx
call fcn.00434d90
mov esi, eax
mov eax, dword [esp + 0x38]
add esp, 0x14
cmp eax, edi
jb 0x4352a2
mov eax, dword [esp + 0x10]
push eax
call fcn.00466c9d
add esp, 4
test esi, esi
jl 0x4352bf
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, ebp
call fcn.0044c1c4
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x134]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0044c1c4
mov esp, ebp
pop ebp
ret 4
Function at 0x43a220
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push edi
mov edi, ecx
mov al, byte [edi + 4]
test al, al
jne 0x43a24a
push 0x4b8070
lea ecx, [esp + 8]
call fcn.0044c6d4
push 0x4b0994
lea eax, [esp + 8]
push eax
call fcn.0044c159
mov eax, dword [edi + 0x3cc]
xor edx, edx
test eax, eax
jle 0x43a277
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
mov cl, byte [esi]
mov bl, byte [eax]
xor bl, cl
inc esi
mov byte [eax], bl
mov ecx, dword [edi + 0x3cc]
inc eax
inc edx
cmp edx, ecx
jl 0x43a260
pop esi
pop ebx
pop edi
add esp, 0xc
ret 8
Function at 0x43c2e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push 0x104
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x43c30b
movsx ecx, byte [esp]
push ecx
call fcn.0044d362
add esp, 4
test eax, eax
jne 0x43c314
mov al, 0x43
add esp, 0x104
ret
movsx edx, byte [esp]
push edx
call fcn.0044e1c6
add esp, 4
add esp, 0x104
ret

Function at 0x43c420
Capabilities:
Get mac address on windows

Disassembly:
mov eax, 0x2904
call fcn.0044cd40
push ebx
push esi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x110]
xor ebx, ebx
mov dword [esp + 0xc], ebx
push ecx
mov dword [esp + 0x10], 0x2800
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x43c47c
mov esi, dword [esp + 0x2910]
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x494840
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004015a0
mov eax, esi
pop esi
pop ebx
add esp, 0x2904
ret
mov edx, dword [esp + 0x2914]
lea eax, [esp + 0x10c]
xor ecx, ecx
push edi
lea ecx, [ecx]
movzx esi, byte [eax + 0x196]
movzx edi, byte [eax + 0x197]
shl esi, 8
add esi, edi
movzx edi, byte [eax + 0x198]
shl esi, 8
add esi, edi
movzx edi, byte [eax + 0x199]
shl esi, 8
add esi, edi
je 0x43c558
cmp edx, ebx
jl 0x43c4cd
cmp edx, ecx
jne 0x43c55c
movzx edx, byte [eax + 0x199]
movzx ecx, byte [eax + 0x198]
push edx
movzx edx, byte [eax + 0x197]
push ecx
movzx ecx, byte [eax + 0x196]
push edx
movzx edx, byte [eax + 0x195]
movzx eax, byte [eax + 0x194]
push ecx
push edx
push eax
push str._02X__02X__02X__02X__02X__02X
lea ecx, [esp + 0x2c]
push 0x100
push ecx
call fcn.00450ed5
mov esi, dword [esp + 0x2938]
lea eax, [esp + 0x34]
mov byte [esp + 0x133], bl
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
add esp, 0x24
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43c536
sub eax, edx
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.004015a0
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x2904
ret
cmp edx, ecx
je 0x43c567
mov eax, dword [eax]
inc ecx
cmp eax, ebx
jne 0x43c490
mov esi, dword [esp + 0x2914]
mov ecx, esi
push 0x494840
call fcn.00401690
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x2904
ret
Function at 0x43c590
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47aa7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
mov al, byte [ebp + 8]
test al, al
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esi], 0
jne 0x43c60f
push 0x104
lea eax, [esp + 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x43c5e0
mov byte [ebp + 8], 0x43
jmp 0x43c60f
movsx ecx, byte [esp + 0x130]
push ecx
call fcn.0044d362
add esp, 4
test eax, eax
jne 0x43c5fb
mov byte [ebp + 8], 0x43
jmp 0x43c60f
movsx edx, byte [esp + 0x130]
push edx
call fcn.0044e1c6
add esp, 4
mov byte [ebp + 8], al
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov eax, dword [ebp + 8]
push eax
push 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x24c], 0
call fcn.00402600
push 2
push 0x49c56c
lea ecx, [esp + 0x14]
call fcn.00401fe0
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x24]
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0x10]
jae 0x43c670
lea eax, [esp + 0x10]
push 0
push 0
push 0
push 0
push esi
push 0x104
lea ecx, [esp + 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x43c69b
cmp dword [esp + 0x24], edi
jb 0x43c6cc
mov edx, dword [esp + 0x10]
push edx
jmp 0x43c6c4
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c6a2
mov ecx, dword [ebp + 0x10]
sub eax, edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004015a0
cmp dword [esp + 0x24], edi
jb 0x43c6cc
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00466c9d
add esp, 4
mov ecx, dword [esp + 0x23c]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret