joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4574d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4574e7
add esp, 0xfffffff0
call fcn.00403440
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a1e0
mov eax, dword [0x491bbc]
cmp word [eax + 2], 0
jne 0x45750f
mov eax, dword [0x491bbc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458bc0
mov eax, dword [0x491c74]
cmp word [eax + 2], 0
jne 0x457529
mov eax, dword [0x491c74]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458db8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411ed8]
call fcn.004030ec
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411ed8]
call fcn.004030ec
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41c734]
call fcn.004240a4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4576b0
mov eax, dword [0x491ad4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424474
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459358
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x491ad4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c480
test eax, eax
je 0x45761e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408790
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c4a8
test eax, eax
je 0x457632
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404160
mov eax, dword [0x4919ac]
cmp byte [eax], 0
jne 0x457666
mov eax, ebx
call fcn.004577d8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00459534
mov eax, ebx
call fcn.00459ef8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4576a6
call fcn.00403498
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457a58
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x492be0]
cmp dword [eax + 0x30], 0
je 0x457b02
cmp dword [ebx + 0x94], 0
jne 0x457afc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4579e8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457afc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x457ac2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457afc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041429c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457ad1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458664
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x458699
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403fe0
jmp 0x4586a6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f44
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459710
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459751
mov eax, esi
call fcn.0043fbe8
test al, al
je 0x459751
mov eax, dword [ebx + 0x84]
call fcn.0043f8e4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459751
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f8e4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45c710
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45c831
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x491cd0]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x491cd0]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x45c848
call fcn.00408e30
mov eax, dword [ebp - 4]
call fcn.0047325c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x491adc]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x491ca4]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x45c864
call fcn.00408e30
mov eax, dword [ebp - 0x10]
call fcn.0047325c
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x45c32c
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x45c884
call fcn.00408e30
mov eax, dword [ebp - 0x24]
call fcn.0047325c
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x45c89c
call fcn.00408e30
mov eax, dword [ebp - 0x28]
call fcn.0047325c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c838
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00403f14
lea eax, [ebp - 0x10]
call fcn.00403ef0
lea eax, [ebp - 4]
call fcn.00403ef0
ret

Function at 0x4643d0
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x464406
jmp 0x4644ac
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x46444a
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x144], 0
je 0x46444a
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x144]
mov eax, dword [eax + 0x14]
jmp 0x46445a
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x140]
test edx, edx
je 0x46445a
mov eax, dword [edx + 0x14]
test eax, eax
je 0x464473
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00461c3c
jmp 0x4644ac
mov dl, 1
mov eax, dword [0x41bf94]
call fcn.0041ded8
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0041e61c
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xac]
mov eax, dword [esi + 0x10]
call fcn.0041da88
mov edx, esp
mov eax, esi
call fcn.0041e2b0
mov eax, esi
call fcn.0040311c
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x46606c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0043f8e4
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x264], 0
pop ebx
ret
Function at 0x4698a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0044fd48
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004695cc
mov edi, eax
test edi, edi
je 0x4698f1
mov al, byte [0x469934]
cmp al, bl
jne 0x4698f1
mov edx, edi
mov eax, ebp
call fcn.00469574
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x469927
cmp byte [ebp + 0x165], 2
jne 0x46991a
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x491d2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x4c]
mov edx, 0xb006
call fcn.0043a19c
test eax, eax
jne 0x469927
xor eax, eax
mov dword [esi + 0xc], eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46cfd4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46d08e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004045fc
mov eax, dword [0x491a24]
cmp byte [eax], 0
je 0x46d043
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.0040490c
mov eax, dword [ebx]
call fcn.00404788
push eax
mov eax, dword [ebx]
call fcn.00404778
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404788
mov edx, eax
dec edx
mov eax, ebx
call fcn.0040490c
jmp 0x46d075
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408940
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404768
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d095
lea eax, [ebp - 0x3f0]
call fcn.00403ef0
ret

Function at 0x46d09c
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00408940
add esp, 0x3ec
pop ebx
ret
Function at 0x46e520
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
call fcn.0044ae60
mov edi, eax
dec edi
test edi, edi
jl 0x46e5d3
inc edi
xor esi, esi
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044ae70
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x46e56a
je 0x46e58b
dec eax
je 0x46e5ac
jmp 0x46e5cb
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044ae70
cmp byte [ebx + 0x168], 0
setne dl
call fcn.0044ad8c
jmp 0x46e5cb
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044ae70
cmp byte [ebx + 0x168], 1
setne dl
call fcn.0044ad8c
jmp 0x46e5cb
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044ae70
cmp byte [ebx + 0x168], 2
setne dl
call fcn.0044ad8c
inc esi
dec edi
jne 0x46e54b
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x46e5f8
cmp eax, dword [esp]
pop edx
pop eax
jae 0x46e667
jmp 0x46e5fc
pop edx
pop eax
jge 0x46e667
mov eax, dword [0x491d2c]
mov eax, dword [eax]
mov dword [eax + 0x40], 2
mov esi, 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x13c]
test byte [eax + 0x4c], 4
je 0x46e643
cmp byte [ebx + 0x165], 2
je 0x46e643
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xf8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x46e68c
push 0
mov eax, dword [ebx + 0x130]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0x108]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x46e68c
cmp dword [ebx + 0x120], 0
je 0x46e68c
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.004299f8
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x130]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x478434
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4785a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x47858a
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00408940
mov dl, 1
mov eax, dword [0x45a914]
call fcn.0045a96c
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x4125e4]
call fcn.004030ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045a9e8
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x478587
mov dl, 1
mov eax, dword [0x45b3e4]
call fcn.0045b44c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, 0x4785bc
call fcn.0045ad34
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004041fc
xor eax, eax
push ebp
push 0x478580
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0045b74c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004785c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478587
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0040311c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.0040311c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0040311c
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4785ac
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403f14
ret
Function at 0x47c084
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47c0b2
mov eax, ebx
call fcn.0047cb38
cmp dword [ebx + 0x40], 0
je 0x47c0ab
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47c123
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47c115
cmp dword [ebx + 8], 0
je 0x47c0d4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x47c0e6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47c115
cmp dword [ebx + 8], 0
je 0x47c0c7
cmp eax, 3
je 0x47c0f9
dec eax
jne 0x47c0c7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47c0c7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47c0c7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47c141
cmp dword [ebx + 0x14], 0xcc
je 0x47c141
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047c14c
pop ebx
ret

Function at 0x48dbbc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov byte [ebp - 5], 0
push 0
mov eax, dword [ebx + 0x44]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x48dc2b
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 0x40]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x48dc0d
mov ecx, dword [edi]
mov edx, esi
mov eax, ebx
call fcn.0048dc38
test al, al
je 0x48dc2b
jmp 0x48dbd3
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e5
jne 0x48dc1f
mov byte [ebp - 5], 1
jmp 0x48dc2b
cmp eax, 6
je 0x48dc2b
mov eax, ebx
call fcn.0048deb0
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x48e000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, dword [ebp + 8]
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 8]
add eax, esi
push eax
mov eax, dword [edi + 0x40]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x48e0bc
call sub.kernel32.dll_GetLastError
cmp eax, 6
je 0x48e0ce
cmp eax, 0x3e5
je 0x48e064
mov eax, edi
call fcn.0048e0dc
jmp 0x48e0ce
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call sub.kernel32.dll_WaitForMultipleObjects
sub eax, 0xffffffff
je 0x48e0aa
dec eax
je 0x48e0ce
dec eax
je 0x48e080
jmp 0x48e0b3
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [edi + 0x40]
push eax
call sub.kernel32.dll_GetOverlappedResult
test eax, eax
jne 0x48e0bc
call sub.kernel32.dll_GetLastError
cmp eax, 6
je 0x48e0ce
mov eax, edi
call fcn.0048e0dc
jmp 0x48e0ce
mov eax, edi
call fcn.0048e0dc
jmp 0x48e0ce
mov eax, edi
call fcn.0048e0dc
jmp 0x48e0ce
sub ebx, dword [ebp - 0x10]
add esi, dword [ebp - 0x10]
test ebx, ebx
ja 0x48e02e
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x48ec38
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov esi, dword [0x491c58]
call sub.kernel32.dll_GetTickCount
mov edi, eax
mov eax, 0x492ca8
call fcn.00403ef0
mov eax, dword [esi]
call fcn.00458914
mov eax, dword [esi]
call fcn.00458914
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [esi]
call fcn.00458914
mov eax, dword [esi]
call fcn.00458914
mov eax, dword [0x492ca8]
call fcn.004041b0
test eax, eax
jg 0x48ec8c
sub ebx, edi
cmp ebp, ebx
jg 0x48ec55
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4058b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
test eax, 0x868b0e8b
mov word [eax], es
add byte [eax], al
test eax, eax
jne 0x4058db
je 0x405906
fld xword [ebx + ecx*4]
dec esp
and al, 0x28
pop esi
mov dword [eax], 0xff0000
cmp byte [ecx], al
add byte [eax], al
add byte [eax], al
add esp, 0x18
ret 0xff10
push ebx
stosb byte es:[edi], al
push edi
lea ecx, [esi + 0x20c]
push 0
mov dword [ebx - 0x5e1714dc], esi
jmp 0x46cc58f0
jl 0x40590a
mov ebp, eax
mov eax, dword [esp + 0x30]
invalid

Function at 0x407fb0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
je 0x407ffb
out 0x85, eax
sal byte [esp + ebx - 0x75], 0x46
or al, 0x85
sal byte [edx + ebp*8 - 0x80], 0xc7
add byte [eax + edx - 0x75], dh
dec esi
sbb al, 0x56
add al, ch
push 0xffffffffffffffd9
add al, byte [eax]
mov cs, word [eax - 0x75000000]
jecxz 0x407fbc
je 0x407fd0
call 0x403340
mov ecx, dword [esi + 0x1c]
push ebx
jle 0x407fd1
inc ebx
or dword [eax], eax

Function at 0x40d3b0
Capabilities:
Terminate process

Disassembly:
adc dword [ebx], 0x44
test eax, 0x617015ff
inc esp
add byte [ebx - 0x3cf97510], cl
and cl, byte [edx + 0x1468a1c]
inc esi
cmp al, 0x22
je 0x40d3d6
test byte [edi], bh
aas
je 0x40d3c5
mov al, byte [esi + 1]
inc esi
cmp al, 0x22
jne 0x40d3ca
cmp byte [esi], 0xdd
jne 0x40d3cb
inc esi
jmp 0x40d3ea
mov al, byte [esi]
test al, al
je 0x40d3fc
cmp al, 0x20
or byte [eax], 0x75
inc esi
add dword [esi - 0x7c], eax
sal byte [ebp - 0xc], 0x8d
inc esp
and al, 0xfb
lea eax, [esp - 5]
invalid
Function at 0x404b1a
Capabilities:
Delete directory
Get common file path
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
xor edi, edi
cmp dword [0x4d9d08], 0x594
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], eax
jne 0x404b5b
push edi
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
push 0x4046a8
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov eax, dword [str.EdUU_9q5l]
mov dword [ebp - 0x24], eax
mov eax, dword [0x4294ac]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.00404b10
mov eax, dword [0x4294b0]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4294b4]
add ebx, 0x23f
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x20
jmp 0x404b9b
mov esi, dword [ebp - 0x14]
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, esi
shl eax, 4
cmp dword [0x4d9d08], 0xc
mov dword [ebp - 4], eax
jne 0x404bd9
push edi
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea eax, [ebp - 0x2c]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [0x4d9d08]
cmp eax, 0xfa9
jne 0x404bf5
mov dword [0x4d92a4], 0xedeb2e40
cmp eax, 0x3eb
jne 0x404c02
mov dword [0x4d8c58], edi
mov ecx, dword [ebp - 8]
lea eax, [ebx + esi]
shr esi, cl
mov dword [ebp - 0x10], eax
mov dword [0x4d92a0], 0xf4ea3dee
add esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
xor esi, dword [ebp - 4]
cmp dword [0x4d9d08], 0x213
mov dword [ebp - 0x10], esi
jne 0x404c3a
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x4d9d08], 0xc
jne 0x404c7a
lea eax, [ebp - 0x10]
push eax
push edi
push edi
lea eax, [ebp - 0x30]
push eax
push edi
push edi
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_BackupRead]
push edi
lea eax, [ebp - 0x430]
push eax
push 0x4046c8
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov esi, edx
shr esi, cl
lea eax, [ebx + edx]
xor dword [ebp - 4], eax
add esi, dword [ebp - 0x20]
cmp dword [0x4d9d08], 0x121
jne 0x404cb5
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
mov edx, dword [ebp - 0xc]
xor dword [ebp - 4], esi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x14]
call fcn.00404b17
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x404b98
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
leave
ret 4