joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412e50
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x412e96
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
jmp 0x412ea1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 4], 0
setne al
mov esp, ebp
pop ebp
ret 8

Function at 0x412ec0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.0045a140
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x100
cmp dword [ebp + 0x10], 0
je 0x412f03
mov ecx, dword [ebp - 0x38]
or ecx, 0x40
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], str.open
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], edx
cmp dword [ebp + 0x10], 0
je 0x412f26
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x412f4c
cmp dword [ebp + 0x10], 0
je 0x412f47
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov dword [edx], eax
jmp 0x413048
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x98], 0x1b
je 0x412f6c
cmp dword [ebp - 0x98], 0x1f
je 0x412f6c
jmp 0x413048
mov dword [ebp - 0x54], 0
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], 0x24
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x44], eax
push str.SHOpenWithDialog
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x41303f
mov dword [ebp - 0x90], 0
push 0x38
push 0
lea edx, [ebp - 0x8c]
push edx
call fcn.0045a140
add esp, 0xc
mov dword [ebp - 0x90], 0x3c
mov dword [ebp - 0x8c], 0x100
cmp dword [ebp + 0x10], 0
je 0x412ff8
mov eax, dword [ebp - 0x8c]
or eax, 0x40
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x84], str.openas
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x80], ecx
cmp dword [ebp + 0x10], 0
je 0x41301e
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41303d
cmp dword [ebp + 0x10], 0
je 0x41303d
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x58]
mov dword [ecx], edx
jmp 0x413048
lea eax, [ebp - 0x54]
push eax
push 0
call dword [ebp - 0x48]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41ee30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41ee58
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
mov dword [ebp - 4], edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41ee6d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
mov dword [ebp - 8], edx
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 4

Function at 0x41ef10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbd8
mov eax, dword [0x485c44]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xbd8], ecx
mov dword [ebp - 0x3c8], 0
push 0x3b8
push 0
lea eax, [ebp - 0x3c4]
push eax
call fcn.0045a140
add esp, 0xc
mov dword [ebp - 0x3c8], 0x3bc
mov ecx, dword [ebp - 0xbd8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xbcc], edx
mov eax, dword [ebp - 0xbcc]
mov dword [ebp - 0x3c4], eax
mov dword [ebp - 0x3c0], 1
mov dword [ebp - 0x3bc], 7
mov dword [ebp - 0x3b8], 0x401
xor ecx, ecx
mov word [ebp - 0xbc8], cx
push 0x7fe
push 0
lea edx, [ebp - 0xbc6]
push edx
call fcn.0045a140
add esp, 0xc
mov eax, dword [ebp - 0xbd8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xbd0], ecx
push 0x400
lea edx, [ebp - 0xbc8]
push edx
mov eax, dword [ebp - 0xbd0]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x80
lea ecx, [ebp - 0xbc8]
push ecx
lea edx, [ebp - 0x3b0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [ebp - 0xbd8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xbd4], ecx
mov edx, dword [ebp - 0xbd8]
movzx eax, word [edx + 0x18]
push eax
mov ecx, dword [ebp - 0xbd4]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x3b4], eax
lea edx, [ebp - 0x3c8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458357
mov esp, ebp
pop ebp
ret
Function at 0x41f040
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbd8
mov eax, dword [0x485c44]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xbd8], ecx
mov dword [ebp - 0x3c8], 0
push 0x3b8
push 0
lea eax, [ebp - 0x3c4]
push eax
call fcn.0045a140
add esp, 0xc
mov dword [ebp - 0x3c8], 0x3bc
mov ecx, dword [ebp - 0xbd8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xbcc], edx
mov eax, dword [ebp - 0xbcc]
mov dword [ebp - 0x3c4], eax
mov dword [ebp - 0x3c0], 1
mov dword [ebp - 0x3bc], 6
xor ecx, ecx
mov word [ebp - 0xbc8], cx
push 0x7fe
push 0
lea edx, [ebp - 0xbc6]
push edx
call fcn.0045a140
add esp, 0xc
mov eax, dword [ebp - 0xbd8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xbd0], ecx
push 0x400
lea edx, [ebp - 0xbc8]
push edx
mov eax, dword [ebp - 0xbd0]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x80
lea ecx, [ebp - 0xbc8]
push ecx
lea edx, [ebp - 0x3b0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [ebp - 0xbd8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xbd4], ecx
mov edx, dword [ebp - 0xbd8]
movzx eax, word [edx + 0x18]
push eax
mov ecx, dword [ebp - 0xbd4]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x3b4], eax
lea edx, [ebp - 0x3c8]
push edx
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458357
mov esp, ebp
pop ebp
ret

Function at 0x41fb30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and eax, 1
je 0x41fb54
mov ecx, dword [ebp - 4]
or ecx, 0x80000000
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
and edx, 2
je 0x41fb9b
mov eax, dword [ebp - 0x10]
add eax, 0x28
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 8
jb 0x41fb79
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
jmp 0x41fb82
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 0x14], ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [ebp - 4]
or eax, 0x40000000
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x18], 8
jb 0x41fbb8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
jmp 0x41fbc1
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0x18], edx
push 0
push 0x80
mov eax, dword [ebp + 8]
and eax, 2
neg eax
sbb eax, eax
and eax, 2
push eax
push 0
push 1
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x10]
xor eax, eax
cmp dword [edx + 0x24], 0xffffffff
setne al
mov esp, ebp
pop ebp
ret 4
Function at 0x4227b0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 0x60], ecx
mov byte [ebp - 5], 0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x16
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4227fc
cmp dword [ebp - 0xc], 0
jne 0x4228b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4228b0
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00457ed0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4228b0
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.0045a140
add esp, 0xc
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0x16
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x42289e
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
add ecx, 2
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x64]
mov ax, word [edx]
mov word [ebp - 0x6a], ax
add dword [ebp - 0x64], 2
cmp word [ebp - 0x6a], 0
jne 0x42286a
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x68]
sar ecx, 1
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040d960
mov byte [ebp - 5], 1
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00458b3a
add esp, 4
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret 8

Function at 0x4228c0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x13
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42290f
cmp dword [ebp - 0xc], 0
jne 0x422997
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x422997
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00457ed0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x422997
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.0045a140
add esp, 0xc
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0x13
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x422985
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrToIntExW]
test eax, eax
jne 0x422985
mov dword [ebp - 8], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00458b3a
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x4234c0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x84], 0
je 0x4234fa
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x84]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00458b3a
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x84], 0
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x88], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x42353b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x114], eax
xor al, al
jmp 0x423635
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x88]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00421dd0
mov edx, dword [ebp - 4]
add edx, 1
push edx
call fcn.00457ed0
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x423609
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0045a140
add esp, 0xc
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x4235f7
movzx ecx, byte [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.004232d0
movzx ecx, al
test ecx, ecx
je 0x4235da
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x1a4]
xor ecx, ecx
cmp dword [eax + 0x20], 0
setne cl
movzx edx, cl
test edx, edx
jne 0x4235de
xor al, al
jmp 0x423635
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x1a4]
call fcn.0041ffc0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00458b3a
add esp, 4
cmp dword [ebp - 4], 0
ja 0x423507
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x88]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00421dd0
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x1a4]
call fcn.0041ff90
mov al, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x423910
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x42397f
mov ecx, dword [ebp - 8]
add ecx, 0x120
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18], 8
jb 0x423942
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
jmp 0x42394b
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 0xc], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 4], 0
jne 0x42397f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x114], eax
xor al, al
jmp 0x423981
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4239c0
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [eax + 0x14], 0
sete cl
movzx edx, cl
test edx, edx
jne 0x423a30
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x18], 8
jb 0x4239f9
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
jmp 0x423a02
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp - 0xc], edx
push 0x1000000
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x423a30
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x114], eax
xor al, al
jmp 0x423a32
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x42b9d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.0042ba00
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x42c110
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov esp, ebp
pop ebp
ret

Function at 0x42d670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1314
call fcn.0045a630
mov dword [ebp - 0x1314], ecx
mov eax, dword [ebp - 0x1314]
xor ecx, ecx
cmp dword [eax + 0x2c], 0
sete cl
movzx edx, cl
test edx, edx
je 0x42d756
mov eax, dword [ebp - 0x1314]
cmp dword [eax + 0x10], 0
jle 0x42d756
mov ecx, dword [ebp - 0x1314]
cmp dword [ecx + 0x14], 0
jle 0x42d756
push 0
push 1
mov edx, dword [ebp - 0x1314]
mov edx, dword [edx + 0x14]
mov eax, dword [ebp - 0x1314]
mov ecx, dword [eax + 0x10]
call fcn.004114a0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42d752
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov ecx, dword [ebp - 0x1314]
call fcn.00418a30
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x42d740
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1314]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1314]
mov byte [ecx + 0x4c], 1
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00458b3a
add esp, 4
mov al, 1
jmp 0x42d758
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x42dbe0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebp - 0x98]
add ecx, 0x24
call fcn.00424e00
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x1c], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x20], eax
push 0
push 0
mov eax, dword [ebp - 0x98]
push eax
push 0x42e370
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x98]
mov dword [ecx], eax
push 0x190
mov edx, dword [ebp - 0x98]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov eax, dword [ebp - 0x98]
mov esp, ebp
pop ebp
ret
Function at 0x434f90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x1a4]
test ecx, ecx
jne 0x435013
push 0xfffffffffffffff0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xe8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push 0xfffffffffffffff0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xe8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xe4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
mov dword [ebp - 8], edx
push 0
push 0x1e
push 0x1d20
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x1a4], 1
mov esp, ebp
pop ebp
ret

Function at 0x435020
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x1a4]
test ecx, ecx
je 0x43509f
push 0xfffffffffffffff0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xe8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xfffffff7
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push 0xfffffffffffffff0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xe8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 5
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xe4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
mov dword [ebp - 8], edx
push 0x1d20
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x1a4], 0
mov esp, ebp
pop ebp
ret
Function at 0x43b030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472b39
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x485c44]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc0], ecx
mov eax, dword [ebp - 0xc0]
mov dword [eax], 0
mov ecx, dword [ebp - 0xc0]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0xc0]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0xc0]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0xc0]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0xc0]
add edx, 0x14
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x15]
mov dword [ebp - 0x14], eax
push 0
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.0040d8a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc0]
add ecx, 0x30
mov dword [ebp - 0x4c], ecx
lea edx, [ebp - 0x35]
mov dword [ebp - 0x34], edx
push 0
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.0040d8a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xc0]
add eax, 0x4c
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x55]
mov dword [ebp - 0x54], ecx
push 0
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.0040d8a0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xc0]
add edx, 0x68
mov dword [ebp - 0x8c], edx
lea eax, [ebp - 0x75]
mov dword [ebp - 0x74], eax
push 0
push 0
mov ecx, dword [ebp - 0x8c]
call fcn.0040d8a0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xc0]
add ecx, 0x84
mov dword [ebp - 0x9c], ecx
lea edx, [ebp - 0x95]
mov dword [ebp - 0x94], edx
push 0
push 0
mov ecx, dword [ebp - 0x9c]
call fcn.0040d8a0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xc0]
add eax, 0xa0
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0xa5]
mov dword [ebp - 0xa4], ecx
push 0
push 0
mov ecx, dword [ebp - 0xbc]
call fcn.0040d8a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x445ad0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14b4
call fcn.0045a630
mov eax, dword [0x485c44]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14a0], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x445b04
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x14a4], edx
jmp 0x445b10
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x14a4], eax
push 0xa28
lea ecx, [ebp - 0x1458]
push ecx
mov edx, dword [ebp - 0x14a4]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x445b93
lea eax, [ebp - 0x1458]
mov dword [ebp - 0x14a8], eax
mov ecx, dword [ebp - 0x14a8]
add ecx, 2
mov dword [ebp - 0x14ac], ecx
mov edx, dword [ebp - 0x14a8]
mov ax, word [edx]
mov word [ebp - 0x14ae], ax
add dword [ebp - 0x14a8], 2
cmp word [ebp - 0x14ae], 0
jne 0x445b48
mov ecx, dword [ebp - 0x14a8]
sub ecx, dword [ebp - 0x14ac]
sar ecx, 1
mov dword [ebp - 0x14b4], ecx
mov edx, dword [ebp - 0x14b4]
push edx
lea eax, [ebp - 0x1458]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040d960
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458357
mov esp, ebp
pop ebp
ret 4