joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f48d
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x45f4af
mov eax, 0xfffffffd
jmp 0x45f58c
mov ebx, dword [0x614880]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x45f55a
mov ebx, dword [0x614880]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x45f4fe
mov ebx, dword [0x614880]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x45f4fe
mov eax, 1
jmp 0x45f500
xor eax, eax
test eax, eax
je 0x45f52c
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x45f515
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x614880]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x45f582
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x45f58c
mov esp, ebp
pop ebp
ret 4

Function at 0x45fc68
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0055eb70
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x45fcad
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x59ab40
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.004019d9
add esp, 8
cmp eax, 0
jne 0x45fd03
mov eax, dword [0x61488c]
test eax, eax
je 0x45fcea
push eax
mov ebx, eax
call fcn.00401a76
inc eax
push eax
call fcn.0055dd8b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x45fcfd
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x45fd34
push 6
call fcn.0055dd91
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x45fd47
mov eax, 0x59ab40
push eax
push 1
mov ebx, 0x170
call fcn.00560e20
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x45fd65
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x45fd76
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45fd7d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0055eb70
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x45fdc2
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x45fded
push 6
call fcn.0055dd91
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x45fe09
push eax
mov ebx, eax
call fcn.00401a76
inc eax
push eax
call fcn.0055dd8b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x45fe0e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x45fe1f
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x46017d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0045b78e
test eax, eax
je 0x4601c0
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x4601c0
cmp word [eax], 0x5a4d
jne 0x4601c0
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x4601c0
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0045b860
mov eax, dword [ebp + 8]
jmp 0x4601d9
mov esp, ebp
pop ebp
ret 4
Function at 0x4674d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 1
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00467645
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x467513
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.00467f0f
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
call fcn.00467f0f
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fsub qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401145
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x467567
mov eax, 0x59ab40
push eax
push 2
mov ebx, 0x134
call fcn.00560490
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x467591
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push str.wzAudio.dll
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004036b1
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4675cf
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4675e2
push ebx
call fcn.0055dd85
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x4675fb
mov eax, 0
jmp 0x467605
mov eax, 1
jmp 0x467605
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x467616
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x467626
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x467636
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x46aec1
Capabilities:
Check for debugger via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push 0x614938
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x46aef1
push 6
call fcn.0055dd91
add esp, 4
mov eax, dword [0x614938]
jmp 0x46aefb
mov esp, ebp
pop ebp
ret 4
Function at 0x46fa76
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x18
call fcn.0055dd8b
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [0x614990], 0
jne 0x46fb42
mov ebx, dword [0x614994]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov eax, 0x5ed2e3
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0045ba15
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x46faf6
push ebx
call fcn.0055dd85
add esp, 4
lea eax, [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.0046fc20
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x46fb17
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [0x614990], eax
push htons
push 0
push 0x470d7b
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [0x614998], eax
push 1
lea eax, [ebp - 4]
push eax
push 1
push 0
push 1
push 0
push dword [0x614998]
push dword [0x614990]
call fcn.004703e3
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x46fba2
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 8], eax
push 1
lea eax, [ebp - 4]
push eax
call fcn.00470baa
cmp dword [ebp - 8], 0
je 0x46fbfb
push 2
push dword [ebp - 8]
call fcn.0046e982
cmp dword [ebp + 0x1c], 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x46fbf2
push 1
push 0xffffffff
push dword [ebp + 0x18]
push dword [ebp - 8]
call fcn.00470c37
lea eax, [ebp - 8]
push eax
call fcn.004670dd
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x46fc0c
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4786f6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push htons
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
push 0
push 0
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x478763
push 6
call fcn.0055dd91
add esp, 4
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
cmp dword [ebp + 0x18], 0
jne 0x478796
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 0x14]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x478796
push 6
call fcn.0055dd91
add esp, 4
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0
mov eax, 0
setne al
jmp 0x4787a9
mov esp, ebp
pop ebp
ret 0x14
Function at 0x479d30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x614520
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x100]
test eax, eax
je 0x479df1
push htons
push 0
push 0x47a1f1
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 1
push dword [ebp - 4]
push 0
push 0
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x479dc7
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x479dec
push 6
call fcn.0055dd91
add esp, 4
jmp 0x479dfb
push 0
call fcn.00479dff
mov esp, ebp
pop ebp
ret

Function at 0x47b8a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push dword [0x614344]
call dword [sym.imp.USER32.dll_IsWindowVisible]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x47b8ce
push 6
call fcn.0055dd91
add esp, 4
test eax, eax
je 0x47b905
mov dword [ebp - 4], esp
push 0
push dword [0x614344]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x47b900
push 6
call fcn.0055dd91
add esp, 4
jmp 0x47b92f
mov dword [ebp - 4], esp
push 5
push dword [0x614344]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x47b92f
push 6
call fcn.0055dd91
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x47bca7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
jmp 0x47bcc0
push 0
mov ebx, 0x350
call fcn.00560970
add esp, 4
push 0
push 0
push 0
push 1
mov ebx, 0x90
call fcn.00560be0
add esp, 0x10
push 0
mov ebx, 0x210
call fcn.00560430
add esp, 4
mov dword [0x6148a4], eax
mov dword [0x6148a8], edx
push 0x80000301
push 0
push 0x1d4c0
push 0x80000301
push 0
push 0xea60
push 2
mov ebx, 0x94
call fcn.0055efe0
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.00423cd5
mov eax, dword [0x614330]
and eax, 1
xor eax, 1
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x47bd81
xor esp, esp
ret
add esp, 8
call fcn.00424ac3
push htons
push 0
push 0x46af6b
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 4]
push eax
push 0
push 0
push dword [ebp - 8]
push 0
push 0
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x47bde9
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x47be0e
push 6
call fcn.0055dd91
add esp, 4
cmp dword [ebp - 4], 0
mov eax, 0
sete al
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x47be48
xor esp, esp
ret
add esp, 8
cmp dword [0x6142fc], 0
mov eax, 0
sete al
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x47be88
xor esp, esp
ret
add esp, 8
cmp dword [0x614304], 0
mov eax, 0
sete al
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x47bec8
xor esp, esp
ret
add esp, 8
call fcn.00425107
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x47befe
xor esp, esp
ret
add esp, 8
cmp dword [0x614304], 0xfffffffa
jne 0x47bcc0
jmp 0x47bf17
mov esp, ebp
pop ebp
ret
Function at 0x47bf27
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
jmp 0x47bf40
push 0
mov ebx, 0x210
call fcn.00560430
add esp, 4
mov dword [0x61433c], eax
mov dword [0x614340], edx
push 0
push 0
push 0
push 1
mov ebx, 0x90
call fcn.00560be0
add esp, 0x10
mov eax, dword [0x614330]
and eax, 1
xor eax, 1
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x47bfae
xor esp, esp
ret
add esp, 8
call fcn.0047c105
push htons
push 0
push 0x46af6b
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 4]
push eax
push 0
push 0
push dword [ebp - 8]
push 0
push 0
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x47c016
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x47c03b
push 6
call fcn.0055dd91
add esp, 4
cmp dword [ebp - 4], 0
mov eax, 0
sete al
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x47c075
xor esp, esp
ret
add esp, 8
cmp dword [0x6142fc], 0
mov eax, 0
sete al
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x47c0b5
xor esp, esp
ret
add esp, 8
cmp dword [0x614304], 0
mov eax, 0
sete al
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x47c0f5
xor esp, esp
ret
add esp, 8
jmp 0x47c101
mov esp, ebp
pop ebp
ret
Function at 0x485937
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x18
call fcn.0055dd8b
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0xffff
jle 0x485b3f
cmp dword [ebp + 0x24], 0
je 0x485998
cmp dword [ebp + 0x2c], 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x485998
xor eax, eax
jmp 0x48599d
mov eax, 1
test eax, eax
je 0x4859ac
mov dword [ebp + 0x18], 0
cmp dword [0x6149f4], 0
jne 0x485a44
mov ebx, dword [0x614994]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
mov eax, 0x5ed2e3
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0045ba15
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4859f8
push ebx
call fcn.0055dd85
add esp, 4
lea eax, [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.0046fc20
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x485a19
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [0x6149f4], eax
push htons
push 0
push 0x470d7b
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [0x6149f8], eax
push 1
lea eax, [ebp - 4]
push eax
push 1
push 0
push 1
push 0
push dword [0x6149f8]
push dword [0x6149f4]
call fcn.004703e3
mov dword [ebp - 0xc], esp
lea eax, [ebp - 8]
push eax
push 4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x485aa4
push 6
call fcn.0055dd91
add esp, 4
mov ebx, dword [ebp + 0x20]
mov dword [ebx], eax
push 1
lea eax, [ebp - 4]
push eax
call fcn.00470baa
mov ebx, dword [ebp + 0x20]
cmp dword [ebx], 0
jle 0x485b3f
cmp dword [ebp + 0x2c], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x485b10
mov ebx, dword [ebp + 0x20]
push dword [ebx]
call fcn.0046bd86
push 1
push 0xffffffff
push dword [ebp + 0x28]
mov ebx, dword [ebp + 0x20]
push dword [ebx]
call fcn.00470c37
push dword [ebp + 0x20]
call fcn.004670dd
mov ebx, dword [ebp + 0x20]
mov dword [ebx], 0
mov eax, dword [ebp - 8]
jmp 0x485b47
cmp dword [ebp + 0x18], 0
jne 0x485b24
mov ebx, dword [ebp + 0x20]
push dword [ebx]
call fcn.0046bd86
cmp dword [ebp + 0x24], 0
jne 0x485b3f
push dword [ebp + 0x20]
call fcn.004670dd
mov ebx, dword [ebp + 0x20]
mov dword [ebx], 0
mov eax, dword [ebp - 8]
jmp 0x485b47
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x28
Function at 0x49e896
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0049ea2d
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 0x49e994
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 0x49e937
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x49e97a
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x49e94e
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x49e969
test al, 0x40
je 0x49e960
mov ecx, dword [edi + 0x20]
jmp 0x49e967
test al, 0x80
je 0x49e97a
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x49e97a
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 0x49e906
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x4d3af9
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esp
push 0
push 0x59ab40
push 0x59ab40
push 0
push str.E.WinInet_1.0
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4d3b45
push 6
call fcn.0055dd91
add esp, 4
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4d4085
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esp
push 0
push 0x59ab40
push 0x59ab40
push 0
push str.E.WinInet_1.0
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4d40d1
push 6
call fcn.0055dd91
add esp, 4
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4e1216
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push htons
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4e1242
mov eax, 0x59ab67
push eax
push 1
mov ebx, 0x194
call fcn.0055ebd0
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4e1289
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4e129e
add eax, 8
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4e12be
push 6
call fcn.0055dd91
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x4e12c6
mov esp, ebp
pop ebp
ret 4

Function at 0x4fb266
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x200
call fcn.00401d70
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x200
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4fb2b4
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x59ab15]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.00401145
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x910
call fcn.0055e7b0
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push 0x5eceb1
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.004023f1
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4fb320
push ebx
call fcn.0055dd85
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.0040216a
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4fb348
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x4fb350
mov esp, ebp
pop ebp
ret 4
Function at 0x5065ab
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0055eb70
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x5065f0
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x50661b
push 6
call fcn.0055dd91
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x50662e
mov eax, 0x59ab40
push eax
push 1
mov ebx, 0x170
call fcn.00560e20
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x50664c
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x50665d
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret