joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420b00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x474a70
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x48b2b0]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x420b7f
call fcn.00420f90
mov esi, eax
jmp 0x420c61
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x420b9b
call fcn.00420f90
jmp 0x420c58
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x420bb4
call fcn.00420f90
jmp 0x420c58
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x420be8
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x420bd6
lea eax, [ebp]
call fcn.00401fc0
lea esi, [ebp - 0x1c]
call fcn.0041fa70
mov eax, 0x8007000e
jmp 0x420c73
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.0041f310
mov dword [ebp - 4], 1
jmp 0x420c11
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x420c1f
mov esi, 0x8007000e
jmp 0x420c5a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x420c3d
call fcn.00420f90
jmp 0x420c58
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.004209b0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x420c71
lea eax, [ebp]
call fcn.00401fc0
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 + 0x404]
xor ecx, ebp
call fcn.004599ac
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x421aa0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x421ac3
mov eax, dword [ebp - 4]
jmp 0x421b9f
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x421b7a
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
lea ecx, [ecx]
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x47b930]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x47b930]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x47b930]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x47b930]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x47b930]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x47b930]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x47b930]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x47b930]
dec ebp
jne 0x421ae4
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x421b96
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x47b930]
dec ecx
jne 0x421b84
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x421f70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x474a0e
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esi + 0x14]
mov dword [esi], vtable.TiXmlAttribute.0
mov eax, 0xf
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
lea edi, [esi + 0x30]
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
mov eax, ebp
lea edx, [eax + 1]
mov byte [esp + 0x1c], 2
mov dword [esp + 0x28], edx
nop
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x421fe0
sub eax, dword [esp + 0x28]
push eax
push ebp
call fcn.00404550
mov ebp, dword [esp + 0x2c]
mov eax, ebp
lea edx, [eax + 1]
jmp 0x422000
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x422000
sub eax, edx
push eax
push ebp
mov ecx, edi
call fcn.00404550
mov dword [esi + 0x10], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x427190
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x47574b
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x48b2b0]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
xor eax, eax
xor ebx, ebx
push 0xc6
mov esi, ecx
lea ecx, [esp + 0x42]
push ebx
push ecx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov word [esp + 0x3d], ax
mov byte [esp + 0x3f], al
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x48], ax
call fcn.0045e0a0
add esp, 0xc
cmp esi, ebx
jne 0x427219
xor eax, eax
jmp 0x42722f
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x427220
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
mov eax, 0x48fcf0
call fcn.0040c520
xor esi, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
lea edx, [esp + 0x10]
push edx
push 0x2001f
push esi
push str.SOFTWAREKingsoftTest
mov dword [esp + 0x120], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x427340
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov dword [0x48fcd8], 1
call fcn.00427850
push 1
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push esi
push esi
push 1
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea edx, [esp + 0x20]
push 0x48fcf4
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
lea edx, [esp + 0x44]
call fcn.00427de0
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 8
lea eax, [esp + 0x3c]
push eax
push 1
push 1
lea ecx, [esp + 0x20]
push ecx
call edi
push esi
push esi
push 1
push esi
mov dword [0x48fce4], eax
call edi
mov dword [0x48fce8], eax
cmp dword [0x48fce4], esi
je 0x42734d
cmp eax, esi
je 0x42734d
push esi
push esi
push 0x48fcd8
push 0x4275f0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x48fcec], eax
cmp eax, esi
je 0x42734d
cmp ebx, esi
je 0x427339
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x42735a
mov dword [0x48fcd8], esi
mov eax, 1
jmp 0x42735a
cmp ebx, esi
je 0x427358
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.004599ac
add esp, 0x104
ret
Function at 0x427850
Capabilities:
Delete file
Get file size
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x474998
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x48fcf0]
push 0
push 0x80
push 2
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x427930
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4278af
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0x80000
jb 0x427930
mov eax, dword [0x48fcf0]
add eax, 0xfffffff0
call fcn.0040c5c0
add eax, 0x10
mov dword [esp + 0x10], eax
lea esi, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00427950
mov esi, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [0x48fcf0]
push 0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
call ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427930
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x428c20
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x48fd90], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
jne 0x428c55
lea eax, [esp + 4]
push eax
push 0
push 0x48fd28
push 0x428650
push 0
push 0
mov dword [esp + 0x1c], 0
call esi
mov dword [0x48fd90], eax
cmp dword [0x48fdc8], 0
jne 0x428c8b
cmp dword [0x48fdcc], 0
je 0x428c8b
lea ecx, [esp + 4]
push ecx
push 0
push 0x48fd28
push 0x428680
push 0
push 0
mov dword [esp + 0x1c], 0
call esi
mov dword [0x48fd90], eax
pop esi
pop ecx
ret

Function at 0x428c90
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x428d12
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x68]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x428cd8
push 0x1f4
push eax
call edi
test eax, eax
je 0x428cc7
mov eax, dword [esi + 0x68]
push 0
push eax
call ebx
mov ecx, dword [esi + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x68], 0
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x428d10
push 0x1f4
push eax
call edi
test eax, eax
je 0x428cf9
mov edx, dword [esi + 0xa0]
push 0
push edx
call ebx
mov eax, dword [esi + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa0], 0
pop edi
pop ebx
ret
Function at 0x4294b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47492b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x48b2b0]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
mov eax, dword [0x48eacc]
mov edx, dword [eax + 0xc]
mov ebp, dword [esp + 0x25c]
mov esi, ecx
xor edi, edi
mov ecx, 0x48eacc
mov dword [esp + 0x18], edi
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x258], edi
mov ecx, dword [esi + 4]
push 0x11
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x47d7d4
lea ebx, [edi + 5]
lea eax, [esp + 0x18]
call fcn.0040c520
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x105
or eax, ecx
jge 0x429572
mov ecx, 0x105
lea eax, [esp + 0x14]
call fcn.0040c4d0
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x47d7e0
mov dword [esp + 0x30], 0x8041
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov ebx, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0045b078
add esp, 8
cmp eax, edi
jl 0x42964e
cmp eax, dword [esi - 8]
jg 0x42964e
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
cmp ebx, edi
je 0x4295fd
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4295e0
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x3c]
mov ebx, eax
push ecx
mov eax, ebp
call fcn.0040c520
lea eax, [esi - 0x10]
mov dword [esp + 0x254], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429624
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004599ac
add esp, 0x244
ret 4
push 0x80070057
call fcn.0040c6b0
int3
Function at 0x429660
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x475018
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x48eacc]
mov edx, dword [eax + 0xc]
mov ecx, 0x48eacc
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
mov dword [esp + 0x34], 0
call fcn.004294b0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x4297f5
mov esi, dword [ebx + 0x310]
cmp esi, dword [ebx + 0x314]
jbe 0x4296db
call fcn.0045a9dd
mov edi, dword [ebx + 0x304]
mov ebx, dword [ebx + 0x314]
mov dword [esp + 0x20], esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x310], ebx
jbe 0x4296fb
call fcn.0045a9dd
mov eax, dword [esi + 0x304]
test edi, edi
je 0x429709
cmp edi, eax
je 0x42970e
call fcn.0045a9dd
cmp dword [esp + 0x20], ebx
je 0x4297f3
mov eax, 3
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
call fcn.0040c010
mov ebx, eax
test edi, edi
jne 0x42977a
call fcn.0045a9dd
xor eax, eax
mov esi, dword [esp + 0x20]
cmp esi, dword [eax + 0x10]
jb 0x429745
call fcn.0045a9dd
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4297d0
mov eax, dword [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42977e
test dx, dx
je 0x429776
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42977e
add eax, 4
add ecx, 4
test dx, dx
jne 0x429754
xor eax, eax
jmp 0x429783
mov eax, dword [edi]
jmp 0x429737
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x18]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4297a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x4297da
test edi, edi
jne 0x4297cc
call fcn.0045a9dd
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4297c1
call fcn.0045a9dd
mov ebx, dword [ebp + 8]
add esi, 4
jmp 0x4296e1
mov eax, dword [edi]
jmp 0x4297b7
push 0x80004005
call fcn.0040c6b0
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x300]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x14]
push eax
call edx
mov ebx, dword [ebp + 8]
jmp 0x4297f5
mov ebx, esi
mov eax, dword [ebx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429829
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x429840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x476590
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [edi + 0x31c]
mov eax, dword [eax - 0xc]
lea ecx, [edi + 0x31c]
push ecx
dec eax
lea ecx, [esp + 0x20]
call fcn.00401c10
mov ebp, eax
mov ecx, dword [esp + 0x30]
lea esi, [esp + 0x18]
mov eax, edi
mov dword [esp + 0x28], 0
call fcn.0042b570
mov edx, eax
mov eax, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], al
call fcn.0040c010
lea ecx, [esp + 0x10]
push ebp
push ecx
mov ebx, eax
mov byte [esp + 0x30], 2
call fcn.00417e90
add esp, 8
mov byte [esp + 0x28], 3
mov ecx, dword [edi + 0x300]
mov edx, dword [ecx]
push eax
mov eax, dword [edx]
call eax
mov byte [esp + 0x28], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4298f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42991e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429943
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42996b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4

Function at 0x429a20
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, eax
cmp ebp, 0x4e
jne 0x429a5a
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 4], 0x3e8
jne 0x429a5a
mov eax, esi
mov dword [esi + 0x2fc], 1
call fcn.00429980
mov dword [ebx], eax
cmp dword [esi + 0x2fc], 0
jne 0x429adc
mov eax, dword [esp + 0x18]
push edi
mov edi, dword [esi + 0x2f8]
push 0
push eax
mov eax, dword [esp + 0x20]
push esi
mov ecx, ebp
call fcn.0042b9c0
mov dword [esi + 0x2f8], edi
pop edi
test eax, eax
jne 0x429adc
cmp ebp, 0x110
jne 0x429aa4
mov eax, 1
mov dword [esi + 0x2fc], eax
mov dword [ebx], eax
cmp dword [esi + 0x2fc], 0
jne 0x429a9f
xor eax, eax
pop ebp
pop ebx
ret 0x10
cmp ebp, 8
jne 0x429ac2
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
mov dword [ebx], 1
xor eax, eax
pop ebx
ret 0x10
cmp ebp, 0x202
jne 0x429a9d
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebx], 1
pop ebp
mov eax, 1
pop ebx
ret 0x10
Function at 0x42a390
Capabilities:
Create thread
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x476da8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esi + 0x6c8]
test eax, eax
je 0x42a3cd
mov eax, dword [eax + 4]
test eax, eax
je 0x42a3cd
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, esi
call fcn.0042ae40
lea eax, [esi + 0x50]
mov edi, 0x69
mov dword [0x48fc18], 0x42a720
mov dword [0x48fbf0], esi
call fcn.004292b0
mov dword [esi + 0x630], eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0042afc0
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x42a417
xor eax, eax
jmp 0x42a42f
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a420
sub eax, edi
sar eax, 1
mov ebx, eax
push edx
mov eax, 0x48fc70
call fcn.0040c520
mov edx, dword [esi + 0x628]
call fcn.0041cd50
mov ecx, dword [esi + 0x630]
mov edx, dword [0x48fbe4]
mov dword [0x48fbec], ecx
mov dword [0x48fbd8], 0
cmp dword [edx - 0xc], 0
je 0x42a4a6
push str.7E3EDCB6_AA19_4598_A948_C59B6B02BF64
push 0
push 1
push 0
mov dword [0x48fbdc], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0x48fbd8
push 0x41cde0
push 0
push 0
mov dword [0x48fc10], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x48fbe0], eax
call fcn.00428d20
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a4d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x42a8c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x473d29
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], edi
mov eax, dword [0x48eacc]
mov edx, dword [eax + 0xc]
mov ecx, 0x48eacc
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x3b
mov dword [esp + 0x14], edi
movzx ebp, word [esp + edi*2 + 0x1c]
mov eax, dword [esp + 0x34]
push ebp
push eax
call fcn.00459e1e
add esp, 8
test eax, eax
je 0x42a9c8
mov eax, dword [esi]
mov ebx, dword [eax - 0xc]
test ebx, ebx
je 0x42a983
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
lea edi, [ebx + 1]
sub eax, edi
or eax, ecx
jge 0x42a962
mov ecx, edi
mov eax, esi
call fcn.0040c4d0
mov eax, dword [esi]
mov ecx, 0x20
mov word [eax + ebx*2], cx
test edi, edi
jl 0x42a9ee
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x42a9ee
mov dword [eax - 0xc], edi
mov edx, dword [esi]
xor eax, eax
mov word [edx + edi*2], ax
mov eax, dword [esi]
mov ebx, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
lea edi, [ebx + 1]
sub eax, edi
or eax, ecx
movzx ebp, bp
jge 0x42a9a8
mov ecx, edi
mov eax, esi
call fcn.0040c4d0
mov eax, dword [esi]
mov word [eax + ebx*2], bp
test edi, edi
jl 0x42a9ee
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x42a9ee
mov dword [eax - 0xc], edi
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + edi*2], dx
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x14], edi
cmp edi, 1
jb 0x42a921
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
push 0x80070057
call fcn.0040c6b0
int3
Function at 0x42aad0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x473ce8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x20]
cmp dword [eax + 0xc], 0x201
jne 0x42ab96
add eax, 0x18
push eax
mov eax, dword [esi + 0x6c8]
mov ecx, dword [eax + 4]
push 0
push 0x437
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x48eacc]
mov eax, dword [edx + 0xc]
mov ecx, 0x48eacc
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
mov ecx, dword [esi + 0x6c8]
mov edx, dword [ecx + 4]
lea edi, [esp + 0x20]
lea ebx, [esp + 0xc]
mov dword [esp + 0xc], edx
call fcn.0042b740
mov edi, dword [esp + 0x20]
mov eax, dword [esi + 4]
push 1
push 0
push 0
push edi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
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 0x42ab96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x10
ret 4