joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473d80
Capabilities:
Create thread

Disassembly:
sub esp, 0x18
push ebx
push esi
push 0x4c
xor ebx, ebx
call fcn.0048163b
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x473da2
pop esi
mov eax, 0x19
pop ebx
add esp, 0x18
ret
push edi
push 0x4c
push ebx
push esi
call fcn.00481440
add esp, 0xc
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 4], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 8], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0xc], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x10], eax
call edi
push 0x30000
push esi
push 0x473b20
mov dword [esi + 0x14], eax
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
lea edx, [esi + 0x44]
push edx
mov word [esp + 0x28], 1
mov dword [esp + 0x2c], 0xac44
mov word [esp + 0x36], 0x10
mov word [esp + 0x2a], 2
mov word [esp + 0x34], 4
mov dword [esp + 0x30], 0x2b110
mov word [esp + 0x38], bx
call dword [sym.imp.WINMM.dll_waveOutOpen]
test eax, eax
je 0x473e8b
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov ebx, 0x15
call edi
mov ecx, dword [esi + 4]
push ecx
call edi
mov edx, dword [esi + 8]
push edx
call edi
mov eax, dword [esi + 0xc]
push eax
call edi
mov ecx, dword [esi + 0x10]
push ecx
call edi
mov edx, dword [esi + 0x14]
push edx
call edi
push esi
call fcn.00481373
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x18
ret
mov eax, dword [esi + 0x10]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edx, [esp + 0xc]
push edx
push ebx
push esi
push 0x473bb0
push 0x10000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x473ecc
mov dword [eax], esi
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x18
ret

Function at 0x474240
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x474820
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
sub esp, 0x10
push esi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esp + 0x18]
push edx
mov esi, eax
call dword [sym.imp.USER32.dll_IsZoomed]
neg eax
sbb eax, eax
and eax, 0xfffffffb
add eax, 5
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
sub ecx, dword [esp + 0x10]
mov edx, dword [eax + 8]
sub edx, dword [esp + 0xc]
add ecx, dword [esp + 8]
add edx, dword [esp + 4]
push 5
push 0
push 0
push ecx
push edx
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
add esp, 0x10
ret

Function at 0x4750c0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push esi
call edi
cmp eax, 0xffffffff
je 0x4750f5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call edi
cmp eax, 0xffffffff
jne 0x475114
pop edi
xor eax, eax
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
mov eax, 1
pop esi
ret
Function at 0x475280
Capabilities:
Get common file path
Get disk size

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x4752c0
lea edx, [esp + 0x28]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x4752b2
jmp 0x4752c4
mov byte [esp + 0x28], bl
mov esi, dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [esp + 0x28]
push eax
call esi
mov al, byte [esp + 0x28]
cmp al, 0x61
mov cl, byte [esp + 0x29]
jb 0x47532d
cmp al, 0x7a
ja 0x47532d
cmp cl, 0x3a
mov dl, byte [esp + 0x2a]
jne 0x47532d
cmp dl, bl
jne 0x47530e
lea edi, [esp + 0x28]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x4752f5
mov cx, word [0x49ea0c]
mov word [edi], cx
jmp 0x4753a5
cmp cl, 0x3a
jne 0x47532d
cmp dl, 0x5c
jne 0x47532d
lea eax, [esp + 0x28]
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax], cl
add eax, 1
cmp cl, bl
jne 0x475320
jmp 0x4753a1
cmp al, 0x5c
jne 0x47538a
cmp cl, al
jne 0x47538a
lea edx, [esp + 0x2b]
push 0x5c
push edx
call fcn.00483a8d
add esp, 8
cmp eax, ebx
jne 0x475350
or eax, 0xffffffff
jmp 0x4753f0
add eax, 2
push 0x5c
push eax
call fcn.00483a8d
add esp, 8
cmp eax, ebx
jne 0x475385
lea edi, [esp + 0x28]
add edi, 0xffffffff
lea esp, [esp]
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x475370
mov ax, word [0x49ea0c]
mov word [edi], ax
jmp 0x4753a5
mov byte [eax + 1], bl
jmp 0x4753a5
lea ecx, [esp + 0x28]
push ecx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 0x28]
push edx
call esi
mov byte [esp + 0x2b], bl
cmp ebp, ebx
je 0x4753bf
lea eax, [esp + 0x28]
mov edx, ebp
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x4753b3
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x475348
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
shrd eax, ecx, 0xa
shr ecx, 0xa
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004810ab
add esp, 0x21c
ret

Function at 0x475410
Capabilities:
Get disk information

Disassembly:
sub esp, 0x6c
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
movzx eax, byte [eax]
push esi
push eax
lea ecx, [esp + 0xc]
push str.._c:
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x475483
push 0
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
push 0
push 0x90020
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [esp + 0x6c]
pop esi
xor ecx, esp
call fcn.004810ab
add esp, 0x6c
ret
Function at 0x475880
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x308
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x304], eax
push ebx
mov ebx, dword [esp + 0x310]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x114]
push ecx
push str..htm
mov edi, 0x100
push 0x80000000
mov dword [esp + 0x1c], edi
call esi
test eax, eax
je 0x4758e4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x304]
xor ecx, esp
call fcn.004810ab
add esp, 0x308
ret
lea eax, [esp + 0x110]
add eax, 0xffffffff
mov edi, edi
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4758f0
mov edx, dword [str._shellopencommand]
mov ecx, dword [0x4a2330]
mov dword [eax], edx
mov edx, dword [0x4a2334]
mov dword [eax + 4], ecx
mov ecx, dword [0x4a2338]
mov dword [eax + 8], edx
mov edx, dword [0x4a233c]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x118]
push edx
push 0x80000000
mov dword [esp + 0x1c], edi
call esi
test eax, eax
jne 0x4758ca
lea eax, [esp + 0x10]
push 0x4a2328
push eax
call fcn.004810c0
add esp, 8
test eax, eax
je 0x475975
lea ecx, [esp + 0x10]
push 0x4a2328
push ecx
call fcn.004810c0
add esp, 8
mov byte [eax + 1], 0x73
jmp 0x475992
lea edi, [esp + 0x10]
add edi, 0xffffffff
lea esp, [esp]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x475980
mov edx, dword [0x49f844]
mov dword [edi], edx
push ebx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x218]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 3
lea edx, [esp + 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [esp + 0x310]
pop edi
cmp eax, 0x20
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
add eax, 1
call fcn.004810ab
add esp, 0x308
ret
Function at 0x475fe0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x244
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x240], eax
mov eax, dword [esp + 0x248]
lea edx, [esp + 0x140]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x476004
lea eax, [esp + 0x140]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x476020
sub eax, edx
cmp eax, 2
push ebx
mov bl, byte [esp + 0x145]
jne 0x47608c
cmp bl, 0x3a
jne 0x47608c
push edi
lea edi, [esp + 0x148]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x476048
mov ax, word [0x49ea0c]
lea ecx, [esp + 0x148]
push ecx
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edx, 1
cmp edx, eax
sbb eax, eax
pop edi
and eax, 3
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004810ab
add esp, 0x244
ret
lea eax, [esp + 0x144]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x476096
sub eax, edx
cmp eax, 3
jne 0x4760e5
cmp bl, 0x3a
jne 0x4760e5
cmp byte [esp + 0x146], 0x5c
jne 0x4760e5
lea eax, [esp + 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ecx, 1
cmp ecx, eax
sbb eax, eax
and eax, 3
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004810ab
add esp, 0x244
ret
lea edx, [esp + 0x144]
push edx
call fcn.00475f60
add esp, 4
test eax, eax
je 0x476115
lea eax, [esp + 0x144]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x476103
sub eax, edx
mov byte [esp + eax + 0x143], cl
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x148]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x476145
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004810ab
add esp, 0x244
ret
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 4]
mov ecx, dword [esp + 0x244]
and al, 0x10
neg al
pop ebx
sbb eax, eax
neg eax
xor ecx, esp
add eax, 1
call fcn.004810ab
add esp, 0x244
ret
Function at 0x478740
Capabilities:
Read file on windows

Disassembly:
push ecx
cmp dword [esp + 0xc], 0
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
je 0x478767
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x1dc]
cdq
idiv ecx
shl edx, 4
mov ebp, eax
mov dword [esp + 0xc], edx
jmp 0x47876b
mov ebp, dword [esp + 0x1c]
xor esi, esi
lea eax, [edi + 0x1ec]
cmp dword [eax - 4], ebp
je 0x4787a0
cmp dword [eax], ebp
je 0x478793
cmp dword [eax + 4], ebp
je 0x478798
cmp dword [eax + 8], ebp
je 0x47879d
add esi, 4
add eax, 0x10
cmp esi, 0x40
jl 0x478773
jmp 0x4787a0
add esi, 1
jmp 0x4787a0
add esi, 2
jmp 0x4787a0
add esi, 3
cmp esi, 0x40
jne 0x4788fb
push ebx
xor esi, esi
or eax, 0xffffffff
or ebx, 0xffffffff
lea ecx, [edi + 0x2e8]
jmp 0x4787c0
cmp dword [ecx - 0x100], 0xffffffff
je 0x47882c
mov edx, dword [ecx]
cmp eax, edx
jbe 0x4787d3
mov eax, edx
mov ebx, esi
cmp dword [ecx - 0xfc], 0xffffffff
je 0x47881f
mov edx, dword [ecx + 4]
cmp eax, edx
jbe 0x4787e8
mov eax, edx
lea ebx, [esi + 1]
cmp dword [ecx - 0xf8], 0xffffffff
je 0x478824
mov edx, dword [ecx + 8]
cmp eax, edx
jbe 0x4787fd
mov eax, edx
lea ebx, [esi + 2]
cmp dword [ecx - 0xf4], 0xffffffff
je 0x478829
mov edx, dword [ecx + 0xc]
cmp eax, edx
jbe 0x478812
mov eax, edx
lea ebx, [esi + 3]
add esi, 4
add ecx, 0x10
cmp esi, 0x40
jl 0x4787c0
jmp 0x47882c
add esi, 1
jmp 0x47882c
add esi, 2
jmp 0x47882c
add esi, 3
cmp esi, 0x40
jne 0x478833
mov esi, ebx
mov dword [edi + esi*4 + 0x1e8], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + esi*4 + 0x2e8], eax
mov dword [edi + esi*4 + 0x3e8], 1
cmp dword [edi + 0x1b8], 0
je 0x4788b1
mov eax, dword [edi + 0x1d4]
mov ecx, dword [edi + 0x1bc]
imul eax, ebp
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [edi + 0x1d4]
mov edx, esi
imul edx, edx, 0x990
push 0
lea eax, [esp + 0x1c]
push eax
lea ebx, [edx + edi + 0x4e8]
mov edx, dword [edi + 0x1bc]
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4788dc
mov eax, dword [esp + 0x18]
cmp eax, dword [edi + 0x1d4]
jmp 0x4788da
mov edx, dword [edi + 0x1cc]
mov eax, dword [edi + 0x1c0]
mov ecx, esi
imul ecx, ecx, 0x990
push 1
add edx, ebp
push edx
lea ebx, [ecx + edi + 0x4e8]
push ebx
push eax
call fcn.0043ae20
test eax, eax
je 0x4788fa
push 0x990
push 0xcd
push ebx
call fcn.00481440
mov dword [edi + esi*4 + 0x3e8], 0
add esp, 0xc
pop ebx
cmp dword [esp + 0x18], 0
je 0x478940
mov ecx, esi
imul ecx, ecx, 0x990
add ecx, dword [esp + 0xc]
mov edx, dword [ecx + edi + 0x4e8]
lea eax, [ecx + edi + 0x4e8]
mov ecx, dword [esp + 0x20]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + esi*4 + 0x3e8]
pop edi
pop esi
pop ebp
pop ecx
ret
mov ecx, dword [edi + 0x1d4]
mov edx, esi
imul edx, edx, 0x990
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [edx + edi + 0x4e8]
push eax
push ecx
call fcn.00482d20
mov eax, dword [edi + esi*4 + 0x3e8]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x47afa0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x408
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x404], eax
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push esi
mov esi, dword [esp + 0x414]
cmp byte [esi + 0x884], 0
push edi
lea edi, [esi + 0x884]
je 0x47b128
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x47aff2
push edi
call fcn.004322c0
test eax, eax
jne 0x47b0e0
lea eax, [esp + 0x10]
push eax
push str.Type
push edi
call fcn.00431e00
test eax, eax
jne 0x47b0e0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push 0x49e59c
push edx
call fcn.0048108c
add esp, 0xc
cmp dword [esp + 0xc], 0x26
je 0x47b035
mov dword [esp + 0xc], 0x199
jmp 0x47b0e8
lea eax, [esp + 0x10]
push eax
push str.Folder
push edi
call fcn.00431e00
test eax, eax
jne 0x47b0e0
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x47b054
sub eax, edx
cmp eax, 0x100
ja 0x47b0e0
push ebx
lea eax, [esp + 0x14]
lea ebx, [esi + 0x6f8]
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x47b077
mov edx, dword [esi + 0x1a0]
push ebx
push 0x4af
push edx
call ebp
lea eax, [esp + 0x14]
push eax
push str.Volume
push edi
call fcn.00431e00
test eax, eax
pop ebx
jne 0x47b0e0
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x47b0b0
sub eax, edx
cmp eax, 0x20
ja 0x47b0e0
mov edx, dword [esi + 0x1a0]
lea ecx, [esp + 0x10]
push ecx
push 0x4a6
push edx
call ebp
push esi
call fcn.00462810
add esp, 4
test eax, eax
jne 0x47b153
mov dword [esp + 0xc], 0x19a
mov eax, dword [esi + 0x1b0]
push 0
push 0
push 0x402
push 0x407
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ecx, dword [esp + 0xc]
push 0x30
push 0x4dec98
push edi
push ecx
call fcn.0046d6b0
mov edx, dword [esi + 0x18]
add esp, 8
push eax
push edx
call fcn.00470860
add esp, 0x10
mov byte [edi], 0
lea eax, [esi + 0x6f8]
push eax
mov byte [eax], 0
mov eax, dword [esi + 0x1a0]
push 0x4af
push eax
call ebp
mov ecx, dword [esi + 0x1a0]
push 0x49e5e0
push 0x4a6
push ecx
call ebp
mov edx, dword [esi + 0x1a0]
push 0
push 0x104af
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push esi
call fcn.0045dd90
mov ecx, dword [esp + 0x418]
add esp, 8
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.004810ab
add esp, 0x408
ret
Function at 0x47b1a0
Capabilities:
Delete file

Disassembly:
sub esp, 0x804
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x818]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
push eax
call ebx
lea esi, [edi + 0x884]
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.004320b0
test eax, eax
jne 0x47b2bb
mov eax, dword [0x4dec94]
mov ecx, dword [0x4dec90]
mov edx, dword [0x4dec8c]
push eax
push ecx
push edx
push 0x4dec98
lea eax, [esp + 0x20]
push str._s__d._d._03d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
push str.Version
push esi
call fcn.00431d00
test eax, eax
jne 0x47b2bb
mov edx, dword [edi + 4]
push edx
lea eax, [esp + 0x14]
push str._02d__Zulu_VideoTS_Document_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push str.Type
push esi
call fcn.00431d00
test eax, eax
jne 0x47b2bb
lea edx, [edi + 0x6f8]
push edx
push str.Folder
push esi
call fcn.00431d00
test eax, eax
jne 0x47b2bb
mov ecx, dword [edi + 0x1a0]
push 0x20
lea eax, [esp + 0x14]
push eax
push 0x4a6
push ecx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea edx, [esp + 0x10]
push edx
push str.Volume
push esi
call fcn.00431d00
test eax, eax
jne 0x47b2bb
push edi
call fcn.00462de0
add esp, 4
test eax, eax
je 0x47b2bb
push esi
call fcn.00432230
test eax, eax
je 0x47b2ee
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
call ebx
push 0x30
push 0x4dec98
push esi
push 0x198
call fcn.0046d6b0
add esp, 8
push eax
mov eax, dword [edi + 0x1a0]
push eax
call fcn.00470860
add esp, 0x10
xor eax, eax
jmp 0x47b301
push 0
push edi
call fcn.0045dd90
add esp, 8
push ebp
call ebx
mov eax, 1
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004810ab
add esp, 0x804
ret

Function at 0x4810ab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bacc0]
jne 0x4810b5
repz ret
jmp fcn.00485477
Function at 0x48dbd3
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00485f73
xor ebx, ebx
cmp dword [0x4bf630], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x48dca8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x48dc13
xor eax, eax
jmp 0x48dd6c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a5394
push edi
call esi
cmp eax, ebx
je 0x48dc0c
push eax
call fcn.00485f10
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4bf630], eax
call esi
push eax
call fcn.00485f10
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4bf634], eax
call esi
push eax
call fcn.00485f10
mov dword [0x4bf638], eax
lea eax, [ebp - 8]
push eax
call fcn.00487539
test eax, eax
pop ecx
pop ecx
je 0x48dc76
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048456e
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x48dca8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00485f10
cmp eax, ebx
pop ecx
mov dword [0x4bf640], eax
je 0x48dca8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00485f10
pop ecx
mov dword [0x4bf63c], eax
mov eax, dword [0x4bf63c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x48dd21
cmp dword [0x4bf640], esi
je 0x48dd21
push eax
call fcn.00485f7c
pop ecx
call eax
cmp eax, ebx
je 0x48dcee
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4bf640]
call fcn.00485f7c
pop ecx
call eax
test eax, eax
je 0x48dcee
test byte [ebp - 0x18], 1
jne 0x48dd21
lea eax, [ebp - 0xc]
push eax
call fcn.00487570
test eax, eax
pop ecx
je 0x48dd09
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048456e
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x48dd18
or dword [ebp + 0x10], 0x200000
jmp 0x48dd52
or dword [ebp + 0x10], 0x40000
jmp 0x48dd52
mov eax, dword [0x4bf634]
cmp eax, esi
je 0x48dd52
push eax
call fcn.00485f7c
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x48dd52
mov eax, dword [0x4bf638]
cmp eax, esi
je 0x48dd52
push dword [ebp - 4]
push eax
call fcn.00485f7c
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4bf630]
call fcn.00485f7c
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4930a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4930fc
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x49e5e0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4930ef
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4930fe
xor eax, eax
pop esi
leave
ret 4
Function at 0x49a3b0
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x49a3cc
pop edi
mov eax, 1
pop esi
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x49a4dc
push ebp
lea ebx, [ebx]
cmp ebx, 0x15b0
mov eax, ebx
jb 0x49a3ef
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x49a49b
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x49a410
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x49a410
test eax, eax
je 0x49a4af
nop
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x49a4a0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x49a3e0
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret