joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49f660
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x85000]
push edi
jmp 0x49f67a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49f681
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49f670
mov eax, 1
add ebx, ebx
jne 0x49f693
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49f6a4
jne 0x49f6c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49f6c3
dec eax
add ebx, ebx
jne 0x49f6b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x49f688
add ebx, ebx
jne 0x49f6bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x49f715
xor ecx, ecx
sub eax, 3
jb 0x49f6db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49f74a
sar eax, 1
mov ebp, eax
jmp 0x49f6e6
add ebx, ebx
jne 0x49f6e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49f6b4
inc ecx
add ebx, ebx
jne 0x49f6f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49f6b4
add ebx, ebx
jne 0x49f701
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49f6f6
jne 0x49f712
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49f6f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49f734
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49f726
jmp 0x49f676
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49f734
add edi, ecx
jmp 0x49f676
pop esi
mov edi, esi
mov ecx, 0xf26
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49f752
cmp byte [edi], 0x11
jne 0x49f752
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 0x49f757
lea edi, [esi + 0x9d000]
mov eax, dword [edi]
or eax, eax
je 0x49f7c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe767c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe76a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49f784
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe76a8]
or eax, eax
je 0x49f7c0
mov dword [ebx], eax
add ebx, 4
jmp 0x49f7a1
call dword [esi + 0xe76b8]
mov ebp, dword [esi + 0xe76ac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x49f7fa
sub esp, 0xffffff80
jmp 0x41e64b
Function at 0x5cf6c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x10e000]
push edi
jmp 0x5cf6da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5cf6e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cf6d0
mov eax, 1
add ebx, ebx
jne 0x5cf6f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5cf704
jne 0x5cf723
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cf723
dec eax
add ebx, ebx
jne 0x5cf710
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5cf6e8
add ebx, ebx
jne 0x5cf71f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5cf775
xor ecx, ecx
sub eax, 3
jb 0x5cf73b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5cf7aa
sar eax, 1
mov ebp, eax
jmp 0x5cf746
add ebx, ebx
jne 0x5cf746
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cf714
inc ecx
add ebx, ebx
jne 0x5cf754
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cf714
add ebx, ebx
jne 0x5cf761
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5cf756
jne 0x5cf772
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5cf756
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5cf794
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5cf786
jmp 0x5cf6d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5cf794
add edi, ecx
jmp 0x5cf6d6
pop esi
mov edi, esi
mov ecx, 3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5cf7b2
cmp byte [edi], 0x1d
jne 0x5cf7b2
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 0x5cf7b7
lea edi, [esi + 0x1cc000]
mov eax, dword [edi]
or eax, eax
je 0x5cf82f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d4580]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d46cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5cf7e4
mov ecx, edi
jns 0x5cf813
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 + 0x1d46d4]
or eax, eax
je 0x5cf829
mov dword [ebx], eax
add ebx, 4
jmp 0x5cf801
call dword [esi + 0x1d46d0]
mov ebp, dword [esi + 0x1d46d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x5cf863
sub esp, 0xffffff80
jmp 0x4fbcf4
Function at 0x402090
Capabilities:
Encode data using xor

Disassembly:
cmp byte [eax], 0
mov edx, eax
je 0x4020ab
mov ecx, eax
lea esp, [esp]
xor byte [edx], 0xf
inc ecx
cmp byte [ecx], 0
mov edx, ecx
jne 0x4020a0
ret

Function at 0x4020b0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x4020d7
xor eax, eax
add esp, 0x1c
ret
lea ecx, [esp]
push ecx
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4020d1
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push 0
push 0
push 0x10
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
push 0
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
neg eax
sbb eax, eax
neg eax
add esp, 0x1c
ret
Function at 0x403680
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
xor edx, edx
test esi, esi
jle 0x4036d3
push ebx
push ebp
jmp 0x403690
movzx ecx, byte [edx + edi]
add eax, ecx
mov ecx, 0x20
jmp 0x4036a0
lea ebx, [eax + eax]
xor ebx, eax
and ebx, 0xfffffff8
lea ebp, [eax*8]
xor ebx, ebp
shl ebx, 4
mov ebp, eax
and ebp, 0xffffff80
xor ebx, ebp
mov ebp, eax
shl ebx, 0x11
shr ebp, 8
or ebx, ebp
add eax, ebx
sub ecx, 1
jne 0x4036a0
inc edx
cmp edx, esi
jl 0x403690
pop ebp
pop ebx
xor ecx, ecx
lea edx, [eax + eax]
xor edx, eax
and edx, 0xfffffff8
lea esi, [eax*8]
xor edx, esi
shl edx, 4
mov esi, eax
and esi, 0xffffff80
xor edx, esi
mov esi, eax
shl edx, 0x11
shr esi, 8
or edx, esi
add eax, edx
mov edx, dword [esp + 8]
mov byte [ecx + edx], al
inc ecx
cmp ecx, 0x10
jl 0x4036d5
pop esi
ret
Function at 0x403fb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413bc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00402ca0
call fcn.004023b0
push str.345rdxcvgt567yhjm
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x41a168], eax
mov dword [0x41a17c], ebx
call fcn.004020b0
call fcn.00403710
test eax, eax
je 0x40400c
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00403630
mov eax, 0x419050
mov dword [0x419f38], eax
cmp byte [eax], bl
je 0x40403f
call fcn.00402090
mov dword [0x419f38], eax
mov ecx, eax
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x404030
sub ecx, esi
lea eax, [eax + ecx + 1]
jmp 0x404016
call fcn.00403a20
cmp eax, 2
jne 0x404083
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0040698a
add esp, 4
call fcn.0040699c
cdq
mov ecx, 0x12c
idiv ecx
add edx, 0x258
imul edx, edx, 0x3e8
mov dword [0x419450], edx
mov dword [0x41a138], ebx
mov dword [0x41a13c], ebx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4040b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
push ebx
push esi
push edi
mov ebx, ecx
push ebx
mov edi, eax
call dword [0x419f4c]
mov esi, eax
test esi, esi
jne 0x4040fd
push ebx
call dword [0x419f70]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x40429b
push 2
push 4
lea eax, [esp + 0x24]
push eax
call dword [0x419f44]
mov esi, eax
test esi, esi
je 0x40429b
push 0
push 1
push 2
call dword [0x41a29c]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x404249
mov ecx, dword [str.XP__kcc]
mov ax, word [0x415eb8]
mov edx, dword [0x415eb4]
mov dword [esp + 0x20], ecx
cmp byte [esp + 0x20], 0
mov cl, byte [0x415eba]
mov word [esp + 0x28], ax
mov dword [esp + 0x24], edx
mov byte [esp + 0x2a], cl
lea eax, [esp + 0x20]
je 0x40415b
mov ecx, eax
lea ebx, [ebx]
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x404150
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x416190]
mov dx, word [0x416194]
mov ebx, eax
mov eax, dword [str.XNnz]
mov dword [esp + 0x20], eax
cmp byte [esp + 0x20], 0
mov al, byte [0x416196]
mov byte [esp + 0x2a], al
mov dword [esp + 0x24], ecx
mov word [esp + 0x28], dx
lea eax, [esp + 0x20]
je 0x4041ab
mov ecx, eax
lea ecx, [ecx]
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x4041a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x20]
push ecx
push ebx
call esi
mov edx, dword [str.XNLcjnaz]
mov cx, word [0x4161a0]
mov edi, eax
mov eax, dword [0x41619c]
mov dword [esp + 0x20], edx
cmp byte [esp + 0x20], 0
mov dl, byte [0x4161a2]
mov dword [esp + 0x24], eax
mov word [esp + 0x28], cx
mov byte [esp + 0x2a], dl
lea eax, [esp + 0x20]
je 0x4041fc
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x4041f1
lea eax, [esp + 0x20]
push eax
push ebx
call esi
mov esi, eax
call esi
lea ecx, [esp + 0x88]
push ecx
push 0x101
call edi
test eax, eax
je 0x40423d
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
call esi
lea edx, [esp + 0x88]
push edx
push 0x101
call edi
test eax, eax
jne 0x404221
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, 2
mov word [esp + 0xc], ax
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push 0x50
mov dword [esp + 0x14], eax
call dword [0x41a14c]
mov edx, dword [edi]
push 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
mov word [esp + 0x1a], ax
call dword [0x419f64]
cmp eax, 0xffffffff
mov eax, dword [edi]
jne 0x4042a7
push eax
call dword [0x41a18c]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push ecx
push edx
push eax
call dword [0x419f50]
cmp eax, 0xffffffff
jne 0x4042d2
mov ecx, dword [edi]
push ecx
call dword [0x41a18c]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406120
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 0x10
push esi
push edi
mov esi, 0x4b524f57
mov edi, eax
mov dword [esp + 0xc], esi
mov eax, 0x44524148
test ecx, ecx
jle 0x4061c4
push ebx
push ebp
mov ebp, dword [esp + 0x24]
sub ebp, edi
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov edx, esi
shr edx, 8
mov dword [esp + 0x10], edx
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and dl, bl
mov ebx, esi
mov ecx, eax
shr ecx, 8
and dl, cl
mov dword [esp + 0x1c], ecx
mov ecx, esi
shr ecx, 0x18
shr ebx, 0x10
and cl, bl
mov bl, byte [esp + 0x10]
xor dl, cl
xor dl, byte [edi + ebp]
mov ecx, dword [esp + 0x14]
lea esi, [eax*4]
xor esi, eax
add esi, esi
and bl, cl
xor esi, eax
xor dl, bl
xor dl, al
and esi, 0xfffffff0
shl eax, 4
xor esi, eax
shl ecx, 0x18
or ecx, dword [esp + 0x1c]
shl esi, 0x14
or esi, dword [esp + 0x10]
mov byte [edi], dl
inc edi
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], esi
mov eax, ecx
jne 0x406150
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x40e6f1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x418df8]
jne 0x40e6fb
repz ret
jmp fcn.00410c6f
Function at 0x40f712
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.0040b70e
and dword [ebp - 4], 0
cmp dword [0x419b9c], 0
mov ebx, eax
jne 0x40f7c3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f874
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40f874
push eax
call fcn.0040b69c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x419b9c], eax
call esi
push eax
call fcn.0040b69c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x419ba0], eax
call esi
push eax
call fcn.0040b69c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x419ba4], eax
call esi
push eax
call fcn.0040b69c
pop ecx
mov dword [0x419bac], eax
test eax, eax
je 0x40f7c3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040b69c
pop ecx
mov dword [0x419ba8], eax
mov eax, dword [0x419ba8]
cmp eax, ebx
je 0x40f81b
cmp dword [0x419bac], ebx
je 0x40f81b
push eax
call fcn.0040b717
push dword [0x419bac]
mov esi, eax
call fcn.0040b717
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f81b
test edi, edi
je 0x40f81b
call esi
test eax, eax
je 0x40f812
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f812
test byte [ebp - 0xc], 1
jne 0x40f81b
or dword [ebp + 0x10], 0x200000
jmp 0x40f854
mov eax, dword [0x419ba0]
cmp eax, ebx
je 0x40f854
push eax
call fcn.0040b717
pop ecx
test eax, eax
je 0x40f854
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f854
mov eax, dword [0x419ba4]
cmp eax, ebx
je 0x40f854
push eax
call fcn.0040b717
pop ecx
test eax, eax
je 0x40f854
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x419b9c]
call fcn.0040b717
pop ecx
test eax, eax
je 0x40f874
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f876
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x40195b
Capabilities:
Get common file path

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040df60
mov eax, 0x416107
mov dword [0x41702c], eax
mov dword [esp], 0
jmp 0x40197c
mov eax, 3
cmp eax, dword [esp]
jl 0x4019ea
mov eax, dword [0x41702c]
movsx eax, byte [eax]
mov dword [esp + 4], eax
inc dword [0x41702c]
push edx
call fcn.0040de20
pop edx
push eax
push edx
call fcn.0040de20
pop edx
push eax
mov ebx, dword [esp + 0xc]
imul ebx, ebx, 0xffffffff
push ebx
call fcn.00405d60
lea eax, [esp + 0xc]
push eax
call fcn.0040de60
mov edx, dword [esp + 0xc]
push edx
call fcn.0040de20
pop edx
push eax
push edx
call fcn.0040dfc0
mov edx, dword [esp + 0xc]
push edx
call fcn.0040dfc0
lea eax, [esp + 0x10]
push eax
call fcn.0040de60
inc dword [esp]
jno 0x40197c
push 0x400
call fcn.00409b40
mov dword [esp + 0x10], eax
push edx
call fcn.0040de20
pop edx
push eax
push edx
call fcn.0040de20
pop edx
push eax
call fcn.0040a6f6
lea eax, [esp + 0x18]
push eax
call fcn.0040de60
push dword [esp + 0x10]
push 0
mov eax, 0x416020
push eax
push dword [esp + 0x20]
call sub.KERNEL32.DLL_GetTempFileNameW
push edx
call fcn.0040de20
pop edx
push eax
push edx
call fcn.0040de20
pop edx
push eax
push dword [esp + 0x18]
call fcn.00409b60
lea eax, [0x417070]
push eax
call fcn.0040de60
push dword [0x417070]
call fcn.0040a787
push dword [0x417070]
call fcn.0040a665
push dword [esp + 0x10]
push 0
mov eax, 0x416020
push eax
push dword [0x417070]
call sub.KERNEL32.DLL_GetTempFileNameW
push edx
call fcn.0040de20
pop edx
push eax
push edx
call fcn.0040de20
pop edx
push eax
push dword [esp + 0x18]
call fcn.00409b60
lea eax, [0x417024]
push eax
call fcn.0040de60
push dword [0x417024]
call fcn.0040a787
push dword [0x417024]
call fcn.0040a665
push dword [esp + 0x10]
push 0
mov eax, 0x416020
push eax
push dword [0x417024]
call sub.KERNEL32.DLL_GetTempFileNameW
push dword [0x417024]
call sub.SHLWAPI.DLL_PathAddBackslashW
push edx
call fcn.0040de20
pop edx
push eax
push edx
call fcn.0040de20
pop edx
push eax
push dword [esp + 0x18]
call fcn.00409b60
lea eax, [0x417038]
push eax
call fcn.0040de60
push dword [0x417038]
call fcn.0040a787
push dword [esp + 0xc]
push dword [0x417038]
call sub.SHLWAPI.DLL_PathRenameExtensionW
push dword [esp + 0x10]
push 0
mov eax, 0x416020
push eax
push dword [0x417024]
call sub.KERNEL32.DLL_GetTempFileNameW
push edx
call fcn.0040de20
pop edx
push eax
push edx
call fcn.0040de20
pop edx
push eax
push dword [esp + 0x18]
call fcn.00409b60
lea eax, [0x417068]
push eax
call fcn.0040de60
push dword [esp + 0x10]
call fcn.00409b20
jmp 0x401b6f
push dword [esp + 0x14]
call fcn.0040def0
push dword [esp + 8]
call fcn.0040def0
push dword [esp + 0xc]
call fcn.0040def0
add esp, 0x18
pop ebx
ret
Function at 0x401fa9
Capabilities:
Delete directory

Disassembly:
push ebx
xor eax, eax
push eax
call fcn.0040df60
mov ebx, dword [esp]
cmp ebx, 1
jne 0x401fd4
push dword [0x417010]
call fcn.004053c7
and eax, eax
je 0x401fd4
push dword [0x417010]
call fcn.00405436
push dword [0x417068]
call fcn.0040a787
push dword [0x417058]
call fcn.0040a787
call fcn.004034d1
push dword [0x417038]
call fcn.0040a787
push dword [0x417024]
call sub.KERNEL32.DLL_RemoveDirectoryW
push dword [0x417070]
call sub.KERNEL32.DLL_RemoveDirectoryW
push dword [esp + 0xc]
jmp 0x4011a5

Function at 0x402022
Capabilities:
Create process on windows

Disassembly:
push ebp
push ebx
mov edx, 0x14
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x402029
call fcn.0040df60
mov edx, dword [esp + 0x5c]
lea ecx, [esp]
call fcn.00405060
mov edx, dword [esp + 0x60]
lea ecx, [esp + 4]
call fcn.00405060
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
call fcn.00405060
lea eax, [esp + 0xc]
lea ebp, [esp + 0xc]
mov dword [ebp], 0x3c
mov dword [ebp + 4], 0x140
mov dword [ebp + 0x1c], 0
mov eax, str.open
push eax
pop eax
mov dword [ebp + 0xc], eax
mov eax, dword [esp]
push eax
pop eax
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 8]
push eax
pop eax
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 4]
push eax
pop eax
mov dword [ebp + 0x18], eax
lea eax, [esp + 0xc]
push eax
call sub.SHELL32.DLL_ShellExecuteExW
mov dword [esp + 0x48], eax
push 0x19
call fcn.00405532
lea eax, [esp + 0x4c]
push eax
lea ebp, [esp + 0x10]
push dword [ebp + 0x38]
call sub.KERNEL32.DLL_GetExitCodeProcess
and eax, eax
je 0x4020dd
mov ebx, dword [esp + 0x4c]
cmp ebx, 0x103
je 0x4020dd
jmp 0x4020df
jmp 0x4020b0
mov eax, dword [esp + 0x4c]
jmp 0x4020e7
push dword [esp]
call fcn.0040def0
push dword [esp + 4]
call fcn.0040def0
push dword [esp + 8]
call fcn.0040def0
add esp, 0x50
pop ebx
pop ebp
ret 0xc
Function at 0x4024f1
Capabilities:
Accept command line arguments

Disassembly:
push ebx
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4024f7
call fcn.0040df60
push dword [esp + 0x2c]
call fcn.004051a0
mov eax, 0x4160d0
mov dword [0x41702c], eax
mov dword [esp], 0
jmp 0x402525
mov eax, 6
cmp eax, dword [esp]
jl 0x402593
mov eax, dword [0x41702c]
movsx eax, byte [eax]
mov dword [esp + 4], eax
inc dword [0x41702c]
push edx
call fcn.0040de20
pop edx
push eax
push edx
call fcn.0040de20
pop edx
push eax
mov ebx, dword [esp + 0xc]
imul ebx, ebx, 0xffffffff
push ebx
call fcn.00405d60
lea eax, [esp + 0xc]
push eax
call fcn.0040de60
mov edx, dword [esp + 0xc]
push edx
call fcn.0040de20
pop edx
push eax
push edx
call fcn.0040dfc0
mov edx, dword [esp + 0xc]
push edx
call fcn.0040dfc0
lea eax, [esp + 0x10]
push eax
call fcn.0040de60
inc dword [esp]
jno 0x402525
push edx
call fcn.0040de20
pop edx
push eax
push edx
call fcn.0040de20
pop edx
push eax
call sub.KERNEL32.DLL_GetCommandLineW
push eax
call fcn.00409b60
lea eax, [esp + 0x14]
push eax
call fcn.0040de60
mov edx, dword [esp + 0x10]
push edx
call fcn.0040de20
pop edx
push eax
push edx
call fcn.0040dfc0
lea eax, [esp + 0x18]
push eax
call fcn.0040de60
mov eax, dword [esp + 0x14]
push eax
call sub.SHLWAPI.DLL_PathRemoveArgsW
mov dword [esp + 0x18], eax
push dword [esp + 0x14]
call fcn.00405d80
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x1c]
and ebx, ebx
jle 0x402651
push edx
call fcn.0040de20
pop edx
push eax
mov edx, 0x416026
push edx
call fcn.0040dfc0
push edx
call fcn.0040de20
pop edx
push eax
push edx
call fcn.0040de20
pop edx
push eax
push edx
call fcn.0040de20
pop edx
push eax
push edx
call fcn.0040de20
pop edx
push eax
mov ebx, dword [esp + 0x30]
inc ebx
push ebx
push dword [esp + 0x28]
call fcn.004060b0
call fcn.00405182
add dword [esp], edx
call fcn.00406000
pop eax
lea eax, [esp + 0x24]
push eax
call fcn.0040de60
push dword [esp + 0x20]
push dword [esp + 0x10]
call fcn.00409860
mov edx, dword [esp + 0x20]
push edx
call fcn.0040de20
pop edx
push eax
push edx
call fcn.0040dfc0
pop eax
push eax
call fcn.00405170
pop edx
add eax, edx
jmp 0x402686
push dword [esp + 0x14]
call fcn.0040def0
push dword [esp + 8]
call fcn.0040def0
push dword [esp + 0x10]
call fcn.0040def0
push dword [esp + 0xc]
call fcn.0040def0
push dword [esp + 0x20]
call fcn.0040def0
add esp, 0x24
pop ebx
ret

Function at 0x4026b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
xor eax, eax
push eax
push eax
call fcn.0040df60
push dword [esp + 0x10]
push dword [esp + 0x10]
call sub.KERNEL32.DLL_LoadResource
mov dword [esp], eax
push dword [esp + 0x10]
push dword [esp + 0x10]
call sub.KERNEL32.DLL_SizeofResource
mov dword [0x417018], eax
push dword [0x417018]
call fcn.00409b40
mov dword [esp + 4], eax
push dword [0x417018]
push dword [esp + 8]
push dword [esp + 8]
call fcn.00409c20
push dword [esp]
call sub.KERNEL32.DLL_FreeResource
mov eax, dword [esp + 4]
jmp 0x402715
add esp, 8
ret 8
Function at 0x402bc1
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x402bc7
call fcn.0040df60
lea eax, [esp]
push eax
call sub.KERNEL32.DLL_GetNativeSystemInfo
lea ebp, [esp]
cmp word [ebp], 0
je 0x402bf3
mov eax, 1
jmp 0x402bf5
xor eax, eax
add esp, 0x24
pop ebp
ret