joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ed3e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push 0x430934
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.AllocateAndInitializeSid
push edi
call esi
push 0x430960
push edi
mov dword [ebp - 0xc], eax
call esi
push 0x430974
push edi
mov dword [ebp - 0x18], eax
call esi
push str.EqualSid
push edi
mov dword [ebp - 0x10], eax
call esi
push str.FreeSid
push edi
mov dword [ebp - 0x1c], eax
call esi
xor ebx, ebx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 0x28], bl
mov byte [ebp - 0x27], bl
mov byte [ebp - 0x26], bl
mov byte [ebp - 0x25], bl
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x23], 5
mov dword [ebp - 0x14], ebx
call dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push 8
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x18]
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 2
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.004122be
pop ecx
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push esi
push 2
push dword [ebp - 8]
call dword [ebp - 0x10]
mov dword [ebp - 0x10], ebx
cmp dword [esi], ebx
jbe 0x40ee2c
lea eax, [esi + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push dword [eax]
push dword [ebp - 0x14]
call dword [ebp - 0x1c]
test eax, eax
jne 0x40ee2c
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], 8
cmp eax, dword [esi]
jb 0x40ee0f
mov ecx, dword [ebp - 0x20]
xor eax, eax
cmp ecx, dword [esi]
push esi
setne al
mov dword [ebp - 0x1c], eax
call fcn.00412388
pop ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call dword [ebp - 0x20]
cmp edi, ebx
je 0x40ee5a
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ee62
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x9c
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.00411920
add esp, 0xc
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x40eea6
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x94
call esi
test eax, eax
je 0x40eec2
cmp dword [ebp - 0x14], 2
jne 0x40eebf
cmp dword [ebp - 0x20], 6
jae 0x40eebf
cmp dword [ebp - 0x20], 4
jb 0x40eebf
call fcn.0040ed3e
jmp 0x40eec2
xor eax, eax
inc eax
pop esi
add ebp, 0x78
leave
ret
Function at 0x40f1c7
Capabilities:
Get common file path
Query environment variable
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.00411771
lea eax, [ebp - 0xc]
push eax
call fcn.00411483
xor edi, edi
pop ecx
pop ecx
mov byte [ebp - 0x210], 0
cmp eax, edi
je 0x40f214
push eax
call fcn.00411c20
pop ecx
cmp eax, edi
je 0x40f214
push eax
lea eax, [ebp - 0x210]
push str._n_s::
push eax
call fcn.00413996
add esp, 0xc
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x110]
push eax
push str.TMPDIR
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
test eax, eax
lea eax, [ebp - 0x110]
jne 0x40f246
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x40f24e
push 0x430f60
push eax
call esi
push str.jusched.log
lea eax, [ebp - 0x110]
push eax
call esi
push edi
push 0x80
push 4
push edi
push 2
push 0x40000000
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40f2c9
push 2
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x210]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
call edi
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call esi
push eax
push dword [ebp + 8]
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40f451
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push edi
push 7
pop ecx
xor ebx, ebx
xor eax, eax
mov byte [ebp - 0x28], bl
lea edi, [ebp - 0x27]
rep stosd dword es:[edi], eax
push 7
stosb byte es:[edi], al
pop ecx
xor eax, eax
mov byte [ebp - 0x48], bl
lea edi, [ebp - 0x47]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push 0x431000
push 0x80000002
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40f49e
xor eax, eax
pop edi
pop ebx
leave
ret
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x40f498
push esi
xor esi, esi
cmp dword [ebp - 4], ebx
jbe 0x40f4fd
push 0x1e
lea eax, [ebp - 0x48]
push eax
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x40f514
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040f3c0
pop ecx
pop ecx
test eax, eax
jge 0x40f4f7
xor eax, eax
mov cl, byte [ebp + eax - 0x48]
mov byte [ebp + eax - 0x28], cl
inc eax
cmp cl, bl
jne 0x40f4ea
inc esi
cmp esi, dword [ebp - 4]
jb 0x40f4c1
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x28]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x40f507
xor ebx, ebx
inc ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop esi
jmp 0x40f49a
Function at 0x40f525
Capabilities:
Check os version

Disassembly:
push 0xa4
push 0x435930
call fcn.00410df4
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xb4], 0x94
push 0x90
push esi
lea eax, [ebp - 0xb0]
push eax
call fcn.00411920
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa4], 2
jne 0x40f5af
cmp dword [ebp - 0xb0], 5
jb 0x40f5af
mov dword [ebp - 4], esi
push 0x431084
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x40f5a6
push 0x431090
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f5a6
mov dword [ebp - 0x20], 1
or dword [ebp - 4], 0xffffffff
call fcn.0040f5ba
mov eax, dword [ebp - 0x20]
call fcn.00410e2f
ret

Function at 0x40f669
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push 0x431100
push 0x80000002
mov dword [ebp - 8], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40f6ca
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
push esi
push esi
push str.ITCONFIG
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x40f6ca
movzx esi, byte [ebp - 0x208]
mov eax, esi
pop esi
leave
ret

Function at 0x40f6e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
xor esi, esi
mov dword [ebp - 4], 0x200
call fcn.0040f6cf
test eax, eax
jne 0x40f784
call fcn.0040eab3
test eax, eax
je 0x40f784
lea eax, [ebp - 0xc]
push eax
push 1
push esi
push 0x431134
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40f787
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x43115c
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xc]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x40f787
mov dword [ebp - 8], esi
call fcn.0040f525
test eax, eax
je 0x40f779
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x20c]
push eax
call fcn.0040f5c9
mov eax, dword [ebp - 8]
add esp, 0x10
jmp 0x40f77f
mov eax, dword [ebp - 0x20c]
cmp eax, 0x64
jne 0x40f787
xor esi, esi
inc esi
mov eax, esi
pop esi
leave
ret
Function at 0x40f93f
Capabilities:
Get common file path
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
push ebx
push esi
push 0x3c
pop esi
xor ebx, ebx
push esi
lea eax, [ebp - 0x3c]
push ebx
push eax
mov byte [ebp - 0x240], bl
call fcn.00411920
lea eax, [ebp - 0x640]
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0xc], 0x400
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, ebx
je 0x40f9c6
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x140]
push eax
push ebx
lea eax, [ebp - 0x640]
push ebx
push eax
call fcn.00414ef7
lea eax, [ebp - 0x140]
push 0x431244
push eax
call fcn.00414370
add esp, 0x1c
test eax, eax
je 0x40f9e6
push 1
push dword [ebp + 8]
call fcn.0040f908
push eax
lea eax, [ebp - 0x140]
push str.jupdate__x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push dword [ebp + 0xc]
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x140]
push eax
push dword [ebp + 0xc]
call esi
lea eax, [ebp - 0x240]
push eax
push dword [ebp + 0xc]
call esi
pop esi
pop ebx
leave
ret

Function at 0x40fb0d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
xor esi, esi
inc esi
push esi
xor ebx, ebx
push ebx
push 0x42fd68
push dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40fbc7
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x42fd94
push dword [ebp - 4]
mov dword [ebp + 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40fbbe
push 0x3ff
lea eax, [ebp - 0x40f]
push ebx
push eax
mov byte [ebp - 0x410], bl
call fcn.00411920
push dword [ebp + 0xc]
lea eax, [ebp - 0x410]
push dword [ebp - 4]
push str.EnableJavaFXAutoUpdate
push str.GetJavaFXUpdateEnabled:__s_hKey:__d_setting:__d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x410]
push eax
call fcn.0040f1c7
add esp, 0x24
cmp dword [ebp + 0xc], ebx
jne 0x40fbbc
mov dword [ebp - 8], ebx
mov dword [edi], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40fc9e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [ebp + 8]
push ebx
push edi
xor ebx, ebx
xor edi, edi
inc edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp eax, ebx
jne 0x40fce9
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x42ff50
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 4], ebx
je 0x40fce2
mov dword [ebp - 8], edi
jmp 0x40fcec
xor eax, eax
jmp 0x40fd6c
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x14]
lea eax, [ebp + 8]
push dword [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, ebx
jne 0x40fd0f
mov dword [ebp - 0xc], edi
jmp 0x40fd5a
cmp esi, 2
je 0x40fd5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x3ff
mov edi, eax
lea eax, [ebp - 0x40b]
push ebx
push eax
mov byte [ebp - 0x40c], bl
call fcn.00411920
push edi
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x40c]
push str.RegQueryValueEx__s_:_Error:_d__ErrorCode:_d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x40c]
push eax
call fcn.0040f1c7
add esp, 0x24
pop esi
cmp dword [ebp - 8], ebx
je 0x40fd69
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop edi
pop ebx
leave
ret

Function at 0x40fd70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp + 8], eax
test eax, eax
jne 0x40fd9e
lea eax, [ebp + 8]
push eax
push 0x20019
call fcn.0040fbff
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x40fdd3
inc edi
push dword [ebp + 0x14]
and dword [ebp - 4], 0
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test edi, edi
je 0x40fdcf
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40fdd3
mov esi, eax
test esi, esi
je 0x40fe12
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.00411920
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push str.GetJavaFXUpdateKey__s_:_Error:_d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x404]
push eax
call fcn.0040f1c7
add esp, 0x20
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x4102e4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp + 8], eax
test eax, eax
jne 0x410312
lea eax, [ebp + 8]
push eax
push 0x2001f
call fcn.0040fbff
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x410341
inc edi
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test edi, edi
je 0x41033d
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x410341
mov esi, eax
test esi, esi
je 0x410380
push 0x3ff
lea eax, [ebp - 0x3ff]
push 0
push eax
mov byte [ebp - 0x400], 0
call fcn.00411920
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x400]
push str.SetJavaFXUpdateDwordKey:__s_Error:_d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x400]
push eax
call fcn.0040f1c7
add esp, 0x20
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x4106de
Capabilities:
Get common file path
Query environment variable
Write file on windows

Disassembly:
call fcn.00410613
test eax, eax
je 0x4106ec
jmp fcn.0040f1c7
ret

Function at 0x410b20
Capabilities:
Delete file
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
push edi
mov edi, 0x400
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.004106ed
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ecx
pop ecx
test eax, eax
jl 0x410b53
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x414]
push eax
call fcn.00410913
pop ecx
test eax, eax
je 0x410b7c
lea eax, [ebp - 0x414]
push eax
push eax
call fcn.0040f93f
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push eax
call esi
call fcn.0040ebee
xor esi, esi
push esi
push str.PreDownldStatus
push esi
call fcn.0040e911
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esp, 0xc
push edi
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 4], esi
push esi
mov esi, 0x80000003
jmp 0x410c17
inc dword [ebp - 4]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push 0x20019
lea eax, [ebp - 0x414]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0040108b
lea ecx, [ebp - 0xc]
test eax, eax
jne 0x410bff
push 0x2001f
push 0x43069c
push dword [ebp - 0x14]
call fcn.0040108b
test eax, eax
jne 0x410bfc
push str.VersionXmlURL
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [ebp - 0xc]
call fcn.00401070
lea ecx, [ebp - 0x14]
call fcn.00401070
push edi
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 4]
push esi
call ebx
test eax, eax
je 0x410bab
pop edi
pop esi
pop ebx
leave
ret

Function at 0x417a87
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x438f8c]
jne 0x417a91
repz ret
jmp fcn.00420a22
Function at 0x423bd0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00416890
and dword [ebp - 4], 0
cmp dword [0x43aebc], 0
mov ebx, eax
jne 0x423c81
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x423d32
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4338b4
push edi
call esi
test eax, eax
je 0x423d32
push eax
call fcn.0041681e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43aebc], eax
call esi
push eax
call fcn.0041681e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43aec0], eax
call esi
push eax
call fcn.0041681e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43aec4], eax
call esi
push eax
call fcn.0041681e
pop ecx
mov dword [0x43aecc], eax
test eax, eax
je 0x423c81
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041681e
pop ecx
mov dword [0x43aec8], eax
mov eax, dword [0x43aec8]
cmp eax, ebx
je 0x423cd9
cmp dword [0x43aecc], ebx
je 0x423cd9
push eax
call fcn.00416899
push dword [0x43aecc]
mov esi, eax
call fcn.00416899
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423cd9
test edi, edi
je 0x423cd9
call esi
test eax, eax
je 0x423cd0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423cd0
test byte [ebp - 0xc], 1
jne 0x423cd9
or dword [ebp + 0x10], 0x200000
jmp 0x423d12
mov eax, dword [0x43aec0]
cmp eax, ebx
je 0x423d12
push eax
call fcn.00416899
pop ecx
test eax, eax
je 0x423d12
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x423d12
mov eax, dword [0x43aec4]
cmp eax, ebx
je 0x423d12
push eax
call fcn.00416899
pop ecx
test eax, eax
je 0x423d12
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43aebc]
call fcn.00416899
pop ecx
test eax, eax
je 0x423d32
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x423d34
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x10740cb6
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
add eax, edx
pushal
lea eax, [ebx + eax*4]
push dword [esp]
mov byte [esp + 4], 0x2e
lea esp, [esp + 0x40]
jge 0x102eb16c
call fcn.1022481c
jmp fcn.102eb87f
Function at 0x406c70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460094], 0
jne 0x406cae
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406c84
mov dword [ecx*4 + 0x460090], eax
inc ecx
cmp ecx, 0x100
jl 0x406c7f
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406cdb
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460090]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406cbc
not eax
pop ebp
ret 0xc

Function at 0x43d231
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x43d240
pop dword [ebp - 0x34]
mov eax, 0x43d240
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x507db
push 0
mov eax, 0xc84bad04
sub eax, 0xc806fa54
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x6d557f3
sub ecx, 0x6d50e65
xor edi, edi
add edi, eax
mov ebx, 0x33e60de7
add ebx, 0xcc615019
add ebx, dword [ebp - 0x34]
mov edx, 0xba653ac9
add dword [ebp - 0x20], esi
mov esi, dword [ebx]
add dword [ebp - 0x2c], 0xbc3f6d68
add esi, edx
xor dword [ebp - 0x14], 0xef3c3fc5
mov dword [edi], esi
xor dword [ebp - 0x2c], edi
add edi, 4
add ebx, 0x6c4081a1
sub ebx, 0x6c40819d
loop 0x43d296
add eax, 0xacf1015c
sub eax, 0xacefe851
mov ebx, eax
add eax, 0x7df64259
add eax, 0x8209bdac
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret