joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41210d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x412132
call fcn.00401371
push eax
mov ecx, ebx
call fcn.00401791
jmp 0x4121f8
push esi
push edi
push str.SystemTemp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 0x24
call fcn.00403e34
push str.GoogleTemp
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x26
call fcn.00403e34
lea esi, [ebp - 0x24]
mov byte [ebp - 0x10], 1
mov dword [ebp - 8], esi
call fcn.00401371
push eax
lea ecx, [ebp - 4]
call fcn.00401791
mov ecx, dword [esi]
lea eax, [ebp - 4]
lea edx, [esi + 4]
push eax
movzx eax, byte [edx + 4]
push eax
call fcn.0041206c
mov esi, dword [ebp - 4]
pop ecx
pop ecx
test eax, eax
js 0x4121bc
mov ecx, esi
call fcn.004030fd
test al, al
je 0x4121bc
push ecx
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.0040318b
mov edi, dword [ebp - 0xc]
pop ecx
cmp dword [edi - 0xc], 0
jne 0x4121fd
lea ecx, [edi - 0x10]
call fcn.004015ce
lea ecx, [esi - 0x10]
call fcn.004015ce
mov esi, dword [ebp - 8]
lea eax, [ebp - 0xc]
add esi, 0xc
mov dword [ebp - 8], esi
cmp esi, eax
jne 0x41216a
call fcn.00401371
push eax
mov ecx, ebx
call fcn.00401791
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.0040749e
sub esi, 1
jne 0x4121e7
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
call fcn.004017ba
add eax, 0x10
lea ecx, [edi - 0x10]
mov dword [ebx], eax
call fcn.004015ce
lea ecx, [esi - 0x10]
call fcn.004015ce
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.0040749e
sub esi, 1
jne 0x412227
jmp 0x4121f6

Function at 0x413574
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
xor ebx, ebx
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.00417a50
add esp, 0xc
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x4135d8
push ecx
lea ecx, [ebp - 0x204]
call fcn.00404f0f
pop ecx
test al, al
je 0x4135d8
mov al, 1
jmp 0x41361d
push esi
lea eax, [ebp - 0x208]
mov dword [ebp - 0x208], ebx
push eax
push 0x64
push ebx
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov esi, dword [ebp - 0x208]
test eax, eax
jne 0x413613
cmp dword [esi + 8], ebx
je 0x413613
push 0x43da4c
push dword [esi + 8]
call fcn.00426894
pop ecx
pop ecx
test eax, eax
jne 0x413613
mov bl, 1
push esi
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov al, bl
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00416ed9
leave
ret
Function at 0x41424d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.00401371
push eax
lea ecx, [ebp - 4]
call fcn.00401791
push dword [esi]
lea eax, [ebp - 4]
push str.__s__r_n
push eax
call fcn.00408b67
mov esi, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x4142ae
push dword [eax + 0x14]
push dword [eax + 0x10]
lea eax, [ebp - 4]
push str._s_s_r_n
push eax
call fcn.00408b67
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.00403ff7
mov eax, dword [ebp + 8]
cmp eax, dword [esi]
jne 0x414288
mov esi, dword [ebp - 4]
lea ecx, [ebp - 8]
xor edi, edi
push edi
mov dword [ebp - 8], edi
mov eax, dword [esi - 0xc]
push ecx
add eax, eax
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4142d4
call fcn.00409033
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.004015ce
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x414701
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor edi, edi
mov byte [ebp - 1], cl
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.004142e3
test eax, eax
js 0x414823
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
je 0x414823
call fcn.00412c14
cmp byte [ebp - 1], 0
mov eax, str.HKLMSoftwareGoogleUpdate_
jne 0x414749
mov eax, str.HKCUSoftwareGoogleUpdate_
push eax
lea ecx, [ebp - 8]
call fcn.00403e34
push 0x43e9d0
lea ecx, [ebp - 0xc]
call fcn.00403e34
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.0040380e
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.004015e6
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.004084d2
test al, al
jne 0x4147aa
mov cl, byte [ebp - 1]
mov dl, 1
call fcn.00414835
mov edi, eax
jmp 0x414815
push 1
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x43b6d0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x200
call fcn.00407feb
mov edi, eax
test edi, edi
js 0x414806
mov eax, dword [ebp - 0x1c]
xor edi, edi
sub ebx, eax
sar ebx, 2
test ebx, ebx
je 0x4147fa
push 0
push 0
push 0
push 0
push dword [eax + edi*4]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41481f
mov eax, dword [ebp - 0x1c]
inc edi
cmp edi, ebx
jb 0x4147da
mov cl, byte [ebp - 1]
xor dl, dl
call fcn.00414835
mov edi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x43b6d0
call fcn.00407e8d
lea ecx, [esi - 0x10]
call fcn.004015ce
jmp 0x414826
xor edi, edi
jmp 0x414806
xor edi, edi
inc edi
lea ecx, [ebp - 0x1c]
call fcn.00404b8e
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4149e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, cl
push esi
push edi
test bl, bl
je 0x414a14
call fcn.004155fc
test al, al
je 0x414a14
mov eax, 0x80004005
jmp 0x414b74
xor esi, esi
mov dword [ebp - 0x1c], 0x43c518
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], esi
mov cl, bl
call fcn.00414580
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call dword [eax + 4]
mov dword [ebp - 0x2c], 0x43b6d0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0x200
call fcn.00412c14
mov eax, str.HKLMSoftwareGoogleUpdate_
test bl, bl
jne 0x414a57
mov eax, str.HKCUSoftwareGoogleUpdate_
push esi
push ecx
push 0xf003f
push ecx
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407f38
mov edi, eax
test edi, edi
js 0x414b52
push esi
push esi
push esi
push esi
push 0x43e9d0
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414a90
mov edi, esi
jmp 0x414b52
call fcn.00401371
push eax
lea ecx, [ebp - 0x20]
call fcn.00401791
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x414ad8
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.00403794
push eax
lea ecx, [ebp - 0x20]
call fcn.004015e6
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov eax, esi
test eax, eax
mov esi, dword [ebp - 0x20]
js 0x414b48
xor edi, edi
lea ecx, [ebp - 0x2c]
inc edi
push edi
push esi
push 0x43e9d0
call fcn.0040846c
test eax, eax
js 0x414b48
mov ecx, 0x442c90
call fcn.00409beb
lea ecx, [ebp - 0x2c]
call fcn.00414991
xor eax, eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call fcn.004142e3
test eax, eax
js 0x414b3e
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x414b3e
sub esp, 0xc
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.0041376f
mov cl, bl
call fcn.004145e1
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x10]
call fcn.00404b8e
jmp 0x414b4a
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.004015ce
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x43b6d0
call fcn.00407e8d
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call dword [eax + 8]
lea ecx, [ebp - 0x1c]
call fcn.00407cfe
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416ed9
leave
ret
Function at 0x414cea
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x414cfa
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x414d00
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x414d28
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x43a600]
test ax, ax
jne 0x414d0f
mov esi, ecx
jmp 0x414d2b
movzx esi, si
pop edi
cmp cx, si
je 0x414d48
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x43a600]
test cx, cx
jne 0x414d2c
mov eax, 0x4390f8
jmp 0x414d50
imul eax, edx, 0x1a
add eax, 0x43a602
push eax
mov ecx, ebx
call fcn.00403e34
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4159c7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x442c1c
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x442c1c
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
and dword [esi + 0x18], 0
and dword [esi + 0x1c], 0
mov dword [ebp + 8], eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 8], 0
jne 0x415a09
test ebx, ebx
je 0x415a67
lea ebx, [edi + 0x1c]
mov ecx, edi
push ebx
push str.Counts
call fcn.0041599e
test al, al
je 0x415a67
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.0040542a
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x10]
xor edi, edi
mov edx, esi
push eax
mov ecx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.00415c90
mov eax, dword [ebp + 8]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
pop ecx
push 8
push eax
push 3
push edi
push esi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.004015ce
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x415a6e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x442008]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x442c1c
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 8
pop ecx
lea eax, [esi + 0x18]
push 0x20
mov esi, eax
lea edi, [esp + 0x34]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00417a50
add esp, 0xc
push 0x442c1c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x30], 0
je 0x415b9f
lea edi, [ebx + 0x28]
mov ecx, ebx
push edi
push str.Timings
call fcn.0041599e
test al, al
je 0x415b9f
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push dword [eax + 4]
call fcn.0040542a
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov edx, esi
mov ecx, edi
call fcn.00415cdc
pop ecx
test al, al
jne 0x415b1f
push 0x20
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00418ea0
add esp, 0xc
jmp 0x415b83
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
adc dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x24]
jg 0x415b4d
mov eax, dword [esp + 0x40]
jl 0x415b55
cmp eax, dword [esp + 0x20]
jb 0x415b55
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x2c], ecx
jg 0x415b73
mov eax, dword [esp + 0x48]
jl 0x415b7b
cmp dword [esp + 0x28], eax
jb 0x415b7b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
push 0x20
lea eax, [esp + 0x14]
push eax
push 3
push 0
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.004015ce
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00416ed9
mov esp, ebp
pop ebp
ret 4

Function at 0x415c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 8
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415cc9
cmp dword [ebp - 8], 3
jne 0x415cc9
test eax, eax
jne 0x415cc9
cmp dword [ebp - 4], esi
jne 0x415cc9
mov al, 1
jmp 0x415cd9
push esi
push 0
push dword [ebp + 8]
call fcn.00417a50
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x415cdc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x20
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415d15
cmp dword [ebp - 8], 3
jne 0x415d15
test eax, eax
jne 0x415d15
cmp dword [ebp - 4], esi
jne 0x415d15
mov al, 1
jmp 0x415d25
push esi
push 0
push dword [ebp + 8]
call fcn.00417a50
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x416c58
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
sub esp, 0xc
lea edx, [ebx + 0x1c]
lea ecx, [ebx + 0x40]
mov esi, eax
lea eax, [ebx + 0x38]
push edx
push ecx
lea ecx, [ebx + 0x3c]
push ecx
push eax
push edi
push esi
push ecx
lea ecx, [ebp - 0x88]
call fcn.00416b19
lea ecx, [ebp - 0x30]
call fcn.0040f772
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push 0x2c
mov eax, ecx
mov dword [ebp - 4], esi
push eax
push 0x2c
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x416d1b
cmp dword [ebp - 0x30], 2
jne 0x416d1b
cmp dword [ebp - 0x2c], esi
je 0x416d1b
cmp dword [ebp - 0x10], esi
je 0x416d1b
cmp dword [ebp - 0xc], esi
je 0x416d1b
cmp dword [ebp - 8], esi
je 0x416d1b
lea ecx, [ebp - 0x5c]
call fcn.0040f772
push esi
lea eax, [ebp - 4]
mov dword [ebp - 0x5c], 3
push eax
push 0x2c
mov eax, ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x416d1b
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x34], eax
mov al, 1
jmp 0x416d1d
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x421109
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x421154
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0042132a
test al, al
jne 0x42114e
sub edx, 2
cmp edx, edi
jne 0x421134
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x421176
lea eax, [edi + 2]
cmp edx, eax
je 0x421176
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00421055
add esp, 0x10
jmp 0x421270
push esi
lea ecx, [ebp - 0x255]
call fcn.0042132a
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4211b9
push dword [ebp - 0x25c]
jmp 0x421166
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4211f6
cmp word [ebp - 0x226], 0
je 0x421217
cmp word [ebp - 0x226], ax
jne 0x4211f6
cmp word [ebp - 0x224], 0
je 0x421217
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00421055
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x421263
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4211d0
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x42124b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x421270
push 0x420e85
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00425180
add esp, 0x10
jmp 0x421240
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416ed9
leave
ret

Function at 0x42203e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x430cd4
push 0x430ccc
push str.FlsAlloc
push 0x1e
call fcn.00421f7b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x422072
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f3f8]
call esi
jmp 0x422078
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4220bc
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x430ce4
push 0x430cdc
push str.FlsGetValue
push 0x20
call fcn.00421f7b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4220f3
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f3f8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x18181142
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x20ff6818
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
cwde
call 0xb20970ed
xchg ebx, eax
mov eax, dword [0x30aa60cd]
mov dr0, edx
mov bh, byte [ebx]
mov dword [eax - 0x6d61ccdb], edi
or byte [ecx - 0x59], ch
cmp al, 0x1f
je 0x414b3f
and ah, byte [edx + 0xc6dbcd]
invalid
cmp byte [edi + 0x5b], cl
inc esp
pop ebx
add dh, byte [eax]
mov byte [0x849ee4a5], al
pop ecx
int 0x71
and al, 0x4c
cmpsb byte [esi], byte es:[edi]
ret
Function at 0x4087f0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448f3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push dword [ebp + 8]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x4089a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.b2JKEcEoVTOSxF6TGA
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004038c0
test al, al
jne 0x40885c
push 0x13
push str.b2JKEcEoVTOSxF6TGA
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004023d0
add esp, 4
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x14]
or ebx, 0xffffffff
add esp, 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40889a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x408970
lea esp, [esp]
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 8]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
call fcn.00401620
test eax, eax
je 0x4089a0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.aXRFgRUwDENhlMxAzY
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004038c0
test al, al
jne 0x40890b
push 0x13
push str.aXRFgRUwDENhlMxAzY
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004023d0
add esp, 4
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x14]
add esp, 0x10
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408946
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x46c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4088c0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40898f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013f0
int3
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x30881b81
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7bea7d0b
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, reloc.uxtheme.dll_HitTestThemeBackground
nop
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219