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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
or ebp, 0xffffffff
jmp 0x42d902
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42d909
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42d8f8
mov eax, 1
add ebx, ebx
jne 0x42d91b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42d910
jne 0x42d92c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42d910
xor ecx, ecx
sub eax, 3
jb 0x42d940
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42d9b2
mov ebp, eax
add ebx, ebx
jne 0x42d94b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42d958
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42d97c
inc ecx
add ebx, ebx
jne 0x42d968
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42d95d
jne 0x42d979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42d95d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42d99c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42d98d
jmp 0x42d8fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42d99c
add edi, ecx
jmp 0x42d8fe
pop esi
mov edi, esi
mov ecx, 0xa81
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42d9ba
cmp byte [edi], 7
jne 0x42d9ba
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 0x42d9bf
lea edi, [esi + 0x2a000]
mov eax, dword [edi]
or eax, eax
je 0x42da2e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2d280]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2d2a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42d9ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2d2b0]
or eax, eax
je 0x42da28
mov dword [ebx], eax
add ebx, 4
jmp 0x42da09
call dword [esi + 0x2d2ac]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x42da5f
cmp al, 0xef
ja 0x42da52
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x42da34
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x42da41
mov ebp, dword [esi + 0x2d2b4]
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 0x42da93
sub esp, 0xffffff80
jmp 0x40472c
Function at 0x53f730
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8c000]
push edi
jmp 0x53f74a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x53f751
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53f740
mov eax, 1
add ebx, ebx
jne 0x53f763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x53f774
jne 0x53f793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53f793
dec eax
add ebx, ebx
jne 0x53f780
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x53f758
add ebx, ebx
jne 0x53f78f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x53f7e5
xor ecx, ecx
sub eax, 3
jb 0x53f7ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53f81a
sar eax, 1
mov ebp, eax
jmp 0x53f7b6
add ebx, ebx
jne 0x53f7b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53f784
inc ecx
add ebx, ebx
jne 0x53f7c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53f784
add ebx, ebx
jne 0x53f7d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x53f7c6
jne 0x53f7e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x53f7c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x53f804
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x53f7f6
jmp 0x53f746
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x53f804
add edi, ecx
jmp 0x53f746
pop esi
mov edi, esi
mov ecx, 0x3115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x53f822
cmp byte [edi], 0x13
jne 0x53f822
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 0x53f827
lea edi, [esi + 0x13c000]
mov eax, dword [edi]
or eax, eax
je 0x53f89f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13fde8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13ff14]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x53f854
mov ecx, edi
jns 0x53f883
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 + 0x13ff18]
or eax, eax
je 0x53f899
mov dword [ebx], eax
add ebx, 4
jmp 0x53f871
call dword [esi + 0x13ff28]
mov ebp, dword [esi + 0x13ff1c]
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 0x53f8d3
sub esp, 0xffffff80
jmp 0x45c3e5
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433090]
jne 0x401abf
repz ret
jmp fcn.00402908

Function at 0x40aa46
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.004039d7
and dword [ebp - 4], 0
cmp dword [0x437224], 0
mov ebx, eax
jne 0x40aaf7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40aba8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40aba8
push eax
call fcn.00403965
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x437224], eax
call esi
push eax
call fcn.00403965
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x437228], eax
call esi
push eax
call fcn.00403965
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43722c], eax
call esi
push eax
call fcn.00403965
pop ecx
mov dword [0x437234], eax
test eax, eax
je 0x40aaf7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403965
pop ecx
mov dword [0x437230], eax
mov eax, dword [0x437230]
cmp eax, ebx
je 0x40ab4f
cmp dword [0x437234], ebx
je 0x40ab4f
push eax
call fcn.004039e0
push dword [0x437234]
mov esi, eax
call fcn.004039e0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ab4f
test edi, edi
je 0x40ab4f
call esi
test eax, eax
je 0x40ab46
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ab46
test byte [ebp - 0xc], 1
jne 0x40ab4f
or dword [ebp + 0x10], 0x200000
jmp 0x40ab88
mov eax, dword [0x437228]
cmp eax, ebx
je 0x40ab88
push eax
call fcn.004039e0
pop ecx
test eax, eax
je 0x40ab88
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ab88
mov eax, dword [0x43722c]
cmp eax, ebx
je 0x40ab88
push eax
call fcn.004039e0
pop ecx
test eax, eax
je 0x40ab88
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x437224]
call fcn.004039e0
pop ecx
test eax, eax
je 0x40aba8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40abaa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40bdcf
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1f7e024], 0x930
jne 0x40bdec
push str.xafewibiwucijamojamejuhuyewo
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1f7e024], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1f7de68], eax
jne 0x40be0c
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
leave
ret
Function at 0x405ebe
Capabilities:
Encode data using xor

Disassembly:
cld
mov eax, dword [edi]
sub esi, edx
push esi
push eax
call dword [0x5aae20]
mov ecx, 1
add esp, 8
cmp ebx, ecx
mov dword [edi + 0x4b8deff7], esp
dec dword [ebp + 0x4db80470]
or al, 0xcc
mov edx, dword [esi - 0x79]
add edx, 0xffffffc1
invalid
Function at 0x423040
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x477e0e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4a6024]
xor eax, ebp
mov dword [ebp + 0x208], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [ebp]
mov dword [ebp - 0x18], esi
push eax
push 0x104
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4230e3
call fcn.00403270
test eax, eax
je 0x423167
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00452869
lea esp, [ebp + 0x20c]
pop ebp
ret
cmp word [ebp + eax*2 - 2], 0x5c
je 0x4230f6
mov ecx, 0x5c
mov word [ebp + eax*2], cx
inc eax
add eax, eax
cmp eax, 0x208
jae 0x423162
xor ecx, ecx
mov word [ebp + eax], cx
call fcn.00403270
mov ecx, eax
test ecx, ecx
je 0x423167
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 2
lea eax, [ebp]
test eax, 0xffff0000
jne 0x42313c
movzx eax, ax
mov ecx, esi
push eax
call fcn.00404b50
jmp 0x4230b2
lea ecx, [ebp]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423142
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00404e30
jmp 0x4230b2
call fcn.00452a03
push 0x80004005
call fcn.00402f30
int3
Function at 0x423180
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x477eae
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4a6024]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
call fcn.00423040
mov dword [ebp - 4], 1
lea ecx, [ebp]
push ecx
push 0
push 0x492404
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
sete byte [ebp - 0xd]
mov dword [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x423212
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00403270
cmp byte [ebp - 0xd], 0
je 0x423264
test eax, eax
je 0x4233a8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00452869
lea esp, [ebp + 0x20c]
pop ebp
ret
test eax, eax
je 0x4233a8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 4
lea eax, [ebp]
test eax, 0xffff0000
jne 0x423298
movzx eax, ax
lea ecx, [ebp - 0x14]
push eax
call fcn.00404b50
jmp 0x4232bc
lea ecx, [ebp]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4232a0
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00404e30
mov dword [ebp - 4], 5
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00403270
test eax, eax
je 0x4233a8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 6
mov eax, 0x4923f8
lea ecx, [ebp - 0x18]
test eax, 0xffff0000
jne 0x423305
movzx eax, ax
push eax
call fcn.00404b50
jmp 0x423311
push 4
push 0x4923f8
call fcn.00404e30
mov byte [ebp - 4], 7
push 0x2e
push esi
call fcn.00453f2b
mov edi, dword [ebp - 0x18]
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x42334d
sub ecx, esi
sar ecx, 1
js 0x42334d
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041bbf0
push dword [edi - 0xc]
lea ecx, [ebp - 0x14]
push edi
call fcn.00404870
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 5
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x423369
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov ecx, esi
call fcn.004058b0
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42323f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42323f
push 0x80004005
call fcn.00402f30
int3
Function at 0x423930
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47807d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4a6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x104
jl 0x423a64
push 4
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.0041b830
mov dword [ebp - 4], 0
mov ecx, 0x48f0d0
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4239a8
test dx, dx
je 0x4239a4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4239a8
add eax, 4
add ecx, 4
test dx, dx
jne 0x423982
xor esi, esi
jmp 0x4239ad
sbb esi, esi
or esi, 1
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4239cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x423a64
call fcn.00403270
mov ecx, eax
test ecx, ecx
je 0x423a90
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
mov eax, 0x48f0d0
lea ecx, [ebp - 0x10]
test eax, 0xffff0000
jne 0x423a12
movzx eax, ax
push eax
call fcn.00404b50
jmp 0x423a1e
push 4
push 0x48f0d0
call fcn.00404e30
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x10]
mov eax, dword [edi]
push dword [eax - 0xc]
push eax
call fcn.00404870
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
sete bl
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x423a72
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x423a72
push dword [edi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
sete bl
test bl, bl
jne 0x423a7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402f30
int3
Function at 0x423aa0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47807d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4a6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x104
jl 0x423bd4
push 4
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.0041b830
mov dword [ebp - 4], 0
mov ecx, 0x48f0d0
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x423b18
test dx, dx
je 0x423b14
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423b18
add eax, 4
add ecx, 4
test dx, dx
jne 0x423af2
xor esi, esi
jmp 0x423b1d
sbb esi, esi
or esi, 1
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x423b3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x423bd4
call fcn.00403270
mov ecx, eax
test ecx, ecx
je 0x423c00
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
mov eax, 0x48f0d0
lea ecx, [ebp - 0x10]
test eax, 0xffff0000
jne 0x423b82
movzx eax, ax
push eax
call fcn.00404b50
jmp 0x423b8e
push 4
push 0x48f0d0
call fcn.00404e30
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x10]
mov eax, dword [edi]
push dword [eax - 0xc]
push eax
call fcn.00404870
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
sete bl
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x423be2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x423be2
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
sete bl
test bl, bl
jne 0x423bec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402f30
int3
Function at 0x424860
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push 0
push 0
push dword [esp + 0x18]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
xor ebx, ebx
test edi, edi
jne 0x42488a
mov ecx, esi
call fcn.00404c00
pop edi
pop esi
mov eax, ebx
pop ebx
ret 4
js 0x4248ef
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4248a7
push edi
mov ecx, esi
call fcn.00404dc0
push edi
push dword [esi]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, dword [esi]
test eax, eax
jne 0x4248be
xor ecx, ecx
jmp 0x4248d0
push dword [eax - 8]
push eax
call fcn.00457f54
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4248ef
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4248ef
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov ebx, 1
pop edi
pop esi
mov word [eax + ecx*2], dx
mov eax, ebx
pop ebx
ret 4
push 0x80070057
call fcn.00402f30
int3

Function at 0x424cf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47835d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
mov eax, dword [0x4a6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov ecx, dword [edx]
mov edx, dword [eax]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
movlpd qword [ebp - 0x68], xmm0
push eax
push 0
push 0
push dword [ebp + 0x10]
xor eax, eax
movlpd qword [ebp - 0x60], xmm0
push 0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x6c], 0x44
movups xmmword [ebp - 0x28], xmm0
cmp dword [ecx - 0xc], eax
push 0
cmovne eax, ecx
push 0
push eax
xor eax, eax
cmp dword [edx - 0xc], eax
cmovne eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x424da8
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x424da4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor al, al
jmp 0x424dd5
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x424dcc
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x424dc9
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x14], 0
je 0x424dff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
movzx ecx, byte [ebp - 0x14]
xor edx, edx
test eax, eax
mov al, byte [ebp - 0xd]
cmovne ecx, edx
mov byte [ebp - 0x14], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x425f60
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x4786a5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4a6024]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x20], 0x48ec3c
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
nop
push 0
lea eax, [ebp - 0x14]
push eax
push 0x3ff
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42608f
cmp eax, 0x400
jae 0x42616a
mov byte [ebp + eax], 0
mov eax, dword [edi]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x426015
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x42602b
call fcn.00403270
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x426160
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea eax, [ebp]
lea ecx, [ebp - 0x10]
test eax, 0xffff0000
jne 0x426052
movzx eax, ax
push eax
call fcn.00404b50
jmp 0x426058
push eax
call fcn.00422da0
mov byte [ebp - 4], 2
mov ecx, edi
mov esi, dword [ebp - 0x10]
push dword [esi - 0xc]
push esi
call fcn.00404870
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425fd0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x425fd0
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
cmp eax, 2
jl 0x42611d
add eax, 0xfffffffe
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004213b0
mov byte [ebp - 4], 4
mov edx, dword [eax]
mov esi, dword [edi]
sub esi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x4260fe
cmp dword [esi + 0xc], 0
jl 0x4260f3
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4260f3
call fcn.004058b0
mov dword [ebp - 0x10], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4260ec
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [edi], eax
jmp 0x4260fe
push dword [edx - 0xc]
mov ecx, edi
push edx
call fcn.00404e30
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42611d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], 0x48ec3c
test ebx, ebx
je 0x42613d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00452869
lea esp, [ebp + 0x404]
pop ebp
ret
push 0x80004005
call fcn.00402f30
call fcn.00452a03
int3