joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450db0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc84d
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x74], eax
movlpd qword [ebp - 0xc8], xmm0
movlpd qword [ebp - 0xc0], xmm0
movlpd qword [ebp - 0xb8], xmm0
movlpd qword [ebp - 0xb0], xmm0
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
mov dword [ebp - 0xcc], 0x44
movups xmmword [ebp - 0x88], xmm0
call fcn.00489120
push 0x5deb1c
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
call fcn.00489bf0
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0x14], 0x10
jb 0x450e68
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x70]
call fcn.00489bf0
push 0x5deb1c
lea ecx, [ebp - 0x70]
call fcn.00489bf0
cmp dword [edi + 0x14], 0x10
jb 0x450e86
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x70]
call fcn.00489bf0
push 0x5deb1c
lea ecx, [ebp - 0x70]
call fcn.00489bf0
cmp dword [esi + 0x14], 0x10
jb 0x450ea4
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x70]
call fcn.00489bf0
mov esi, dword [ebp - 0x78]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x450efc
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x450efc
push str.RunUserProcess_didnt_terminate_on_its_own_n
call fcn.0043c3f0
add esp, 4
push 0
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x450efc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_terminate_the_run_user_process._Error:__u_n
call fcn.0043c3f0
add esp, 8
jmp 0x450f46
lea ecx, [ebp - 0x70]
call fcn.00489750
push eax
push str.Starting_RunUserProcess:__s_n
call fcn.0043c3f0
add esp, 8
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x70]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.00489750
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x88]
mov dword [esi + 0x60], eax
lea ecx, [ebp - 0x70]
call fcn.00419a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45b020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdb88
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x84], ebx
mov eax, dword [edi + 0x2a0]
mov byte [ebp - 0x72], bl
sub eax, ebx
je 0x45b167
sub eax, 1
je 0x45b167
sub eax, 1
jne 0x45b1d2
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov ecx, dword [edi + 0xf3c]
lea edx, [ebp - 0x80]
push edx
mov dword [ebp - 4], 1
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x80]
sub eax, esi
sub eax, 0x60
cmp eax, 0x60
jae 0x45b0d4
push 0x5df610
lea ecx, [ebp - 0x70]
call fcn.004892c0
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x70]
push eax
push esi
mov ebx, 5
call fcn.004485e0
add esp, 8
mov byte [ebp - 0x71], 1
test al, al
jne 0x45b0d8
mov byte [ebp - 0x71], 0
test bl, 1
je 0x45b0e8
lea ecx, [ebp - 0x70]
call fcn.00419a70
mov esi, dword [ebp - 0x80]
cmp byte [ebp - 0x71], 0
je 0x45b0fc
mov ecx, edi
call fcn.00462140
mov esi, dword [ebp - 0x80]
mov byte [ebp - 0x72], 1
test esi, esi
je 0x45b1d2
mov edi, dword [ebp - 0x7c]
cmp esi, edi
je 0x45b121
nop dword [eax + eax]
mov ecx, esi
call fcn.00419a70
add esi, 0x60
cmp esi, edi
jne 0x45b110
mov esi, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x78]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 5
cmp ecx, 0x1000
jb 0x45b15b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b202
push ecx
push esi
call fcn.004ece5f
add esp, 8
jmp 0x45b1d2
push 0x10
call fcn.004ece2f
add esp, 4
test eax, eax
je 0x45b183
mov dword [eax], 0x45b210
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
jmp 0x45b185
xor eax, eax
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x452c00
push 0
push 0
call fcn.004f8f45
add esp, 0x18
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x45b1f1
cmp dword [edi + 0xf84], 0
jne 0x45b207
mov ecx, dword [ebp - 0x88]
mov dword [edi + 0xf80], eax
mov dword [edi + 0xf84], ecx
mov al, byte [ebp - 0x72]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x88], 0
call fcn.004d835f
call fcn.004f242f
call fcn.004f8dad
int3
Function at 0x45bf50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdd34
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x70]
call fcn.0044e660
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
call fcn.0044e880
add esp, 4
lea ecx, [ebp - 0xd0]
push 0x5e0ea4
call fcn.0044e550
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x70]
call fcn.0044e700
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0
call fcn.0044e680
cmp byte [ebp + 0xc], 0
je 0x45c071
push 0
lea ecx, [ebp - 0x70]
call fcn.0044ef00
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x45bff8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45c06d
push 0x5df610
lea ecx, [ebp - 0x130]
call fcn.004892c0
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xd0]
call fcn.0044e4e0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x70]
call fcn.0044e700
lea ecx, [ebp - 0xd0]
call fcn.0044e680
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0
call fcn.00419a70
push 0
lea ecx, [ebp - 0x70]
call fcn.0044ef00
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x45c0c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x45c0c4
xor bl, bl
jmp 0x45c0d1
push 0x5df610
lea ecx, [ebp - 0xd0]
call fcn.004892c0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x130]
call fcn.0044e4e0
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x70]
call fcn.0044e700
lea ecx, [ebp - 0x130]
call fcn.0044e680
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0
call fcn.00419a70
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.0044e690
mov bl, 1
lea ecx, [ebp - 0x70]
call fcn.0044e680
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret
Function at 0x45fc70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
test eax, eax
je 0x45fc93
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi], 0
mov ecx, dword [ebp + 0x10]
call fcn.00489750
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00489750
mov ebx, dword [ebp + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x45fd15
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x45fd15
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45fd15
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x45fd15
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi], eax
test eax, eax
je 0x45fd15
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x45fd0c
push edi
push ebx
push eax
call fcn.004eecb0
add esp, 0xc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc

Function at 0x4600f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.00489750
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [esi + 8], eax
test eax, eax
je 0x460151
push eax
call fcn.004ed176
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [esi + 4], eax
push eax
push dword [esi + 8]
push dword [ebp - 4]
call fcn.00489750
push eax
call sub.VERSION.dll_GetFileVersionInfoW
mov ecx, dword [esi + 4]
test eax, eax
jne 0x46015a
push ecx
call fcn.004ed17f
add esp, 4
mov dword [esi + 4], 0
mov dword [esi + 8], 0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 8]
push eax
push esi
push str.VarFileInfoTranslation
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x460173
push dword [esi + 4]
jmp 0x46013b
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x461b30
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce5b1
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.defaultbanner_
lea ecx, [ebp - 0x130]
xor bl, bl
call fcn.004892c0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
call fcn.00494490
mov ecx, eax
call fcn.00494160
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 1
call fcn.00489ba0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.00419a70
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.00489120
push str..png
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 2
call fcn.00489bf0
push str..html
lea ecx, [ebp - 0x130]
call fcn.00489bf0
lea ecx, [ebp - 0xd0]
call fcn.0044e660
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 3
call fcn.0044e660
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.0045bf50
add esp, 8
lea ecx, [ebp - 0x70]
push str.DefaultBanner
call fcn.0044e550
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xd0]
call fcn.0044e700
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.0044e680
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x190]
call fcn.0044e690
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x70]
call fcn.0044e4e0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x190]
call fcn.0044e700
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.0044e680
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x70]
call fcn.0044e4e0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xd0]
call fcn.0044e700
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.0044e680
lea ecx, [ebp - 0xd0]
call fcn.0044ef00
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x190]
call fcn.0044ef00
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xd0]
push eax
mov ecx, eax
call fcn.0044ece0
lea ecx, [ebp - 0xd0]
call fcn.0044ef00
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
lea ecx, [ebp - 0x190]
call fcn.0044e680
lea ecx, [ebp - 0xd0]
call fcn.0044e680
lea ecx, [ebp - 0x1f0]
call fcn.00419a70
lea ecx, [ebp - 0x130]
call fcn.00419a70
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret
Function at 0x464d00
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0x3024
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0xfa
push 0x1b39
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
ret

Function at 0x465260
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4652d4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4652d4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4652d4
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x4652d4
push 0
lea eax, [ebp - 4]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4669d0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cecfb
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 0x300], eax
call fcn.00489610
mov ecx, dword [ebx + 0x24]
lea edx, [ebp - 0x2f8]
push edx
mov dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 0x60]
lea ecx, [ebp - 0x2f8]
call fcn.00489750
lea edx, [ebp - 0x298]
sub edx, eax
nop dword [eax]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x466a40
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push 0
lea eax, [ebp - 0x308]
push eax
lea edi, [ebx + 0x48]
push edi
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push 0x40
lea eax, [ebp - 0x90]
push eax
push dword [edi + 4]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
call fcn.0041a4a0
mov ecx, eax
test ecx, ecx
je 0x466b5b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2fc], eax
push 0x7e
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 1
call fcn.0041aa70
push 1
push 0x5e1208
lea ecx, [ebp - 0x2fc]
call fcn.00442a60
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466ad4
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2fc]
call fcn.00442a60
mov esi, dword [ebp - 0x2fc]
push esi
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebp - 0x300]
add esi, 0xfffffff0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov byte [ebp - 4], 0
mov dword [edx], eax
or eax, 0xffffffff
mov dword [edx + 4], ecx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x466b32
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2f8]
call fcn.00419a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0041a0e0
int3
Function at 0x467280
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
jne 0x4672d5
mov eax, dword [ebp + 0xc]
cmp eax, 0x136
je 0x4672a9
cmp eax, 0x138
je 0x4672a9
cmp eax, 0x135
jne 0x4672de
mov eax, dword [edi + 0x18]
push ecx
mov ecx, esp
push ecx
mov dword [eax + 0x20], 1
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, esp
mov ecx, edi
mov dword [eax], esi
call fcn.00466f40
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jne 0x46734e
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x46735a
movzx ebx, si
mov eax, 0x42c
shr esi, 0x10
cmp ax, bx
jne 0x467326
mov eax, dword [edi + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x20], 1
mov eax, esp
push 0x42c
push esi
mov dword [eax], ecx
mov ecx, edi
call fcn.00466ca0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jne 0x46734e
mov eax, 0x200
cmp ax, si
jne 0x4672d5
lea eax, [ebp + 0x10]
push eax
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, esp
push ebx
push 0x200
mov dword [eax], ecx
mov ecx, edi
call fcn.00466fd0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp eax, 0x4e
jne 0x4672d5
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0x42e
jne 0x4672d5
cmp dword [eax + 8], 0xfffffffe
jne 0x4672d5
cmp esi, 0x42e
jne 0x4673a0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0x2c]
call esi
push 5
push dword [edi + 0x30]
call esi
push 0
push dword [edi + 0x3c]
call esi
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
Function at 0x4677e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 5
push edi
xor edi, edi
mov ebx, ecx
cmp byte [ebp + 8], 0
cmovne edi, eax
push edi
push dword [ebx + 4]
call esi
push edi
push dword [ebx + 0x3c]
call esi
push 0
push dword [ebx + 0x2c]
call esi
push 0
push dword [ebx + 0x30]
call esi
push edi
push dword [ebx + 0x38]
call esi
push edi
push dword [ebx + 0x34]
call esi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x46cd80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x214], 0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x218]
push edi
push edx
mov edi, dword [eax + 4]
or edi, 0x2001f
mov dword [ebp - 0x220], eax
push edi
push 0
push ecx
push dword [eax]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x46cedb
mov eax, dword [ebp - 0x214]
xor esi, esi
test eax, eax
je 0x46ce0c
push eax
call ebx
mov esi, eax
mov eax, dword [ebp - 0x218]
and edi, 0x300
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], edi
test esi, esi
jne 0x46cedb
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x228]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x208], 0x100
push ecx
lea ecx, [ebp - 0x204]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x46cea7
nop dword [eax]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.0046cd80
mov esi, eax
test esi, esi
jne 0x46cedb
lea eax, [ebp - 0x228]
mov dword [ebp - 0x208], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
call edi
test eax, eax
je 0x46ce60
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x46cebe
push eax
call ebx
mov dword [ebp - 0x214], 0
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x210], 0
call fcn.00469eb0
mov esi, eax
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x46cee8
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 4
Function at 0x46d0a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf87b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x14], 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 + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call fcn.004730e0
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x46d146
push 2
push eax
push edi
call fcn.004730e0
mov esi, eax
mov dword [ebp - 0x420], eax
test esi, esi
jne 0x46d146
call fcn.0041df60
mov edi, eax
jmp 0x46d231
push dword [ebp - 0x41c]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x46d164
call fcn.0041df60
jmp 0x46d224
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x46d182
call fcn.0041df60
jmp 0x46d224
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x424], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x46d1a3
mov edi, 0x8007000e
jmp 0x46d226
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00469cd0
jmp 0x46d1cd
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x46d1e4
mov edi, 0x8007000e
jmp 0x46d226
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x46d204
call fcn.0041df60
jmp 0x46d224
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0046cf00
mov edi, eax
test esi, esi
je 0x46d231
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x46d24a
lea ecx, [ebp - 0x418]
call fcn.0046b9f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 0x10
Function at 0x471470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfbcd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x640844]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004ece2f
mov edi, eax
add esp, 4
test edi, edi
je 0x47150d
push 1
mov dword [ebp - 4], 0
call fcn.004d7399
add esp, 4
mov dword [edi + 4], eax
jmp 0x47150f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00467ea0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x47156a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x47156a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x471586
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x4715a9
cmp byte [ebp + 0xc], 0
je 0x471595
push esi
call fcn.004d7aa2
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x4715b5
mov esi, str.ios_base::badbit_set
jmp 0x4715c5
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00440620
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.0043d4c0
push 0x62eabc
lea eax, [ebp - 0x28]
push eax
call fcn.004ee6eb
int3