joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a368
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4077a8]
call fcn.004054f0
xor eax, eax
push ebp
push 0x45a509
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4656e4], 0
jne 0x45a3c3
mov ecx, dword [0x465848]
mov dl, 1
mov eax, dword [0x407d74]
call fcn.0040c744
call fcn.004044f4
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004035b4
mov eax, ebx
call fcn.004053c0
mov dword [ebp - 0x24], eax
mov esi, 0x45a518
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406488
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004053d0
test eax, eax
jle 0x45a4ac
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45a498
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404d1c
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x45a43e
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404d34
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x45a454
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404d34
mov eax, dword [ebp - 0x54]
call fcn.00404f3c
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404d1c
mov eax, dword [ebp - 0x58]
call fcn.00404f3c
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x45a49a
xor eax, eax
test al, al
je 0x45a4a5
mov ebx, 0x15
jmp 0x45a4b1
mov ebx, 0x10
jmp 0x45a4b1
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4656e4]
call fcn.0045a1e8
mov eax, dword [ebp - 4]
call fcn.0045a1e8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004064a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a510
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404ad0
lea eax, [ebp - 0xc]
mov edx, dword [0x4077a8]
call fcn.004055c0
ret
Function at 0x401f1f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401f5e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401f5e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401f5e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401f5e
cmp dword [ecx + 0x74], 0xe
jbe 0x401f5e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x50b9a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb5000]
push edi
jmp 0x50b9ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50b9c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50b9b0
mov eax, 1
add ebx, ebx
jne 0x50b9d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50b9e4
jne 0x50ba03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50ba03
dec eax
add ebx, ebx
jne 0x50b9f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x50b9c8
add ebx, ebx
jne 0x50b9ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x50ba55
xor ecx, ecx
sub eax, 3
jb 0x50ba1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50ba8a
sar eax, 1
mov ebp, eax
jmp 0x50ba26
add ebx, ebx
jne 0x50ba26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50b9f4
inc ecx
add ebx, ebx
jne 0x50ba34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50b9f4
add ebx, ebx
jne 0x50ba41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50ba36
jne 0x50ba52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50ba36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50ba74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50ba66
jmp 0x50b9b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50ba74
add edi, ecx
jmp 0x50b9b6
pop esi
mov edi, esi
mov ecx, 0x3ed3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50ba92
cmp byte [edi], 0x11
jne 0x50ba92
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 0x50ba97
lea edi, [esi + 0x104000]
mov eax, dword [edi]
or eax, eax
je 0x50bb0f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13e7ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13e928]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50bac4
mov ecx, edi
jns 0x50baf3
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 + 0x13e92c]
or eax, eax
je 0x50bb09
mov dword [ebx], eax
add ebx, 4
jmp 0x50bae1
call dword [esi + 0x13e93c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x50bb40
cmp al, 0xef
ja 0x50bb33
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x50bb15
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x50bb22
mov ebp, dword [esi + 0x13e930]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x50bb74
sub esp, 0xffffff80
jmp 0x427dcd
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429004]
jne 0x401010
repz ret
jmp fcn.00401788

Function at 0x405655
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.004030b9
and dword [ebp - 4], 0
cmp dword [0x42b430], 0
mov ebx, eax
jne 0x405706
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4057b7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4057b7
push eax
call fcn.00403047
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42b430], eax
call esi
push eax
call fcn.00403047
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42b434], eax
call esi
push eax
call fcn.00403047
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42b438], eax
call esi
push eax
call fcn.00403047
pop ecx
mov dword [0x42b440], eax
test eax, eax
je 0x405706
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403047
pop ecx
mov dword [0x42b43c], eax
mov eax, dword [0x42b43c]
cmp eax, ebx
je 0x40575e
cmp dword [0x42b440], ebx
je 0x40575e
push eax
call fcn.004030c2
push dword [0x42b440]
mov esi, eax
call fcn.004030c2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40575e
test edi, edi
je 0x40575e
call esi
test eax, eax
je 0x405755
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405755
test byte [ebp - 0xc], 1
jne 0x40575e
or dword [ebp + 0x10], 0x200000
jmp 0x405797
mov eax, dword [0x42b434]
cmp eax, ebx
je 0x405797
push eax
call fcn.004030c2
pop ecx
test eax, eax
je 0x405797
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405797
mov eax, dword [0x42b438]
cmp eax, ebx
je 0x405797
push eax
call fcn.004030c2
pop ecx
test eax, eax
je 0x405797
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42b430]
call fcn.004030c2
pop ecx
test eax, eax
je 0x4057b7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4057b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x420b51
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [0x4393a4]
push dword [0x4390c0]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
leave
ret

Function at 0x420be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp ebx, 0x19f
jne 0x420bf5
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push edi
xor edi, edi
test ebx, ebx
jle 0x420c31
push esi
and dword [ebp - 8], 0
lea esi, [ebp - 8]
mov dword [ebp - 4], 5
call fcn.00420bd5
mov eax, dword [ebp - 8]
add eax, 0x46
mov dword [ebp - 4], eax
sub dword [ebp - 4], 0xa
sub dword [ebp - 4], 0x3c
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edi
xor byte [eax], cl
inc edi
cmp edi, ebx
jl 0x420bfd
pop esi
pop edi
cmp ebx, 0x2d
jne 0x420c48
or dword [0x4393b4], 0xffffffff
mov dword [0x4393b0], 0xa62e7790
leave
ret
Function at 0x100298e
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 1
mov dword [ebp - 8], 0x37
pop eax
cmp dword [0x1005a68], eax
mov dword [ebp - 0xc], eax
jl 0x1002a0f
push esi
push ebx
mov ebx, 0x1005720
push 1
mov dword [ebp - 4], 0xc
pop esi
cmp dword [0x10056f8], esi
jl 0x10029f8
mov al, byte [esi + ebx]
push 0xcc0020
push 0
and eax, 0x1f
push 0
push dword [eax*4 + 0x1005ae0]
push 0x10
push 0x10
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
add dword [ebp - 4], 0x10
inc esi
cmp esi, dword [0x10056f8]
jle 0x10029c2
inc dword [ebp - 0xc]
add dword [ebp - 8], 0x10
mov eax, dword [ebp - 0xc]
add ebx, 0x20
cmp eax, dword [0x1005a68]
jle 0x10029b0
pop ebx
pop esi
leave
ret 4

Function at 0x1004075
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x10013e0
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10040cd
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x100141c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10040c0
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10040cf
xor eax, eax
pop esi
leave
ret 4
Function at 0x4030a0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x4d8368]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3c]
push 1
push eax
call fcn.0045adc0
lea eax, [ebp - 0x3c]
push eax
call fcn.00402a70
add esp, 0xc
test al, al
jne 0x4030e0
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ebx
lea ecx, [ebp - 0xd4]
call fcn.004034a0
xor eax, eax
mov dword [ebp - 0xa8], 0
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0xd4]
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa4], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xa0], 0
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
call fcn.00403880
mov edx, dword [ebp - 8]
mov ebx, eax
cmp edx, 8
jb 0x403170
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403166
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032eb
push edx
push ecx
call fcn.00464df3
add esp, 8
push esi
mov esi, dword [ebp - 0xa8]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
test esi, esi
je 0x403241
push edi
mov edi, dword [ebp - 0xa4]
cmp esi, edi
je 0x4031f9
mov edi, edi
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4031d9
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4031cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032eb
mov eax, edx
push ecx
push eax
call fcn.00464df3
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x4031a0
mov esi, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa0]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
pop edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x403237
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032eb
push ecx
push esi
call fcn.00464df3
add esp, 8
pop esi
cmp ebx, 0xffffffff
je 0x40324d
cmp bx, 1
jne 0x403297
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00429b70
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0042ab10
lea ecx, [ebp - 0x24]
call fcn.0042b2e0
test al, al
je 0x403284
lea ecx, [ebp - 0x24]
call fcn.0042ac40
mov ebx, eax
lea ecx, [ebp - 0x24]
call fcn.0042ab50
lea ecx, [ebp - 0x9c]
call fcn.00429ce0
lea ecx, [ebp - 0xd4]
call fcn.004037c0
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x4032d8
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4032ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032f0
push edx
push ecx
call fcn.00464df3
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00465060
mov esp, ebp
pop ebp
ret 0x10
call fcn.00485d39
call fcn.00485d39
int3
Function at 0x404d50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a39d2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4d8368]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 1
call fcn.0047ce40
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x404e11
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x404e1f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0047ce40
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x404e1f
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00404eb0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00465060
mov esp, ebp
pop ebp
ret
Function at 0x405a90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4d8368]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
lea eax, [edi + 4]
push eax
call fcn.00401960
cmp dword [ebp - 0x18], 0
je 0x405adf
cmp dword [edi + 0x34], 0xffffffff
je 0x405adf
mov esi, 1
jmp 0x405ae1
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.00402320
test esi, esi
jne 0x405b24
test edi, edi
je 0x405be4
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x405b05
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
lea ecx, [edi + 4]
mov dword [edi + 0x4c], 0
call fcn.00405630
push 0x50
push edi
call fcn.00464df3
add esp, 8
jmp 0x405be4
lea esi, [ebx + 8]
push esi
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 4], 0x15555555
mov eax, dword [ebx]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], eax
je 0x405c02
mov dword [ebp - 0x34], ebx
push 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
call fcn.00464dc3
mov edx, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [eax + 8], edi
inc dword [ebx + 4]
mov ecx, dword [edx + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [edx + 4], eax
mov dword [ecx], eax
lea eax, [ebp - 0x2c]
push eax
push 0
push edi
push 0x4062c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x405bdd
mov edi, dword [ebx + 0x20]
add ebx, 0x20
cmp dword [ebx + 4], 0x15555555
je 0x405c0c
mov dword [ebp - 0x40], ebx
push 0xc
mov byte [ebp - 4], 2
mov dword [ebp - 0x3c], 0
call fcn.00464dc3
mov ecx, dword [ebp - 0x30]
add esp, 4
mov dword [eax + 8], ecx
inc dword [ebx + 4]
mov ecx, dword [edi + 4]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [edi + 4], eax
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00465060
mov esp, ebp
pop ebp
ret 4
push str.list_too_long
call fcn.004630eb
push str.list_too_long
call fcn.004630eb
int3
Function at 0x405fe0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3ba6
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4d8368]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x4060e2
mov edi, dword [esi + 0x34]
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401960
mov dword [ebp - 4], 0
test edi, edi
je 0x4060d5
cmp dword [ebp - 0x48], 0
je 0x4060d5
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
push edi
lea ecx, [ebp - 0xb0]
call fcn.00413190
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x4060ab
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4060a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40623d
push edx
push ecx
call fcn.00464df3
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00414b90
lea ecx, [ebp - 0xb0]
call fcn.004133e0
lea ecx, [ebp - 0x58]
call fcn.00402320
jmp 0x406222
cmp dword [esi + 0x3c], 0
je 0x406222
lea ecx, [ebp - 0xd4]
call fcn.00407090
mov dword [ebp - 4], 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [esi + 0x1c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x70]
call fcn.00401960
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00408510
lea ecx, [ebp - 0x70]
call fcn.00402320
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test esi, esi
je 0x4061ee
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x4061ae
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x406191
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x406187
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406242
mov eax, edx
push ecx
push eax
call fcn.00464df3
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x406158
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4061e4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406242
push ecx
push esi
call fcn.00464df3
add esp, 8
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00407450
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x40]
call fcn.00402320
lea ecx, [ebp - 0xd4]
call fcn.004071b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00465060
mov esp, ebp
pop ebp
ret
call fcn.00485d39
call fcn.00485d39
int3
Function at 0x40dd40
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a45bb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4d8368]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
mov ebx, dword [ebp + 0xc]
push 0x20a
push 0
mov dword [ebp - 0x220], esi
push eax
mov dword [ebp - 0x220], ebx
call fcn.0047ce40
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x40dda0
mov eax, dword [ebx]
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
mov dword [ebp - 0x238], ecx
test ecx, ecx
je 0x40def7
cmp ecx, 0x104
ja 0x40de03
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x21c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dde7
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
jmp 0x40df10
lea eax, [ecx + 1]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], ebx
test eax, eax
je 0x40de77
cmp eax, 0x7fffffff
ja 0x40df35
push eax
lea ecx, [ebp - 0x22c]
call fcn.00402c30
mov ecx, dword [ebp - 0x230]
mov edi, eax
xor eax, eax
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x22c], edi
lea ebx, [edi + ecx*2]
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
mov dword [ebp - 0x224], ebx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x228], ebx
mov eax, dword [ebp - 0x220]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x40de8c
mov eax, dword [eax]
push ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, edi
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40deb0
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.00402e10
test edi, edi
je 0x40df17
sub ebx, edi
mov eax, edi
and ebx, 0xfffffffe
cmp ebx, 0x1000
jb 0x40deeb
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df3a
push ebx
push edi
call fcn.00464df3
add esp, 8
jmp 0x40df17
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x4ad708
mov ecx, esi
call fcn.00402e10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00465060
mov esp, ebp
pop ebp
ret
call fcn.00402a60
call fcn.00485d39
int3