joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45cf10
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45cf27
add esp, 0xfffffff0
call fcn.00403994
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c090
mov eax, dword [0x47acc8]
cmp word [eax + 2], 0
jne 0x45cf4f
mov eax, dword [0x47acc8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e55c
mov eax, dword [0x47ad60]
cmp word [eax + 2], 0
jne 0x45cf69
mov eax, dword [0x47ad60]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e754
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411a28]
call fcn.00403600
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411a28]
call fcn.00403600
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41e550]
call fcn.004259fc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45d0f0
mov eax, dword [0x47abfc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425dcc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45ecd4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47abfc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ac2c
test eax, eax
je 0x45d05e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408c5c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ac54
test eax, eax
je 0x45d072
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404604
mov eax, dword [0x47aaf8]
cmp byte [eax], 0
jne 0x45d0a6
mov eax, ebx
call fcn.0045d218
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045eeb0
mov eax, ebx
call fcn.0045f7f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d0e6
call fcn.004039ec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d48c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47bc30]
cmp dword [eax + 0x30], 0
je 0x45d536
cmp dword [ebx + 0x94], 0
jne 0x45d530
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d41c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d530
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45d4f6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d530
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414258
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d505
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e014
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45e049
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040448c
jmp 0x45e056
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043f0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f08c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f0cd
mov eax, esi
call fcn.00445080
test al, al
je 0x45f0cd
mov eax, dword [ebx + 0x84]
call fcn.00444d7c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f0cd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444d7c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46fa0c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46fb48
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x46fb60
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.00471118
mov eax, dword [ebp - 4]
call fcn.004709a8
xor edx, edx
push ebp
push 0x46fb2b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x46faca
test si, si
jne 0x46fa7c
mov eax, dword [ebp - 8]
call fcn.00408c20
mov esi, eax
cmp esi, 0xffff
jbe 0x46fa7c
call fcn.00403570
movzx ebx, si
push 0
push ebx
movzx eax, si
sub eax, ebx
mov edx, dword [ebp - 8]
lea eax, [edx + eax]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x46faca
cmp eax, 0xffffffff
jle 0x46faab
sub ebx, eax
jmp 0x46faba
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0047104c
test ebx, ebx
je 0x46faca
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x46fa7f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x46fb15
mov eax, dword [ebp - 4]
mov byte [eax + 0x10090], 0
mov ecx, 0x46fb78
mov dl, 1
mov eax, dword [0x46eff4]
call fcn.0040a1a4
call fcn.00403dfc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1028a], 0
je 0x46fb15
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fb32
mov eax, dword [ebp - 4]
call fcn.00470a00
ret
Function at 0x470078
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040483c
xor eax, eax
push ebp
push 0x470240
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x470258
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.00471118
push 0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41228c]
call fcn.00416ce8
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4701d0
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x47018b
mov eax, dword [ebp - 4]
lea edx, [eax + 0x30]
mov ecx, 0x10000
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
push 0
push ebx
mov eax, dword [ebp - 0x10]
sub eax, ebx
cmp eax, 0x10000
jbe 0x47010f
call fcn.00403570
mov edx, dword [ebp - 4]
lea eax, [edx + eax + 0x30]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x47018b
cmp eax, 0xffffffff
jle 0x47015c
sub ebx, eax
mov edx, dword [ebp - 4]
add dword [edx + 0x1008c], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x100ca], 0
je 0x47016b
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x100cc]
call dword [esi + 0x100c8]
jmp 0x47016b
lea ecx, [ebp - 0x14]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0047104c
mov eax, dword [0x47ad44]
mov eax, dword [eax]
call fcn.0045e2b0
test ebx, ebx
je 0x47018b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x4700fb
mov eax, dword [ebp - 0xc]
call fcn.004167cc
push edx
push eax
mov eax, dword [ebp - 0xc]
call fcn.00416800
cmp edx, dword [esp + 4]
jne 0x4701a6
cmp eax, dword [esp]
pop edx
pop eax
je 0x4701ba
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x4700d2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4701d7
mov eax, dword [ebp - 0xc]
call fcn.00403630
ret
Function at 0x470280
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040483c
xor eax, eax
push ebp
push 0x470456
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x47046c
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.00471118
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x100bc], edx
mov eax, dword [ebp - 4]
call fcn.004709a8
xor eax, eax
push ebp
push 0x470431
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41228c]
call fcn.00416ce8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4703c9
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4703a3
push 0
push 0x10000
mov eax, dword [ebp - 4]
add eax, 0x30
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
jle 0x470367
mov eax, dword [ebp - 4]
lea edx, [eax + 0x30]
mov ecx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00416a30
mov eax, dword [ebp - 4]
add dword [eax + 0x100bc], ebx
mov eax, dword [ebp - 4]
cmp word [eax + 0x100c2], 0
je 0x47035f
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x100c4]
call dword [esi + 0x100c0]
mov eax, dword [ebp - 4]
call fcn.004709a8
cmp ebx, 0xffffffff
jne 0x470393
call sub.wsock32.dll_WSAGetLastError
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10094], esi
cmp esi, 0x2749
je 0x4703b3
lea ecx, [ebp - 0x10]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0047104c
test ebx, ebx
je 0x4703b3
mov eax, dword [0x47ad44]
mov eax, dword [eax]
call fcn.0045e2b0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x470303
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4703d0
mov eax, dword [ebp - 0xc]
call fcn.00403630
ret
Function at 0x470494
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x470669
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x470680
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.00471118
mov eax, esi
call fcn.0040439c
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x100bc], edx
mov eax, dword [ebp - 4]
call fcn.004709a8
xor eax, eax
push ebp
push 0x47064c
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4705c5
push 0
push 0x10000
mov eax, dword [ebp - 4]
add eax, 0x30
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
je 0x4705eb
cmp ebx, 1
jle 0x47058f
mov eax, dword [esi]
call fcn.00404654
mov edi, eax
lea edx, [edi + ebx]
mov eax, esi
call fcn.004049d8
mov eax, esi
call fcn.004048a4
inc edi
dec edi
test eax, eax
je 0x470546
cmp edi, dword [eax - 4]
jb 0x47054b
call fcn.00403570
inc edi
lea edx, [eax + edi - 1]
mov eax, dword [ebp - 4]
add eax, 0x30
mov ecx, ebx
call fcn.004028d4
mov eax, dword [ebp - 4]
add dword [eax + 0x100bc], ebx
mov eax, dword [ebp - 4]
cmp word [eax + 0x100c2], 0
je 0x470585
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x100c4]
call dword [ebx + 0x100c0]
mov eax, dword [ebp - 4]
call fcn.004709a8
jmp 0x4705b9
inc ebx
jne 0x4705b9
call sub.wsock32.dll_WSAGetLastError
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10094], ebx
cmp ebx, 0x2749
je 0x4705eb
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0047104c
mov eax, dword [0x47ad44]
mov eax, dword [eax]
call fcn.0045e2b0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x4705eb
cmp dword [ebp - 8], 0xffffffff
je 0x4704f4
mov eax, dword [esi]
call fcn.00404654
cmp eax, dword [ebp - 8]
jl 0x4704f4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x470636
mov eax, dword [ebp - 4]
mov byte [eax + 0x10090], 0
mov ecx, 0x470698
mov dl, 1
mov eax, dword [0x46eff4]
call fcn.0040a1a4
call fcn.00403dfc
mov eax, dword [ebp - 4]
cmp word [eax + 0x1028a], 0
je 0x470636
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470653
mov eax, dword [ebp - 4]
call fcn.00470a00
ret
Function at 0x470f54
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x471020
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x471034
mov dl, 4
mov eax, ebx
call fcn.00471118
mov byte [ebx + 0x10298], 0
mov si, word [ebx + 0x10290]
cmp si, 0xffff
je 0x47100a
movzx eax, si
push eax
call sub.wsock32.dll_closesocket
test eax, eax
jne 0x470ffc
test byte [ebx + 0x1c], 8
jne 0x470fb9
cmp word [ebx + 0x10052], 0
je 0x470fb9
mov edx, ebx
mov eax, dword [ebx + 0x10054]
call dword [ebx + 0x10050]
cmp byte [ebx + 0x10091], 0
jne 0x47100a
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x470fdc
call fcn.00403570
mov word [ebx + 0x10290], si
push 0x3d
push 0x465
mov eax, dword [ebx + 0x10294]
push eax
movzx eax, si
push eax
call sub.wsock32.dll_WSAAsyncSelect
jmp 0x47100a
lea ecx, [ebp - 4]
mov dx, 0x2733
mov eax, ebx
call fcn.0047104c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471027
lea eax, [ebp - 4]
call fcn.0040439c
ret

Function at 0x4711c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x4711fc
mov dl, 8
mov eax, ebx
call fcn.00471118
push 2
push 1
lea eax, [ebx + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.wsock32.dll_recv
test eax, eax
jle 0x4711ee
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x100142df
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x100408ba
call fcn.1003f015
mov edi, ecx
sub esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.10014283
xor eax, eax
push eax
push eax
push edi
push 0x100143a0
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10014323
push 0xffffffffffffffff
push esi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp byte [edi + 8], 0
jne 0x10014367
mov byte [ebp - 4], 1
mov ecx, dword [edi + 4]
sub ecx, 0x10
call fcn.1002d987
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
push 1
xor eax, eax
mov byte [ebp - 4], 2
mov esi, dword [edi]
push eax
push eax
push ebx
mov ecx, dword [esi + 8]
push 0x100077cc
push eax
call dword [0x1004d3bc]
mov ecx, edi
call dword [esi + 8]
lea ecx, [ebx - 0x10]
call fcn.1002d9fa
cmp byte [ebp - 0x18], 0
je 0x10014376
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
call fcn.1003ef84
ret

Function at 0x100157f3
Capabilities:
Check if file exists
Create process on windows
Delete file

Disassembly:
push 0x220
mov eax, 0x10040a82
call fcn.1003efde
mov ebx, ecx
lea ecx, [ebp - 0x224]
call fcn.1003e175
xor esi, esi
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], esi
push dword [eax]
call fcn.10027aaa
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.1002d9fa
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], esi
push ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
push dword [ebp - 0x22c]
call fcn.1003e175
push dword [ebp - 0x220]
mov ecx, ebx
call fcn.1003e175
call fcn.1002d823
push eax
lea ecx, [ebp - 0x224]
call fcn.1003e175
xor edi, edi
mov byte [ebp - 4], 4
inc edi
push edi
jmp 0x10015889
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
inc edi
push edi
push dword [ebp - 0x22c]
lea eax, [ebp - 0x224]
push 0x10007824
push eax
call fcn.1003e175
mov esi, dword [ebp - 0x224]
lea ecx, [ebp - 0x228]
add esp, 0x10
push esi
call fcn.10027aaa
push dword [ebp - 0x228]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10015879
push dword [ebp - 0x228]
lea ecx, [ebp - 0x220]
call fcn.1003e175
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
cmp dword [esi - 4], 1
jle 0x100158fe
push dword [esi - 0xc]
lea ecx, [ebp - 0x224]
call fcn.1003e175
mov esi, dword [ebp - 0x224]
xor edi, edi
push edi
push edi
push edi
push esi
push 0x10007850
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esi - 0x10]
call fcn.1002d9fa
cmp dword [ebp - 0x220], edi
je 0x1001595b
push dword [ebp - 0x220]
call dword [sym.imp.kernel32.dll_CloseHandle]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], edi
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
cmp dword [ebp - 0x220], edi
je 0x1001595b
push dword [ebp - 0x220]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x220], edi
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
call fcn.1003ef99
ret
Function at 0x10015a11
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x14], eax
jne 0x10015a39
push eax
push eax
push esi
push 0x100159a0
push eax
push eax
mov dword [esi + 0x14], 1
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [esi + 4], eax
mov byte [esi + 0x30], 1
pop esi
ret
Function at 0x100166db
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x100400b0
call fcn.1003efaa
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 8]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x1001670d
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
jmp 0x1001678e
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.1002d987
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 2
je 0x10016732
push dword [ebx + 4]
lea ecx, [ebp - 0x10]
call fcn.1003e175
push dword [edi]
lea ecx, [ebp - 0x10]
call fcn.1003e175
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x1001676a
cmp dword [ebp + 0xc], ebx
jne 0x1001676a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.1003e175
push dword [edi]
lea ecx, [ebp - 0x10]
call fcn.1003e175
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10016782
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.1003e175
jmp 0x10016784
xor bl, bl
lea ecx, [esi - 0x10]
call fcn.1002d9fa
mov al, bl
call fcn.1003ef84
ret 8
Function at 0x1001aa10
Capabilities:
Get file size

Disassembly:
push 0x38
mov eax, 0x10041ef7
call fcn.1003efaa
mov edi, ecx
lea ecx, [ebp - 0x1c]
call fcn.100166a4
xor esi, esi
lea ebx, [edi + 0x30]
mov dword [ebp - 4], esi
mov ecx, eax
push dword [edi + 0x34]
push esi
push ebx
call fcn.10016796
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.1002d9fa
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
push ecx
push esi
push 0x80
xor eax, eax
lea ecx, [ebp - 0x2c]
push 3
inc eax
push eax
push SysReAllocStringLen
mov dword [ebp - 4], eax
push dword [ebx]
call fcn.1003e175
test eax, eax
jns 0x1001ab1b
push 0x10006578
lea ecx, [ebp - 0x14]
call fcn.10027aaa
mov esi, eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.10026ef0
push eax
mov edx, 0x10008144
lea ecx, [ebp - 0x10]
call fcn.100271b2
push esi
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.10011026
lea ecx, [ebp - 0x10]
call fcn.1000fdc0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.1000fdc0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x44]
call fcn.100110b0
mov byte [ebp - 4], 7
mov ecx, eax
mov edi, dword [edi + 0x34]
mov edx, dword [edi]
call fcn.10026eec
mov esi, dword [edx + 4]
mov ecx, esi
push eax
push 0
call dword [0x1004d3bc]
mov ecx, edi
call esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.1000fdc0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.10011830
push 0x10048adc
lea eax, [ebp - 0x20]
push eax
call fcn.1003e175
push dword [ebp + 8]
mov ecx, edi
call fcn.1003e175
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_GetFileSize]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 0xffffffff
jne 0x1001ab4c
call fcn.1002cf84
test eax, eax
js 0x1001ab60
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov esi, ecx
mov edx, 0x1000000
test eax, eax
jne 0x1001ab5e
cmp ecx, edx
jbe 0x1001ab60
mov esi, edx
push esi
xor esi, esi
lea ebx, [edi + 4]
push esi
push 0x435
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 2
push 0x449
push dword [ebx]
mov dword [ebp - 0x30], 0x1001abf0
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x34], esi
je 0x1001abbe
push dword [ebp - 0x34]
lea eax, [ebp - 0x18]
push dword [edi + 0x30]
push 0x10008178
push 4
push dword [edi + 0x34]
push eax
call fcn.1000ff0c
add esp, 0x18
cmp dword [ebp - 0x2c], esi
je 0x1001abcf
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x2c], esi
push esi
push esi
mov ecx, ebx
call fcn.1003e175
cmp dword [ebp - 0x2c], esi
je 0x1001abe6
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_CloseHandle]
call fcn.1003ef84
ret 4
Function at 0x1001bc13
Capabilities:
Enumerate gui resources

Disassembly:
push 0x30
mov eax, 0x100421a0
call fcn.1003efaa
mov dword [ebp - 0x10], edx
mov esi, ecx
push 0x1000854c
lea ecx, [ebp - 0x14]
call fcn.10027aaa
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0x10008560
push ecx
xor ebx, ebx
lea ecx, [ebp - 0x2c]
push edi
mov dword [ebp - 4], ebx
call fcn.1000fe41
mov ecx, dword [ebp - 0x10]
call fcn.10024ec7
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
push eax
push 0x1001be50
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], edi
call dword [sym.imp.USER32.dll_EnumWindows]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x3c]
call fcn.1003e175
push ecx
push dword [ebp - 0x10]
mov edx, esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.1001bd3a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
jne 0x1001bcb3
push 0x100085b8
push 2
call dword [0x1004d3bc]
mov ecx, edi
call esi
jmp 0x1001bd0d
push 0x100085e4
push 2
call dword [0x1004d3bc]
mov ecx, edi
call esi
call fcn.1001bba7
mov ecx, dword [edi]
push dword [eax]
mov esi, dword [ecx + 4]
mov ecx, esi
push 2
call dword [0x1004d3bc]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], ebx
jle 0x1001bd0d
push ebx
mov ecx, eax
call fcn.1003e175
mov ecx, dword [edi]
push dword [eax + 0x10]
mov esi, dword [ecx + 4]
mov ecx, esi
push 2
call dword [0x1004d3bc]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x10]
inc ebx
cmp ebx, dword [eax + 4]
jl 0x1001bce6
lea ecx, [ebp - 0x20]
call fcn.10024ec7
lea ecx, [ebp - 0x3c]
call fcn.10024ec7
lea ecx, [ebp - 0x2c]
call fcn.1003e175
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
xor eax, eax
call fcn.1003ef84
ret 4