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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0051ff50
mov eax, dword [0x5960c0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1008]
push eax
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x1004]
push ecx
lea edx, [ebp - 0x100c]
push edx
push 0
push str.Version
push eax
mov dword [ebp - 0x1008], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x100c]
mov edx, dword [ebp - 0x1008]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
test eax, eax
jne 0x41225b
lea eax, [ebp - 0x1004]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412230
sub eax, edx
push eax
lea eax, [ebp - 0x1004]
push eax
mov ecx, edi
call fcn.00402150
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ac68
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0051ac68
mov esp, ebp
pop ebp
ret

Function at 0x412270
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543c2b
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.0051ff50
mov eax, dword [0x5960c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xfff
lea eax, [ebp - 0x100f]
push 0
push eax
mov byte [ebp - 0x1010], 0
call fcn.00521f30
mov eax, dword [ebp + 8]
add esp, 0xc
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1018]
push ecx
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x1010]
push edx
push eax
push ecx
mov dword [ebp - 0x1018], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edi, eax
xor eax, eax
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x1014]
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.00401ea0
lea eax, [ebp - 0x1014]
push eax
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00405790
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1014]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edi, edi
jne 0x412353
test edx, edx
jg 0x41234c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x412363
test edx, edx
jg 0x412361
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051ac68
mov esp, ebp
pop ebp
ret 4
Function at 0x4124b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5960c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x108], 0
call fcn.00521f30
add esp, 0xc
mov ecx, esi
call fcn.004125e0
test al, al
jne 0x4124fd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ac68
mov esp, ebp
pop ebp
ret
push edi
lea edi, [esi + 4]
push 0x5c
push edi
call fcn.0051c2f0
sub eax, esi
sub eax, 4
push eax
lea ecx, [ebp - 0x108]
push edi
push ecx
call fcn.0051d010
push 0x103
lea edx, [ebp - 0x20b]
push 0
push edx
mov byte [ebp - 0x20c], 0
call fcn.00521f30
add esp, 0x20
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.LngENU.ini
push ebx
push str.LanguageItems
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esi + 0x108]
lea eax, [ebp - 0x108]
mov esi, edx
mov ecx, eax
sub esi, ecx
nop
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x412570
lea edi, [edx - 1]
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x412580
mov ax, word [0x5718c4]
mov word [edi], ax
lea eax, [ebp - 0x20c]
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4125a0
sub eax, esi
dec edx
lea ebx, [ebx]
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x4125b0
mov ecx, eax
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0051ac68
mov esp, ebp
pop ebp
ret
Function at 0x4126b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2814
call fcn.0051ff50
mov eax, dword [0x5960c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x2814], eax
call fcn.004125e0
test al, al
jne 0x4126f2
mov eax, 0x5722cf
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ac68
mov esp, ebp
pop ebp
ret 4
lea eax, [esi + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4126f8
sub eax, edx
cmp eax, 3
jb 0x4126dc
xor eax, eax
mov byte [ebp - 0x10], cl
mov ecx, esi
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
call fcn.00412800
lea edx, [ebp - 0x10]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x412724
push ebx
lea ebx, [ebp - 0x10]
mov ecx, esi
call fcn.004124b0
pop ebx
test al, al
je 0x4126dc
add esi, 0x108
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412750
sub eax, edx
cmp eax, 3
jb 0x4126dc
push 0x27ff
mov byte [ebp - 0x2810], cl
lea ecx, [ebp - 0x280f]
push 0
push ecx
call fcn.00521f30
mov eax, dword [ebp - 0x2814]
add esp, 0xc
push esi
push 0x2800
lea edx, [ebp - 0x2810]
push edx
push 0x5722cf
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2800
push 0
push 0x5a3860
call fcn.00521f30
add esp, 0xc
mov dword [0x599944], 0x5a3860
xor eax, eax
jmp 0x4127d0
mov cl, byte [ebp + eax - 0x2810]
mov byte [eax + 0x5a3860], cl
inc eax
test cl, cl
jne 0x4127d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x5a3860
pop esi
call fcn.0051ac68
mov esp, ebp
pop ebp
ret 4

Function at 0x412800
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5960c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.004125e0
test al, al
jne 0x412833
mov eax, 0x5722cf
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ac68
mov esp, ebp
pop ebp
ret
add esi, 4
mov eax, esi
lea edx, [eax + 1]
jmp 0x412840
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412840
sub eax, edx
cmp eax, 3
jb 0x41281f
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], cl
call fcn.00521f30
add esp, 0xc
push esi
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0x5722cf
push str.Default
push str.Language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x599948], 0x5a6060
xor eax, eax
mov edi, edi
mov cl, byte [ebp + eax - 0x108]
mov byte [eax + 0x5a6060], cl
inc eax
test cl, cl
jne 0x4128a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x5a6060
pop esi
call fcn.0051ac68
mov esp, ebp
pop ebp
ret
Function at 0x412970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
je 0x412a1a
cmp dword [ebp + 0x10], 0
je 0x412a1a
push edi
push 0x201
mov esi, 0x200
call fcn.0041afeb
add esp, 4
mov edi, eax
mov eax, 0x5722cf
test ebx, ebx
je 0x4129a8
mov eax, ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp + 0xc]
push edx
push 0x200
push edi
push eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
inc eax
cmp eax, 0x200
jb 0x412a12
lea esp, [esp]
push edi
add esi, 0x200
call fcn.0041aff6
lea edx, [esi + 1]
push edx
call fcn.0041afeb
add esp, 8
mov edi, eax
mov eax, 0x5722cf
test ebx, ebx
je 0x4129f5
mov eax, ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp + 0xc]
push edx
push esi
push edi
push eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
inc eax
cmp eax, esi
jae 0x4129d0
mov eax, edi
pop edi
pop esi
pop ebp
ret 0xc
test ebx, ebx
jne 0x412a31
push 1
call fcn.0041afeb
mov esi, eax
add esp, 4
mov byte [esi], bl
pop esi
pop ebp
ret 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412a36
sub eax, edx
inc eax
push eax
call fcn.0041afeb
mov esi, eax
mov eax, ebx
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412a50
sub eax, edx
push ebx
inc eax
push eax
push esi
call fcn.0051bd53
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x412c50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x58ac50
push 0x522520
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x5960c0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x15c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x150], eax
or esi, 0xffffffff
mov dword [ebp - 0x158], esi
xor ebx, ebx
mov dword [ebp - 0x160], ebx
push 0x124
push ebx
lea ecx, [ebp - 0x148]
push ecx
call fcn.00521f30
add esp, 0xc
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x14c], 0x128
mov dword [ebp - 4], ebx
mov dword [edi], ebx
push ebx
call fcn.0051bfb0
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x412d35
mov ebx, 8
mov dword [ebp - 0x154], ebx
push 0x573560
push ebx
push 2
push 0x812
push str.YWAssistant.c
push str.W_GetRunningProcesses
call fcn.004132b0
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
call fcn.00412e06
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0051ac68
mov esp, ebp
pop ebp
ret
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x158], esi
cmp esi, 0xffffffff
jne 0x412d61
push 0x5735d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
push 0x819
jmp 0x412cf9
lea edx, [ebp - 0x14c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
nop
test eax, eax
je 0x412d0b
mov byte [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x23], eax
mov word [ebp - 0x1f], ax
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x144]
push eax
push 0x5722cc
lea ecx, [ebp - 0x24]
push ecx
call fcn.0051be1f
lea edx, [ebp - 0x128]
push edx
push edi
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x150]
call fcn.00412a70
add esp, 0x14
mov ebx, eax
mov dword [ebp - 0x154], ebx
test ebx, ebx
jne 0x412d0b
push 0x128
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00521f30
add esp, 0xc
mov dword [ebp - 0x14c], 0x128
lea ecx, [ebp - 0x14c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x412d70
Function at 0x412e70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x58abb8
push 0x522520
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5960c0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
xor ebx, ebx
mov dword [ebp - 0x230], ebx
mov byte [ebp - 0x228], bl
push 0x200
push ebx
lea eax, [ebp - 0x227]
push eax
call fcn.00521f30
add esp, 0xc
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], 2
mov dword [ebp - 0x22c], ebx
cmp esi, ebx
jne 0x412eef
lea eax, [ebx + 0x57]
jmp 0x41304c
mov dword [ebp - 4], ebx
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomains
push str._s_s
push 0x200
lea ecx, [ebp - 0x228]
push ecx
call fcn.0051bea3
add esp, 0x14
lea edx, [ebp - 0x22c]
push edx
push 0xf003f
push ebx
lea eax, [ebp - 0x228]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x230], eax
cmp eax, ebx
jne 0x412f5a
push esi
push 0x5735fc
push ebx
push 4
push 0x8ab
push str.YWAssistant.c
push str.B_AddTrustSiteDNS
call fcn.004132b0
add esp, 0x1c
mov eax, dword [ebp - 0x22c]
cmp eax, ebx
je 0x412f71
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x22c], ebx
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x22c]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x228]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
mov dword [ebp - 0x230], esi
cmp esi, ebx
je 0x412fbc
lea ecx, [ebp - 0x228]
push ecx
push 0x57362c
push esi
push 2
push 0x8b7
jmp 0x41302c
push 4
cmp edi, ebx
je 0x412ff6
lea edx, [ebp - 0x234]
push edx
push 4
push ebx
push edi
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov dword [ebp - 0x230], esi
cmp esi, ebx
je 0x41303e
push edi
push 0x573644
push esi
push 2
push 0x8be
jmp 0x41302c
lea ecx, [ebp - 0x234]
push ecx
push 4
push ebx
push 0x572f94
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov dword [ebp - 0x230], esi
cmp esi, ebx
je 0x41303e
push ebx
push 0x573644
push esi
push 2
push 0x8c4
push str.YWAssistant.c
push str.B_AddTrustSiteDNS
call fcn.004132b0
add esp, 0x1c
mov dword [ebp - 4], 0xfffffffe
call fcn.00413070
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0051ac68
mov esp, ebp
pop ebp
ret
Function at 0x413100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x5960c0]
xor eax, esp
mov dword [esp + 0x230], eax
cmp dword [0x5a061c], 0
push esi
jne 0x413287
push 0x104
lea eax, [esp + 0x25]
push 0
push eax
mov byte [esp + 0x2c], 0
call fcn.00521f30
push 0x104
lea ecx, [esp + 0x139]
push 0
push ecx
mov byte [esp + 0x140], 0
call fcn.00521f30
push str.Chinese_simplified
push 0
call fcn.0051e370
add esp, 0x20
lea edx, [esp + 0x20]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x104
lea eax, [esp + 0x12c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x128]
push 0x5c
push ecx
call fcn.0051bc1f
mov esi, eax
add esp, 8
test esi, esi
jne 0x4131af
lea esi, [esp + 0x128]
jmp 0x4131b0
inc esi
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x573668
push esi
lea ecx, [esp + 0x28]
push ecx
push str._s_s__s
push 0x104
push 0x5a0930
call fcn.0051bea3
push 0x573668
push esi
lea edx, [esp + 0x40]
push edx
push str._s_s__s
push 0x104
push 0x5a0b3a
call fcn.0051bea3
push 0x573668
push esi
lea eax, [esp + 0x58]
push eax
push str._s_s__s
push 0x104
push 0x5a0a35
call fcn.0051bea3
add esp, 0x48
push 0x573668
push esi
lea ecx, [esp + 0x28]
push ecx
push str._s_s__s
push 0x104
push 0x5a0c3f
call fcn.0051bea3
push 0x573654
push esi
lea edx, [esp + 0x40]
push edx
push str._s_s__s
push 0x104
push 0x5a0d44
call fcn.0051bea3
add esp, 0x30
lea eax, [esp + 8]
push eax
mov dword [0x5a061c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x234]
imul eax, eax, 0x105
pop esi
xor ecx, esp
add eax, 0x5a0930
call fcn.0051ac68
mov esp, ebp
pop ebp
ret

Function at 0x413750
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
je 0x41379c
push edi
call fcn.0041afeb
mov ecx, dword [ebp - 4]
add esp, 4
push eax
push edi
push ecx
push ebx
mov dword [esi], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
mov edx, dword [esi]
test eax, eax
jne 0x4137a3
push edx
call fcn.0041aff6
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push str.VarFileInfoTranslation
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x4137c0
mov eax, dword [esi]
push eax
jmp 0x413787
mov eax, dword [ebp - 8]
movzx ecx, word [eax]
movzx edx, word [eax + 2]
shl ecx, 0x10
or ecx, edx
mov dword [esi + 4], ecx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x413b70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5960c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1fc
xor esi, esi
push esi
push 0x599590
mov dword [0x5a092c], 0x599588
call fcn.00521f30
push 0x90
lea eax, [ebp - 0x94]
push esi
push eax
mov dword [0x599798], esi
mov dword [0x59979c], 1
mov dword [0x5997a0], 1
mov dword [0x5997d8], esi
mov dword [0x5997dc], 1
mov dword [0x5997a4], esi
mov dword [0x5997bc], esi
mov dword [0x5997d4], esi
mov dword [0x599794], esi
mov dword [0x5997e0], esi
mov dword [ebp - 0x98], 0x94
call fcn.00521f30
add esp, 0x18
lea ecx, [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x413c3f
cmp dword [ebp - 0x94], 5
jb 0x413c3f
mov eax, 1
mov dword [0x5997a8], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ac68
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [0x5997a8], esi
xor ecx, ebp
pop esi
call fcn.0051ac68
mov esp, ebp
pop ebp
ret

Function at 0x414400
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5960c0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je 0x414448
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push 0x414330
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ac68
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
push 5
mov dword [ebp - 0x28], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x4144c0
mov eax, dword [ebp - 0x1c]
cmp eax, 3
ja case.default.0x414467
jmp dword [eax*4 + 0x4144f0]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi], edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ac68
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [esi + 4], ecx
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], edx
mov dword [esi], ecx
mov dword [esi + 8], eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ac68
mov esp, ebp
pop ebp
ret
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub edx, 0x96
sub eax, 0x1e
mov dword [esi + 4], eax
mov dword [esi], edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0051ac68
mov esp, ebp
pop ebp
ret
Function at 0x414570
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5960c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
lea eax, [ebp - 0xc]
push eax
push 8
push 0x48
mov dword [ebp - 0xc], 8
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp dword [ebp - 8], 0
je 0x4145c1
lea ecx, [ebp - 0x24]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea esi, [ebp - 0x14]
call fcn.00414400
mov edx, esi
push edx
lea eax, [ebp - 0x24]
push eax
push 3
push edi
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
push edi
call fcn.00414500
add esp, 4
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 1
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0051ac68
mov esp, ebp
pop ebp
ret

Function at 0x415be0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x415bef
xor eax, eax
pop esi
ret 0xc
mov eax, dword [section..data]
test eax, eax
je 0x415bfd
call fcn.00415a90
mov edx, dword [esp + 0x10]
cmp edx, 8
mov eax, dword [esp + 8]
not eax
jb 0x415cf1
push ebx
push edi
mov edi, edx
shr edi, 3
xor ecx, ecx
mov cl, byte [esi]
mov ebx, eax
shr ebx, 8
sub edx, 8
xor ecx, eax
and ecx, 0xff
mov eax, dword [ecx*4 + 0x5999c0]
xor eax, ebx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5999c0]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x5999c0]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5999c0]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x5999c0]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5999c0]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x5999c0]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5999c0]
shr eax, 8
xor eax, ecx
inc esi
dec edi
jne 0x415c17
pop edi
pop ebx
test edx, edx
je 0x415d11
xor ecx, ecx
mov cl, byte [esi]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5999c0]
shr eax, 8
xor eax, ecx
inc esi
dec edx
jne 0x415cf5
not eax
pop esi
ret 0xc
Function at 0x424462
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4244aa
call fcn.004311c9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4244aa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4244ed
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4244d6
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4244d6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x4244ea
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x425f52
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.004311c9
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x425f8b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00425b94
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x425fe9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x42600d
cmp dword [edi + 0x74], 0
jne 0x42600d
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.004311c9
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00425faa
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8