joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10032282
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
push 0x1c
call fcn.1012e0ba
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], esp
push 0
push 0
push 0x1304
push dword [ebp + 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_SendMessageW]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x100322f8
push 0x19
push 0x4299d9b
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 8
mov eax, dword [ebp - 4]
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10032472
mov ebx, dword [ebp - 8]
add ebx, 0x18
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 0
fild dword [ebp - 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x10177da2]
fstp qword [ebp - 0x20]
lea eax, [ebp - 8]
push eax
call fcn.10006047
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
fld qword [ebp - 0x20]
call fcn.10002973
push eax
push 0x133c
push dword [ebp + 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_SendMessageW]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10032391
push 0x101
push 0x4299d9b
push 6
call fcn.1012e0c6
add esp, 0xc
mov ebx, dword [ebp - 8]
add ebx, 0x18
mov dword [ebp - 0x14], ebx
mov eax, 0x10178400
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call fcn.100124d2
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100323c3
push ebx
call fcn.1012e0c0
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x10177da2]
fstp qword [ebp - 0x20]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x28]
ftst
fnstsw ax
test ah, 1
je 0x100323f2
fchs
fcomp qword [0x10177f41]
fnstsw ax
test ah, 0x41
je 0x10032439
mov dword [ebp - 0x14], esp
push 5
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x10032434
push 0x1b3
push 0x4299d9b
push 6
call fcn.1012e0c6
add esp, 0xc
jmp 0x1003246a
mov dword [ebp - 0x14], esp
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1003246a
push 0x1d3
push 0x4299d9b
push 6
call fcn.1012e0c6
add esp, 0xc
pop eax
pop ebx
pop ecx
jmp 0x10032316
add esp, 0xc
mov ebx, dword [ebp - 8]
push ebx
call fcn.1012e0c0
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10035bad
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.101302e0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push str.Shell_TrayWnd
xor eax, eax
call dword [sym.imp.USER32.dll_FindWindowA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x10035c1d
push 0x3e
push 0x42a05f9
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10035c30
push ebx
call fcn.1012e0c0
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 1
mov eax, str.TrayNotifyWnd
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push 1
push dword [ebp - 4]
call fcn.10035d61
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10035c75
push ebx
call fcn.1012e0c0
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10035c85
push ebx
call fcn.1012e0c0
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 1
mov eax, str.SysPager
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push 1
push dword [ebp - 4]
call fcn.10035d61
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10035cca
push ebx
call fcn.1012e0c0
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10035cda
push ebx
call fcn.1012e0c0
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10035cf0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 1
mov eax, str.ToolbarWindow32
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push 1
push dword [ebp - 4]
call fcn.10035d61
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10035d2f
push ebx
call fcn.1012e0c0
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10035d3f
push ebx
call fcn.1012e0c0
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10035d55
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
jmp 0x10035d5d
mov esp, ebp
pop ebp
ret
Function at 0x10040102
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x5c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1004015c
push 0x46
push 0x4299b68
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10040173
mov eax, 0x101780dd
jmp 0x10040256
fild dword [ebp - 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fmul qword [0x10177dd4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x10177dd4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.10002973
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.1012faa0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100401ca
push ebx
call fcn.1012e0c0
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x10177da2]
fstp qword [ebp - 0x1c]
mov dword [ebp - 0x20], esp
fld qword [ebp - 0x1c]
call fcn.10002973
push eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x100401f6
add eax, 8
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10040220
push 0x165
push 0x4299b68
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10040237
mov eax, 0x101780dd
jmp 0x10040256
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10040251
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1012e0ba
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10040256
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10040267
push ebx
call fcn.1012e0c0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1009b745
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, str.pDrawWindow
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.100124d2
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1009b783
push ebx
call fcn.1012e0c0
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1009b798
jmp 0x1009b834
mov eax, 0x10178400
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.100124d2
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1009b7bf
push ebx
call fcn.1012e0c0
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_IsWindow]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1009b7f1
push 0xf3
push 0x429a5c7
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1009b803
jmp 0x1009b834
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1009b834
push 0x12e
push 0x429a5c7
push 6
call fcn.1012e0c6
add esp, 0xc
mov esp, ebp
pop ebp
ret 4
Function at 0x100a1d65
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, 0x1017cb8b
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.100124d2
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100a1da3
push ebx
call fcn.1012e0c0
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100a1e4a
mov eax, 0x10178400
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.100124d2
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100a1dda
push ebx
call fcn.1012e0c0
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100a1e0c
push 0xd7
push 0x429a559
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100a1e4a
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100a1e4a
push 0xfc
push 0x429a559
push 6
call fcn.1012e0c6
add esp, 0xc
mov eax, str.pListWindow
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.100124d2
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100a1e71
push ebx
call fcn.1012e0c0
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100a1f18
mov eax, 0x10178400
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.100124d2
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100a1ea8
push ebx
call fcn.1012e0c0
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100a1eda
push 0x20f
push 0x429a559
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100a1f18
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100a1f18
push 0x234
push 0x429a559
push 6
call fcn.1012e0c6
add esp, 0xc
mov esp, ebp
pop ebp
ret 4
Function at 0x100c2a39
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push SysStringLen
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x100c2a6c
mov eax, 0x10177d0d
push eax
push 1
mov ebx, 0x194
call fcn.1012eca0
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100c2ac0
push 0x4d
push 0x42a0b59
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100c2ad7
mov eax, 0
jmp 0x100c2b73
mov dword [ebp - 0x10], esp
push 0
push dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x100c2aee
add eax, 8
push eax
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100c2b1b
push 0x10b
push 0x42a0b59
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100c2b6b
mov dword [ebp - 0x10], esp
push 0x8000
push 0
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100c2b61
push 0x198
push 0x42a0b59
push 6
call fcn.1012e0c6
add esp, 0xc
mov eax, 0
jmp 0x100c2b73
mov eax, dword [ebp - 8]
jmp 0x100c2b73
mov esp, ebp
pop ebp
ret 8
Function at 0x10109f4a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0x18
jne 0x1010a085
cmp dword [ebp + 0x10], 0
jne 0x1010a080
mov dword [ebp - 0x10], esp
push str.pItem
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetPropA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10109fad
push 0x89
push 0x429a4e3
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
push str.pListView
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetPropA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10109fe1
push 0xc8
push 0x429a4e3
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x10109fff
cmp dword [ebp - 8], 0
je 0x10109fff
mov eax, 1
jmp 0x1010a004
mov eax, 0
test eax, eax
je 0x1010a080
push 4
push dword [ebp - 4]
call fcn.10006362
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1010a080
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 0xffffffff
push 1
push dword [ebp - 4]
push 1
push dword [ebp - 8]
push 6
push dword [ebp - 0xc]
call fcn.1000655a
jmp 0x1010a0c0
cmp dword [ebp + 0xc], 8
jne 0x1010a0c0
mov dword [ebp - 0x10], esp
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1010a0c0
push 0x283
push 0x429a4e3
push 6
call fcn.1012e0c6
add esp, 0xc
mov eax, 0
jmp 0x1010a0ca
mov esp, ebp
pop ebp
ret 0x14

Function at 0x1010a0ef
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
cmp dword [ebp + 0xc], 0xd
jne 0x1010a133
mov dword [ebp - 4], esp
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x1010a133
push 0x33
push 0x429a4e4
push 6
call fcn.1012e0c6
add esp, 0xc
mov eax, 0
jmp 0x1010a13d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1010a82c
Capabilities:
Hide graphical window

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], esp
push 0
push 0
push 0x188
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_SendMessageW]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1010a88c
push 0x19
push 0x429a4f8
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetParent]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1010a8bb
push 0x5d
push 0x429a4f8
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1010a8ef
push 0x5d
push 0x429a4f8
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 0x14], esp
push str.pItem
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetPropA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1010a920
push 0x96
push 0x429a4f8
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], esp
push str.pListView
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetPropA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1010a954
push 0xd5
push 0x429a4f8
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
je 0x1010a972
cmp dword [ebp - 0xc], 0
je 0x1010a972
mov eax, 1
jmp 0x1010a977
mov eax, 0
test eax, eax
je 0x1010a9f1
push 4
push dword [ebp - 8]
call fcn.10006362
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1010a9f1
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push dword [ebp - 4]
push 1
push dword [ebp - 8]
push 1
push dword [ebp - 0xc]
push 6
push dword [ebp - 0x10]
call fcn.1000655a
mov esp, ebp
pop ebp
ret 8
Function at 0x1011ea83
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
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], esp
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1011eadc
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1011eb03
push 0x19
push 0x429a542
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1011eb1a
mov eax, 0
jmp 0x1011ec6b
push dword [ebp + 0xc]
call fcn.1001500b
mov dword [ebp - 8], eax
push SysStringLen
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x1011eb3a
mov eax, 0x10177d0d
push eax
push 1
mov ebx, 0x194
call fcn.1012eca0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], eax
jge 0x1011ec35
fild dword [ebp - 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], esp
push 0
lea eax, [ebp - 0x14]
push eax
fld qword [ebp - 0x44]
call fcn.10002973
push eax
fld qword [ebp - 0x2c]
call fcn.10002973
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
nop
nop
cmp dword [ebp - 0x48], esp
je 0x1011ebcd
push 0x1a6
push 0x429a542
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x1011ec10
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1011ec06
push 0x1e3
push 0x429a542
push 6
call fcn.1012e0c6
add esp, 0xc
mov eax, 0
jmp 0x1011ec6b
fild dword [ebp - 0x10]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.10002973
mov dword [ebp - 0x10], eax
jmp 0x1011eb50
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1011ec61
push 0x264
push 0x429a542
push 6
call fcn.1012e0c6
add esp, 0xc
mov eax, 1
jmp 0x1011ec6b
mov esp, ebp
pop ebp
ret 8
Function at 0x1012eba0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x1012ec09
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.1012e7f0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x1012f250
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x1012f2e2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x1012f2d4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x1012f2cc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x1012f295
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x10131440
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1013145e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x10131453
pop esi
ret

Function at 0x10131eb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x10131ed1
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x10131f2b
inc edi
cmp edi, esi
jl 0x10131ec5
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x10131f60
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x10131f1a
cmp byte [eax], bl
je 0x10131f35
cmp byte [eax + 1], bl
je 0x10131f3e
cmp byte [eax + 2], bl
je 0x10131f48
cmp byte [eax + 3], bl
je 0x10131f54
add eax, 4
cmp eax, edi
jb 0x10131ef1
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4

Function at 0x101331e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x10133246
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x10133246
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x10133227
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x101335d0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x10133608
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret