joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4325f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f4284]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4f51e0], 0
jne 0x432734
mov eax, dword [0x4f51dc]
test eax, eax
jne 0x432639
push 0x18
call fcn.0049d3c0
add esp, 4
test eax, eax
je 0x432632
push eax
call fcn.00432160
add esp, 4
jmp 0x432634
xor eax, eax
mov dword [0x4f51dc], eax
test byte [0x4f407c], 1
je 0x432734
cmp dword [eax + 0x14], 8
jb 0x43264e
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x4f51e0], eax
cmp eax, 0xffffffff
je 0x432676
test eax, eax
jne 0x432734
xor eax, eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x432724
cmp eax, 0x104
ja 0x432724
mov ecx, dword [0x4f51dc]
invalid
test esp, esi
std
invalid

Function at 0x432780
Capabilities:
Enumerate pe sections

Disassembly:
and al, 8
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4327b9
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4327a0
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4327b1
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4327bb
inc edi
add eax, 0x28
cmp edi, esi
jb 0x432796
xor eax, eax
pop edi
pop esi
ret

Function at 0x432b20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0043274e
push eax
push esi
push dword [ebp + 8]
call fcn.00432703
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0043274e
push eax
push esi
push dword [ebp + 8]
call fcn.00432703
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0043273e
movsb byte es:[edi], byte [esi]
div byte [eax + 0x7c9d88a2]
invalid
Function at 0x433300
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsd dword es:[edi], dword [esi]
invalid
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.0043274e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00432703
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.0043273e
mov cl, 0x8f
jnp 0x4332e5
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.0043274e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00432703
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.0043273e
dec ebx
mov bl, 0x88
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x433432
cmp dword [ebp - 0x398], 0
je 0x4335fc
cmp dword [ebp + 0xc], 1
je 0x4335fc
cmp dword [ebp + 0xc], 8
jne 0x4335c4
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.0043274e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00432703
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
invalid
test dword [ecx + edi*8 - 1], esp
Function at 0x433b20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cld
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.004326af
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x433b4b
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x433b94
add cl, bh
invalid
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x433b3e
call fcn.0043273e
xchg ecx, eax
push ss
jnp 0x433b4d
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0043273e
bound edx, qword [ecx]
push esi
adc cl, byte [ebp - 0x72b7b]
call dword [eax - 0x18]
pop ss
jmp 0x433c35
invalid
Function at 0x434750
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp - 0x380], 0xffffffff
je 0x434788
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x43478d
jmp 0x4340e0
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x4347d4
lea eax, [ebp - 0x714]
push eax
call fcn.0043274e
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00432703
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x4347df
jmp 0x4347e4
jmp 0x4340e0

Function at 0x435ea0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4f4284]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4f5218], 0
je 0x435ec9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
push 0x20
call fcn.0049d3c0
add esp, 4
test eax, eax
je 0x435ee7
push 0
mov ecx, eax
call fcn.00434840
mov dword [0x4f5218], eax
jmp 0x435ef1
mov dword [0x4f5218], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041606d
mov ecx, dword [0x4f5218]
lea eax, [ebp - 0x1c]
push eax
call fcn.00436350
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x435f24
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.004329f0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret

Function at 0x436350
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4f4284]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], cx
lea ecx, [ebp - 0x1c]
push ecx
push 3
push eax
mov dword [ebp - 0xc], 0
call fcn.00443310
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x4363c8
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
cmovae eax, dword [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, edi
push esi
push dword [ebp - 0x20]
call fcn.004360a0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x4363dd
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.004329f0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret 4
Function at 0x4372d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x4372e3
mov edi, dword [edi]
lea eax, [ebp - 4]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x4372f9
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
lea ecx, [ebp - 0x14]
call fcn.004375a0
push ebx
push 0
push eax
lea esi, [eax + ebx]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], esi
call fcn.004a0ee0
add esp, 0xc
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
push esi
push ebx
push dword [ebp - 4]
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x437387
lea eax, [ebp - 8]
mov dword [ebp + 8], 0
push eax
lea eax, [ebp + 8]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x437387
mov esi, dword [ebp + 8]
test esi, esi
je 0x437387
push 0x1c
call fcn.0049d3c0
add esp, 4
test eax, eax
je 0x437387
movzx ecx, word [esi + 2]
push ecx
movzx ecx, word [esi]
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.004371e0
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00421057
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
xor esi, esi
call fcn.00421057
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437440
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4f4284]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push edi
mov edi, ecx
mov dword [ebp - 0x228], eax
movzx eax, word [edi + 0x14]
mov word [ebp - 0x18], ax
movzx eax, word [edi + 0x16]
mov word [ebp - 0x16], ax
call esi
mov word [ebp - 0x14], ax
movzx eax, word [edi + 0x16]
mov word [ebp - 0x12], ax
movzx eax, word [edi + 0x14]
mov word [ebp - 0x10], ax
mov eax, 0x4e4
mov word [ebp - 0xe], ax
call esi
mov word [ebp - 0xc], ax
xor esi, esi
mov eax, 0x4e4
mov word [ebp - 0xa], ax
nop word [eax + eax]
movzx eax, word [ebp + esi*2 - 0x16]
movzx ecx, word [ebp + esi*2 - 0x18]
add esi, 2
push ebx
push eax
push ecx
push str.StringFileInfo_04x_04x_ls
push 0x104
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.0042eb9c
add esp, 0x1c
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push dword [edi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x437513
mov edx, dword [ebp - 0x224]
test edx, edx
jne 0x43752d
cmp esi, 8
jb 0x4374b0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret 8
cmp word [edx], 0
jne 0x437557
mov ecx, dword [ebp - 0x228]
xor eax, eax
push eax
push edx
call fcn.0041b79d
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret 8
mov eax, edx
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437560
mov ecx, dword [ebp - 0x228]
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.0041b79d
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret 8
Function at 0x4399b0
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00439290
test al, al
jne 0x439a22
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00439290
test al, al
jne 0x439a22
cmp dword [edi + 0x10], 0x104
jae 0x439a22
cmp dword [esi + 0x10], 0x104
jae 0x439a22
cmp dword [esi + 0x14], 8
jb 0x4399eb
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x4399f3
mov edi, dword [edi]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x439a22
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x439a22
test al, 1
je 0x439a1c
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
mov al, 1
pop esi
pop ebp
ret
pop edi
xor al, al
pop esi
pop ebp
ret

Function at 0x439a30
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4f4284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], 0
cmp dword [esi + 0x14], 8
jb 0x439a5a
mov ebx, dword [esi]
jmp 0x439a5c
mov ebx, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x439a9c
test al, 0x10
je 0x439a7f
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x439a89
mov dword [edi], 0xfffffff7
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00438610
cmp dword [esi + 0x14], 8
jb 0x439ab1
mov ecx, dword [esi]
jmp 0x439ab3
mov ecx, esi
push dword [esi + 0x10]
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
push ecx
cmovae eax, dword [ebp - 0x1c]
push dword [ebp - 0xc]
push eax
call fcn.0042013b
add esp, 0x10
test eax, eax
jne 0x439ae0
test edi, edi
je 0x439b2a
mov dword [edi], 0xfffffffc
xor bl, bl
jmp 0x439b30
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.00439a30
add esp, 8
test al, al
je 0x439b2a
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x439b2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xb7
jne 0x439b1b
push esi
call fcn.0043a330
add esp, 4
test al, al
jne 0x439b2e
test edi, edi
je 0x439b2a
push ebx
call fcn.00452d30
add esp, 4
mov dword [edi], eax
xor bl, bl
jmp 0x439b30
mov bl, 1
lea ecx, [ebp - 0x1c]
call fcn.00434920
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
Function at 0x439e80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x4f4284]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x450], 0
jb 0x439ead
mov eax, dword [eax]
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0x4d3e5c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x439ed8
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x104
ja 0x439f93
test eax, eax
je 0x439f93
xor ecx, ecx
mov dword [ebp - 0x420], 7
push eax
lea eax, [ebp - 0x41c]
mov word [ebp - 0x434], cx
push eax
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x424], 0
call fcn.0041b79d
sub esp, 8
lea eax, [ebp - 0x434]
cmp dword [ebp - 0x420], 8
lea ecx, [ebp - 0x44c]
mov edx, esp
cmovae eax, dword [ebp - 0x434]
mov dword [edx], eax
mov eax, dword [ebp - 0x424]
mov dword [edx + 4], eax
call fcn.004379f0
push eax
mov ecx, esi
call fcn.00437ad0
lea ecx, [ebp - 0x44c]
call fcn.00434920
lea ecx, [ebp - 0x434]
call fcn.00434920
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
sub esp, 8
lea eax, [ebp - 0x210]
mov edx, esp
mov dword [edx], eax
cmp word [ebp - 0x210], 0
jne 0x439fae
xor eax, eax
jmp 0x439fc6
lea eax, [ebp - 0x210]
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439fb7
sub eax, edi
sar eax, 1
lea ecx, [ebp - 0x44c]
mov dword [edx + 4], eax
call fcn.004379f0
push eax
mov ecx, esi
call fcn.00437ad0
lea ecx, [ebp - 0x44c]
call fcn.00434920
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
Function at 0x43a030
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x528
mov eax, dword [0x4f4284]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x528]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push 3
push 0
push eax
call fcn.004469e0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x528]
call fcn.00446c20
cmp dword [ebp - 0xc], 0
je 0x43a151
mov bl, byte [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x528]
call fcn.00446b30
mov ecx, dword [ebp - 0x284]
test cl, 1
je 0x43a0cc
test bl, bl
jne 0x43a0b6
lea ecx, [ebp - 0x284]
call fcn.00446c10
test al, al
jne 0x43a0cc
mov ecx, dword [ebp - 0x284]
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
and ecx, 0xfffffffe
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x284]
call fcn.00446c10
test al, al
je 0x43a106
test bl, bl
je 0x43a11c
push 1
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0043a030
add esp, 0xc
test al, al
je 0x43a179
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call edi
jmp 0x43a118
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x43a179
lea ecx, [ebp - 0x284]
call fcn.004474c0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x528]
call fcn.00446c20
push eax
lea ecx, [ebp - 0x1c]
call fcn.00437ad0
lea ecx, [ebp - 0x34]
call fcn.00434920
cmp dword [ebp - 0xc], 0
jne 0x43a080
lea ecx, [ebp - 0x1c]
call fcn.00434920
mov bl, 1
lea ecx, [ebp - 0x528]
call fcn.00446ab0
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x284]
call fcn.004474c0
lea ecx, [ebp - 0x1c]
call fcn.00434920
xor bl, bl
jmp 0x43a15b
Function at 0x43a190
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4f4284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x43a1c3
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
cmp eax, 0x104
jae 0x43a318
push esi
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.004383d0
push 2
push 0
push 0x4d792c
mov ecx, eax
call fcn.004370a0
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00434920
cmp esi, 0xffffffff
pop esi
je 0x43a241
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.004383d0
push dword [ebp + 0xc]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00438610
push eax
call fcn.0043a030
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00434920
lea ecx, [ebp - 0x34]
call fcn.00434920
pop edi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x14], 8
jb 0x43a24b
mov eax, dword [edi]
jmp 0x43a24d
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
je 0x43a1b1
test al, 1
je 0x43a286
cmp dword [edi + 0x14], 8
jb 0x43a26e
mov ecx, dword [edi]
jmp 0x43a270
mov ecx, edi
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43a318
mov eax, dword [ebp - 0x3c]
test al, 0x10
jne 0x43a2af
cmp dword [edi + 0x14], 8
jb 0x43a292
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
pop edi
sbb eax, eax
neg eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], bl
je 0x43a2dc
push 0x4d7934
lea ecx, [ebp - 0x1c]
call fcn.0041606d
mov ebx, 1
lea eax, [ebp - 0x1c]
push ebx
push eax
push edi
call fcn.0043a030
add esp, 0xc
mov byte [ebp - 0x35], 0
test al, al
je 0x43a2e0
mov byte [ebp - 0x35], 1
test bl, 1
je 0x43a2ed
lea ecx, [ebp - 0x1c]
call fcn.00434920
cmp byte [ebp - 0x35], 0
je 0x43a318
cmp dword [edi + 0x14], 8
jb 0x43a2fb
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
pop edi
sbb eax, eax
neg eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x43a33e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43a352
shr eax, 4
and eax, 1
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x43a360
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4f4284]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x43a42e
cmp eax, 0x104
ja 0x43a42e
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0041606d
lea eax, [ebp - 0x23c]
push eax
sub esp, 8
lea eax, [ebp - 0x224]
cmp dword [ebp - 0x210], 8
lea ecx, [ebp - 0x254]
mov edx, esp
cmovae eax, dword [ebp - 0x224]
mov dword [edx], eax
mov eax, dword [ebp - 0x214]
mov dword [edx + 4], eax
call fcn.004379f0
mov ecx, eax
call fcn.00439400
push eax
mov ecx, esi
call fcn.00437ad0
lea ecx, [ebp - 0x23c]
call fcn.00434920
lea ecx, [ebp - 0x254]
call fcn.00434920
lea ecx, [ebp - 0x224]
call fcn.00434920
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret

Function at 0x43a500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4f4284]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x43a5ab
cmp word [ebp - 0x20c], 0
je 0x43a5ab
sub esp, 8
lea eax, [ebp - 0x20c]
mov edx, esp
mov dword [edx], eax
cmp word [ebp - 0x20c], 0
jne 0x43a570
xor ecx, ecx
mov dword [edx + 4], ecx
mov ecx, esi
call fcn.004379f0
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20c]
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a580
sub ecx, edi
sar ecx, 1
mov dword [edx + 4], ecx
mov ecx, esi
call fcn.004379f0
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x224]
call fcn.00437a50
lea eax, [ebp - 0x224]
push eax
call fcn.0043a610
add esp, 4
mov ecx, esi
test al, al
je 0x43a5d9
lea eax, [ebp - 0x224]
push eax
call fcn.00437990
jmp 0x43a5f0
sub esp, 8
mov eax, esp
mov dword [eax], 0x4d7938
mov dword [eax + 4], 3
call fcn.004379f0
lea ecx, [ebp - 0x224]
call fcn.00434920
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret