joyce8/EMBER2024-capa huggingface dataset:
Function at 0x534450
Capabilities:
Copy file

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push ebx
push 1
lea eax, [esp + 0xc]
push eax
call fcn.00533860
mov ecx, eax
call fcn.004c7eb0
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00533860
mov ecx, eax
call fcn.004c7eb0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [esp + 4]
test eax, eax
setne bl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x5344a7
mov ecx, dword [esp + 4]
push ecx
call fcn.004c6150
add esp, 4
mov edx, dword [esp + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x5344c1
mov ecx, dword [esp + 8]
push ecx
call fcn.004c6150
add esp, 4
test bl, bl
jne 0x5344d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x18]
mov ecx, 2
mov dword [edx], eax
mov dword [edx + 4], ecx
mov al, bl
pop ebx
add esp, 8
ret

Function at 0x5344e0
Capabilities:
Move file

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push ebx
lea eax, [esp + 8]
push eax
call fcn.00533860
mov ecx, eax
call fcn.004c7eb0
push eax
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00533860
mov ecx, eax
call fcn.004c7eb0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edx, dword [esp + 4]
test eax, eax
setne bl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x534535
mov ecx, dword [esp + 4]
push ecx
call fcn.004c6150
add esp, 4
mov edx, dword [esp + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x53454f
mov ecx, dword [esp + 8]
push ecx
call fcn.004c6150
add esp, 4
test bl, bl
jne 0x534567
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x18]
mov ecx, 2
mov dword [edx], eax
mov dword [edx + 4], ecx
mov al, bl
pop ebx
add esp, 8
ret

Function at 0x534570
Capabilities:
Delete file

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebx
lea eax, [esp + 4]
push eax
call fcn.00533860
mov ecx, eax
call fcn.004c7eb0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 4]
test eax, eax
setne bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x5345ad
mov eax, dword [esp + 4]
push eax
call fcn.004c6150
add esp, 4
test bl, bl
jne 0x5345c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x10]
mov ecx, 2
mov dword [edx], eax
mov dword [edx + 4], ecx
mov al, bl
pop ebx
pop ecx
ret
Function at 0x534a10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x6c56f8]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
mov ebx, dword [esp + 0x420]
push ebp
push esi
mov dword [esp + 0x10], 0x6c30d4
mov eax, 0x6c30d4
mov ecx, 1
lock xadd dword [eax], ecx
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [esp + 0x20]
push edx
push 0x200
call ebp
mov esi, eax
test esi, esi
je 0x534b06
cmp esi, 0x200
jbe 0x534acf
xor ecx, ecx
mov edx, 2
mul edx
seto cl
push edi
neg ecx
or ecx, eax
push ecx
call fcn.005807c3
add esp, 4
mov edi, eax
push edi
push 0x200
call ebp
test eax, eax
je 0x534ac3
push esi
lea eax, [esp + 0x14]
push edi
push eax
call fcn.004c9050
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
call fcn.004c3960
mov ecx, dword [esp + 0x10]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x534ac3
mov eax, dword [esp + 0x10]
push eax
call fcn.004c6150
add esp, 4
push edi
call fcn.005820bb
add esp, 4
pop edi
jmp 0x534b06
push esi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.004c9050
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.004c3960
mov eax, dword [esp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x534b06
mov edx, dword [esp + 0xc]
push edx
call fcn.004c6150
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 2
jl 0x534b5b
cmp eax, 1
jle 0x534b20
mov eax, dword [ecx + 0xc]
movzx eax, word [eax + 2]
jmp 0x534b22
xor eax, eax
cmp ax, 0x3a
jne 0x534b5b
mov ecx, dword [ecx + 0xc]
mov dx, word [ecx]
lea ecx, [esp + 0xc]
lea eax, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1a]
mov word [esp + 0x1a], dx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
call fcn.004c5870
push eax
lea ecx, [esp + 0x1c]
call fcn.004ca950
mov byte [esp + 0xc], 0
mov edx, dword [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call fcn.00533120
mov ecx, dword [esp + 0x10]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x534b8b
mov eax, dword [esp + 0x10]
push eax
call fcn.004c6150
add esp, 4
mov ecx, dword [esp + 0x420]
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00581268
add esp, 0x418
ret
Function at 0x536630
Capabilities:
Get disk information

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, eax
mov ecx, esi
mov byte [esp + 9], 0
xor ebx, ebx
call fcn.00533210
test al, al
je 0x5366b3
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00533320
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov ax, word [edx]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xe]
mov word [esp + 0xe], ax
call fcn.004c5870
movzx ecx, word [eax]
mov edx, dword [esp + 0x10]
sub ecx, 0x41
mov esi, 1
shl esi, cl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x53669f
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004c6150
add esp, 4
test ebx, esi
je 0x5367a9
mov ebx, 0x14
mov al, 1
jmp 0x53676e
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00533860
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], str._UNC
call fcn.004c7990
test al, al
je 0x53674c
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xc]
mov ax, word [edx]
push 1
mov word [esp + 0x14], ax
mov ecx, dword [esp + 0x14]
push 7
push ecx
lea ecx, [esp + 0x18]
call fcn.004c77b0
test eax, eax
jle 0x536731
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0xc]
mov dx, word [ecx]
push 1
inc eax
push eax
mov word [esp + 0x18], dx
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.004c77b0
test eax, eax
jle 0x536731
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 8]
dec edx
cmp eax, edx
jne 0x53674c
lea eax, [esp + 0xc]
push eax
call fcn.00536450
add esp, 4
test al, al
je 0x53674c
mov ebx, 0x10
mov byte [esp + 9], 1
mov ecx, dword [esp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x536766
mov eax, dword [esp + 0xc]
push eax
call fcn.004c6150
add esp, 4
mov al, byte [esp + 9]
test al, al
je 0x5367ad
mov dword [edi + 0x10], ebx
test bl, 2
je 0x53677d
or dword [edi + 4], 0x100000
and bl, 0x10
movzx ecx, bl
neg ecx
sbb ecx, ecx
and ecx, 0x20000
add ecx, 0x20000
or dword [edi + 4], ecx
or dword [edi + 4], 0x400000
or dword [edi], 0x560000
pop esi
pop ebx
add esp, 0xc
ret
mov al, byte [esp + 9]
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x5428d0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor eax, eax
cmp dword [ebp + 8], eax
jle 0x5428fb
push esi
movzx edx, byte [ecx]
movzx edx, byte [edx + 0x665588]
mov esi, eax
shl esi, 3
xor edx, esi
xor eax, edx
inc ecx
dec dword [ebp + 8]
cmp dword [ebp + 8], 0
jg 0x5428dd
pop esi
pop ebp
ret

Function at 0x542d94
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
push edi
test eax, eax
je 0x542dd7
cdq
push esi
mov esi, eax
add eax, dword [ebp + 0xc]
mov edi, edx
mov ecx, edx
adc ecx, dword [ebp + 0x10]
push edi
sub eax, 1
push esi
sbb ecx, 0
push ecx
push eax
call fcn.005870d0
push edi
push esi
push edx
push eax
call fcn.00587090
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
pop esi
push dword [ebp + 0x10]
mov edi, ebx
push dword [ebp + 0xc]
call fcn.00542c2a
pop ecx
pop ecx
test eax, eax
jne 0x542e00
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x542e07
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x10], eax
mov dword [ebp - 4], 0x60a
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret

Function at 0x542e37
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x542e69
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x542e69
mov dword [esi + 0x10], eax
mov eax, 0x70a
jmp 0x542e89
push 1
push 0
push 0
push dword [ebp + 8]
call fcn.00587090
mov ecx, eax
xor eax, eax
add ecx, edi
adc edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x54319e
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00543163
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x5431c2
push 7
pop eax
jmp 0x543251
push esi
call fcn.00542a2d
test eax, eax
je 0x543201
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5431ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 5
jne 0x543236
inc dword [ebp - 4]
cmp dword [ebp - 4], 5
jge 0x543236
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x5431cc
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x543223
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 5
jne 0x543236
inc dword [ebp - 4]
cmp dword [ebp - 4], 5
jge 0x543236
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x543201
push edi
call fcn.005818ee
pop ecx
cmp esi, 0xffffffff
pop esi
jne 0x54324c
cmp ebx, 2
jne 0x54324c
xor eax, eax
jmp 0x543251
mov eax, 0xa0a
pop edi
pop ebx
leave
ret
Function at 0x549db8
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x6c56f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6db004]
push ebx
push esi
test eax, eax
je 0x549df4
push eax
push 0x6829c4
lea eax, [ebp - 0x10c]
push eax
push 0xe6
call fcn.005495f8
add esp, 0x10
jmp 0x549e6c
call fcn.00542a2d
mov esi, 0xe6
test eax, eax
je 0x549e34
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x314]
push eax
call fcn.00542ae5
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x549e50
push 7
pop eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00581268
leave
ret
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x210]
push eax
call fcn.00542bad
jmp 0x549e1c
push ebx
push 0x6829c4
lea eax, [ebp - 0x10c]
push eax
push esi
call fcn.005495f8
push ebx
call fcn.005818ee
add esp, 0x14
mov ecx, str.etilqs_
call fcn.00541ecc
lea ecx, [ebp - 0x10c]
mov edx, eax
call fcn.00541ecc
lea eax, [edx + eax + 0x11]
mov edx, dword [ebp + 8]
cmp eax, edx
jl 0x549e93
xor eax, eax
inc eax
jmp 0x549e26
lea ecx, [ebp - 0x10c]
call fcn.00541ecc
test eax, eax
jbe 0x549eac
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x549eac
dec eax
jne 0x549ea3
mov byte [ebp + eax - 0x10c], 0
lea eax, [ebp - 0x10c]
push eax
push str._setilqs_
add edx, 0xffffffef
push edi
push edx
call fcn.005495f8
mov ecx, edi
call fcn.00541ecc
mov esi, eax
lea eax, [edi + esi]
push eax
push 0xf
call fcn.005497b4
add esp, 0x18
push 0xf
pop ecx
movzx eax, byte [edi + esi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi], al
inc esi
dec ecx
jne 0x549ee4
mov byte [edi + esi], cl
xor eax, eax
jmp 0x549e26
Function at 0x54a097
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x6c56f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10c]
push ecx
push 0x104
push eax
push dword [ebp + 8]
mov dword [ebp - 0x114], 0x200
call fcn.00549fbf
add esp, 0x10
test eax, eax
jne 0x54a181
push ebx
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.00543163
mov esi, eax
xor ebx, ebx
pop ecx
cmp esi, ebx
je 0x54a175
push edi
call fcn.00542a2d
test eax, eax
mov eax, esi
je 0x54a138
cmp word [esi], bx
je 0x54a119
cmp word [eax], 0x5c
je 0x54a114
inc eax
inc eax
cmp word [eax], bx
jne 0x54a105
jmp 0x54a119
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x110]
push eax
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x54a167
cmp byte [esi], bl
je 0x54a14a
cmp byte [eax], 0x5c
je 0x54a148
inc eax
cmp byte [eax], bl
jne 0x54a13c
jmp 0x54a14a
mov byte [eax], bl
lea eax, [ebp - 0x110]
push eax
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.005818ee
pop ecx
cmp edi, ebx
pop edi
jne 0x54a17f
mov dword [ebp - 0x114], 0x200
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x114]
xor ecx, ebp
call fcn.00581268
leave
ret
Function at 0x54c727
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x54c841
test esi, esi
je 0x54c841
movzx edx, word [edi + 2]
mov eax, 0x800
mov ecx, edx
and ecx, eax
mov ebx, eax
cmp cx, bx
je 0x54c7e5
movzx ecx, word [esi + 2]
mov ebx, ecx
and ebx, eax
cmp bx, ax
je 0x54c7e5
xor cl, dl
test cl, 0x10
jne 0x54c7e5
mov al, byte [edi]
cmp al, byte [esi]
jne 0x54c7e5
push dword [esi + 8]
push dword [edi + 8]
call fcn.0054c727
pop ecx
pop ecx
test eax, eax
jne 0x54c7e5
push dword [esi + 0xc]
push dword [edi + 0xc]
call fcn.0054c727
pop ecx
pop ecx
test eax, eax
jne 0x54c7e5
mov ebx, dword [esi + 0x10]
mov edi, dword [edi + 0x10]
call fcn.00546923
test eax, eax
jne 0x54c7e5
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
cmp eax, dword [esi + 0x18]
jne 0x54c7e5
mov ax, word [edi + 0x1c]
cmp ax, word [esi + 0x1c]
jne 0x54c7e5
movzx eax, word [edi + 2]
mov ecx, eax
mov eax, 0x400
and ecx, eax
mov edx, eax
cmp cx, dx
jne 0x54c7ea
mov cx, word [esi + 2]
and cx, dx
cmp cx, ax
jne 0x54c7e5
mov eax, dword [edi + 4]
cmp eax, dword [esi + 4]
je 0x54c814
push 2
pop eax
jmp 0x54c84c
cmp byte [edi], 0x98
je 0x54c814
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x54c814
mov dx, word [esi + 2]
mov ebx, eax
and dx, bx
cmp dx, ax
je 0x54c7e5
mov edx, dword [esi + 4]
test edx, edx
je 0x54c7e5
call fcn.00541f41
test eax, eax
jne 0x54c7e5
movzx ecx, word [edi + 2]
mov dx, word [esi + 2]
mov eax, 0x100
and ecx, eax
and dx, ax
cmp cx, dx
je 0x54c830
xor eax, eax
inc eax
jmp 0x54c84c
test cx, cx
je 0x54c83d
mov eax, dword [edi + 0x14]
cmp eax, dword [esi + 0x14]
jne 0x54c7e5
xor eax, eax
jmp 0x54c84c
mov eax, esi
sub eax, edi
neg eax
sbb eax, eax
and eax, 2
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x55002c
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x550040
xor eax, eax
jmp 0x55012f
push esi
mov esi, dword [ebp + 8]
push 0x50
call fcn.005492f0
mov esi, eax
pop ecx
test esi, esi
je 0x55012e
push ebx
push dword [ebp + 0x10]
mov ebx, dword [edi]
push dword [ebp + 8]
call fcn.0054c361
push dword [ebp + 0x10]
mov dword [esi], eax
push dword [edi + 8]
push dword [ebp + 8]
call fcn.0054ff02
push 0
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push eax
push dword [ebp + 8]
call fcn.005527a8
push dword [ebp + 0x10]
mov dword [esi + 0xc], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x10]
call fcn.0054c361
push 0
push dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
push eax
push dword [ebp + 8]
call fcn.005527a8
push dword [ebp + 0x10]
mov dword [esi + 0x14], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x18]
call fcn.0054c361
add esp, 0x44
push dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
push dword [edi + 0x1c]
push dword [ebp + 8]
call fcn.0055002c
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x28]
push eax
push dword [ebp + 8]
call fcn.005527a8
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp + 8]
call fcn.005527a8
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov ax, word [edi + 6]
or dword [esi + 0x38], 0xffffffff
or dword [esi + 0x3c], 0xffffffff
mov ecx, 0xfff7
and ax, cx
add esp, 0x2c
or dword [esi + 0x40], 0xffffffff
mov word [esi + 6], ax
mov dword [esi + 0x24], ebx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x55c409
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebx + 0x3c]
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ecx], edi
jne 0x55c43c
mov eax, dword [ebx + 0x78]
push edi
push ecx
mov ecx, dword [ebx]
or eax, 0x1e
push edi
call fcn.00541a1e
add esp, 0xc
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x55c516
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x55c472
mov eax, dword [ebx + 0x80]
push edi
cdq
push ecx
push edx
push eax
call fcn.00587090
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], eax
push esi
jmp 0x55c477
xor edi, edi
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x55c515
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xc], edi
cmp edi, dword [ebx + 0x18]
ja 0x55c505
test byte [esi + 0x14], 0x20
jne 0x55c505
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [edi - 1]
push 0
push ecx
call fcn.00587090
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
cmp edi, 1
jne 0x55c4b7
call fcn.00544671
push dword [ebp - 0x10]
mov eax, dword [esi]
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebx + 0x80]
push eax
mov eax, dword [ebx + 0x3c]
call fcn.005419af
add esp, 0x10
mov dword [ebp - 4], eax
cmp edi, 1
jne 0x55c4ef
mov esi, dword [ebp - 8]
add esi, 0x18
lea edi, [ebx + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
cmp edi, dword [ebx + 0x20]
jbe 0x55c4f7
mov dword [ebx + 0x20], edi
push dword [esi]
mov eax, dword [ebx + 0x58]
call fcn.005590df
mov esi, dword [ebp + 8]
pop ecx
cmp dword [ebp - 4], 0
mov eax, dword [esi + 8]
mov dword [ebp + 8], eax
je 0x55c475
pop esi
mov eax, dword [ebp - 4]
pop edi
leave
ret
Function at 0x581268
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6c56f8]
jne 0x581272
repz ret
jmp fcn.00590273

Function at 0x58b1bf
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x58b1f0
call fcn.00586f84
mov dword [eax], esi
call fcn.00586f71
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00582024
add esp, 0x14
or eax, 0xffffffff
jmp 0x58b22b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x58b20d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00586f97
pop ecx
jmp 0x58b1eb
test byte [ebp + 0xc], 0x80
je 0x58b218
and eax, 0xfffffffe
jmp 0x58b21b
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x58b1fe
xor eax, eax
pop esi
pop ebp
ret

Function at 0x58b22e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x58b25f
call fcn.00586f84
mov dword [eax], esi
call fcn.00586f71
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00582024
add esp, 0x14
push 0x16
pop eax
jmp 0x58b2b4
test dword [ebp + 0xc], 0xfffffff9
jne 0x58b23b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x58b28c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00586f97
pop ecx
call fcn.00586f71
mov eax, dword [eax]
jmp 0x58b2b4
test al, 0x10
jne 0x58b2b2
test al, 1
je 0x58b2b2
test byte [ebp + 0xc], 2
je 0x58b2b2
call fcn.00586f84
mov dword [eax], 5
call fcn.00586f71
mov dword [eax], 0xd
jmp 0x58b283
xor eax, eax
pop esi
pop ebp
ret
Function at 0x5a0949
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00590c04
and dword [ebp - 4], 0
cmp dword [0x6dd340], 0
mov ebx, eax
jne 0x5a09fa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5a0aab
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5a0aab
push eax
call fcn.00590b92
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x6dd340], eax
call esi
push eax
call fcn.00590b92
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x6dd344], eax
call esi
push eax
call fcn.00590b92
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x6dd348], eax
call esi
push eax
call fcn.00590b92
pop ecx
mov dword [0x6dd350], eax
test eax, eax
je 0x5a09fa
push 0x67e708
push edi
call esi
push eax
call fcn.00590b92
pop ecx
mov dword [0x6dd34c], eax
mov eax, dword [0x6dd34c]
cmp eax, ebx
je 0x5a0a52
cmp dword [0x6dd350], ebx
je 0x5a0a52
push eax
call fcn.00590c0d
push dword [0x6dd350]
mov esi, eax
call fcn.00590c0d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5a0a52
test edi, edi
je 0x5a0a52
call esi
test eax, eax
je 0x5a0a49
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5a0a49
test byte [ebp - 0xc], 1
jne 0x5a0a52
or dword [ebp + 0x10], 0x200000
jmp 0x5a0a8b
mov eax, dword [0x6dd344]
cmp eax, ebx
je 0x5a0a8b
push eax
call fcn.00590c0d
pop ecx
test eax, eax
je 0x5a0a8b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5a0a8b
mov eax, dword [0x6dd348]
cmp eax, ebx
je 0x5a0a8b
push eax
call fcn.00590c0d
pop ecx
test eax, eax
je 0x5a0a8b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6dd340]
call fcn.00590c0d
pop ecx
test eax, eax
je 0x5a0aab
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5a0aad
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret