joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402d50
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x402d7b
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x402d7b
cmp eax, 6
jbe 0x402d7d
xor eax, eax
add esp, 0x114
ret

Function at 0x403e90
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
push edi
push 0x301
xor eax, eax
mov ecx, 0xad
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2c0]
push 0x2b4
lea eax, [esp + 0xc]
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
neg eax
sbb eax, eax
neg eax
pop edi
add esp, 0x2b4
ret

Function at 0x406320
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2bbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x10], esp
push esi
call fcn.0046ab7c
add esp, 4
test eax, eax
je 0x406414
push 0x4d0a90
lea ecx, [ebp - 0xcc]
call fcn.0045e9e7
push 0x4d0a90
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.0045e24c
mov bl, 2
mov byte [ebp - 4], bl
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push esi
push eax
lea ecx, [ebp - 0x14]
push 0x4a8680
push ecx
mov byte [ebp - 4], 3
call fcn.00403140
mov esi, dword [ebp - 0x14]
add esp, 0x10
push 0
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0xcc]
call fcn.00460384
lea ecx, [ebp - 0xcc]
call fcn.0045f927
lea ecx, [ebp - 0xcc]
call fcn.0045e2da
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4063f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.0045e26f
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 0xffffffff
call fcn.0045ea79
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40ac30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x40ac49
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
jne 0x40ac5d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40ac7e
cmp esi, eax
jae 0x40ac57
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40ac70
cmp esi, eax
jae 0x40ac57
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x40ae50
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4a2d38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov edi, dword [esp + 0x1c]
lea eax, [esp + 8]
push edi
push eax
mov dword [esp + 0x1c], 0
call fcn.00403140
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xb68], 0
mov eax, dword [ecx - 0xc]
add esp, 8
test eax, eax
jne 0x40aec0
lea edx, [esp + 8]
push 0x4a8838
push edx
call fcn.00403140
add esp, 8
jmp 0x40aef1
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
test al, 1
je 0x40aef1
push 0x4a882c
mov dword [esi + 0xb68], 1
call fcn.0046ab7c
add esp, 4
push eax
push 0x4a882c
lea ecx, [esp + 0x10]
call fcn.00409ee0
mov ecx, dword [esi + 0x50]
mov esi, dword [esp + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 0x50]
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x40af22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x40b280
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4a2d38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
call fcn.00498d33
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
push eax
lea ecx, [esp + 0xc]
call fcn.0040b1f0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 0xc]
xor edi, edi
cmp ecx, 3
mov dword [esp + 0x14], edi
jle 0x40b380
mov cx, word [eax]
cmp cx, 0x22
jne 0x40b2de
push 1
push edi
lea ecx, [esp + 0x10]
call fcn.00402f50
mov eax, dword [esp + 8]
mov ecx, dword [eax - 0xc]
cmp word [eax + ecx*2 - 2], 0x22
jne 0x40b2f6
dec ecx
push 1
push ecx
lea ecx, [esp + 0x10]
call fcn.00402f50
lea ecx, [esp + 8]
call fcn.00404030
mov ecx, dword [esi + 0xb6c]
mov edx, dword [esp + 8]
push ecx
push edx
lea ecx, [esi + 0x58]
call fcn.00413ee0
mov eax, dword [esi + 0xb6c]
push eax
mov ecx, 0x4d0010
call fcn.004387c0
mov ecx, esi
mov dword [0x4d0008], edi
call fcn.0044e490
mov ecx, esi
call fcn.00445dc0
mov ecx, dword [esp + 8]
push ecx
mov ecx, esi
call fcn.0040ae50
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x14], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b36a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [0x4d0a8c]
push eax
call fcn.00403e90
add esp, 4
test eax, eax
je 0x40b3ca
cmp dword [0x4d0a3c], edi
je 0x40b3ca
push 0x44
push str._nN_k
call sub.KSCommon.dll_int___stdcall_MsgBox_unsigned_short_int_const___unsigned_int_
cmp eax, 7
je 0x40b3ca
mov ecx, dword [0x4d0a8c]
push edi
push ecx
lea ecx, [esi + 0x58]
call fcn.004199c0
test eax, eax
jne 0x40b42a
push edi
push 0x4a88c8
call sub.KSCommon.dll_int___stdcall_MsgBox_unsigned_short_int_const___unsigned_int_
push 0x4a8084
mov ecx, esi
call fcn.0040ae50
mov ecx, dword [0x4d0a8c]
push edi
push ecx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov edx, dword [0x4d0a8c]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b417
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea edx, [esi + 0x74]
lea edi, [esi + 0x98]
push edx
mov ecx, edi
call fcn.004045a0
mov eax, dword [edi]
push eax
mov ecx, esi
call fcn.0040ae50
lea ecx, [esp + 8]
call fcn.00403000
mov ecx, dword [esp + 0xc]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40b7e0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x30]
push 5
push eax
mov eax, dword [ecx + 0x2c]
push edx
push eax
push 0x4a8a90
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x4128e0
Capabilities:
Read file via mapping

Disassembly:
push esi
push str.KS_CLIPBOARD_DATA_POPU
push 0
push 4
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_OpenFileMappingW]
test eax, eax
je 0x412909
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
test eax, eax
jne 0x41290f
xor eax, eax
pop esi
ret 4
mov ecx, dword [esp + 8]
push ecx
push eax
mov ecx, esi
call fcn.004122f0
pop esi
ret 4
Function at 0x413870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a301c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0xa
mov dword [esp + 0x14], esi
call fcn.0047e34e
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi], method.CObList.virtual_0
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x1c], 1
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x1c], 2
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [esp + 0x1c], 3
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x1c], 4
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [esp + 0x1c], 5
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x3c], eax
mov byte [esp + 0x1c], 6
lea edi, [esi + 0x40]
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
lea ecx, [esi + 0x68]
mov byte [esp + 0x1c], 7
call fcn.0042a330
lea ecx, [esi + 0x84]
mov byte [esp + 0x1c], 8
call fcn.004365a0
lea ecx, [esi + 0xa0]
mov byte [esp + 0x1c], 9
call fcn.0047dfa0
mov byte [esp + 0x1c], 0xa
lea ecx, [esi + 0xb4]
call fcn.0047dfa0
lea ecx, [esi + 0xc8]
mov byte [esp + 0x1c], 0xb
call fcn.0047dfa0
lea ecx, [esi + 0xdc]
mov byte [esp + 0x1c], 0xc
call fcn.0042d490
lea ecx, [esi + 0x100]
mov byte [esp + 0x1c], 0xd
call fcn.00458970
lea ecx, [esi + 0x640]
mov byte [esp + 0x1c], 0xe
call fcn.00488638
mov byte [esp + 0x1c], 0xf
lea ebp, [esi + 0x674]
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp], eax
mov dword [esi + 0x680], ebx
mov dword [esi + 0x67c], 0x4b1918
lea ecx, [esi + 0x684]
mov byte [esp + 0x1c], 0x11
call fcn.004612b9
push 0x4a8084
mov byte [esp + 0x20], 0x12
mov dword [esi + 0x678], 1
call fcn.0046ab7c
add esp, 4
push eax
push 0x4a8084
mov ecx, edi
call fcn.004042c0
push 0x4a8c58
call fcn.0046ab7c
add esp, 4
push eax
push 0x4a8c58
mov ecx, ebp
call fcn.004042c0
mov ecx, esi
call fcn.004131b0
mov ecx, dword [esp + 0x14]
mov eax, 0x12c
mov dword [esi + 0x654], eax
mov dword [esi + 0x650], eax
pop edi
mov dword [esi + 0x38], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 1
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41c040
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a34a0
push eax
mov eax, dword [0x4d0978]
mov dword fs:[0], esp
sub esp, 8
test eax, eax
je 0x41c080
call fcn.00498d33
mov eax, dword [eax + 4]
push 0
push 0x4a98d8
push 0x4a8658
mov ecx, eax
call fcn.0049bf6d
test eax, eax
je 0x41c091
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push esi
push edi
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov dword [esp + 0x18], 0
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [0x4d0a68]
push eax
lea ecx, [esp + 0x10]
push str._sUninstall_
push ecx
mov byte [esp + 0x24], 1
call fcn.00403140
mov esi, dword [esp + 0x18]
push esi
lea edx, [esp + 0x18]
push str._sPlugDat.bin
push edx
call fcn.00403140
mov edi, dword [esp + 0x20]
push edi
call fcn.00403e90
add esp, 0x1c
test eax, eax
jne 0x41c153
mov byte [esp + 0x18], al
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c11e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c140
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push esi
lea eax, [esp + 0xc]
push str._sUninstall.exe
push eax
call fcn.00403140
mov edi, dword [esp + 0x14]
add esp, 0xc
push 5
push esi
push str._I:KS
push edi
push 0x4a8a90
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00498d33
mov eax, dword [eax + 4]
push 1
push 0x4a98d8
push 0x4a8658
mov ecx, eax
call fcn.00491c7f
lea eax, [esi - 0x10]
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c1ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add edi, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c1dc
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4240a0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4a3bbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa18
push esi
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 4], eax
movzx eax, word [esp + 0xa2c]
push eax
lea ecx, [esp + 8]
push str._c:_
push ecx
mov dword [esp + 0xa30], 0
call fcn.00403140
mov esi, dword [esp + 0x10]
add esp, 0xc
push 0x400
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x104
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
or edx, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
mov dword [esp + 0xa24], 0xffffffff
lea ecx, [eax + 0xc]
je 0x42416d
push edi
mov edi, dword [esp + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424154
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xa18]
mov dword fs:[0], ecx
add esp, 0xa24
ret
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42417e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xa1c]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0xa24
ret
Function at 0x425240
Capabilities:
Get common file path

Disassembly:
sub esp, 0x21c
push 0x104
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemWow64DirectoryW]
test eax, eax
jne 0x42526a
push 0x104
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
lea edx, [esp]
push str.LPK.dll
push edx
call fcn.00423b90
add esp, 8
test eax, eax
je 0x425286
inc dword [0x4d0968]
lea eax, [esp]
push str.USP10.dll
push eax
call fcn.00423b90
add esp, 8
test eax, eax
je 0x4252a2
inc dword [0x4d0968]
lea ecx, [esp]
push str.SafeMon.dll
push ecx
call fcn.00423b90
add esp, 8
test eax, eax
je 0x4252be
inc dword [0x4d0968]
mov edx, dword [esp + 0x220]
push 0
push 0
push 0
push 0
push edx
push 0x423ad0
call fcn.00486732
inc dword [0x4d0968]
add esp, 0x21c
ret 4
Function at 0x4253f0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Resume thread
Self delete
Terminate process
Use process replacement

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x758
push ebx
push ebp
push esi
push edi
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x358]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x358]
push str.COMMUN.EXE
push eax
call fcn.0046a5bd
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x4c], ebp
mov ecx, 0xf
lea edi, [esp + 0x50]
add esp, 8
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
push 1
push 0x100000
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x44]
push edx
push ebp
push ebp
push 4
push 1
push ebp
mov dword [esp + 0x3c], eax
push ebp
lea eax, [esp + 0x378]
push eax
push ebp
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x425483
push ebp
call fcn.0046b279
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x88], 0x10007
mov dword [esp + 0x8c], ebp
mov ecx, 0xb1
lea edi, [esp + 0x90]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x88]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
push 0x104
lea eax, [esp + 0x564]
push eax
push ebp
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push str.Kernel32.dll
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, eax
push 0x4ab930
push esi
call edi
mov ecx, dword [esp + 0x10]
push 0x40
push 0x1000
push 0x80000
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
push ecx
mov dword [esp + 0x154], eax
call ebp
push 0x4ab924
add eax, 0x40000
push esi
mov dword [esp + 0x154], eax
call edi
mov edx, dword [esp + 0x20]
push 0x4ab918
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0xffffffff
call edi
push 0x40
push 0x1000
lea esi, [ebx + ebx + 2]
push esi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
xor edi, edi
push edi
push eax
call ebp
mov edx, dword [esp + 0x10]
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
lea ecx, [esp + 0x568]
push ecx
push eax
push edx
mov dword [esp + 0x48], eax
call esi
test eax, eax
push edi
jne 0x42557a
call fcn.0046b279
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x14]
push 0x1c
lea eax, [esp + 0x2c]
push eax
push ecx
push edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call esi
test eax, eax
jne 0x4255a2
push edi
call fcn.0046b279
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x88]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_SetThreadContext]
test eax, eax
jne 0x4255bf
push edi
call fcn.0046b279
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
push edi
call fcn.0046b279
int3
Function at 0x4277e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a3ec8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.00480b56
push eax
lea ecx, [esp + 0x30]
call fcn.00488bab
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.00480b56
mov ecx, eax
call fcn.00488904
mov eax, dword [esi + 0x12c]
test eax, eax
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x427902
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x128]
call fcn.00488b14
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x138]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00488e11
test edi, edi
je 0x4278b8
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x12c]
push edi
push eax
call fcn.00488e9a
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x140], eax
mov eax, dword [esp + 0x24]
sub eax, ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [esi + 0x12c]
sub ecx, edi
push ecx
push 0
push 0
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x128]
sub ecx, edi
test edx, edx
je 0x427923
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00488c06
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x42d590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a40aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
fld qword [ebp + 0x20]
push ebx
fsub qword [ebp + 0x10]
push esi
push edi
mov dword [esp + 0xc], ecx
fstp qword [esp + 0x10]
mov edi, dword [esp + 0x14]
fld qword [ebp + 0x18]
mov ebx, dword [esp + 0x10]
fsub qword [ebp + 8]
push edi
push ebx
fstp qword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.0046a0f9
fcomp qword [0x4a79d8]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x42d608
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
push 0x68
call fcn.00483bc7
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0x2c], 0
je 0x42d63e
mov dword [esi], method.CCommandLineInfo.virtual_0
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x58], eax
jmp 0x42d640
xor esi, esi
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x20], edx
mov edx, dword [ebp + 0x1c]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x20]
push edi
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x2c], edx
mov edx, dword [esp + 0x20]
push ebx
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 0x24]
push edx
push eax
mov dword [esp + 0x3c], 0xffffffff
mov dword [esi + 4], 0x14
mov dword [esi + 0x34], ecx
call fcn.0042aac0
fstp qword [esi + 0x40]
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0x34]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp + 0x40]
push edi
mov dword [esi + 0xc], edx
mov edx, dword [ebp + 0x38]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x30]
push ebx
mov dword [esi + 0x48], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x38], edx
mov edx, dword [ebp + 0x44]
push eax
push ecx
mov dword [esi + 0x4c], edx
call fcn.0046a0f9
fstp qword [esi + 0x50]
mov edx, dword [ebp + 0x48]
mov ecx, dword [esp + 0x2c]
add esp, 0x20
push esi
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], 0xbebc200
mov dword [esi + 0x64], 0
call fcn.0047e37c
mov ecx, dword [esp + 0x24]
pop edi
mov eax, esi
pop esi
mov dword [0x4d0008], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x44