joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475360
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x408
push ebx
push ebp
push esi
mov esi, dword [esp + 0x418]
push edi
mov ebx, ecx
movzx edi, word [ebx]
sub edi, dword [esi + 0x654]
mov dword [esp + 0x14], ebx
push edi
push esi
call fcn.00475150
mov dl, byte [esi + 0xa6c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
sub eax, 6
lea ebp, [esp + 0x18]
xor ecx, ecx
lea ecx, [ecx]
movzx ebx, byte [eax + 6]
add eax, 6
cmp byte [ebx + esi + 0x66c], dl
je 0x4753a0
movzx ebx, byte [eax + 1]
mov dword [ebp], eax
add ecx, ebx
add ebp, 4
sub edi, 1
jne 0x4753a0
add dword [esi + 0x4a84], ecx
mov eax, dword [esi + 0x4a78]
xor edx, edx
div dword [esi + 0x4a84]
xor edx, edx
mov edi, eax
mov eax, dword [esi + 0x4a74]
sub eax, dword [esi + 0x4a70]
mov dword [esi + 0x4a78], edi
div edi
mov ebx, dword [esi + 0x4a84]
cmp eax, ebx
jl 0x475406
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x408
ret 4
cmp eax, ecx
mov edx, dword [esp + 0x18]
lea edi, [esp + 0x18]
jge 0x475483
movzx ecx, byte [edx + 1]
cmp ecx, eax
jg 0x475430
lea ebx, [ebx]
mov edx, dword [edi + 4]
movzx ebx, byte [edx + 1]
add edi, 4
add ecx, ebx
cmp ecx, eax
jle 0x475420
mov edi, dword [esp + 0x10]
mov dword [esi + 0x4a80], ecx
movzx eax, byte [edx + 1]
sub ecx, eax
mov dword [esi + 0x4a7c], ecx
mov cl, byte [edi + 2]
cmp cl, 7
jae 0x475469
add byte [edi + 3], 0xff
jne 0x475469
mov ax, word [edi]
add ax, ax
mov word [edi], ax
mov al, 3
shl al, cl
inc cl
mov byte [edi + 2], cl
mov byte [edi + 3], al
mov ecx, dword [esp + 0x14]
push edx
push esi
call fcn.00475110
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4
mov edi, dword [esp + 0x14]
mov dword [esi + 0x4a7c], ecx
mov dword [esi + 0x4a80], ebx
movzx ecx, word [edi]
sub ecx, dword [esi + 0x654]
lea eax, [esp + 0x18]
sub eax, 4
mov edx, dword [eax + 4]
movzx edx, byte [edx]
mov bl, byte [esi + 0xa6c]
add eax, 4
sub ecx, 1
mov byte [edx + esi + 0x66c], bl
jne 0x4754a3
mov cx, word [esi + 0x4a84]
mov eax, dword [esp + 0x10]
add word [eax], cx
movzx edx, word [edi]
pop edi
mov dword [esi + 0x654], edx
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4

Function at 0x47c100
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x47c151
push esi
push 0x4f2cb0
push str.Rar_CMXXXXXX
call fcn.00484930
mov esi, eax
test esi, esi
je 0x47c146
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c124
sub eax, edx
push esi
sar eax, 1
push eax
push 2
push edi
call fcn.004a5f54
push esi
call fcn.004a5d25
add esp, 0x14
mov dword [0x4f34b0], 3
pop esi
pop edi
ret 4

Function at 0x47c160
Capabilities:
Get memory capacity

Disassembly:
mov eax, dword [0x50c2f4]
sub esp, 0x20
test eax, eax
jne 0x47c1a8
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 8]
mov eax, 0x400000
mov dword [0x50c2f4], eax
cmp ecx, 0x8000000
ja 0x47c196
mov eax, 0x200000
mov dword [0x50c2f4], eax
cmp ecx, 0x4000000
ja 0x47c1a8
mov eax, 0x100000
mov dword [0x50c2f4], eax
add esp, 0x20
ret
Function at 0x47c330
Capabilities:
Get disk information
Query environment variable

Disassembly:
mov eax, 0x2c08
call fcn.004a4490
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x2c04], eax
push edi
push ebx
call fcn.004515b0
push 0x3a
push eax
call fcn.004a4c00
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
add esp, 8
test eax, eax
je 0x47c393
cmp byte [0x50c318], 0
jne 0x47c393
push 0x31
push 0x65
call fcn.00460a30
push eax
push 0x528
call fcn.00460a30
push eax
push esi
call edi
cmp eax, 1
jne 0x47c4ff
mov byte [0x50c318], al
lea edx, [esp + 0x808]
mov eax, ebx
sub edx, ebx
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x47c3a0
lea eax, [esp + 0x808]
push eax
call fcn.00451b20
push 0x400
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x810]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [esp + 8]
xor eax, eax
push ecx
mov word [esp + 0x80a], ax
call fcn.004515b0
cmp word [eax], 0
je 0x47c462
lea edx, [esp + 8]
push edx
call fcn.00431560
test al, al
jne 0x47c462
lea esp, [esp]
push 0x14d
call fcn.00460a30
push eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1010]
push str.__s__n_s
push ecx
mov edx, 0x600
call fcn.0046b810
add esp, 0x10
push 0x34
push 0x65
call fcn.00460a30
push eax
lea edx, [esp + 0x1010]
push edx
push esi
call edi
cmp eax, 6
jne 0x47c4ff
push 0
lea eax, [esp + 0xc]
push eax
call fcn.00431da0
lea ecx, [esp + 8]
push ecx
call fcn.00431560
test al, al
je 0x47c400
call fcn.0043e920
cmp eax, 0x501
jb 0x47c517
lea edx, [esp + 0x2408]
push edx
push ebx
call fcn.00451270
lea eax, [esp + 0x1c08]
push eax
lea ecx, [esp + 0x240c]
push ecx
call fcn.00452920
push 0
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1c24]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x47c517
test dword [esp + 4], 0x80000
je 0x47c517
lea ecx, [esp + 0x1c08]
push ecx
push 0x3b6
call fcn.00460a30
push eax
lea edx, [esp + 0x1010]
push edx
mov edx, 0x600
call fcn.0046b810
add esp, 0xc
push 0x30
push 0x65
call fcn.00460a30
push eax
lea eax, [esp + 0x1010]
push eax
push esi
call edi
xor al, al
pop edi
mov ecx, dword [esp + 0x2c04]
xor ecx, esp
call fcn.004a3c63
add esp, 0x2c08
ret
mov ecx, dword [esp + 0x2c08]
pop edi
xor ecx, esp
mov al, 1
call fcn.004a3c63
add esp, 0x2c08
ret
Function at 0x483e30
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push ebx
call edi
push ebx
mov esi, eax
call edi
mov ebp, dword [esp + 0x38]
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push 0x18
push ebp
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebp
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov dword [esp + 0x40], eax
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x24]
push 0xcc0020
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov edx, eax
neg edx
push edx
push 0
lea edx, [eax - 1]
push edx
push esi
push ecx
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0xcc0020
push 0
push 0
push edi
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x10]
push edx
push esi
call ebp
mov eax, dword [esp + 0x14]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov edx, dword [esp + 0x18]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4

Function at 0x484000
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x800], eax
cmp byte [0x4f7840], 0
push esi
mov esi, dword [esp + 0x80c]
je 0x48403d
mov eax, dword [esp + 0x810]
push eax
push esi
push 0x4f7840
call fcn.00472850
jmp 0x4840c5
push edi
mov edi, dword [esp + 0x814]
push edi
push 0x4b8d34
push esi
push str.TempFolder
push str.Paths
call fcn.0045b200
xor ecx, ecx
mov word [esp + 8], cx
cmp word [esi], cx
je 0x48409a
push 0x400
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x484088
push edi
lea eax, [esp + 0xc]
push eax
push esi
call fcn.0046a270
cmp word [esi], 0
je 0x48409a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4840c4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4840ac
cmp word [esi], 0
jne 0x4840c4
mov eax, str._rartemp
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4840b5
pop edi
push esi
call fcn.00451050
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
call fcn.004a3c63
add esp, 0x804
ret 8
Function at 0x484a20
Capabilities:
Create directory

Disassembly:
sub esp, 0x804
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
mov ebx, dword [esp + 0x810]
push esi
mov esi, dword [esp + 0x810]
push 0x400
lea eax, [esp + 0xc]
push eax
call fcn.00484000
lea ecx, [esp + 8]
push ecx
call fcn.00451050
mov eax, esi
mov edx, esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x484a61
push edi
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x484a76
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0xc]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.00432240
pop edi
test eax, eax
je 0x484ad3
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x484ad3
lea eax, [esp + 8]
mov edx, ebx
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x484ac0
mov al, 1
jmp 0x484af7
lea edx, [esp + 8]
push edx
push 0x1f7
call fcn.00460a30
push eax
call fcn.004926f0
add esp, 8
mov ecx, 0x4d56b4
call fcn.00428cd0
xor al, al
mov ecx, dword [esp + 0x808]
pop esi
pop ebx
xor ecx, esp
call fcn.004a3c63
add esp, 0x804
ret 8

Function at 0x484ff0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ecx
push ebx
lea eax, [esp + 4]
push eax
push 0x4bfcb8
push 1
push 0
push 0x4bfd48
xor bl, bl
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4850b1
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48503b
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
push ecx
call eax
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x485052
mov eax, dword [esp + 4]
mov edx, dword [eax]
push 0
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x485067
mov eax, dword [esp + 4]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x4bfcf8
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x4850a5
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jl 0x485099
mov bl, 1
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, bl
pop ebx
pop ecx
ret 0x14
Function at 0x4856f0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1804
call fcn.004a4490
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x1800], eax
mov eax, dword [esp + 0x1808]
mov ecx, dword [0x4e7b84]
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x600
lea edx, [esp + 0xc08]
mov ebx, eax
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x600
lea eax, [esp + 8]
push eax
push edi
push esi
call fcn.00451460
lea ecx, [esp + 0xc04]
lea eax, [esp + 4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x485776
test dx, dx
je 0x485772
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x485776
add eax, 4
add ecx, 4
test dx, dx
jne 0x485750
xor eax, eax
jmp 0x48577b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48578b
lea ecx, [esp + 4]
push ecx
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x1804]
pop ebx
xor ecx, esp
call fcn.004a3c63
add esp, 0x1804
ret 4

Function at 0x4859c0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4b690e
mov eax, dword fs:[0]
push eax
sub esp, 0x404
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push edi
mov eax, dword [0x4ca3b0]
xor eax, esp
push eax
lea eax, [esp + 0x410]
mov dword fs:[0], eax
mov eax, dword [0x4e7b84]
test eax, eax
je 0x485b09
push 0x200
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [0x50e870]
cmp esi, 8
je 0x485a77
mov ecx, 0x50d370
lea eax, [esp + 0xc]
jmp 0x485a30
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x485a56
test dx, dx
je 0x485a52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x485a56
add eax, 4
add ecx, 4
test dx, dx
jne 0x485a30
xor eax, eax
jmp 0x485a5b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x485a77
mov edx, dword [0x4e7b84]
push 0x50d370
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [0x50e870]
test esi, esi
je 0x485a8a
cmp esi, 1
je 0x485a8a
cmp esi, 2
je 0x485a8a
cmp esi, 8
jne 0x485abd
push 0x9c
mov edi, 0x50d270
xor esi, esi
call fcn.004856f0
push 0x50dc70
call fcn.004515b0
push 0x50e470
mov edi, eax
call fcn.00451530
push 0x9b
mov esi, eax
call fcn.004856f0
test byte [0x50e87c], 1
jne 0x485aed
or dword [0x50e87c], 1
mov dword [esp + 0x418], 0
mov dword [0x50e878], 0
mov dword [esp + 0x418], 0xffffffff
push 0x64
mov ecx, 0x50e878
call fcn.00446140
test al, al
je 0x485b09
mov eax, dword [0x4e7b84]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x410]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.004a3c63
add esp, 0x410
ret
Function at 0x485eb0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x404
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
push 0x200
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [edi], 4
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x40
lea edx, [esp + 0xc]
push edx
call fcn.00446570
cmp word [0x50cdc0], 0
je 0x485f60
lea eax, [esp + 8]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x485f00
mov ecx, dword [0x4bc158]
mov dx, word [0x4bc15c]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x485f26
sub eax, edx
push 0x50cdc0
sar eax, 1
push 0x5aa
mov esi, eax
call fcn.00460a30
push eax
lea eax, [esp + esi*2 + 0x10]
push str._s:__s
mov edx, 0x200
sub edx, esi
push eax
call fcn.0046b810
add esp, 0x10
cmp byte [0x50ce26], 0
je 0x485fce
lea eax, [esp + 8]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x485f70
mov ecx, dword [0x4bc158]
mov dx, word [0x4bc15c]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x485f96
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [esp + 0x410]
push eax
push 0x2fd
call fcn.00460a30
push eax
lea ecx, [esp + esi*2 + 0x10]
mov edx, 0x200
sub edx, esi
push ecx
call fcn.0046b810
add esp, 0xc
push 0x80
lea edx, [esp + 0xc]
push edx
add edi, 0x18
push edi
call fcn.0046a270
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004a3c63
add esp, 0x404
ret 4
Function at 0x488e60
Capabilities:
Get common file path
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x800], eax
cmp byte [esp + 0x81c], 0
push ebx
push ebp
mov ebp, dword [esp + 0x810]
push esi
mov esi, dword [esp + 0x818]
push edi
mov edi, dword [esp + 0x820]
je 0x488f07
push 0x400
push esi
push ebp
push str.DefFolder
push str.Extraction
call fcn.0045b200
cmp word [ebp], 0
jne 0x488ed1
mov edx, ebp
mov eax, esi
sub edx, esi
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x488ec0
jmp 0x488f0d
push 0x400
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ecx, ecx
lea eax, [esp + 0x10]
mov word [esp + 0x80e], cx
mov edx, ebp
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x488ef6
jmp 0x488f0d
xor edx, edx
mov word [ebp], dx
movzx eax, word [ebp]
test ax, ax
setne bl
test ax, ax
jne 0x488f28
push ebp
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebp
call fcn.00451050
cmp byte [esp + 0x824], 0
jne 0x488f40
test bl, bl
je 0x489072
push 1
push str.AppendName
push str.Extraction
call fcn.0045b230
test eax, eax
je 0x489072
push 0x400
push edi
lea eax, [esp + 0x18]
push eax
call fcn.0046a270
xor edi, edi
cmp word [esp + 0x10], di
je 0x488fa9
xor eax, eax
lea esi, [esp + 0x10]
cmp word [esi], 0x25
jne 0x488f99
lea ecx, [esp + eax + 0x12]
push 0x25
push ecx
call fcn.004a4c00
add esp, 8
test eax, eax
je 0x488f99
mov edx, 0x5f
mov word [esi], dx
inc edi
lea eax, [edi + edi]
cmp word [esp + eax + 0x10], 0
lea esi, [esp + eax + 0x10]
jne 0x488f78
lea eax, [esp + 0x10]
push eax
call fcn.004515b0
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x488fb5
mov edi, ebp
sub eax, edx
add edi, 0xfffffffe
jmp 0x488fd0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x488fd0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call fcn.00451930
mov esi, eax
test esi, esi
je 0x489072
cmp esi, ebp
jbe 0x489072
xor ecx, ecx
push ebp
mov word [esi], cx
call fcn.00451930
mov edi, eax
test edi, edi
je 0x489052
cmp edi, ebp
jbe 0x489052
cmp byte [esp + 0x828], 0
je 0x48903e
cmp word [esi + 2], 0
je 0x48903e
movzx edx, word [esi + 4]
push edx
call fcn.0046a010
test al, al
jne 0x48903e
movzx eax, word [esi - 2]
push eax
call fcn.0046a010
test al, al
jne 0x48904d
push str..tar
push edi
call fcn.00472b40
test eax, eax
jne 0x489052
xor ecx, ecx
mov word [edi], cx
sub esi, 2
cmp esi, ebp
jbe 0x489072
lea esp, [esp]
cmp word [esi], 0x2e
jne 0x489072
xor edx, edx
mov word [esi], dx
sub esi, 2
cmp esi, ebp
ja 0x489060
push 0
push ebp
call fcn.004510a0
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a3c63
add esp, 0x804
ret 0x18
Function at 0x4890a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x808
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [esp + 0x80c]
push edi
lea ecx, [esp + 4]
push ecx
push eax
call fcn.00451270
lea edx, [esp + 4]
push edx
call fcn.00451050
lea edi, [esp + 4]
add edi, 0xfffffffe
jmp 0x4890e0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4890e0
mov eax, dword [0x4b96ec]
push 1
push 0x4b8d34
push 0
lea ecx, [esp + 0x10]
push ecx
push str.open
push 0
mov dword [edi], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x808]
pop edi
xor ecx, esp
call fcn.004a3c63
add esp, 0x808
ret 4
Function at 0x48ab50
Capabilities:
Move file

Disassembly:
mov eax, 0x1054
call fcn.004a4490
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x1050], eax
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
mov ecx, 0x4ee478
xor esi, esi
call fcn.0043ffd0
push edi
lea eax, [esp + 0x30]
push eax
mov ecx, 0x4ee478
call fcn.0043ffd0
test al, al
je 0x48ac1e
lea ecx, [esp + 0x85c]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00451270
lea eax, [esp + 0x85c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48abb0
sub eax, edx
sar eax, 1
lea ebx, [eax + edi + 1]
lea eax, [ebx + ebx + 2]
push eax
push esi
call fcn.004a3e8d
mov esi, eax
add esp, 8
test esi, esi
je 0x48ace4
lea eax, [esp + 0x85c]
mov edx, eax
lea ecx, [edi + edi]
sub ecx, edx
lea edx, [ecx + esi]
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x48abf0
push 0
lea eax, [esp + 0x30]
push eax
mov ecx, 0x4ee478
mov edi, ebx
call fcn.0043ffd0
test al, al
jne 0x48ab93
test edi, edi
jne 0x48ac45
push 0x30
push 0x65
call fcn.00460a30
push eax
push 0x14c
call fcn.00460a30
mov ecx, dword [0x4e8cd4]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x48ace4
xor eax, eax
xor edx, edx
mov word [esi + edi*2], dx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
mov eax, dword [0x4e8cd4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 3
cmp byte [esp + 0x1064], dl
je 0x48ac92
mov ecx, 0x40
mov word [esp + 0x1c], cx
lea edx, [esp + 0xc]
mov edi, 1
add dword [0x4e8434], edi
push edx
mov dword [esp + 0x18], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete bl
sub dword [0x4e8434], edi
push esi
call fcn.004a3dff
add esp, 4
test bl, bl
je 0x48ace4
cmp dword [esp + 0x1e], 0
jne 0x48ace4
mov ecx, 0x4ee450
call fcn.00470420
push 0x4b8d34
mov ecx, 0x4ee478
call fcn.00442bf0
mov ecx, dword [esp + 0x105c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a3c63
add esp, 0x1054
ret 4
Function at 0x48c750
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x2d0], eax
push esi
mov esi, dword [esp + 0x2dc]
mov eax, dword [esi + 0x2c]
push edi
add eax, 0x41
push eax
lea ecx, [esp + 0x2c8]
push 0x4b8858
push ecx
mov edx, 0xa
call fcn.0046b810
add esp, 0xc
push 0x301
push 0x2b4
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x2d4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test byte [esi + 0x10], 1
je 0x48c7df
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call edi
mov ecx, dword [esi + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xe
mov dword [esp + 0x10], eax
call edi
mov edx, dword [esi + 0x18]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
push ebx
push ebp
push 0
push 0
push 0x4b8d34
lea edi, [esi + 0x1c]
push edi
push 2
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call ebx
push 0x32
mov ebp, eax
call ebx
mov ecx, dword [esi + 0x20]
mov edx, dword [edi]
push 3
push 0
push 0
push eax
mov eax, dword [esp + 0x28]
push ebp
push eax
mov eax, dword [esi + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48c842
mov ecx, dword [edi]
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x28]
push edx
add eax, 2
push eax
mov eax, dword [esi + 0x18]
lea edx, [ecx + ebp + 7]
push edx
push eax
call dword [sym.imp.GDI32.dll_TextOutW]
test byte [esi + 0x10], 1
pop ebp
pop ebx
je 0x48c895
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x18]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x2d8]
pop edi
pop esi
xor ecx, esp
call fcn.004a3c63
add esp, 0x2d4
ret 4