joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64bc40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x64bc48
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x64bdfd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x64be18
call fcn.0040b5c4
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0x1c]
xor edx, edx
call fcn.00649818
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x64be2c
call fcn.005f2300
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x64bcc3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x64bd04
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.00649818
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x64be94
call fcn.005f2300
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040b56c
mov eax, esi
mov edx, 0x64bec0
call fcn.0040b56c
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x64bd1c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x64bd8a
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x64bed4
call fcn.005f2300
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040b56c
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x64bd53
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x64bd7e
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x64bf04
call fcn.005f2300
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040b56c
mov eax, esi
mov edx, 0x64bec0
call fcn.0040b56c
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x64bd96
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x64bdc1
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x64bf30
call fcn.005f2300
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040b56c
mov eax, esi
mov edx, 0x64bec0
call fcn.0040b56c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64be04
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.0040a804
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040a804
lea eax, [ebp - 4]
call fcn.0040a7a4
ret
Function at 0x680b8c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a888
xor eax, eax
push ebp
push 0x680c22
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004247c8
test al, al
je 0x680c04
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00407dd8
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x14
lea eax, [ebp - 0x28]
mov ecx, 0x680c3c
mov edx, dword [ebp - 4]
call fcn.0040b5c4
mov eax, dword [ebp - 0x28]
call fcn.0040b358
mov dword [ebp - 0x1a], eax
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x680c29
lea eax, [ebp - 0x28]
call fcn.0040a7a4
lea eax, [ebp - 4]
call fcn.0040a7a4
ret

Function at 0x680d18
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a888
xor eax, eax
push ebp
push 0x680da7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00424aa0
mov eax, dword [ebp - 8]
call fcn.004070a4
call fcn.00407068
mov eax, dword [ebp - 8]
call fcn.0040b358
push eax
call sub.kernel32.dll_GetModuleHandleW_2
test eax, eax
jne 0x680d84
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040b05c
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040afcc
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x680dae
lea eax, [ebp - 0xc]
call fcn.0040a7c8
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a804
ret

Function at 0x6878c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a888
xor eax, eax
push ebp
push 0x68799d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
mov eax, dword [ebp - 4]
call fcn.0040b358
push eax
push 0
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x68791a
push 0x10
push 0x6879ac
push 0x6879c8
push 0
call sub.user32.dll_MessageBoxW
mov eax, dword [0x6a3958]
mov eax, dword [eax]
call fcn.005d4e04
jmp 0x687987
push ebx
push 0
call sub.kernel32.dll_LoadResource
test eax, eax
jne 0x687947
push 0x10
push 0x6879d8
push 0x6879c8
push 0
call sub.user32.dll_MessageBoxW
mov eax, dword [0x6a3958]
mov eax, dword [eax]
call fcn.005d4e04
jmp 0x687987
push eax
call sub.kernel32.dll_LockResource
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0
push ebx
push 0
call sub.kernel32.dll_SizeofResource
push eax
push esi
call sub.gdi32.dll_AddFontMemResourceEx
test eax, eax
jne 0x687987
push 0x10
push 0x6879f4
push 0x6879c8
push 0
call sub.user32.dll_MessageBoxW
mov eax, dword [0x6a3958]
mov eax, dword [eax]
call fcn.005d4e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6879a4
lea eax, [ebp - 4]
call fcn.0040a7a4
ret
Function at 0x8ab058
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [esp]
push eax
mov eax, esp
add eax, 4
add eax, 4
xor eax, dword [esp]
xor dword [esp], eax
xor eax, dword [esp]
pop esp
push edi
mov dword [esp], ecx
mov ecx, eax
mov ebx, ecx
mov ecx, dword [esp]
add esp, 4
push edi
mov edi, 1
add eax, edi
mov edi, dword [esp]
add esp, 4
sub esp, 4
mov dword [esp], ebx
mov ebx, 0x6eefc3e0
or ebx, 0x6f7f8ada
sub ebx, 0x6fe5abfa
add eax, 0x78bee195
sub eax, ebx
sub eax, 0x78bee195
pop ebx
sub eax, 0xade0058
add eax, 0xade0000
cmp byte [ebx], 0xcc
jne 0x8ab15e
sub esp, 4
mov dword [esp], eax
mov al, 0xf7
inc al
shl al, 1
xor al, 4
neg al
and al, 0x36
sub al, 0x8b
add al, 0x87
mov byte [ebx], al
pop eax
push esi
mov dword [esp], edi
mov edi, 0x1000
push edi
sub dword [esp], 0x3bbac8a1
pop ebx
add ebx, 0x3bbac8a1
pop edi
push eax
mov dword [esp], 0xc5c4360
mov dword [esp], edi
mov dword [esp], 0x6253535a
push 0x298e2270
mov dword [esp], esi
mov dword [esp], 0x3bedbfe1
and dword [esp], 0x5ebffc5f
shr dword [esp], 3
shl dword [esp], 2
dec dword [esp]
add dword [esp], 0x4d177f5a
push eax
push esp
pop eax
add eax, 4
sub eax, 4
xchg dword [esp], eax
pop esp
mov dword [esp], ebx
push edx
mov dword [esp], 0x433a212c
mov dword [esp], ebx
mov dword [esp], eax
call fcn.008ab1a3
push edi
push ecx
mov ecx, 0
mov edi, ecx
pop ecx
add eax, 0x67ea14cd
add eax, edi
sub eax, 0x67ea14cd
pop edi
mov dword [esp + 8], eax
push dword [esp]
mov ebx, dword [esp]
add esp, 4
add esp, 4
mov eax, dword [esp]
push 0xd910201
mov dword [esp], ebp
mov ebp, esp
add ebp, 4
add ebp, 4
xchg dword [esp], ebp
pop esp
ret
Function at 0x4c4ee8
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.004c507f
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4c5057
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4c5057
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4c500c
jg 0x4c4f44
test eax, eax
je 0x4c5002
push 1
push 0x1000
call fcn.004ba91e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4c4f67
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4c4ff9
push 0x8000
push ebx
call fcn.004b6824
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4c4f90
jg 0x4c4f8b
cmp ecx, 0x1000
jb 0x4c4f90
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004bfd65
add esp, 0x10
cmp eax, 0xffffffff
je 0x4c4fd5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4c4f8b
jl 0x4c4fbc
test ecx, ecx
jne 0x4c4f7d
push dword [ebp - 0xc]
push ebx
call fcn.004b6824
push esi
call fcn.004ba0bb
add esp, 0xc
xor ebx, ebx
jmp 0x4c5065
cmp byte [edi + 0x24], 0
je 0x4c4fec
cmp dword [edi + 0x20], 5
jne 0x4c4fec
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4c4ff7
mov ebx, dword [edi + 0x18]
jmp 0x4c4ff9
xor ebx, ebx
push esi
call fcn.004ba0bb
pop ecx
jmp 0x4c5065
test ecx, ecx
jg 0x4c4fce
jl 0x4c500c
test eax, eax
jae 0x4c4fce
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004bf33e
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4c502c
cmp byte [edi + 0x1c], 0
je 0x4c4fce
jmp 0x4c505d
push ebx
call fcn.004bda0c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4c4fce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4c5065
cmp byte [edi + 0x1c], 0
je 0x4c5062
mov ebx, dword [edi + 0x18]
jmp 0x4c5065
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004bf33e
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43b662
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x43b3c1
sub edx, 0x964b1495
sub eax, 1
call fcn.0043b6a0
add edx, 1
xor dword [edi], ecx
sub edx, 0x74bc433e
sub eax, eax
sub eax, edx
inc edi
and eax, edx
cmp edi, esi
jne fcn.0043b662
sub eax, eax
or eax, eax
and edx, eax
ret
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x4110c7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4341a0]
jne 0x4110d1
repz ret
jmp fcn.004161dc

Function at 0x41ff3b
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.00415bcd
and dword [ebp - 4], 0
cmp dword [0x439758], 0
mov ebx, eax
jne 0x41ffec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42009d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42d7d4
push edi
call esi
test eax, eax
je 0x42009d
push eax
call fcn.00415b5b
mov dword [esp], 0x42d7c4
push edi
mov dword [0x439758], eax
call esi
push eax
call fcn.00415b5b
mov dword [esp], 0x42d7b0
push edi
mov dword [0x43975c], eax
call esi
push eax
call fcn.00415b5b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x439760], eax
call esi
push eax
call fcn.00415b5b
pop ecx
mov dword [0x439768], eax
test eax, eax
je 0x41ffec
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00415b5b
pop ecx
mov dword [0x439764], eax
mov eax, dword [0x439764]
cmp eax, ebx
je 0x420044
cmp dword [0x439768], ebx
je 0x420044
push eax
call fcn.00415bd6
push dword [0x439768]
mov esi, eax
call fcn.00415bd6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x420044
test edi, edi
je 0x420044
call esi
test eax, eax
je 0x42003b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42003b
test byte [ebp - 0xc], 1
jne 0x420044
or dword [ebp + 0x10], 0x200000
jmp 0x42007d
mov eax, dword [0x43975c]
cmp eax, ebx
je 0x42007d
push eax
call fcn.00415bd6
pop ecx
test eax, eax
je 0x42007d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42007d
mov eax, dword [0x439760]
cmp eax, ebx
je 0x42007d
push eax
call fcn.00415bd6
pop ecx
test eax, eax
je 0x42007d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x439758]
call fcn.00415bd6
pop ecx
test eax, eax
je 0x42009d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42009f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4010e0
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebx
push esi
push edi
push 4
push 0x3000
mov esi, 0x1e5d70
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
push eax
cmp eax, 0x11
je 0x4010ad
mov eax, eax
cld
test ecx, ecx
or eax, eax
clc
pop eax
test edi, edi
je 0x4010dc
nop
mov al, al
push 0xf1b30
push 0
push edi
call fcn.00425490
add esp, 0xc
push ebx
mov cl, cl
mov cl, cl
cld
pop ebx
push 0x8000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebx
ret
push 0
push 0x40
push 0x3000
push 0x7d0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
test eax, eax
jne 0x401108
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x401088

Function at 0x401274
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x43e078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00425490
push esi
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00425490
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x18
push 0x43bc08
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43bc0c
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43bc10
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43bc14
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43bc18
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43bc1c
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43bc20
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43bc24
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43bc28
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43bc2c
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43bc30
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43bc34
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43bc38
lea eax, [ebp - 0x108]
push eax
call esi
lea esi, [ebp - 0x20c]
call fcn.004128e1
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x401395
test cl, cl
je 0x401391
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x401395
add eax, 2
add esi, 2
test cl, cl
jne 0x401375
xor eax, eax
jmp 0x40139a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4013d9
lea esi, [ebp - 0x108]
call fcn.004128af
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4013c9
test cl, cl
je 0x4013c5
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4013c9
add eax, 2
add esi, 2
test cl, cl
jne 0x4013a9
xor eax, eax
jmp 0x4013ce
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4013d9
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041e88c
leave
ret

Function at 0x40147a
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
push ecx
mov ecx, dword [eax + 2]
mov dword [ebp - 4], ecx
pop ecx
leave
ret
Function at 0x40149d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
push eax
nop
nop
nop
nop
mov eax, dword fs:[0x30]
nop
nop
nop
nop
mov dword [ebp - 4], eax
nop
nop
pop eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc]
add esi, 0x14
mov edi, dword [esi]
jmp 0x4014db
push dword [ebp + 8]
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4014e5
mov edi, dword [edi]
cmp edi, esi
jne 0x4014c9
xor al, al
pop edi
pop esi
leave
ret
mov al, 1
jmp 0x4014e1

Function at 0x401656
Capabilities:
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x43e078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
xor edi, edi
push 0x104
mov dword [ebp - 0x62c], edi
mov dword [ebp - 0x628], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4017f9
push str.delays.tmp
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x624], edi
mov esi, 0xfffff
push edi
push 0x100
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x620], eax
cmp eax, 0xffffffff
je 0x4017f9
push esi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
mov ebx, eax
call dword [sym.imp.msvcrt.dll__time64]
push eax
call dword [sym.imp.msvcrt.dll_srand]
pop ecx
pop ecx
push esi
call dword [sym.imp.msvcrt.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
push edx
push ebx
call fcn.00425490
add esp, 0xc
push edi
lea eax, [ebp - 0x628]
push eax
push esi
push ebx
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4017f9
cmp dword [ebp - 0x628], esi
jne 0x4017f9
push esi
push edi
push ebx
call fcn.00425490
add esp, 0xc
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0x4000100
push 3
push edi
push edi
push SysReAllocString
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x620], eax
cmp eax, 0xffffffff
je 0x4017f9
push edi
lea ecx, [ebp - 0x62c]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4017f9
cmp dword [ebp - 0x62c], esi
jne 0x4017f9
push esi
push edi
push ebx
call fcn.00425490
add esp, 0xc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x624]
cmp dword [ebp - 0x624], 0x3e8
jb 0x4016c0
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e88c
leave
ret
xor eax, eax
jmp 0x4017ea
Function at 0x404966
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43e078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0x33323130
mov dword [ebp - 0xc], 0x37363534
mov word [ebp - 8], 0x3938
mov byte [ebp - 6], 0
mov ecx, edi
mov eax, esi
push ebx
push 0xa
cdq
pop ebx
idiv ebx
inc ecx
test eax, eax
jne 0x404996
mov byte [ecx], al
pop ebx
mov eax, esi
xor edx, edx
push 0xa
pop esi
div esi
dec ecx
mov dl, byte [ebp + edx - 0x10]
mov esi, eax
mov byte [ecx], dl
test esi, esi
jne 0x4049a4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0041e88c
leave
ret
Function at 0x40688f
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
mov eax, dword [0x43e078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
sub esp, 0xc
mov dword [ebp - 0x8d8], eax
lea eax, [ebp + 0xc]
mov esi, esp
call fcn.00412175
lea eax, [ebp - 0x980]
push eax
call fcn.004049de
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x944]
rep movsd dword es:[edi], dword [esi]
push 0x437a5a
lea esi, [ebp - 0x8f8]
call fcn.00412143
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push dword [ebp + 0x18]
call dword [0x641ce4]
push dword [0x6419ac]
mov dword [ebp - 0x8dc], eax
push dword [ebp - 0x940]
xor esi, esi
call dword [0x641dc0]
test eax, eax
jne 0x406916
inc esi
cmp dword [ebp - 0x8dc], ebx
je 0x406a9a
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x92c]
push dword [ebp - 0x934]
push dword [ebp - 0x8dc]
call dword [0x641de4]
mov dword [ebp - 0x8e8], eax
cmp eax, ebx
je 0x406a8e
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x6417f8]
push dword [ebp - 0x918]
push 0x438ab4
push dword [ebp - 0x8e8]
call dword [0x641e24]
mov edi, eax
mov dword [ebp - 0x8e0], edi
cmp edi, ebx
je 0x406a82
cmp esi, ebx
je 0x4069af
or dword [ebp - 0x8ec], 0x10300
push 4
lea eax, [ebp - 0x8ec]
push eax
push 0x1f
push edi
call dword [0x641bdc]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x641dac]
push ebx
mov esi, eax
lea eax, [ebp - 0x8fc]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x13
push edi
mov dword [ebp - 0x8fc], 0x100
call dword [0x641e3c]
test eax, eax
jne 0x4069f7
push 0x438ab8
mov esi, dword [ebp - 0x8d8]
call fcn.00412143
jmp 0x406aab
lea edx, [ebp - 0x104]
call fcn.00413759
cmp eax, 0xc8
jne 0x406ad7
cmp esi, ebx
je 0x406a76
mov edi, 0x7cf
jmp 0x406a57
mov eax, dword [ebp - 0x8e4]
cmp eax, ebx
je 0x406a76
mov byte [ebp + eax - 0x8d4], bl
lea eax, [ebp - 0x8d4]
push eax
lea esi, [ebp - 0x908]
lea eax, [ebp - 0x8f8]
call fcn.00412265
lea esi, [ebp - 0x8f8]
call fcn.004121e9
mov eax, dword [ebp - 0x908]
call fcn.00402910
lea eax, [ebp - 0x8e4]
push eax
push edi
lea eax, [ebp - 0x8d4]
push eax
push dword [ebp - 0x8e0]
call dword [0x641d0c]
test eax, eax
jne 0x406a18
push dword [ebp - 0x8e0]
call dword [0x641ce0]
push dword [ebp - 0x8e8]
call dword [0x641ce0]
push dword [ebp - 0x8dc]
call dword [0x641ce0]
mov esi, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8f8]
call fcn.00412175
mov eax, dword [ebp - 0x8f8]
call fcn.00402910
mov eax, dword [ebp + 0xc]
call fcn.00402910
mov eax, dword [ebp + 0x18]
call fcn.00402910
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e88c
leave
ret
push str.ERROR
jmp 0x4069e7
Function at 0x40766f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0x40
push 0
push esi
call fcn.00407c0b
add esp, 0x10
test eax, eax
jne 0x40768f
xor eax, eax
inc eax
jmp 0x407725
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x407722
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x407722
push dword [ebp + 8]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call fcn.00407c0b
add esp, 0x10
test eax, eax
je 0x407687
cmp dword [edi], 0x4550
jne 0x407722
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x407722
movzx eax, word [esi + 0x46]
test ax, ax
je 0x407722
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.004137d4
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x4076f7
push 3
jmp 0x407724
push dword [ebp + 8]
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
push dword [esi + 0x140]
lea ecx, [ecx + edx + 0x18]
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00407c0b
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x407725
push 2
pop eax
pop edi
pop ebp
ret