joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408450
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edx, dword [0x41a724]
cmp word [0x41a500], 0
jne 0x4084a7
lea eax, [ebp - 0x20]
mov dword [esp], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x45f
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], 0x4b0
call sym.unk_169
mov edx, dword [0x41a724]
sub esp, 0x10
test eax, eax
je 0x4085f0
mov dword [esp], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb8
call sym.unk_169
mov edx, 1
sub esp, 0x10
test eax, eax
je 0x4085c5
cmp word [0x41a500], 0
mov ebx, 0x419ac0
jne 0x4085d0
cmp word [ebx], 0
je 0x408600
mov eax, ebx
lea esi, [esi]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x408500
sub eax, ebx
sar eax, 1
cmp word [0x4198c0], 0
je 0x408533
mov edx, 0x4198c0
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x408520
sub edx, 0x4198c0
sar edx, 1
add eax, edx
add eax, eax
mov dword [esp + 4], 8
mov dword [esp + 8], eax
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapAlloc
xor edx, edx
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x4085c5
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x4198c0
mov dword [esp], eax
call sub.user32.dll_wsprintfW
mov eax, dword [0x41a728]
mov dword [esp + 4], edi
mov dword [esp + 0xc], 0x33
mov dword [esp + 8], 0x411978
mov dword [esp], eax
call sym.unk_175
sub esp, 0x10
mov ebx, eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapFree
sub esp, 0xc
cmp ebx, 6
je 0x408610
xor edx, edx
cmp ebx, 7
sete dl
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x41a500
call sym.unk_90
mov ebx, eax
cmp word [ebx], 0
jne 0x4084f4
jmp 0x408600
lea esp, [ebp - 0xc]
mov edx, 1
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x40850d
cmp word [0x41a500], 0
je 0x408630
mov edx, dword [0x4102a4]
mov eax, 0x41a500
call sym.unk_92
mov edx, eax
jmp 0x4085c5
call sym.unk_96
mov edx, eax
jmp 0x4085c5
Function at 0x40d650
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov esi, eax
xor eax, eax
test esi, esi
je 0x40d6a7
cmp byte [ebx + esi - 1], 0xa
je 0x40d67b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov edx, 0x41a7c4
lock xchg dword [edx], eax
mov dword [esp], 2
call sym.unk_116
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call sub.msvcrt.dll_fwrite
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x40dc20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.unk_113
movzx eax, al
bt eax, esi
jae 0x40dde3
mov edx, dword fs:[0x18]
xor eax, eax
mov edi, dword [0x41a7c4]
cmp dword [edx + 0x24], edi
je 0x40dd05
test byte [0x4102b0], 8
jne 0x40dd90
lea ebx, [ebp - 0xe0]
mov edi, ebx
test byte [0x4102c0], 8
jne 0x40dd51
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x40dca9
cmp esi, 3
jbe 0x40dd10
mov dword [esp], 2
call sym.unk_116
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x40dcb9
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call sub.msvcrt.dll_fwrite
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x417670]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sub.msvcrt.dll__snprintf
jmp 0x40dca9
mov dword [esp], 0x4102c0
call sym.unk_113
test al, 8
je 0x40dc80
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x40dc80
mov dword [esp], 0x4102b0
call sym.unk_113
test al, 8
je 0x40dc6b
call sub.kernel32.dll_GetTickCount
mov edx, 0x10624dd3
lea ebx, [ebp - 0xe0]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x40dc73
mov eax, 0xffffffff
jmp 0x40dd05

Function at 0x40e3a0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call sym.unk_116
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call sym.unk_116
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
Function at 0x40e400
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x41ab5c]
test esi, esi
jle 0x40e510
mov edi, dword [0x41ab60]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x40e434
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x40e4b5
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x40e420
mov dword [esp], eax
mov ebx, eax
call sym.unk_143
mov edi, eax
test eax, eax
je 0x40e537
mov eax, dword [0x41ab60]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call sym.unk_146
mov edx, dword [0x41ab60]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x40e517
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x40e4ae
sub eax, 4
and eax, 0xfffffffb
jne 0x40e4bc
add dword [0x41ab5c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add ebx, dword [0x41ab60]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x40e4ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call sym.unk_129
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x40e43e
mov eax, dword [0x41ab60]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call sym.unk_129
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call sym.unk_129
lea esi, [esi]
nop

Function at 0x40e9c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x41ab78
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x41ab70]
sub esp, 4
test ebx, ebx
je 0x40ea15
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40ea0e
test esi, esi
je 0x40ea0e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40e9f0
mov dword [esp], 0x41ab78
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x421770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x459a6c
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x54]
push ebp
push esi
xor ebp, ebp
push edi
push ebp
mov edi, ecx
push ebx
call fcn.00423170
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x421956
lea ecx, [esp + 0x20]
call fcn.00423710
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], ebp
call fcn.0044e637
lea eax, [esp + 0x38]
lea ecx, [esp + 0x20]
push eax
call fcn.00423790
mov esi, ebx
and esi, 0xffff
call fcn.00423340
mov ebx, eax
cmp ebx, ebp
je 0x421945
push 0xf1
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
je 0x421945
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, ebp
je 0x421945
xor ecx, ecx
xor edx, edx
mov cx, word [ebx + 4]
mov dx, word [ebx + 2]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.004233b0
mov eax, dword [edi + 0x9c]
lea ecx, [edi + 0x9c]
cmp eax, ebp
jne 0x42188b
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
push 4
push 4
lea ecx, [esp + 0x30]
call fcn.004233b0
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x1c]
mov edx, dword [eax]
lea eax, [esp + 0x34]
push edx
push eax
call fcn.004233f0
mov ecx, dword [eax]
push 0xa
mov dword [edi + 0xa4], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x20]
push ebp
push 0x21
push eax
push ecx
lea ecx, [edi + 0x38]
mov dword [edi + 0xa8], edx
call fcn.00446b23
jmp 0x4218a2
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.00423350
test eax, eax
jne 0x421945
lea esi, [edi + 0x38]
mov ecx, esi
call fcn.004239c0
push 0xf
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetSysColor]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.004239cf
cmp word [ebx + 6], 0
jbe 0x421917
lea edx, [ebx + 8]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
xor esi, esi
mov si, word [eax]
test esi, esi
jbe 0x421901
push esi
mov ecx, edi
call fcn.00423190
test eax, eax
jge 0x421901
mov ecx, dword [esp + 0x14]
mov eax, ecx
inc ecx
mov dword [esp + 0x14], ecx
push eax
push esi
lea ecx, [edi + 0x40]
call fcn.004232d0
mov ecx, dword [esp + 0x10]
inc ebp
add ecx, 2
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov cx, word [ebx + 6]
cmp ebp, ecx
jl 0x4218d3
mov edx, dword [esp + 0x60]
lea ecx, [edi + 0x24]
push edx
call fcn.00423210
lea ecx, [esp + 0x20]
call fcn.0044e664
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
call fcn.00423750
mov eax, 1
jmp 0x421958
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
call fcn.00423750
xor eax, eax
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 4
Function at 0x44a71e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x44a760
call fcn.004561ef
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x44a760
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x44a757
xor eax, eax
jmp 0x44a768
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0044a76e
pop edi
pop esi
pop ebx
ret 4
Function at 0x4024e0
Capabilities:
Delete file
Resume thread

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x80]
call fcn.004269b0
mov edi, dword [esi + 0x98]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
je 0x40254b
mov ecx, edi
mov dword [esi + 0x98], 0
call fcn.00429580
mov ecx, edi
call fcn.004295d0
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0x10
push eax
call ebp
mov ecx, dword [edi + 0x40]
push ecx
call ebx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.CSceneThread:_kill_no_wait_avi
call fcn.00471554
call fcn.00451710
add esp, 4
mov eax, dword [esi + 0x94]
test eax, eax
je 0x402584
add eax, 0x50
lea ecx, [esp + 0x10]
push eax
call fcn.0047125b
mov edx, dword [esi + 0x94]
push 0
push 0
push 0x10
mov eax, dword [edx + 0x1c]
push eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call ebx
lea ecx, [esp + 0x10]
call fcn.004714e6
mov edi, dword [esi + 0x78]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x4025ab
mov edx, dword [esi + 0x74]
push 0
push edx
mov dword [esi + 0x78], 0
call ebp
test eax, eax
jne 0x4025ab
mov ecx, edi
call fcn.00418290
lea ecx, [esi + 0x9c]
call fcn.004297d0
mov eax, dword [esi + 0xb8]
push eax
call ebx
mov ecx, dword [esi + 0x7c]
xor edi, edi
cmp ecx, edi
je 0x4025d0
call fcn.00419f50
mov dword [esi + 0x7c], edi
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x24], edi
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi + 0xe0]
push 0xffffffffffffffff
push eax
call ebp
mov ecx, dword [esi + 0x28]
push 0xffffffffffffffff
push ecx
call ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x406690
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47ee30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x49f598]
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x24]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push ecx
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x406777
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [esp + 0x2c]
push eax
push 0
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, dword [esp + 0x28]
lea edx, [esp + 0x10]
push 0
push edx
mov dword [ebp], eax
mov ecx, dword [edi]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x406759
mov edx, dword [esp + 0x10]
mov eax, dword [edi]
cmp edx, eax
jne 0x406759
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004714e6
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp], 0
mov dword [edi], 0
push 0x84dd
lea ecx, [esp + 0x10]
call fcn.0047512e
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xc]
add edx, 0x2e
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.004717ef
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x28], 1
call fcn.00478b77
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0
call fcn.004714e6
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004714e6
mov ecx, dword [esp + 0x14]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4067e0
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47ee48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x49f598]
push ebp
push esi
push edi
mov dword [esp + 0xc], eax
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call fcn.00471916
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.00471965
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0xc]
push 0x104
mov ecx, esi
call fcn.00471916
push eax
push 0
push 0x4999b8
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00471965
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004714e6
mov eax, dword [esi]
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
test edi, edi
je 0x4068de
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push 0
push ecx
push ebp
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4068d7
cmp dword [esp + 0x10], ebp
jne 0x4068d7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xffffffffffffffff
push 0
push 0x84de
call fcn.00478baf
mov ecx, dword [esp + 0x14]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x407480
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x160
push esi
push edi
mov esi, ecx
call fcn.00407440
mov edi, dword [esp + 0x16c]
lea ecx, [esi + 0x78]
lea edx, [esi + 0x7c]
push ecx
mov eax, dword [edi]
push edx
push eax
call fcn.00406690
add esp, 0xc
test eax, eax
je 0x4074e4
mov ecx, dword [edi]
push 0x200
lea eax, [esp + 0xc]
push 0x160
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea edx, [esp + 0x14]
lea ecx, [esi + 0x70]
push edx
call fcn.0047166f
pop edi
mov eax, 1
pop esi
add esp, 0x160
ret 4
pop edi
xor eax, eax
pop esi
add esp, 0x160
ret 4
Function at 0x40c2c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x40c301
push edi
push 0
call fcn.0045c0bf
push eax
call fcn.0045b892
mov edi, dword [esi + 8]
add esp, 8
call fcn.0045b89f
mov ecx, dword [esi + 8]
xor edx, edx
add eax, ecx
div dword [esi + 0x14]
mov eax, edx
mov dword [esi + 8], eax
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x96
jl 0x40c2de
pop edi
pop esi
ret
Function at 0x4108b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x49f598]
push ebx
push esi
push edi
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x28], 2
push eax
call fcn.00410cd0
add esp, 4
push str.XemiComputersISSB
lea ecx, [esp + 0x10]
mov bl, 3
push eax
push ecx
mov byte [esp + 0x34], bl
call fcn.0047177b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.0047161f
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call fcn.004714e6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
call fcn.004714e6
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4a37b8
call fcn.0047125b
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x34], 5
call fcn.0047125b
mov byte [esp + 0x30], 2
call fcn.00451fc0
add esp, 8
cmp eax, esi
je 0x410a04
mov eax, dword [0x49f598]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov bl, 6
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4a37b8
mov byte [esp + 0x34], bl
call fcn.0047125b
call fcn.00410f00
lea edi, [eax - 1]
add esp, 8
cmp edi, esi
jle 0x4109f6
lea edx, [esp + 0x1c]
push edx
call fcn.00410cd0
add esp, 4
mov ecx, dword [0x4a37b8]
mov edx, dword [eax]
push esi
push ecx
push edx
lea eax, [esp + 0x18]
push str._sXemiComputersISSB_sVersion_03d
push eax
mov byte [esp + 0x3c], 7
call fcn.0046f370
add esp, 0x14
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], bl
call fcn.004714e6
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00452290
add esp, 4
test eax, eax
je 0x410a45
inc esi
cmp esi, edi
jl 0x4109a4
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.004714e6
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.004714e6
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call fcn.004714e6
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.004714e6
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.004714e6
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.004714e6
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call fcn.004714e6
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.004714e6
mov ecx, dword [esp + 0x20]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret
Function at 0x418540
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x480c2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push str.CLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
lea ecx, [esp + 4]
mov dword [esp + 0xc], 0x200
mov dword [esp + 0x10], 1
call fcn.00471554
mov ecx, dword [esp]
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push ecx
push SysReAllocStringLen
mov dword [esp + 0x22c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4185cf
lea ecx, [esp]
mov dword [esp + 0x218], 0xffffffff
call fcn.004714e6
xor eax, eax
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
add esp, 0x21c
ret
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0x4a3634
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41862a
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp]
mov dword [esp + 0x218], 0xffffffff
call fcn.004714e6
xor eax, eax
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
add esp, 0x21c
ret
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10]
push edx
call fcn.004526f0
add esp, 4
mov dword [esp + 0x218], 0xffffffff
test eax, eax
lea ecx, [esp]
jne 0x418671
call fcn.004714e6
xor eax, eax
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
add esp, 0x21c
ret
call fcn.004714e6
mov ecx, dword [esp + 0x210]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x21c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x480dd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea eax, [esp + 0x30]
lea ecx, [esi + 0x3c]
push eax
mov dword [esp + 0x18], 0
call fcn.0047161f
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Html_Open
call fcn.00471554
mov ecx, 0x4a37ec
call fcn.0042a8c0
mov ecx, dword [0x49f598]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x14]
push str._d:_d____d:_d_n
push eax
mov byte [esp + 0x2c], 1
call fcn.0046f370
mov eax, dword [0x4a37dc]
mov ecx, dword [esp + 0x44]
sub eax, 3
add esp, 0x18
neg eax
mov edx, dword [esi]
push 0
sbb eax, eax
push 0x69930
and eax, 0x8000000
push ecx
lea ecx, [esp + 0x28]
add eax, 0x50000000
push ecx
push eax
push str.HtmlWnd
push 0
mov ecx, esi
call dword [edx + 0x54]
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x14], 0
call fcn.004714e6
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0xffffffff
call fcn.004714e6
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0x18