joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471180
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f1ba
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c3c64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push 0x4b67a8
xor esi, esi
push eax
mov dword [ebp - 0x18], esi
call fcn.004891da
mov ebx, eax
add esp, 8
cmp ebx, esi
jne 0x4711e8
mov ecx, dword [0x4c89b8]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
cmp ecx, esi
je 0x4711d6
inc dword [ecx + 0x30]
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 2
push esi
push ebx
call fcn.0048977a
add esp, 0xc
push ebx
call fcn.0048964b
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], esi
cmp edi, esi
jne 0x471239
push ebx
call fcn.00489876
mov edx, dword [0x4c89b8]
mov eax, dword [ebp + 8]
mov ecx, edx
add esp, 4
mov dword [eax], edx
cmp ecx, esi
je 0x471359
inc dword [ecx + 0x30]
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 esi
push esi
push ebx
call fcn.0048977a
lea eax, [edi + 4]
add esp, 0xc
push eax
call fcn.00485790
add esp, 4
push ebx
push edi
mov esi, eax
push 1
push esi
call fcn.00489491
push ebx
mov edi, eax
call fcn.00489876
add esp, 0x14
push 0
push edi
push esi
mov byte [esi + edi], 0
mov byte [esi + edi + 1], 0
mov byte [esi + edi + 2], 0
mov byte [esi + edi + 3], 0
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
test al, al
jne 0x4712cb
cmp byte [esi], 0xef
mov eax, 2
jne 0x4712a6
cmp byte [esi + 1], 0xbb
jne 0x4712a6
cmp byte [esi + 2], 0xbf
jne 0x4712a6
lea ecx, [eax + 1]
lea eax, [ecx - 2]
jmp 0x4712a9
mov ecx, dword [ebp - 0x10]
push eax
lea ebx, [esi + ecx]
call fcn.0046f910
add esp, 4
push esi
mov edi, eax
call fcn.004856b3
add esp, 4
mov esi, edi
mov dword [ebp - 0x10], 0
jmp 0x4712ef
mov al, byte [esi]
cmp al, 0xef
jne 0x4712de
cmp byte [esi + 1], 0xff
jne 0x4712de
mov dword [ebp - 0x10], 2
cmp al, 0xff
jne 0x4712ef
cmp byte [esi + 1], 0xfe
jne 0x4712ef
mov dword [ebp - 0x10], 2
test esi, esi
jne 0x471317
mov ecx, dword [0x4c89b8]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
test ecx, ecx
je 0x471359
inc dword [ecx + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push 0
lea ecx, [esi + edx]
push eax
call fcn.00470fa0
push esi
call fcn.004856b3
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
add esp, 0xc
mov dword [esi], eax
test eax, eax
je 0x471340
inc dword [eax + 0x30]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x18], 1
call fcn.004719f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x473cb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c348
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c3c64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jbe 0x473d51
push esi
call fcn.00476b9d
mov edi, eax
add esp, 4
test edi, edi
je 0x473d51
mov edx, dword [ebp + 8]
push edi
push esi
push 0
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x473d48
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473d35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call fcn.00476ba8
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473d77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x474050
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebx + 0x3c]
movzx ecx, word [eax + ebx + 0x14]
add eax, ebx
push esi
push edi
movzx edi, word [eax + 6]
lea edx, [ecx + eax + 0x18]
xor ecx, ecx
mov dword [ebp - 4], edx
test edi, edi
jle 0x474098
lea eax, [edx + 8]
mov edx, dword [eax]
mov esi, edx
test edx, edx
jne 0x47407f
mov esi, dword [eax + 8]
mov edx, dword [eax + 4]
cmp dword [ebp + 8], edx
jb 0x474090
add esi, edx
mov edx, dword [ebp + 8]
cmp edx, esi
jb 0x4740a0
inc ecx
add eax, 0x28
cmp ecx, edi
jl 0x474074
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 4]
lea ecx, [ecx + eax*8]
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
pop edi
add eax, ebx
add eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4752a0
Capabilities:
Encode data using xor

Disassembly:
or edx, 0xffffffff
cmp dword [0x4c8730], 0
jne 0x4752b1
call fcn.00475200
xor eax, eax
test esi, esi
jle 0x4752db
jmp 0x4752c0
movzx ecx, byte [eax + edi]
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [ecx*4 + 0x4c82e8]
inc eax
cmp eax, esi
jl 0x4752c0
mov eax, edx
ret
Function at 0x478bfc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x478c20
cmp dword [edi + 0x54], 0
jne 0x478c20
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004795f3
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00478bbd
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x47edd4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x47ee1b
call fcn.004795f3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x47ee1b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x47ee37
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0047e94c
mov esi, eax
test edi, edi
je 0x47ee35
test ebx, ebx
je 0x47ee35
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x484f14
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c3c64]
jne 0x484f1e
repz ret
jmp fcn.0048bc2d
Function at 0x495395
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.0048b591
and dword [ebp - 4], 0
cmp dword [0x4c81ec], 0
mov ebx, eax
jne 0x495446
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4954f7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a78d8
push edi
call esi
test eax, eax
je 0x4954f7
push eax
call fcn.0048b51f
mov dword [esp], 0x4a78c8
push edi
mov dword [0x4c81ec], eax
call esi
push eax
call fcn.0048b51f
mov dword [esp], 0x4a78b4
push edi
mov dword [0x4c81f0], eax
call esi
push eax
call fcn.0048b51f
mov dword [esp], 0x4a7898
push edi
mov dword [0x4c81f4], eax
call esi
push eax
call fcn.0048b51f
pop ecx
mov dword [0x4c81fc], eax
test eax, eax
je 0x495446
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0048b51f
pop ecx
mov dword [0x4c81f8], eax
mov eax, dword [0x4c81f8]
cmp eax, ebx
je 0x49549e
cmp dword [0x4c81fc], ebx
je 0x49549e
push eax
call fcn.0048b59a
push dword [0x4c81fc]
mov esi, eax
call fcn.0048b59a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x49549e
test edi, edi
je 0x49549e
call esi
test eax, eax
je 0x495495
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x495495
test byte [ebp - 0xc], 1
jne 0x49549e
or dword [ebp + 0x10], 0x200000
jmp 0x4954d7
mov eax, dword [0x4c81f0]
cmp eax, ebx
je 0x4954d7
push eax
call fcn.0048b59a
pop ecx
test eax, eax
je 0x4954d7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4954d7
mov eax, dword [0x4c81f4]
cmp eax, ebx
je 0x4954d7
push eax
call fcn.0048b59a
pop ecx
test eax, eax
je 0x4954d7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c81ec]
call fcn.0048b59a
pop ecx
test eax, eax
je 0x4954f7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4954f9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x705f00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x705f2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x705f2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x107b7860
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp ebp
pushfd
movzx cx, cl
setno ch
movzx edx, si
push eax
btc dx, sp
bt ax, bp
rdtsc
push ebp
setle ah
btc ecx, 0x60
push esi
rdtsc
push edi
push ebx
stc
mov eax, 0
push eax
mov edi, dword [esp + 0x28]
ror edi, 1
neg edi
bts bp, ax
bt bx, bx
ror edi, 1
dec edi
neg edi
movzx bx, ch
jmp 0x107b231c
add edi, 0x791048f1
bswap edx
rol edi, 1
add edi, eax
movsx ecx, sp
mov esi, esp
cmovg dx, dx
rcl bl, 0x78
xchg cl, cl
lea esp, [esp - 0xc0]
stc
mov ebx, edi
sbb dh, 0xf
sar edx, 0x23
shr edx, cl
mov ecx, 0
sub ebx, ecx
lea ebp, [0x107b234f]
rcl dx, 0xf5
shl dl, 0x4e
mov edx, dword [edi]
cmp esp, 0x5dba4e2e
lea edi, [edi + 4]
xor edx, ebx
cmp di, di
neg edx
lea edx, [edx - 0x33484929]
xor edx, 0x448d4d2d
clc
neg edx
cmc
xor ebx, edx
test ebp, ebp
add ebp, edx
jmp 0x1053e929
push ecx
movzx ecx, bx
cmovb cx, di
bswap cx
push edx
jmp 0x1056057f
Function at 0x403600
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
movzx ebp, word [esp + 0xc]
push esi
push edi
push 0x448c88
mov edi, eax
push ebp
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x403653
push 2
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4036ff
push 0x2000
push ebx
push ebx
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 4], eax
xor eax, eax
call fcn.00402fb0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40366d
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push ebp
push eax
call fcn.0042e7a0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x14]
push eax
push 1
xor ebx, ebx
push edi
mov dword [esp + 0x20], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4036f8
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4036f8
push eax
push esi
call fcn.00402b90
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
sub esp, 0x10
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
xor edi, edi
mov dword [eax + 8], edi
push esi
mov dword [eax + 0xc], ebx
call fcn.00403500
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret

Function at 0x405890
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4434f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4531c4]
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.00401a20
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4058e6
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [esp + 0x10]
call fcn.00405ac0
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.00401a20
cmp dword [esp + 0x24], 8
jb 0x40592f
mov edx, dword [esp + 0x10]
push edx
call fcn.00429ba0
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 0x406090
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
cmp dword [esi + 0xac], 0
jne 0x4060a8
xor al, al
pop esi
add esp, 0x20
ret 4
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [esi + 0xac]
lea ecx, [esp + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x10]
push 0x41
add eax, dword [esp + 0x24]
push 0
cdq
sub eax, edx
sar eax, 1
push 0
push eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi + 0xac]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0xac]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xac]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov al, 1
pop esi
add esp, 0x20
ret 4

Function at 0x406130
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx]
mov edx, dword [eax + 0x8c]
push 0
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x406170
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push edi
call edx
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4061a0
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 9
mov ecx, esi
call edx
push eax
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 5
mov ecx, esi
call edx
push eax
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0x43
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
ret
Function at 0x409520
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x24]
mov dword [esi + 0xc], 1
test eax, eax
je 0x409535
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], 1
test eax, eax
je 0x409573
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x409562
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
ret
Function at 0x409d90
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4446e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4531c4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov eax, dword [0x4531c4]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [edi + 0xc]
xor ebx, ebx
cmp eax, ebx
jne 0x409f66
mov edi, edi
mov eax, dword [edi + 0x20]
call fcn.0040a5c0
mov esi, eax
cmp esi, ebx
je 0x409f31
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x409dfa
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
push ebx
push ebx
push 1
push ecx
push edx
call eax
add esp, 0x14
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x1c], ax
push ebx
mov eax, esi
lea ecx, [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
call fcn.00401a20
mov dword [esp + 0x3c], ebx
cmp dword [edi + 0xc], ebx
jne 0x409e92
cmp ebp, dword [esi + 0x40]
jg 0x409e6b
push esi
mov ecx, edi
call fcn.00409580
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x409e6b
mov eax, dword [edi + 0xc]
inc ebp
cmp eax, ebx
jne 0x409e6b
cmp ebp, dword [esi + 0x40]
jg 0x409e66
lea esp, [esp]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xc], 0
jne 0x409e64
inc ebx
cmp ebx, 0xa
jl 0x409e50
xor ebx, ebx
cmp dword [edi + 0xc], ebx
je 0x409e2a
cmp dword [edi + 0xc], ebx
jne 0x409e92
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x409e8c
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x4c]
push esi
push ecx
mov ecx, dword [esi + 0x48]
push 3
push edx
push ecx
call eax
add esp, 0x14
cmp dword [esp + 0x10], ebx
je 0x409eb1
cmp dword [esi + 0x30], ebx
je 0x409eb1
cmp dword [esi + 0x58], ebx
je 0x409eb1
cmp dword [esi + 0x34], 8
jb 0x409ea7
mov eax, dword [esi + 0x20]
jmp 0x409eaa
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x409ec4
push eax
call fcn.00429cb7
add esp, 4
mov dword [esi + 0x38], ebx
cmp dword [esi + 0x34], 8
jb 0x409ed6
mov eax, dword [esi + 0x20]
push eax
call fcn.00429ba0
add esp, 4
mov ebp, 7
xor edx, edx
mov dword [esi + 0x34], ebp
mov dword [esi + 0x30], ebx
mov word [esi + 0x20], dx
cmp dword [esi + 0x18], 8
jb 0x409ef9
mov eax, dword [esi + 4]
push eax
call fcn.00429ba0
add esp, 4
xor eax, eax
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push esi
mov word [esi + 4], ax
call fcn.00429ba0
add esp, 4
cmp dword [edi + 0xc], ebx
jne 0x409f52
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x409f47
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00429ba0
add esp, 4
jmp 0x409f47
mov edx, dword [edi + 0x24]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x409f66
cmp dword [edi + 0xc], ebx
je 0x409dd0
jmp 0x409f66
cmp dword [esp + 0x2c], 8
jb 0x409f66
mov eax, dword [esp + 0x18]
push eax
call fcn.00429ba0
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00429bab
add esp, 0x30
ret
Function at 0x409f90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4434c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4531c4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4531c4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
xor edi, edi
mov dword [esp + 0x14], edi
xor ecx, ecx
mov word [esp + 0x1c], cx
mov ecx, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
lea esi, [ecx + 2]
jmp 0x409ff0
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x409ff0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x1c]
call fcn.00401bb0
mov dword [esp + 0x40], edi
lea edi, [esp + 0x14]
mov ebx, esi
mov dword [esp + 0x14], 0x2f
call fcn.00405720
mov esi, ebp
cmp eax, 0xffffffff
jne 0x40a054
xor edx, edx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
push edx
mov eax, 0x448c20
mov word [ebp + 4], dx
call fcn.00401bb0
cmp dword [esp + 0x30], 8
jb 0x40a078
mov eax, dword [esp + 0x1c]
push eax
jmp 0x40a070
lea ecx, [esp + 0x18]
push ecx
lea edx, [eax + 1]
or ecx, 0xffffffff
call fcn.004056f0
cmp dword [esp + 0x30], 8
jb 0x40a078
mov edx, dword [esp + 0x1c]
push edx
call fcn.00429ba0
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00429bab
add esp, 0x30
ret 8