joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bf7c
Capabilities:
Encode data using xor

Disassembly:
push eax
call 0xdd314177
add byte [eax], al
and byte [ebp - 0xdb73], cl
call dword [esi + 0x57]
call fcn.0044bdd6
call dword [eax + edx]
lea ecx, [ebp - 0xdc]
call fcn.0044be1a
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x44bfc0
ja 0x44c021
call dword [ecx + 0x51]
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.0044bf50
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x44bfaa
mov ecx, dword [ebx + ecx*8 - 0x3e]
or al, 0
or dword [eax + eax - 0x48], ecx
mov eax, 0xe8000011
out dx, eax
cmp dh, bh
sbb byte [ebx + 0x56], dl
push dword [ebx]
push dword [ebx]
ror byte [ebx + 0x2b68d9], 0x2b
ror byte [ecx - 0x42762ba3], cl
push esp
sti
invalid
mov word [ebp - 0x280], ax
mov dword [ebp - 0x5c], edi
call fcn.0041f50c
pop ecx
or byte [ebp - 0x601713b3], cl
xchg ebx, edi
dec dword [ebp - 0x78b73]
invalid

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x4efd5cb8
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x25da1244
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40689a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068be
xor eax, eax
test eax, eax
je 0x4068d1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068d1
xor ecx, ecx
jmp 0x4068d4
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4069f7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x406a2e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a08
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a5f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x406a41
pop edi
not eax
pop esi
ret 0xc

Function at 0x433005
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x76735d9e
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..text_1
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x597b453b
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov byte [ebp - 0x2c], 0x64
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x73
mov byte [ebp - 0x29], 0x6b
mov byte [ebp - 0x28], 0x74
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], 0x70
mov byte [ebp - 0x25], 0x2e
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x23], 0x6e
mov byte [ebp - 0x22], 0x69
mov byte [ebp - 0x21], 0
mov eax, dword [0x10002014]
mov dword [ebp - 0x14], eax
mov cx, word [0x10002018]
mov word [ebp - 0x10], cx
mov byte [0x1000300d], 0
mov byte [0x1000301a], 0
mov byte [0x10003026], 0
mov byte [0x10003032], 0
mov byte [0x10003044], 0
mov byte [0x10003051], 0
mov byte [0x10003065], 0
mov byte [0x10003073], 0
mov byte [0x10003081], 0
mov byte [0x1000308e], 0
mov byte [0x100030a1], 0
mov byte [0x100030aa], 0
push 0x100030a2
push 0x1000201c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x10003066
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push 1
push 0
push 0
lea edx, [ebp - 0x12]
push edx
push 0
push 0
call dword [ebp - 0x20]
push 0x10003027
push 0x10002050
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
push 0x1000300e
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 8]
mov dword [0x100030b0], eax
push 0x40
push 0x1000
push 0x1000
push 0
call dword [ebp - 0x18]
mov dword [0x100030ac], eax
push 0
push 0x100030bc
push 0x1000
mov ecx, dword [0x100030ac]
push ecx
mov edx, dword [0x100030b0]
push edx
call dword [ebp - 0xc]
mov eax, dword [0x100030ac]
mov cl, byte [eax]
mov byte [0x100030b4], cl
mov dword [ebp - 4], 0x42
movzx edx, byte [0x100030b4]
xor edx, 0x4e
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x30], 0
jmp 0x1000119a
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [0x100030bc]
jae 0x100011c4
mov edx, dword [0x100030ac]
add edx, dword [ebp - 0x30]
movzx eax, byte [edx]
xor eax, dword [ebp - 0x1c]
add eax, dword [ebp - 4]
mov ecx, dword [0x100030ac]
add ecx, dword [ebp - 0x30]
mov byte [ecx], al
jmp 0x10001191
call dword [0x100030ac]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10004640
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1008014a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100ae130]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x1d
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push str.SELECT__FROM_Win32_DiskDrive
mov byte [ecx + 4], 0
call fcn.10002560
lea ecx, [esp + 0x28]
call fcn.10017430
push eax
mov dword [esp + 0x34], 0
call fcn.100047e0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x34], 0xffffffff
call fcn.10004760
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x100087d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007f170
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100ae130]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x100ae130]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], 0
push 0x100a7d18
mov dword [esp + 0x3c], 0
call dword [0x10081058]
mov esi, eax
mov edx, esi
lea ecx, [esp + 0x10]
call fcn.100085b0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x40], 1
call fcn.1000e380
add esp, 8
test esi, esi
je 0x1000884c
push esi
call dword [0x10081064]
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x10008864
mov edx, dword [esp + 0x14]
push edx
call fcn.1001a366
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp dword [esp + 0x58], esi
jb 0x1000888e
mov ecx, dword [esp + 0x44]
push ecx
call fcn.1001a366
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1001a371
add esp, 0x30
ret
Function at 0x1000ca40
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1007e33b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100ae130]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.1001a17b
push 4
mov dword [esp + 0x20], 0
call fcn.1001a655
mov edi, eax
add esp, 4
test edi, edi
je 0x1000cabe
call fcn.100199f3
mov dword [edi], eax
call fcn.10019821
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.10019745
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x1000cab3
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.1001976d
jmp 0x1000cac0
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x1000e2c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1007f028
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x100ae130]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.1000bc00
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000e316
sub eax, edx
sar eax, 1
push eax
push ebx
lea eax, [esp + 0x14]
call fcn.1000cb40
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.1000bc00
cmp dword [esp + 0x24], 8
jb 0x1000e35e
mov edx, dword [esp + 0x10]
push edx
call fcn.1001a366
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x10013890
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1007e33b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100ae130]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1001a17b
push 4
mov dword [esp + 0x20], 0
call fcn.1001a655
mov edi, eax
add esp, 4
test edi, edi
je 0x1001390e
call fcn.100199f3
mov dword [edi], eax
call fcn.10019821
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.10019745
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10013903
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.1001976d
jmp 0x10013910
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x10016f10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1007e530
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
mov eax, dword [0x100ae130]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
xor ebx, ebx
lea esi, [ebp + ebp + 2]
cmp esi, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebp
jge 0x10017003
lea esp, [esp]
sub esp, 0x1c
lea ecx, [esi*8]
sub ecx, esi
lea ebp, [edi + ecx*4]
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.10001f10
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
mov byte [esp + 0x64], 1
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push ebp
mov byte [ecx + 4], bl
call fcn.10001f10
mov byte [esp + 0x60], bl
call dword [esp + 0x48]
add esp, 0x38
cmp al, bl
je 0x10016fc2
dec esi
push 0xffffffffffffffff
lea edx, [esi*8]
sub edx, esi
lea eax, [edi + edx*4]
push ebx
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [edi + ecx*4]
call fcn.10001f10
mov dword [esp + 0x30], esi
lea esi, [esi + esi + 2]
cmp esi, dword [esp + 0x34]
jl 0x10016f60
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
cmp esi, eax
jne 0x1001702e
lea edx, [eax*8]
push 0xffffffffffffffff
sub edx, eax
lea ecx, [ebp*8]
push ebx
lea eax, [edi + edx*4 - 0x1c]
sub ecx, ebp
push eax
lea ecx, [edi + ecx*4]
call fcn.10001f10
mov edx, dword [esp + 0x34]
dec edx
mov ebp, edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x5c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.10001f10
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edi
mov edx, ebp
call fcn.10017190
add esp, 0x24
cmp dword [esp + 0x50], 0x10
jb 0x10017079
mov edx, dword [esp + 0x3c]
push edx
call fcn.1001a366
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x40bd60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
push esi
mov esi, eax
push esi
call fcn.0040a376
cmp eax, 0x3f6
jae 0x40bf74
push ebx
push edi
push 0x3c
pop edi
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x44]
push eax
call fcn.0040a27b
mov cl, byte [esi]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0x5c0
cmp cl, 0x22
jne 0x40bda8
lea eax, [esi + 1]
mov dword [ebp - 0x34], eax
jmp 0x40bdab
mov dword [ebp - 0x34], esi
xor eax, eax
cmp cl, bl
je 0x40bdf0
mov ecx, esi
cmp byte [ecx], 0x22
jne 0x40bdcc
jmp 0x40bdc0
cmp byte [eax + esi], 0x22
je 0x40bdc8
inc eax
cmp byte [eax + esi], bl
jne 0x40bdba
jmp 0x40bdcc
mov byte [eax + esi], 0x20
cmp byte [eax + esi], 0x20
je 0x40bde3
cmp byte [eax + esi + 1], 0x2f
je 0x40bde3
inc eax
lea ecx, [eax + esi]
cmp byte [ecx], bl
jne 0x40bdb3
jmp 0x40bdf0
add eax, esi
cmp byte [eax], 0x20
jne 0x40bdec
mov byte [eax], bl
inc eax
mov dword [ebp - 0x30], eax
cmp byte [ebp + 8], bl
jne 0x40be04
cmp byte [0x41a392], bl
je 0x40be04
mov dword [ebp - 0x30], 0x41a392
push dword [ebp - 0x34]
mov dword [ebp - 0x28], 1
call fcn.00407682
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40be30
push str..inf
push eax
call fcn.0040a58c
test eax, eax
jne 0x40be30
mov dword [ebp - 0x38], 0x412648
push ebx
push dword [ebp - 0x34]
call fcn.00405759
mov byte [ebp - 1], al
cmp al, bl
je 0x40be58
lea eax, [ebp - 0x844]
push eax
push dword [ebp - 0x34]
call fcn.00405814
lea eax, [ebp - 0x844]
mov dword [ebp - 0x34], eax
cmp byte [ebp + 8], bl
je 0x40be97
cmp byte [ebp - 1], bl
jne 0x40be97
push dword [ebp - 0x34]
lea eax, [ebp - 0x444]
push eax
call fcn.0040a469
push str..exe
lea eax, [ebp - 0x444]
push eax
call fcn.0040a5d4
push ebx
lea eax, [ebp - 0x444]
push eax
call fcn.00405759
test al, al
je 0x40bf72
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea eax, [ebp - 0x44]
push eax
call edi
test eax, eax
setne al
cmp al, bl
jne 0x40bec9
and dword [ebp - 0x40], 0xfffffbff
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x34], esi
call edi
test eax, eax
setne al
cmp al, bl
je 0x40bf72
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 1], bl
cmp byte [0x419f88], bl
jne 0x40bedf
cmp byte [ebp + 8], bl
je 0x40bf16
mov eax, dword [0x419f80]
cmp eax, ebx
je 0x40bf00
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40bf00
push ebx
push dword [0x419f80]
call esi
mov byte [ebp - 1], 1
push 0x7d0
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0xc]
call fcn.0040b6ca
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
je 0x40bf35
push str..exe
push dword [ebp - 8]
call fcn.0040a58c
test eax, eax
je 0x40bf63
cmp byte [0x419f88], bl
je 0x40bf49
cmp byte [ebp + 8], bl
jne 0x40bf49
push 0x1b58
jmp 0x40bf5d
xor eax, eax
cmp byte [ebp + 8], bl
sete al
dec eax
and eax, 0xfffffce0
add eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebp - 1], bl
je 0x40bf72
push 1
push dword [0x419f80]
call esi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x403470
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
cmp dword [ecx + 0x50], 0x10
lea ebx, [ecx + 0x3c]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x24], eax
mov dword [ebx + 0x10], eax
jb 0x40349a
mov eax, dword [ebx]
jmp 0x40349c
mov eax, ebx
mov byte [eax], 0
call fcn.0044cd70
mov esi, eax
test esi, esi
jne 0x4034c0
mov eax, 0x13ab
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
mov ecx, edi
lea edi, [ebp - 0x20]
call fcn.00402fd0
push 1
push 0x34
push esi
call fcn.0044cdb0
add esp, 0xc
push 5
push 0x4e
push esi
call fcn.0044cdb0
add esp, 0xc
push 1
push 0x13
push esi
call fcn.0044cdb0
add esp, 0xc
push 0x12c
push 0x14
push esi
call fcn.0044cdb0
mov eax, dword [ebp - 0x20]
mov edi, 0x10
add esp, 0xc
cmp dword [ebp - 0xc], edi
jae 0x403511
lea eax, [ebp - 0x20]
push eax
push 0x2712
push esi
call fcn.0044cdb0
add esp, 0xc
push 0x4035d0
push 0x4e2b
push esi
call fcn.0044cdb0
add esp, 0xc
push ebx
push 0x2711
push esi
call fcn.0044cdb0
add esp, 0xc
push 1
push 0x63
push esi
call fcn.0044cdb0
add esp, 0xc
push esi
call fcn.0044cde0
add esp, 4
test eax, eax
je 0x403565
mov dword [ebp - 0x24], 0x13ab
jmp 0x403599
lea eax, [ebp - 0x28]
push eax
push 0x200002
push esi
call fcn.0044cf40
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x28]
jne 0x403585
cmp eax, 0xc8
je 0x403599
sub eax, 0x194
neg eax
sbb eax, eax
and eax, 0xfffffff2
add eax, 0x13b9
mov dword [ebp - 0x24], eax
push esi
call fcn.0044cee0
add esp, 4
cmp dword [ebp - 0xc], edi
jb 0x4035b3
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00481954
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004815a9
mov esp, ebp
pop ebp
ret
Function at 0x405cd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0x124
lea eax, [ebp - 0x130]
push 0
push eax
mov dword [ebp - 0x134], 0
call fcn.00485940
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x405d67
lea ecx, [ebp - 0x134]
push ecx
push esi
mov dword [ebp - 0x134], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x405d60
lea edx, [ebp - 0x110]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x405d4e
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x11c], eax
je 0x405d7a
lea ecx, [ebp - 0x134]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x405d31
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x12c]
push esi
mov dword [ebx], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004815a9
mov esp, ebp
pop ebp
ret 4

Function at 0x4063b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00487700
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x1004]
push 0x1000
push edx
call fcn.004828d7
add esp, 0x10
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
Function at 0x407570
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4075a2
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
push edi
mov edx, esi
call fcn.004076d0
push 0x103
xor edi, edi
lea eax, [ebp - 0x107]
push edi
push eax
mov byte [ebp - 0x108], 0
call fcn.00485940
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4075d0
sub eax, edx
inc eax
cmp eax, edi
je 0x4075f6
cmp eax, 0x7fffffff
ja 0x4075f6
push esi
mov edx, bind
lea ecx, [ebp - 0x108]
call fcn.00406c80
mov edx, 0x104
lea eax, [ebp - 0x108]
cmp byte [eax], 0
je 0x40760c
inc eax
dec edx
jne 0x407601
jmp 0x407634
cmp edx, edi
je 0x407634
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
push 0x50ff98
lea ecx, [ebp + ecx - 0x108]
mov edx, bind
call fcn.00406c80
mov ecx, 0x414
lea edx, [ebp - 0x108]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov word [ebp - 0x118], cx
mov dword [ebp - 0x112], edi
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x10e], edi
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x124], 3
xor esi, esi
jmp 0x407680
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edi, eax
test edi, edi
je 0x4076a5
cmp edi, 0x20
jne 0x4076bd
push 0x3e8
inc esi
call ebx
cmp esi, 5
jl 0x407680
xor eax, eax
pop ebx
test edi, edi
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.004815a9
mov esp, ebp
pop ebp
ret
Function at 0x408490
Capabilities:
Parse pe header

Disassembly:
test eax, eax
je 0x4084a9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4084a9
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
je 0x4084ac
xor eax, eax
ret
add eax, 0x18
ret