joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b6f0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
mov eax, dword [esi + 8]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 8]
push 0x43
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [esi + 0x3c], 0
jne 0x40b78a
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsDialogMessageW]
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call ebx
test eax, eax
je 0x40b787
cmp dword [esp + 0x14], 0x100
jne 0x40b75c
mov eax, dword [esp + 0x18]
cmp eax, 0xd
je 0x40b79b
cmp eax, 0x1b
je 0x40b776
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
call ebp
test eax, eax
jne 0x40b781
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [esi + 0x3c], 0
je 0x40b733
pop edi
pop ebp
pop ebx
mov edx, dword [esi + 8]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x1c
ret
mov eax, dword [esi + 8]
push eax
call fcn.00408e70
add esp, 4
test eax, eax
je 0x40b75c
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x40b75c
movzx edx, ax
mov eax, dword [ecx + 0xc]
push 0
push edx
push 0x111
push eax
call edi
jmp 0x40b776

Function at 0x40be00
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x24]
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push edx
push eax
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp]
pop ecx
ret 8

Function at 0x40be30
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
test al, 1
je 0x40be44
mov edi, 0x80000000
mov ebx, eax
and ebx, 2
je 0x40be6a
cmp dword [esi + 0x40], 8
jb 0x40be56
mov eax, dword [esi + 0x2c]
jmp 0x40be59
lea eax, [esi + 0x2c]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
or edi, 0x40000000
cmp dword [esi + 0x5c], 8
jb 0x40be75
mov eax, dword [esi + 0x48]
jmp 0x40be78
lea eax, [esi + 0x48]
push 0
push 0x80
push ebx
push 0
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ecx, ecx
cmp eax, 0xffffffff
pop edi
mov dword [esi + 0x24], eax
setne cl
pop esi
mov al, cl
pop ebx
ret 4
Function at 0x40cb30
Capabilities:
Read http header

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push edi
mov edi, dword [esp + 0x14]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x13
push edi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0
call ebp
test eax, eax
jne 0x40cb6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40cbe8
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
push esi
neg ecx
or ecx, eax
push ecx
call fcn.00426550
mov esi, eax
add esp, 4
test esi, esi
je 0x40cbdb
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax]
push ecx
push 0
push esi
call fcn.00427c20
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
push esi
push 0
push 0x13
push edi
call ebp
test eax, eax
je 0x40cbd2
lea eax, [esp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.SHLWAPI.dll_StrToIntExW]
test eax, eax
jne 0x40cbd2
mov dword [esp + 0xc], 0xffffffff
push esi
call fcn.004271ba
add esp, 4
mov eax, dword [esp + 0xc]
pop esi
pop edi
pop ebp
add esp, 8
ret 4
mov eax, dword [esp + 8]
pop edi
pop ebp
add esp, 8
ret 4

Function at 0x40cd30
Capabilities:
Receive http response

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x84]
xor ebx, ebx
cmp eax, ebx
je 0x40cd54
push eax
call fcn.004271ba
add esp, 4
mov dword [edi + 0x84], ebx
mov ebp, dword [esp + 0x1c]
mov dword [edi + 0x88], ebx
mov edi, edi
lea eax, [esp + 0x10]
push eax
push ebp
mov dword [esp + 0x18], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x40ce74
mov esi, dword [edi + 0x94]
cmp esi, ebx
je 0x40cdd2
mov eax, dword [edi + 0x98]
cmp eax, ebx
jbe 0x40cdd2
mov edx, dword [edi + 0x88]
fild dword [edi + 0x88]
mov ecx, dword [edi]
mov ebp, dword [esi]
push ecx
test edx, edx
jge 0x40cda7
fadd qword [0x43e748]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
test eax, eax
jge 0x40cdb9
fadd qword [0x43e748]
fdivp st(1)
fmul qword [0x43e740]
call fcn.00427e50
push eax
mov eax, dword [ebp]
mov ecx, esi
call eax
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc ecx
push ecx
call fcn.00426550
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40ce45
mov edx, dword [esp + 0x10]
inc edx
push edx
push ebx
push esi
call fcn.00427c20
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push ecx
push esi
push ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x40ce3c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push edx
push eax
push esi
mov ecx, edi
call fcn.0040cc00
test al, al
je 0x40ce80
mov ecx, dword [edi + 0x1a4]
cmp dword [ecx + 0x20], ebx
je 0x40ce80
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.0040c1b0
push esi
call fcn.004271ba
add esp, 4
cmp dword [esp + 0x10], ebx
ja 0x40cd60
mov eax, dword [edi + 0x88]
push eax
mov ecx, edi
call fcn.0040c880
mov ecx, dword [edi + 0x1a4]
call fcn.0040c190
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x114], eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 8
Function at 0x40d2e0
Capabilities:
Set http header

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x40d324
cmp dword [eax + 0x18], 8
jb 0x40d2f9
mov eax, dword [eax + 4]
jmp 0x40d2fc
add eax, 4
push 0x1000000
push ecx
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x40d324
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x114], eax
xor al, al
pop esi
ret 8
mov al, 1
pop esi
ret 8

Function at 0x40ef10
Capabilities:
Read http header

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
push ebx
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push 0x16
push edi
mov dword [esp + 0x24], ebx
call ebp
cmp eax, ebx
jne 0x40ef40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40efbf
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
push esi
neg ecx
or ecx, eax
push ecx
call fcn.00426550
mov esi, eax
add esp, 4
test esi, esi
je 0x40efb5
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax]
push ecx
push 0
push esi
call fcn.00427c20
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
push esi
push 0
push 0x16
push edi
call ebp
test eax, eax
je 0x40efac
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ef90
mov ecx, dword [esp + 0x1c]
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.00408690
mov bl, 1
push esi
call fcn.004271ba
add esp, 4
pop esi
pop edi
pop ebp
mov al, bl
pop ebx
pop ecx
ret 8
pop edi
pop ebp
mov al, bl
pop ebx
pop ecx
ret 8

Function at 0x40f8b0
Capabilities:
Set http header

Disassembly:
push 0xffffffffffffffff
push 0x43a748
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x44cc30]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44cc30]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
push 8
mov ebp, ecx
xor eax, eax
xor ebx, ebx
push str.Cookie:
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
call fcn.00408690
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebx
call fcn.004070a0
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x40f959
cmp dword [esp + 0x2c], 8
mov ecx, dword [esp + 0x18]
jae 0x40f939
lea ecx, [esp + 0x18]
push 0x1000000
push eax
push ecx
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x40f959
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x114], eax
jmp 0x40f95b
mov bl, 1
cmp dword [esp + 0x2c], 8
jb 0x40f96f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004268c7
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004271ab
add esp, 0x2c
ret 8
Function at 0x411590
Capabilities:
Receive http response

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push eax
mov esi, ecx
xor bl, bl
call fcn.0040f9a0
test al, al
je 0x41165b
mov eax, 8
cmp dword [esi + 0x174], eax
jb 0x4115be
mov edx, dword [esi + 0x160]
jmp 0x4115c4
lea edx, [esi + 0x160]
cmp dword [esi + 0x158], eax
jb 0x4115d4
mov ecx, dword [esi + 0x144]
jmp 0x4115da
lea ecx, [esi + 0x144]
cmp dword [esi + 0x110], eax
jb 0x4115ea
mov eax, dword [esi + 0xfc]
jmp 0x4115f0
lea eax, [esi + 0xfc]
push edx
push ecx
mov ecx, dword [esi + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.0040ca00
cmp byte [esp + 0x14], 0
je 0x411610
mov edx, dword [esi + 0xc]
push edx
mov ecx, esi
call fcn.0040c9c0
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
push esi
push 0
push 0
push 0
push 0
push 0
push eax
call edi
test eax, eax
jne 0x41167e
mov ecx, dword [esi + 0xc]
push ecx
mov ecx, esi
call fcn.0040d1f0
test al, al
je 0x41165b
mov edx, dword [esi + 0xc]
push esi
push 0
push 0
push 0
push 0
push 0
push edx
call edi
test eax, eax
jne 0x41167e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x114], eax
mov ecx, dword [esi + 0x94]
test ecx, ecx
je 0x411676
mov edx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push edx
mov edx, dword [esi + 0x114]
push edx
call eax
pop edi
pop esi
mov al, bl
pop ebx
ret 0x10
mov eax, dword [esi + 0xc]
push eax
mov ecx, esi
call fcn.0040cae0
test al, al
je 0x41165b
mov ecx, dword [esi + 0xc]
push 0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x41164f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xc]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00411530
mov bl, al
test bl, bl
je 0x41165b
mov ecx, dword [esi + 0x94]
test ecx, ecx
je 0x411676
mov edx, dword [ecx]
mov eax, dword [esi]
mov edx, dword [edx + 8]
push eax
call edx
pop edi
pop esi
mov al, bl
pop ebx
ret 0x10
Function at 0x411a30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43a9f6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x44cc30]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov dl, byte [esp + 0x34]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x24]
xor ebx, ebx
mov dword [esi + 4], eax
mov al, byte [esp + 0x38]
mov byte [esi + 0xc], dl
mov edx, dword [esp + 0x30]
mov dword [esi + 0x10], ecx
mov byte [esi + 0xd], al
mov dword [esi], vtable.WinHttpSmartLoader.0
mov byte [esi + 0xe], bl
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 5
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
lea ecx, [esi + 0x50]
mov byte [esi + 0x4c], bl
push ebx
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push 0x43df98
mov word [ecx + 4], ax
call fcn.00408690
push 0x190
lea ecx, [esi + 0x2c]
push ecx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x1a8
call fcn.00426ba7
add esp, 4
mov dword [esp + 0x34], eax
mov byte [esp + 0x18], 1
cmp eax, ebx
je 0x411b14
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x10]
push edx
mov edx, dword [esp + 0x24]
push esi
push ecx
push edx
mov ecx, eax
call fcn.0040ec40
mov dword [esi + 0x44], eax
jmp 0x411b17
mov dword [esi + 0x44], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x20

Function at 0x412450
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
je 0x41248e
mov ecx, dword [esi + 0x44]
push edi
call fcn.0040d0a0
mov edi, dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp eax, edi
je 0x41247c
test edi, edi
je 0x41247c
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], 0
pop edi
push 0
push 0
push esi
push 0x412420
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x18], eax
pop esi
ret
Function at 0x412e50
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x2c], 0
jne 0x412ed3
mov ecx, dword [esi + 0x10]
test ecx, ecx
jle 0x412ed3
mov eax, dword [esi + 0x14]
test eax, eax
jle 0x412ed3
push ebx
push 0
push 1
push eax
push ecx
call fcn.00407f40
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x412ece
push edi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov ecx, esi
call fcn.0040af50
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x412ec4
mov ecx, dword [esi + 0x10]
push 0
lea eax, [esp + 0x14]
push eax
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 0x4c], 1
push ebx
call fcn.004271ba
add esp, 4
pop edi
pop ebx
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

Function at 0x413200
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x43accc
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x44cc30]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push esi
push edi
mov eax, dword [0x44cc30]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov esi, dword [esp + 0x228]
lea ecx, [esp + 0x48]
call fcn.0040c5a0
xor ebx, ebx
xor eax, eax
mov word [esp + 0x30], ax
mov edi, 7
mov eax, esi
mov dword [esp + 0x220], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413270
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.00408690
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x230], 1
call fcn.0040ec40
mov esi, 8
mov byte [esp + 0x220], 3
cmp dword [esp + 0x44], esi
jb 0x4132c8
mov eax, dword [esp + 0x30]
push eax
call fcn.004268c7
add esp, 4
xor ecx, ecx
push 3
mov word [esp + 0x34], cx
xor edx, edx
push 0x43ef64
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], dx
call fcn.00408690
push ebx
push ebx
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x230], 4
call fcn.00411590
cmp dword [esp + 0x28], esi
jb 0x413322
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004268c7
add esp, 4
xor edx, edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], dx
mov byte [esp + 0x220], bl
call fcn.0040d880
lea ecx, [esp + 0x48]
mov dword [esp + 0x220], 0xffffffff
call fcn.0040bea0
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.004271ab
add esp, 0x214
ret 4
Function at 0x4135a0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x24]
call fcn.00419130
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
call edi
push 0
push 0
push 1
push 0
mov dword [esi + 0x1c], eax
call edi
push 0
push 0
push esi
push 0x413590
push 0
push 0
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
push 0x190
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
pop edi
mov eax, esi
pop esi
ret

Function at 0x413c50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x43ad6b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44cc30]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [esi], vtable.ScreenBase.0
mov dword [esi + 0xc], ebx
mov eax, edi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
lea ebp, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x413cb0
sub eax, ebp
push eax
push edi
call fcn.00402660
lea ecx, [esi + 0x30]
mov dword [esp + 0x20], ebx
mov dword [esi + 0x2c], ebx
call fcn.00419130
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc

Function at 0x4141c0
Capabilities:
Inspect load icon resource

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [esp + 0x14]
mov dword [0x44dfb8], eax
mov eax, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov edx, dword [esp + 0xc]
mov dword [0x44dfb4], eax
mov eax, dword [esp + 0x10]
mov dword [0x44dfc8], eax
mov eax, dword [esp + 0x1c]
mov dword [0x44dfbc], edx
test eax, eax
je 0x414204
push eax
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov eax, dword [0x44dfb8]
push 0
push 0x413ef0
push 0x41
push 0xc8
push 1
push 0xc80808
push ecx
push edx
push eax
call fcn.004142f0
add esp, 0x24
ret
Function at 0x4142f0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub esp, 0x1c
push esi
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
call fcn.00414240
add esp, 0x14
test eax, eax
je 0x4143e5
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4143cc
push edi
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
call edi
test eax, eax
jle 0x4143a9
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageW]
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x10]
push edx
push esi
call ebx
test eax, eax
jne 0x414396
lea eax, [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call edi
test eax, eax
jg 0x414378
pop ebp
pop ebx
mov eax, dword [0x44dfcc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [0x44dfcc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0x1c
ret
mov edx, dword [0x44dfcc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [0x44dfcc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop esi
add esp, 0x1c
ret
Function at 0x415400
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query or enumerate registry value

Disassembly:
mov eax, 0x2014
call fcn.00428180
mov eax, dword [0x44cc30]
xor eax, esp
mov dword [esp + 0x2010], eax
push esi
mov esi, ecx
call fcn.004143f0
mov ecx, esi
call fcn.00415260
mov ecx, esi
call fcn.0040a4a0
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + 0x2b8]
push ecx
mov ecx, esi
call fcn.0040af80
mov edx, dword [esi + 0x74]
add edx, 0x2a0
push edx
mov ecx, esi
call fcn.0040b020
xor eax, eax
push 0x1ffe
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.00427c20
add esp, 0xc
lea edx, [esp + 4]
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
push 0x80000001
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415577
mov dword [esp + 8], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push str.374DE290_123F_4565_9164_39C4925E467B
push eax
mov dword [esp + 0x28], 0x2000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415577
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4154d2
push edi
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x1c]
lea edi, [esi + 0x58]
push ecx
mov ecx, edi
call fcn.00408690
mov eax, str._USERPROFILE_
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415500
push ebx
sub eax, edx
sar eax, 1
push eax
push 0
push str._USERPROFILE_
mov ecx, edi
call fcn.0040a840
mov ebx, eax
cmp ebx, 0xffffffff
je 0x415575
push 0
push 0x28
lea edx, [esp + 0x24]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x1c]
push eax
push str._USERPROFILE_
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push ebx
mov ecx, edi
call fcn.00408780
cmp dword [edi + 0x18], 8
jb 0x41555b
mov eax, dword [edi + 4]
jmp 0x41555e
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41556e
test al, 0x10
jne 0x415575
mov ecx, edi
call fcn.004085f0
pop ebx
pop edi
cmp dword [esi + 0x6c], 0
jne 0x4155b2
push 0
push 0x10
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415595
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 0x58]
call fcn.00408690
cmp dword [esi + 0x70], 8
mov dword [esp + 0xc], vtable.LabelTextSetter.0
jb 0x4155c5
mov eax, dword [esi + 0x5c]
jmp 0x4155c8
lea eax, [esi + 0x5c]
mov esi, dword [esi + 8]
push eax
push 0xf
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [esp + 0x14]
call fcn.00406bd0
mov ecx, dword [esp + 0x2014]
pop esi
xor ecx, esp
call fcn.004271ab
add esp, 0x2014
ret