joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10035125
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1003517e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10035125
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10035134
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1043add7
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10035185
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001bffb
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10035224
add edi, 4
add eax, 2
dec ecx
jne 0x1003516a
call 0x100351d1
loope 0x100351c7
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10035221
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10035232
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100351e5
cmp eax, ecx
ja 0x100351e5
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1003526f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10035265
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1001c4da
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10035134
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1003517e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10035125
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10035134
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1043add7
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10035185
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001bffb
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10035224
add edi, 4
add eax, 2
dec ecx
jne 0x1003516a
call 0x100351d1
loope 0x100351c7
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10035221
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10035232
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100351e5
cmp eax, ecx
ja 0x100351e5
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1003526f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10035265
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1001c4da
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x402fc9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x402fd8
pop dword [ebp - 0x24]
mov eax, 0xe6d7d6f8
add eax, 0x196858e0
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x460fb17f
sub dword [ebp - 0x34], 0xf7bd6c34
mov dword [ebp - 0x30], 0xdbb4e7e6
add dword [ebp - 0x30], 0x567e645f
mov dword [ebp - 0x2c], 0x3dffdffb
add dword [ebp - 0x2c], 0xe4c6433
mov dword [ebp - 0x28], 0x98076939
add dword [ebp - 0x28], 0x67f896c7
lea eax, [ebp - 0x34]
push eax
mov eax, 0x2d059ac4
add eax, 0xd33b3590
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x97a6b190
add dword [ebp - 0x34], 0xdccbb7c6
mov dword [ebp - 0x30], 0x4958053e
add dword [ebp - 0x30], 0xf8145c37
mov dword [ebp - 0x2c], 0x6f68f355
add dword [ebp - 0x2c], 0xf4067917
mov dword [ebp - 0x28], 0x3bd25da1
sub dword [ebp - 0x28], 0x3bd25da1
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3a53f
push 0
call eax
mov ecx, 0x4b3b
xor esi, esi
add esi, eax
mov edx, 0xf760a51
add edx, 0xf0cba5af
add edx, dword [ebp - 0x24]
mov edi, 0x415e0907
xor dword [ebp - 0xc], 0xcec3be27
mov ebx, dword [edx]
add dword [ebp - 4], ebx
xor ebx, edi
mov dword [esi], ebx
sub dword [ebp - 8], 0x99471f00
add esi, 4
add edx, 4
loop 0x4030eb
add eax, 0x3ff72bbd
add eax, 0xc009f402
xor ebx, ebx
add ebx, eax
add eax, 0x405f3dd2
add eax, 0xbfa0c233
mov ecx, 0x6c7ae37b
sub ecx, 0x6c3ae37b
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x409978
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a4b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a64
push ebx
push 0x409a70
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00403388
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402750
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004033e8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4099f8
mov al, 0x69
call fcn.0040961c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040994c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a01
call fcn.0040994c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a52
lea eax, [ebp - 4]
call fcn.0040316c
ret

Function at 0x409b04
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409bb8
jmp 0x409bad
cmp dword [esi + 0x10], 0x1000
jne 0x409b99
test byte [esi + 0x15], 1
jne 0x409b99
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b58
cmp eax, 2
je 0x409b58
cmp eax, 0x10
je 0x409b58
cmp eax, 0x20
jne 0x409b6d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b6d
mov bl, 1
xor ebp, ebp
jmp 0x409b7e
mov eax, dword [esi]
add eax, ebp
call fcn.00409afc
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b71
test bl, bl
je 0x409b99
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409bb8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b30
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x10001040
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1ff
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.10011350
add esp, 0xc
lea ecx, [ebp - 0x608]
push ecx
lea edx, [ebp - 0x204]
push edx
mov dword [ebp - 0x608], 0x200
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x100010a4
push str.UnKnow
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x400
lea ecx, [ebp - 0x604]
push 0
push ecx
call fcn.10011350
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x604]
push str.SOFTWARE_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x604]
push esi
push ecx
call fcn.10001ab0
mov ecx, dword [ebp - 4]
add esp, 0xc
test eax, eax
setne al
xor ecx, ebp
call fcn.1000badd
mov esp, ebp
pop ebp
ret

Function at 0x10001100
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x400
push 0
push 0x1002b920
call fcn.10011350
push 0x1ff
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.10011350
add esp, 0x18
lea ecx, [ebp - 0x608]
push ecx
lea edx, [ebp - 0x204]
push edx
mov dword [ebp - 0x608], 0x200
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x10001175
push str.UnKnow
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x400
lea ecx, [ebp - 0x604]
push 0
push ecx
call fcn.10011350
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x604]
push str.SOFTWARE_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x604]
push ecx
mov ecx, esi
call fcn.10001790
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x1c
mov eax, 0x1002b920
call fcn.1000badd
mov esp, ebp
pop ebp
ret
Function at 0x10002bc0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020a70
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x210]
mov edi, ecx
push eax
push 0x202
mov dword [ebp - 0x214], edi
mov dword [edi], vtable.CClipperManager.0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10002c26
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WSAStartup_Error__d__r_n
call fcn.1000c96d
add esp, 8
mov esi, 0x10025488
call fcn.10001100
mov esi, eax
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x10002c46
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.10001240
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov edx, dword [ebp - 0x2c]
jae 0x10002c68
lea edx, [ebp - 0x2c]
xor eax, eax
mov ecx, 0x10025269
call fcn.10002b30
cmp eax, ebx
jne 0x10002c82
xor eax, eax
cmp dword [ebp - 0x1c], ebx
setne al
cmp eax, ebx
sete al
cmp al, bl
sete al
cmp al, bl
je 0x10002ca4
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x1002a65c
call fcn.10001340
jmp 0x10002d40
lea edx, [ebp - 0x80]
push edx
call fcn.1000ae00
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.1000afd0
mov ecx, eax
lea eax, [ebp - 0x48]
push eax
mov eax, esi
mov byte [ebp - 4], 2
call fcn.10004f70
add esp, 4
mov edi, eax
mov esi, 0x1002a65c
mov byte [ebp - 4], 3
call fcn.10004470
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x10002cf8
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1000c6fb
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], esi
jb 0x10002d17
mov edx, dword [ebp - 0x64]
push edx
call fcn.1000c6fb
add esp, 4
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x6c], esi
jb 0x10002d31
mov eax, dword [ebp - 0x80]
push eax
call fcn.1000c6fb
add esp, 4
mov dword [ebp - 0x6c], edi
mov edi, dword [ebp - 0x214]
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
push 0x1002b8a8
mov dword [0x1002b8a4], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [ebp - 0x218]
push ecx
push ebx
push ebx
push 0x10006ff0
push ebx
push ebx
mov dword [0x1002b8ec], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp - 0x18], 0x10
mov dword [edi + 0xc], eax
jb 0x10002d88
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1000c6fb
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000badd
mov esp, ebp
pop ebp
ret
Function at 0x10002e20
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100206c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0xd
mov esi, ecx
mov dword [ebp - 0x30], edi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push edi
test eax, eax
jne 0x10002e7c
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], edi
push 0x10025269
mov ecx, esi
mov byte [esi], al
call fcn.10001240
jmp 0x10002f02
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x10002ea1
push edi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], edi
push 0x10025269
mov ecx, esi
mov byte [esi], al
call fcn.10001240
jmp 0x10002f02
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
push 1
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x10002edb
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
inc eax
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10001240
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea edi, [ebp - 0x2c]
call fcn.10004320
cmp dword [ebp - 0x18], 0x10
jb 0x10002f02
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1000c6fb
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000badd
mov esp, ebp
pop ebp
ret

Function at 0x10002f20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10002f93
cmp dword [esi + 0x10], 0
je 0x10002f93
push edi
push 0xffffffffffffffff
push 0
push esi
mov ecx, 0x1002a678
call fcn.10001340
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esi + 0x10]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x10002f6f
mov esi, dword [esi]
inc ecx
push ecx
push esi
push eax
call fcn.10011d00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret
Function at 0x100039b0
Capabilities:
Encode data using xor
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.10011350
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.Clip
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x508]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x508]
push 0x100254dc
push ecx
call fcn.1000bcf2
mov edi, eax
add esp, 0x18
test edi, edi
je 0x10003b13
push esi
push 2
push 0
push edi
call fcn.1000d0e5
push edi
call fcn.1000cff6
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x50c], esi
test esi, esi
je 0x10003b12
push ebx
push esi
call fcn.1000c8ae
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10003b11
push 0
push 0
push edi
call fcn.1000d0e5
push edi
push esi
push 1
push ebx
call fcn.1000cc74
push edi
call fcn.1000bdaa
add esp, 0x20
xor eax, eax
test esi, esi
je 0x10003a99
jmp 0x10003a90
xor byte [eax + ebx], 0x60
inc eax
cmp eax, esi
jb 0x10003a90
mov edx, dword [0x1002a568]
push edx
push ebx
mov eax, esi
call fcn.1000ad90
add esp, 8
test eax, eax
jle 0x10003b11
lea edi, [eax + ebx]
mov ecx, 0x2f
mov esi, 0x1002a568
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x50c]
xor eax, eax
test esi, esi
je 0x10003ad9
lea ebx, [ebx]
xor byte [eax + ebx], 0x60
inc eax
cmp eax, esi
jb 0x10003ad0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x508]
push 0x100254e0
push eax
call fcn.1000bcf2
mov edi, eax
add esp, 8
test edi, edi
je 0x10003b11
push edi
push 1
push esi
push ebx
call fcn.1000cde8
push edi
call fcn.1000bdaa
add esp, 0x14
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1000badd
mov esp, ebp
pop ebp
ret
Function at 0x10006e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ebx, eax
mov eax, dword [0x1002b8f0]
cmp eax, dword [0x1002a620]
jl 0x10006ebb
push 0x10025644
call fcn.1000c96d
add esp, 4
push edi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], edi
push 0x10025269
mov ecx, esi
mov byte [esi], 0
call fcn.10001240
pop edi
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x40
call fcn.1000c757
add esp, 4
cmp eax, edi
je 0x10006ee3
mov dword [eax + 0x10], edi
mov ecx, 0xf
mov dword [eax + 0x14], ecx
mov byte [eax], 0
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], ecx
mov byte [eax + 0x1c], 0
mov edi, eax
mov eax, ebx
mov dword [ebp - 4], edi
lea edx, [eax + 1]
jmp 0x10006ef0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006ef0
sub eax, edx
push eax
push ebx
mov ecx, edi
call fcn.10001240
push 0x1002b8a8
mov byte [edi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x1002b904]
mov edx, dword [ebx + 4]
lea ecx, [ebp - 4]
push ecx
push edx
push ebx
call fcn.10009100
mov ecx, 0x3ffffffe
sub ecx, dword [0x1002b908]
cmp ecx, 1
jae 0x10006f3f
push str.list_T__too_long
call fcn.1001ae26
inc dword [0x1002b908]
mov dword [ebx + 4], eax
mov edx, dword [eax + 4]
push 0x1002b8a8
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 8]
push eax
push 0
push edi
push 0x10006b70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x10006f8e
push 0x7d0
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
cmp eax, 0x102
jne 0x10006fb5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x10025269
mov ecx, esi
mov byte [esi], 0
call fcn.10001240
pop edi
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
add edi, 0x1c
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push edi
mov ecx, esi
mov byte [esi], 0
call fcn.10001340
pop edi
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007110
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ebx, eax
mov eax, dword [0x1002b8f0]
cmp eax, dword [0x1002a620]
jl 0x1000714e
push edi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], edi
push 0x10025269
mov ecx, esi
mov byte [esi], 0
call fcn.10001240
pop edi
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x40
call fcn.1000c757
add esp, 4
cmp eax, edi
je 0x10007176
mov dword [eax + 0x10], edi
mov ecx, 0xf
mov dword [eax + 0x14], ecx
mov byte [eax], 0
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], ecx
mov byte [eax + 0x1c], 0
mov edi, eax
mov eax, ebx
mov dword [ebp - 4], edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10007180
sub eax, edx
push eax
push ebx
mov ecx, edi
call fcn.10001240
push 0x1002b8a8
mov byte [edi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x1002b904]
mov edx, dword [ebx + 4]
lea ecx, [ebp - 4]
push ecx
push edx
push ebx
call fcn.10009100
mov ecx, 0x3ffffffe
sub ecx, dword [0x1002b908]
cmp ecx, 1
jae 0x100071cf
push str.list_T__too_long
call fcn.1001ae26
inc dword [0x1002b908]
mov dword [ebx + 4], eax
mov edx, dword [eax + 4]
push 0x1002b8a8
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 8]
push eax
push 0
push edi
push 0x10006cf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x1000721e
push 0x7d0
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
cmp eax, 0x102
jne 0x10007245
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x10025269
mov ecx, esi
mov byte [esi], 0
call fcn.10001240
pop edi
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
add edi, 0x1c
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push edi
mov ecx, esi
mov byte [esi], 0
call fcn.10001340
pop edi
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008ee0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100203cb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10029080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1001b48d
push 4
mov dword [ebp - 4], 0
call fcn.1000c757
mov edi, eax
add esp, 4
test edi, edi
je 0x10008f5c
call fcn.1001b365
mov dword [edi], eax
call fcn.1001b124
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1001b44e
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10008f52
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1001b476
jmp 0x10008f5e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4