joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4106f1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 0xc]
push eax
xor esi, esi
mov edi, 0xf013f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4107ab
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push esi
lea eax, [ebp - 8]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0xc]
call ebx
test eax, eax
je 0x41074f
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4107aa
push esi
lea eax, [ebp - 4]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 8]
call ebx
test eax, eax
je 0x410775
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x4107a8
push dword [ebp + 0x14]
call fcn.0041b494
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x14]
push 1
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop ebx
pop edi
pop esi
leave
ret

Function at 0x4107af
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
push edi
lea eax, [ebp - 4]
push eax
xor esi, esi
mov edi, 0xf013f
push edi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
call ebx
test eax, eax
jne 0x410884
lea eax, [ebp - 8]
push eax
push edi
push esi
push str.SoftWare
push dword [ebp - 4]
call ebx
test eax, eax
je 0x410808
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x410884
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 8]
call ebx
test eax, eax
je 0x41082c
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41087a
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call ebx
test eax, eax
je 0x41084a
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x410875
push dword [ebp + 0x18]
call fcn.0041b494
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x18]
push 1
push esi
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4110b2
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x4c
lea ebp, [esp - 4]
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0x4c], eax
push 0x44
mov eax, 0x506e7e
call fcn.0041bac7
mov eax, dword [ebp + 0x58]
mov edi, dword [ebp + 0x5c]
push 0x44
pop esi
push esi
mov dword [ebp + 0x10], eax
xor ebx, ebx
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.0041bd70
push 0x10
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0x50], esi
call fcn.0041bd70
add esp, 0x18
push 7
pop esi
push ebx
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x48], esi
call fcn.00401b10
push ebx
lea ecx, [ebp + 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp + 0x2c], esi
call fcn.00401b10
cmp edi, ebx
mov byte [ebp - 4], 1
je 0x41112a
push edi
lea ecx, [ebp + 0x14]
call fcn.00401760
cmp dword [ebp + 0x28], ebx
lea ecx, [ebp + 0x30]
jne 0x41113c
push dword [ebp + 0x10]
call fcn.00401760
jmp 0x41116d
push 0x50a3b4
call fcn.00401760
push dword [ebp + 0x10]
lea ecx, [ebp + 0x30]
call fcn.004035f0
push 0x50a9f4
lea ecx, [ebp + 0x30]
call fcn.004035f0
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp + 0x30]
call fcn.00403a80
cmp dword [ebp + 0x48], 8
mov eax, dword [ebp + 0x34]
jae 0x411179
lea eax, [ebp + 0x34]
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push ebx
push ebx
push ebx
xor edi, edi
inc edi
push edi
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4111cb
xor esi, esi
push ebx
push edi
lea ecx, [ebp + 0x14]
call fcn.00401790
push ebx
push edi
lea ecx, [ebp + 0x30]
call fcn.00401790
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 + 0x4c]
xor ecx, ebp
call fcn.0041bab8
add ebp, 0x50
leave
ret
cmp byte [ebp + 0x60], bl
je 0x4111e4
mov eax, dword [ebp + 0x64]
cmp eax, ebx
jg 0x4111da
or eax, 0xffffffff
push eax
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp + 4]
call esi
mov esi, edi
jmp 0x411198
Function at 0x4111f8
Capabilities:
Enumerate processes

Disassembly:
push 0x268
mov eax, 0x506eb3
call fcn.0041bb30
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jne 0x411218
xor eax, eax
call fcn.0041bbb3
ret
push eax
lea ecx, [ebp - 0x48]
call fcn.00401590
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], ebx
call fcn.00410e52
mov dword [esp], 0x228
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], ebx
call fcn.0041bd70
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x41126a
xor esi, esi
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401790
mov eax, esi
jmp 0x411212
lea eax, [ebp - 0x274]
push eax
push esi
mov dword [ebp - 0x274], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4112cb
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401590
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.00410e52
pop ecx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040745b
test eax, eax
je 0x4112d8
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00401790
lea eax, [ebp - 0x274]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x411283
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x411259
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x26c]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401790
jmp 0x41125b

Function at 0x411721
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1a8]
and dword [ebp - 0x70], 0
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push edi
mov edi, dword [ebp + 0x1ac]
lea ecx, [ebp - 0x74]
push ecx
push eax
push closesocket
call esi
test eax, eax
jne 0x4117d9
lea eax, [ebp - 0x78]
push eax
push 0x50aa08
push dword [ebp - 0x74]
call esi
test eax, eax
jne 0x4117d0
and word [ebp - 0x6c], ax
push 0x206
push eax
lea eax, [ebp - 0x6a]
push eax
call fcn.0041bd70
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0x54b284
push dword [ebp - 0x78]
xor esi, esi
inc esi
mov dword [ebp - 0x7c], 0x104
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4117c7
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call fcn.00401760
mov dword [ebp - 0x70], esi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x19c]
mov eax, dword [ebp - 0x70]
pop edi
xor ecx, ebp
pop esi
call fcn.0041bab8
add ebp, 0x1a0
leave
ret
Function at 0x411924
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x81c
lea ebp, [esp - 4]
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0x81c], eax
push 0x1c
mov eax, 0x50709e
call fcn.0041bac7
mov eax, dword [ebp + 0x828]
mov ebx, dword [ebp + 0x82c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x830]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x834]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x838]
xor esi, esi
push eax
lea ecx, [ebp]
mov dword [ebp - 0x20], esi
call fcn.00401590
lea eax, [ebp - 0x14]
push eax
mov edi, 0xf013f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4119b9
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.004034b0
jmp 0x411a6c
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
push esi
push esi
push esi
push ebx
push dword [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call ebx
test eax, eax
je 0x4119de
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4119a8
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call ebx
test eax, eax
je 0x411a06
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push dword [ebp - 0x18]
call edi
jmp 0x4119a8
push 0x7fe
lea eax, [ebp + 0x1e]
push esi
push eax
mov word [ebp + 0x1c], si
call fcn.0041bd70
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x1c]
push eax
push esi
push esi
push dword [ebp - 0x28]
mov dword [ebp - 0x20], 0x400
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push dword [ebp - 0x1c]
call edi
push dword [ebp - 0x14]
call edi
lea eax, [ebp + 0x1c]
push eax
call fcn.0041b494
test eax, eax
pop ecx
mov ecx, dword [ebp - 0x10]
je 0x4119ab
lea eax, [ebp + 0x1c]
push eax
call fcn.00401590
push esi
push 1
lea ecx, [ebp]
call fcn.00401790
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x81c]
xor ecx, ebp
call fcn.0041bab8
add ebp, 0x820
leave
ret
Function at 0x411a9d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x81c
lea ebp, [esp - 4]
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0x81c], eax
push 0x24
mov eax, 0x5070ce
call fcn.0041bac7
mov eax, dword [ebp + 0x828]
mov edi, dword [ebp + 0x830]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x82c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x834]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x838]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x83c]
xor esi, esi
push eax
lea ecx, [ebp]
mov dword [ebp - 0x24], esi
call fcn.00401590
lea eax, [ebp - 0x14]
push eax
mov ebx, 0x20119
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], esi
call edi
test eax, eax
je 0x411b3c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.004034b0
jmp 0x411c0c
lea eax, [ebp - 0x1c]
push eax
push ebx
push esi
push str.SoftWare
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x411b5b
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x411b2b
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
call edi
test eax, eax
je 0x411b7f
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push dword [ebp - 0x14]
call edi
jmp 0x411b2b
lea eax, [ebp - 0x20]
push eax
push ebx
push esi
push dword [ebp - 0x2c]
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x411ba1
push dword [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push dword [ebp - 0x18]
jmp 0x411b76
push 0x7fe
lea eax, [ebp + 0x1e]
push esi
push eax
mov word [ebp + 0x1c], si
call fcn.0041bd70
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x1c]
push eax
push esi
push esi
push dword [ebp - 0x30]
mov dword [ebp - 0x24], 0x400
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x1c]
call edi
push dword [ebp - 0x14]
call edi
lea eax, [ebp + 0x1c]
push eax
call fcn.0041b494
test eax, eax
pop ecx
mov ecx, dword [ebp - 0x10]
je 0x411b2e
lea eax, [ebp + 0x1c]
push eax
call fcn.00401590
push esi
push 1
lea ecx, [ebp]
call fcn.00401790
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x81c]
xor ecx, ebp
call fcn.0041bab8
add ebp, 0x820
leave
ret
Function at 0x41215c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.0041b494
test eax, eax
pop ecx
je 0x4121c0
push esi
push 0x3c
xor esi, esi
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.0041bd70
add esp, 0xc
push 1
push esi
push esi
mov eax, str.open
push edi
push eax
push esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0x200
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x4121bc
push esi
push esi
push esi
push edi
call fcn.004110b2
add esp, 0x10
jmp 0x4121bf
xor eax, eax
inc eax
pop esi
pop edi
leave
ret
Function at 0x412f32
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
sub esp, 0xa4
lea ebp, [esp - 4]
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0xa4], eax
push 0x2c
mov eax, 0x50732c
call fcn.0041bac7
mov eax, dword [ebp + 0xb0]
mov edi, dword [ebp + 0xb4]
mov esi, 0x54b284
xor ebx, ebx
push esi
lea ecx, [ebp + 0x88]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ebx
call fcn.00401590
lea ecx, [ebp]
mov dword [ebp - 4], ebx
call fcn.0040559a
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413068
push ebx
push 1
push 4
push ebx
push 1
push closesocket
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x412fbf
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00401590
jmp 0x413077
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
inc eax
push eax
call fcn.0041a944
mov edi, eax
cmp edi, ebx
pop ecx
je 0x412fb1
mov eax, dword [ebp - 0x18]
inc eax
push eax
push ebx
push edi
call fcn.0041bd70
add esp, 0xc
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
lea ecx, [ebp]
push edi
call fcn.00405e21
push edi
call fcn.0041c846
pop ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp]
call fcn.00405f77
push eax
lea eax, [ebp + 0x6c]
push eax
mov byte [ebp - 4], 1
call fcn.004115c8
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00401710
cmp dword [ebp + 0x80], ebx
jbe 0x41305a
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x88]
call fcn.00401d00
push ebx
push 1
lea ecx, [ebp + 0x6c]
mov byte [ebp - 4], bl
call fcn.00401790
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x88]
push eax
call fcn.004034b0
push ebx
push 1
lea ecx, [ebp + 0x88]
call fcn.00401790
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa4]
xor ecx, ebp
call fcn.0041bab8
add ebp, 0xa8
leave
ret
Function at 0x413387
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x40
mov eax, 0x5073d7
call fcn.0041bac7
mov esi, dword [ebp + 0x41c]
mov eax, dword [ebp + 0x420]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
je 0x4134e9
push 0x206
lea eax, [ebp + 2]
push ebx
push eax
mov word [ebp], bx
call fcn.0041bd70
lea eax, [ebp - 0x30]
push eax
call fcn.00413220
add esp, 0x10
cmp dword [eax + 0x18], 8
jb 0x4133f1
mov eax, dword [eax + 4]
jmp 0x4133f4
add eax, 4
push str..znpf
push esi
push eax
mov edi, 0x50ab3c
lea eax, [ebp]
push edi
push eax
call fcn.0041bfe1
add esp, 0x14
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00401790
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp]
push eax
call esi
test eax, eax
je 0x413458
lea eax, [ebp]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00412f32
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00401d00
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00401790
mov al, 1
jmp 0x4134eb
push 0x206
lea eax, [ebp + 0x20a]
push ebx
push eax
mov word [ebp + 0x208], bx
call fcn.0041bd70
lea eax, [ebp - 0x30]
push eax
call fcn.00413220
add esp, 0x10
cmp dword [eax + 0x18], 8
jb 0x413488
mov eax, dword [eax + 4]
jmp 0x41348b
add eax, 4
push str..sznpf
push dword [ebp - 0x14]
push eax
lea eax, [ebp + 0x208]
push edi
push eax
call fcn.0041bfe1
add esp, 0x14
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x30]
call fcn.00401790
lea eax, [ebp + 0x208]
push eax
call esi
test eax, eax
je 0x4134e9
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00412f32
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push ebx
push eax
mov dword [ebp - 4], edi
call fcn.00401d00
push ebx
push edi
lea ecx, [ebp - 0x4c]
jmp 0x41344c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0041bab8
add ebp, 0x414
leave
ret

Function at 0x4135f4
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x4135a7
push edi
push edi
mov dword [0x55e404], edi
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push ebx
call esi
mov eax, dword [ebp - 8]
mov ecx, dword [0x55e404]
sub eax, dword [ebp - 0x10]
cmp ecx, 1
jle 0x413679
cmp ecx, edi
jle 0x413679
mov esi, 0x55e338
mov edx, dword [esi]
cmp edx, eax
jle 0x413673
mov eax, edx
add esi, 0x10
dec ecx
jne 0x41366b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4136d9
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x10]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret

Function at 0x413723
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x10]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret

Function at 0x41376d
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret
Function at 0x4137d2
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xb94]
sub esp, 0xc14
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0xb90], eax
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x782]
push edi
push eax
mov word [ebp + 0x780], di
call fcn.0041bd70
lea eax, [ebp + 0x780]
push str.C:log_
push eax
call fcn.0041c0a1
push esi
lea eax, [ebp + 0x372]
push edi
push eax
mov word [ebp + 0x370], di
call fcn.0041bd70
push esi
lea eax, [ebp + 0x98a]
push edi
push eax
mov word [ebp + 0x988], di
call fcn.0041bd70
add esp, 0x2c
push 0x104
lea eax, [ebp + 0x988]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x988]
push 0x5c
push eax
call fcn.0041c425
pop ecx
mov word [eax], di
cmp dword [0x55e408], edi
pop ecx
je 0x413892
lea eax, [ebp + 0x988]
push eax
lea eax, [ebp + 0x780]
push str._slog_
push eax
call fcn.0041bfe1
add esp, 0xc
push 0x3e6
lea eax, [ebp - 0x76]
push edi
push eax
mov word [ebp - 0x78], di
call fcn.0041bd70
lea eax, [ebp + 0x780]
push eax
lea eax, [ebp + 0x578]
push str._sgswb.log
push eax
call fcn.0041bfe1
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x18
lea eax, [ebp + 0x578]
push eax
call esi
test eax, eax
je 0x4139d0
lea eax, [ebp + 0x988]
push ebx
push eax
call fcn.0041b494
lea eax, [ebp + eax*2 + 0x98a]
push eax
lea eax, [ebp + 0x370]
push eax
call fcn.0041c0a1
lea eax, [ebp + 0x370]
push eax
lea eax, [ebp + 0x780]
push eax
lea eax, [ebp + 0x578]
push str._s_s.txt
push eax
call fcn.0041bfe1
lea eax, [ebp + 0xba0]
push eax
push dword [ebp + 0xb9c]
lea eax, [ebp - 0x78]
push 0x1f3
push eax
call fcn.00420cbb
add esp, 0x2c
lea eax, [ebp + 0x578]
push eax
mov word [ebp + 0x36e], di
mov dword [ebp - 0x7c], edi
call esi
xor ebx, ebx
inc ebx
test eax, eax
je 0x413952
mov dword [ebp - 0x7c], ebx
lea eax, [ebp + 0x578]
push 0x50a998
push eax
call fcn.00420bd6
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x4139cf
cmp dword [ebp - 0x7c], edi
jne 0x413987
push esi
push 2
lea eax, [ebp - 0x80]
push ebx
push eax
mov dword [ebp - 0x80], 0xfeff
call fcn.00420a8e
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
call fcn.0041b494
push esi
add eax, eax
push eax
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.00420a8e
push esi
push 2
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x7c], 0xd
call fcn.00420a8e
push esi
push 2
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x7c], 0xa
call fcn.00420a8e
push esi
call fcn.004208b3
add esp, 0x38
pop ebx
mov ecx, dword [ebp + 0xb90]
pop edi
xor ecx, ebp
pop esi
call fcn.0041bab8
add ebp, 0xb94
leave
ret