joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d210
Capabilities:
Create directory
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450463
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4650c0]
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
xor edi, edi
push 0x103
lea eax, [ebp - 0x117]
push edi
mov dword [ebp - 4], edi
push eax
mov byte [ebp - 0x118], 0
call fcn.0043c440
add esp, 0xc
push edi
push 0x23
lea ecx, [ebp - 0x118]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
push str.SQ_PlatForm
lea edx, [ebp - 0x118]
push edx
call esi
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x12c], 0xc
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x124], edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.UContext
lea edx, [ebp - 0x118]
push edx
call esi
lea eax, [ebp - 0x118]
push 0x458d70
push eax
call fcn.0043a133
mov ebx, eax
add esp, 8
mov dword [ebp - 0x11c], ebx
cmp ebx, edi
je 0x40d3bc
call fcn.00418420
mov edi, edx
mov edx, dword [section..data]
mov esi, eax
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
push edi
push esi
push str._I64d__s
lea edi, [ebp - 0x120]
call fcn.00410840
mov edi, dword [ebp - 0x120]
add esp, 0x10
test edi, edi
jne 0x40d32d
xor ecx, ecx
jmp 0x40d37a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x40d376
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00440f80
mov esi, esp
test esi, esi
je 0x40d370
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, dword [ebp - 0x11c]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40d378
mov ebx, dword [ebp - 0x11c]
xor eax, eax
mov ecx, eax
mov eax, ecx
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40d380
push ebx
sub eax, esi
push eax
push 1
push ecx
call fcn.0043a2a1
push ebx
call fcn.0043a388
lea eax, [edi - 0x10]
add esp, 0x14
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d3bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d3e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x13c]
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.004397ee
mov esp, ebp
pop ebp
ret 4
Function at 0x412140
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45218a
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4650c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [edi]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 8]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [esi + 8], eax
mov byte [ebp - 4], 2
mov eax, dword [edi + 0xc]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x10]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 4
mov eax, dword [edi + 0x14]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 5
mov eax, dword [edi + 0x18]
lea edx, [esi + 0x1c]
lea ecx, [edi + 0x1c]
push edx
mov dword [esi + 0x18], eax
call fcn.004124e0
mov byte [ebp - 4], 6
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x412d20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fe9a
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4650c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [edi]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 8]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [esi + 8], eax
mov byte [ebp - 4], 2
mov eax, dword [edi + 0xc]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x10]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 4
mov eax, dword [edi + 0x14]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 5
mov eax, dword [edi + 0x18]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 6
mov eax, dword [edi + 0x1c]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x24], ecx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov ecx, dword [edi + 0x48]
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x4c], edx
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov ecx, dword [edi + 0x54]
mov dword [esi + 0x54], ecx
mov edx, dword [edi + 0x58]
mov dword [esi + 0x58], edx
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov ecx, dword [edi + 0x60]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0x64]
mov dword [esi + 0x64], edx
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x416200
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push str.DSound.dll
mov word [ebp - 4], 0xcc2
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416342
push esi
push edi
push str.DirectSoundCreate
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, eax
test edi, edi
je 0x41625e
lea eax, [ebp - 8]
push eax
push 0x40
push 3
push edi
call esi
mov cx, word [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x20
push 3
xor al, al
mov word [edi], cx
push edi
mov byte [edi + 2], al
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.Winmm.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x416339
push str.midiStreamOpen
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.midiStreamOut
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov eax, dword [ebp - 0x10]
push str.waveOutWrite
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
test edi, edi
je 0x4162d1
lea ecx, [ebp - 8]
push ecx
push 0x40
push 3
push edi
call esi
mov dx, word [ebp - 4]
xor al, al
mov word [edi], dx
mov byte [edi + 2], al
lea eax, [ebp - 8]
push eax
push 0x20
push 3
push edi
call esi
test ebx, ebx
je 0x4162f7
lea ecx, [ebp - 8]
push ecx
push 0x40
push 3
push ebx
call esi
mov dx, word [ebp - 4]
xor al, al
mov word [ebx], dx
mov byte [ebx + 2], al
lea eax, [ebp - 8]
push eax
push 0x20
push 3
push ebx
call esi
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x416323
lea ecx, [ebp - 8]
push ecx
push 0x40
push 3
push eax
call esi
mov eax, dword [ebp - 0xc]
mov dx, word [ebp - 4]
xor cl, cl
mov word [eax], dx
mov byte [eax + 2], cl
lea ecx, [ebp - 8]
push ecx
push 0x20
push 3
push eax
call esi
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417100
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x288
call fcn.0043b8ed
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov esi, eax
add esp, 4
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], 0x288
call ebx
push esi
call fcn.0043b981
mov eax, dword [ebp - 4]
lea ecx, [eax - 1]
add esp, 4
cmp ecx, 0x752e
ja 0x41718b
push eax
call fcn.0043b8ed
add esp, 4
lea edx, [ebp - 4]
mov edi, eax
push edx
push edi
call ebx
test eax, eax
jne 0x41718b
mov esi, edi
test edi, edi
je 0x417182
lea ebx, [eax + 6]
lea eax, [esi + 0x10c]
push 0x45a420
push eax
call fcn.0043b9c0
add esp, 8
cmp dword [esi + 0x190], ebx
jae 0x417194
mov esi, dword [esi]
test esi, esi
jne 0x417160
push edi
call fcn.0043b981
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x194]
mov dword [0x4689b8], ecx
mov edx, dword [esi + 0x198]
push edi
mov dword [0x4689bc], edx
call fcn.0043b981
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x418290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f810
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4650c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, edx
test edi, edi
je 0x41831c
cmp dword [esi], 0
jne 0x41831c
push 0x10
mov dword [ebp - 4], 0
call fcn.00439989
add esp, 4
test eax, eax
je 0x4182ea
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
jmp 0x4182ec
xor eax, eax
mov dword [esi], eax
test eax, eax
je 0x41831c
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [esi]
mov dword [ecx + 4], eax
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x418330
push eax
call fcn.004397e3
add esp, 4
mov dword [esi], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
add eax, 8
push eax
push 0
push edx
push edi
push 0
push 0
call fcn.0043bc85
mov ecx, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi]
add esp, 0x18
cmp dword [eax], 0
je 0x41830d
mov dword [eax + 0xc], 0x7d0
mov edx, dword [esi]
mov eax, dword [edx + 4]
test eax, eax
je 0x41836b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418390
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi]
test eax, eax
je 0x41840e
mov ecx, dword [eax + 0xc]
mov edx, dword [eax]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4183b7
mov eax, dword [esi]
mov ecx, dword [eax]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi]
cmp dword [eax], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4183d8
cmp dword [eax + 8], 0
je 0x4183d8
mov edx, dword [eax]
push edx
call edi
mov eax, dword [esi]
mov dword [eax], 0
mov ecx, dword [esi]
mov dword [ecx + 8], 0
mov edx, dword [esi]
mov eax, dword [edx + 4]
test eax, eax
je 0x4183f6
push eax
call edi
mov eax, dword [esi]
mov dword [eax + 4], 0
mov ecx, dword [esi]
push ecx
call fcn.004397e3
add esp, 4
mov dword [esi], 0
mov eax, 1
pop edi
ret
xor eax, eax
ret

Function at 0x418530
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fe28
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4650c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
lea esi, [edi + 0x18]
mov dword [ebp - 0x10], eax
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x30]
sub eax, 0x10
call fcn.00401a60
add eax, 0x10
mov dword [ebx], eax
test esi, esi
je 0x41858d
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41a980
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451f3b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4650c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 1
cmp dword [edi + 0x1e8], ebx
je 0x41ab23
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 9
push eax
mov dword [edi + 0x1e8], ebx
call esi
mov ecx, dword [edi + 4]
push 6
push ecx
call esi
mov edx, dword [edi + 4]
push ebx
push edx
call esi
mov eax, dword [edi + 4]
push 2
push eax
call esi
mov ecx, dword [edi + 4]
push 3
push ecx
call esi
mov edx, dword [edi + 4]
push 4
push edx
call esi
mov eax, dword [edi + 4]
push 5
push eax
call esi
mov ecx, dword [edi + 4]
push 7
push ecx
call esi
mov edx, dword [edi + 4]
push 9
push edx
call esi
cmp dword [edi + 0x94], 0
lea esi, [edi + 0x94]
je 0x41aa2b
call fcn.00418390
mov dword [esi], 0
cmp dword [edi + 0x98], 0
lea esi, [edi + 0x98]
je 0x41aa45
call fcn.00418390
mov dword [esi], 0
cmp dword [edi + 0x9c], 0
lea esi, [edi + 0x9c]
je 0x41aa5f
call fcn.00418390
mov dword [esi], 0
lea eax, [edi + 0xe8]
call fcn.0042b2e0
lea esi, [edi + 0x78]
push esi
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
call fcn.0043a056
cmp dword [0x4689b0], 0
je 0x41aaf6
push ebx
call fcn.004210e0
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
push 0x21
lea eax, [ebp - 0x218]
push eax
push 0
call ebx
test eax, eax
je 0x41aaca
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
mov ecx, edi
call fcn.004211a0
push 0
call fcn.004210e0
push 0
push 0x20
lea edx, [ebp - 0x218]
push edx
push 0
call ebx
test eax, eax
je 0x41aaf6
push 0
push 0
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.004211a0
cmp dword [edi + 0x60], 0
jbe 0x41ab11
mov ecx, dword [edi + 4]
push 0
push 0x3e8
push 0xa
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x41ab18
mov ecx, edi
call fcn.00419500
test esi, esi
je 0x41ab23
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004397ee
mov esp, ebp
pop ebp
ret
Function at 0x41b9e0
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, eax
test edi, edi
je 0x41ba76
mov eax, dword [esi + 0x74]
test eax, eax
je 0x41ba78
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, edi
je 0x41ba1d
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ba1a
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx + 8]
push 0
push edx
call ebx
mov dword [esi + 0x74], edi
mov eax, dword [esi + 0x74]
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ba75
mov eax, dword [esi + 0xac]
mov edx, dword [esi + 0xb4]
mov ecx, dword [esi + 0xa8]
push 1
sub edx, eax
push edx
mov edx, dword [esi + 0xb0]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x74]
push ecx
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esi + 0x74]
mov eax, dword [edx + 8]
push 5
push eax
call ebx
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop ebx
pop edi
ret
mov dword [esi + 0x74], edi
mov eax, dword [edi + 8]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
je 0x41ba76
mov eax, dword [esi + 0xac]
mov edx, dword [esi + 0xb4]
mov ecx, dword [esi + 0xa8]
push 1
sub edx, eax
push edx
mov edx, dword [esi + 0xb0]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x74]
push ecx
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x74]
mov edx, dword [eax + 8]
push edx
call edi
test eax, eax
je 0x41bad6
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + 8]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x74]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
ret
Function at 0x4210e0
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [ebp - 4], ebx
call edi
mov ecx, dword [ebp - 4]
push ecx
call fcn.004397d8
add esp, 4
lea edx, [ebp - 4]
push edx
mov esi, eax
push esi
push ebx
call edi
mov edi, eax
test edi, edi
je 0x421181
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
lea esp, [esp]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x421136
test dword [esi + 0xc], 0x100000
jne 0x42114e
mov eax, dword [esi + 4]
push eax
jmp 0x421148
cmp eax, 1
jne 0x42114e
test dword [esi + 0xc], 0x100000
je 0x42114e
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea edx, [ebp - 4]
push edx
push 0
push edi
mov dword [ebp - 4], 0
call ebx
push esi
call fcn.00439ebd
mov eax, dword [ebp - 4]
push eax
call fcn.004397d8
add esp, 8
lea ecx, [ebp - 4]
push ecx
mov esi, eax
push esi
push edi
call ebx
test eax, eax
jne 0x421120
lea ebx, [eax + 1]
test esi, esi
je 0x42118e
push esi
call fcn.00439ebd
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x421520
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45149b
mov eax, dword fs:[0]
push eax
mov eax, 0x271c
call fcn.00447120
mov eax, dword [0x4650c0]
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 eax, dword [section..data]
mov esi, ecx
mov edi, edx
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x2724], eax
push 0x2710
lea eax, [ebp - 0x2720]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.0043c440
add esp, 0xc
test esi, esi
jne 0x421593
xor eax, eax
jmp 0x4215af
mov eax, esi
lea edx, [eax + 2]
jmp 0x4215a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4215a0
sub eax, edx
sar eax, 1
push esi
lea ecx, [ebp - 0x2724]
push ecx
mov ebx, eax
call fcn.00402080
mov eax, dword [ebp - 0x2724]
mov ebx, dword [eax - 0xc]
lea esi, [ebx + 1]
test esi, esi
jns 0x4215d8
push 0x80070057
call fcn.00402060
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x4215fc
mov eax, esi
lea ecx, [ebp - 0x2724]
call fcn.00402000
mov eax, dword [ebp - 0x2724]
mov edx, 0x5c
mov word [eax + ebx*2], dx
cmp esi, dword [eax - 8]
jg 0x4215ce
xor ecx, ecx
mov dword [eax - 0xc], esi
mov word [eax + esi*2], cx
test edi, edi
jne 0x42161b
xor eax, eax
jmp 0x42162f
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421620
sub eax, edx
sar eax, 1
push eax
push edi
lea ebx, [ebp - 0x2724]
call fcn.004019a0
mov edi, dword [ebp - 0x2724]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x421687
mov dword [ebp - 4], eax
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421680
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x421721
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0x40
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub edi, 0x40
je 0x4216ec
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ebx, [ebx]
push 0
cmp edi, 0x2710
jbe 0x4216da
lea ecx, [ebp - 0x2728]
push ecx
push 0x2710
lea edx, [ebp - 0x2720]
push edx
push esi
call ebx
sub edi, 0x2710
jne 0x4216b0
jmp 0x4216ec
lea eax, [ebp - 0x2728]
push eax
push edi
lea ecx, [ebp - 0x2720]
push ecx
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2724]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42171c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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.004397ee
mov esp, ebp
pop ebp
ret
Function at 0x42a970
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451263
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4650c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esi], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
lea ebx, [esi + 0x44]
call edx
add eax, 0x10
mov dword [ebx], eax
push 0x45af9c
mov byte [ebp - 4], 1
push ebx
lea ebx, [edi + 0xf]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call fcn.00402080
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4