joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e2d4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00476ee4
mov ebx, eax
test esi, esi
je 0x46e30d
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x46e2fa
movzx eax, word [eax]
jmp 0x46e301
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
je 0x46e30d
test bl, bl
jne 0x46e313
jmp 0x46e370
xor esi, esi
test bl, bl
jne 0x46e361
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x46e322
movzx eax, word [eax]
jmp 0x46e327
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x14]
movzx eax, ax
mov edx, dword [ecx]
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x46e352
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x46e34b
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x46e2e0
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x46e2e0
mov ecx, edi
call fcn.00476ee4
mov ebx, eax
test esi, esi
jne 0x46e379
jmp 0x46e36a
mov ecx, edi
call fcn.00476ee4
mov ebx, eax
test bl, bl
jne 0x46e398
jmp 0x46e39e
mov ecx, edi
call fcn.00476ee4
mov ebx, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x46e386
movzx eax, word [eax]
jmp 0x46e38d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
sete al
xor bl, al
jne 0x46e39e
mov eax, dword [ebp + 0x10]
or byte [eax], 2
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x47b180
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
cmp dword [0x63bd90], 0
jne 0x47b216
push 0x1c
call fcn.00590936
add esp, 4
mov esi, eax
push 0xc
call fcn.00590936
add esp, 4
mov dword [esi], eax
lea ecx, [eax + 0xc]
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
lea eax, [esi + 0x10]
mov dword [0x63bd90], esi
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x47b20b
cmp word [eax], 0
je 0x47b20b
xor ebx, ebx
nop dword [eax]
cmp word [eax + ebx*2 + 2], 0
lea ebx, [ebx + 1]
jne 0x47b200
mov ecx, esi
push ebx
push eax
call fcn.0047b220
mov bl, 1
mov eax, ebx
pop esi
pop ebx
pop ebp
ret
Function at 0x47b220
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov edx, dword [0x63a1e8]
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea ebx, [ebp - 0x20]
xor edx, ebp
mov dword [ebp - 0x10], edx
push 3
push ecx
push eax
push ebx
call fcn.00488cd0
add esp, 0x10
cmp dword [ebp - 0x1c], 0
je 0x47b40b
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x14], 0
push 0x800
push 0
push str.api_ms_win_downlevel_shell32_l1_1_0.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp - 0x30], eax
je 0x47b294
push 0x5c6d66
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47b2a3
mov ecx, eax
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
jmp 0x47b29f
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
jmp 0x47b2a5
xor esi, esi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
test eax, eax
je 0x47b3a8
cmp eax, 0x15555556
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], edi
jae 0x47b42b
mov ebx, eax
shl ebx, 2
lea edi, [ebx + ebx*2]
push edi
call fcn.00590936
add esp, 4
mov dword [ebp - 0x1c], eax
mov esi, eax
mov dword [ebp - 0x20], eax
add eax, edi
mov edi, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
jmp 0x47b334
test ebx, ebx
mov eax, esi
mov byte [esi + 0xb], bl
je 0x47b320
mov ecx, ebx
mov dword [ebp - 0x24], eax
add ecx, ebx
push ecx
push dword [ebp - 0x34]
push eax
call fcn.00594260
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov word [eax + ebx*2], 0
mov eax, dword [ebp - 0x38]
add esi, 0xc
add eax, 4
add edi, 0xfffffffc
je 0x47b39c
mov dword [ebp - 0x38], eax
mov eax, dword [eax]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x34], eax
push eax
call fcn.005ab4c4
add esp, 4
cmp eax, 0x7ffffff0
jae 0x47b41f
mov ebx, eax
cmp eax, 5
jb 0x47b300
mov dword [ebp - 0x24], edi
lea edi, [ebx + 8]
and edi, 0xfffffff8
js 0x47b426
lea eax, [edi + edi]
push eax
call fcn.00590936
add esp, 4
or edi, 0x80000000
mov dword [esi], eax
mov dword [esi + 8], edi
mov edi, dword [ebp - 0x24]
mov dword [esi + 4], ebx
jmp 0x47b309
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
lea ebx, [ebp - 0x20]
mov ecx, edi
push ebx
call fcn.0047aeb0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x47b3c5
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x47b40b
mov eax, dword [ebp - 0x1c]
cmp eax, esi
jne 0x47b3e6
mov eax, esi
jmp 0x47b3ff
cmp esi, edi
mov eax, edi
je 0x47b3fc
cmp byte [eax - 1], 0
lea edi, [eax - 0xc]
jns 0x47b3e0
push dword [eax - 0xc]
call fcn.005909b6
add esp, 4
jmp 0x47b3e0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], esi
push eax
call fcn.005909b6
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, esi
call fcn.00477ba4
call fcn.005a471a
lea ecx, [ebp - 0x20]
call fcn.00479c7c
int3
Function at 0x482100
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x63a1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.0047b440
mov esi, eax
mov ecx, eax
push 0x5ca10b
call fcn.0047b840
test al, al
jne 0x48213e
mov ecx, esi
push str.vmodule
call fcn.0047b840
test al, al
je 0x4821d0
cmp dword [0x63bda0], 0
jne 0x48229b
mov eax, dword [0x63bda4]
mov dword [0x63bda0], eax
push 0x10
call fcn.00590936
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], str.vmodule
push str.vmodule
call fcn.005ab290
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x1c]
mov ecx, esi
push eax
push edx
call fcn.0047b8b0
mov dword [ebp - 0x38], 0x5ca10b
push 0x5ca10b
call fcn.005ab290
add esp, 4
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
lea ebx, [ebp - 0x30]
mov ecx, esi
push eax
push ebx
call fcn.0047b8b0
mov ecx, edi
push 0x63bda8
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.004d0d40
cmp byte [ebp - 0x25], 0
mov dword [0x63bda4], edi
js 0x482211
cmp byte [ebp - 0x11], 0
js 0x482222
mov esi, dword [ebp + 8]
mov bl, 1
mov eax, dword [esi]
test al, 1
mov dword [0x639220], eax
je 0x482287
mov eax, dword [0x63bdbc]
test eax, eax
je 0x48222f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x63bdac]
mov dword [0x63bdbc], 0
test ecx, ecx
jne 0x48225e
and byte [0x639220], 0xfe
jmp 0x482239
push dword [ebp - 0x30]
call fcn.005909b6
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x4821d0
push dword [ebp - 0x1c]
call fcn.005909b6
add esp, 4
jmp 0x4821d0
mov ecx, dword [0x63bdac]
test ecx, ecx
jne 0x48225e
push 0xc
call fcn.00590936
add esp, 4
mov ecx, eax
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [0x63bdac], eax
push dword [esi + 4]
call fcn.00478ea0
cmp dword [esi + 0xc], 0
jne 0x482280
mov eax, dword [0x63bdac]
cmp byte [eax + 0xb], 0
jns 0x482279
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004822a0
mov ebx, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
int3
Function at 0x4822a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x63a1e8]
mov bl, 1
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x63bdbc], 0
jne 0x48249c
mov esi, dword [0x63bdac]
test esi, esi
je 0x4822e1
test byte [0x639220], 1
jne 0x4823c6
jmp 0x48249c
push 0xc
call fcn.00590936
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push edi
call fcn.005ab4c4
add esp, 4
cmp eax, 0x7ffffff0
jae 0x4824b3
mov ebx, eax
cmp eax, 5
jae 0x48233b
mov eax, esi
test ebx, ebx
mov byte [esi + 0xb], bl
jne 0x482367
jmp 0x48237a
lea edi, [ebx + 8]
and edi, 0xfffffff8
js 0x4824ba
lea eax, [edi + edi]
push eax
call fcn.00590936
add esp, 4
or edi, 0x80000000
mov dword [esi], eax
mov dword [esi + 8], edi
mov dword [esi + 4], ebx
lea edi, [ebp - 0x218]
mov ecx, ebx
add ecx, ebx
push ecx
push edi
push eax
mov edi, eax
call fcn.00594260
mov eax, edi
add esp, 0xc
mov word [eax + ebx*2], 0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x48238b
mov eax, dword [esi + 4]
mov ecx, esi
push eax
push 0x5c
call fcn.00479364
cmp eax, 0xffffffff
mov bl, 1
je 0x4823a7
inc eax
mov ecx, esi
push 0xffffffffffffffff
push eax
call fcn.00478fde
mov ecx, esi
push 0x5c6f74
call fcn.00478d1c
mov dword [0x63bdac], esi
test byte [0x639220], 1
je 0x48249c
cmp byte [esi + 0xb], 0
jns 0x4823ce
mov esi, dword [esi]
push 0
push 0x80
push 4
push 0
push 3
push 4
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x63bdbc], eax
inc eax
cmp eax, 1
ja 0x48249c
lea esi, [ebp - 0x218]
mov word [ebp - 0x218], 0
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x48249a
cmp eax, 0x104
ja 0x48249a
mov ecx, dword [0x63bdac]
push esi
call fcn.00478ea0
mov ecx, dword [0x63bdac]
movzx eax, byte [ecx + 0xb]
test al, al
js 0x48243b
mov edx, ecx
jmp 0x482440
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x482458
push 0x5bf90a
call fcn.00478d1c
mov ecx, dword [0x63bdac]
push 0x5c6f74
call fcn.00478d1c
mov eax, dword [0x63bdac]
cmp byte [eax + 0xb], 0
jns 0x48246f
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 [0x63bdbc], eax
inc eax
cmp eax, 1
ja 0x48249c
mov dword [0x63bdbc], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.00477ba4
call fcn.005a471a
int3
Function at 0x48c580
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1408
call fcn.00590e80
mov eax, dword [0x63a1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x639240]
cmp eax, 0xffffffff
je 0x48c6cf
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x48c6cf
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.00594260
add esp, 0xc
mov ecx, dword [0x639240]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.004dd2d0
add esp, 8
test ebx, ebx
je 0x48c5fb
push ebx
call fcn.005909ec
add esp, 4
mov ecx, dword [0x63e310]
mov edx, dword fs:[0x2c]
mov eax, dword [0x63ca98]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x48c6e4
mov esi, dword [0x63ca94]
mov ecx, esi
call fcn.00494c80
lea eax, [ebp - 0x1410]
push 0xc00
push 0x63be94
push eax
call fcn.00594260
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0x100
mov al, 1
jmp 0x48c668
cmp esi, 2
lea esi, [esi - 1]
jb 0x48c6bf
test al, 1
je 0x48c6bf
mov ebx, 0xfffff400
xor eax, eax
lea edi, [ebp - 0x810]
jmp 0x48c688
add edi, 8
add ebx, 0xc
je 0x48c660
mov ecx, dword [edi]
test ecx, ecx
je 0x48c680
cmp dword [ebp + ebx - 0x810], 0
je 0x48c680
mov edx, dword [edi + 4]
cmp edx, dword [ebp + ebx - 0x808]
jne 0x48c680
mov edx, dword [ebp + ebx - 0x80c]
test edx, edx
je 0x48c680
mov dword [edi], 0
push ecx
call edx
add esp, 4
mov al, 1
jmp 0x48c680
push 2
push dword [ebp - 0x1414]
call fcn.004dd2d0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
add esp, 0x1408
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x63ca98
call fcn.00590a37
add esp, 4
cmp dword [0x63ca98], 0xffffffff
jne 0x48c61c
push 4
call fcn.00590936
add esp, 4
mov ecx, eax
mov esi, eax
call fcn.004469f0
mov dword [0x63ca94], esi
push 0x63ca98
call fcn.00590aad
add esp, 4
jmp 0x48c61c

Function at 0x48c730
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x639240]
cmp eax, 0xffffffff
je 0x48c750
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x48c760
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [0x639240]
mov esi, ecx
cmp eax, 0xffffffff
je 0x48c77d
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x48c782
call fcn.0048c870
mov ecx, dword [0x63e310]
mov edx, dword fs:[0x2c]
mov eax, dword [0x63ca98]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x48c822
mov edi, dword [0x63ca94]
mov ecx, edi
call fcn.00494c80
mov eax, dword [0x63be90]
mov ecx, 0x100
inc eax
nop dword [eax + eax]
movzx edx, al
lea ebx, [edx + edx*2]
cmp dword [ebx*4 + 0x63be94], 0
je 0x48c7d6
inc eax
dec ecx
jne 0x48c7c0
jmp 0x48c806
mov ecx, dword [ebp + 8]
lea eax, [ebx*4 + 0x63be94]
mov dword [0x63be90], edx
mov dword [eax], 1
lea eax, [edx*4]
mov dword [eax + eax*2 + 0x63be98], ecx
mov dword [esi], edx
mov eax, dword [eax + eax*2 + 0x63be9c]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x48c867
cmp eax, 0x100
jge 0x48c86a
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x63ca98
call fcn.00590a37
add esp, 4
cmp dword [0x63ca98], 0xffffffff
jne 0x48c7a3
push 4
call fcn.00590936
add esp, 4
mov ecx, eax
mov edi, eax
call fcn.004469f0
mov dword [0x63ca94], edi
push 0x63ca98
call fcn.00590aad
add esp, 4
jmp 0x48c7a3
int3
int3

Function at 0x48c870
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x808
mov eax, dword [0x63a1e8]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [0x639240]
cmp eax, 0xffffffff
mov dword [ebp - 0x810], eax
jne 0x48c90e
lea esi, [ebp - 0x810]
push esi
call fcn.004dd2a0
add esp, 4
test al, al
je 0x48c98f
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x48c8e5
push esi
call fcn.004dd2a0
add esp, 4
test al, al
je 0x48c992
cmp dword [ebp - 0x810], 0xffffffff
je 0x48c992
push 0xffffffffffffffff
call fcn.004dd2c0
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x639240], ecx
mov eax, dword [ebp - 0x810]
je 0x48c90e
push eax
call fcn.004dd2c0
add esp, 4
mov eax, dword [0x639240]
mov dword [ebp - 0x810], eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x48c98c
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.00594d60
add esp, 0xc
lea eax, [ebp - 0x809]
push eax
push dword [ebp - 0x810]
call fcn.004dd2d0
add esp, 8
push 0x800
call fcn.005909e3
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.00594260
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x810]
call fcn.004dd2d0
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005909f1
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebp
ret
int3
int3
int3
Function at 0x4909d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x63a1e8]
mov ebx, dword [ebp + 0xc]
lea edi, [esp + 8]
xor eax, ebp
mov dword [esp + 0x58], eax
push 0x4d
push str..._.._base_file_version_info_win.cc
push str.CreateFileVersionInfoWin
push edi
call fcn.004820c0
add esp, 0x10
lea ecx, [esp + 0x18]
push 0
push edi
call fcn.004d05f0
cmp byte [ebx + 0xb], 0
jns 0x490a17
mov ebx, dword [ebx]
mov edi, dword [ebp + 8]
lea eax, [esp + 4]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x490b48
mov esi, eax
test eax, eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp], ebx
mov dword [esp + 0x10], 0
js 0x490b6c
push esi
call fcn.00590936
add esp, 4
mov edi, esi
mov ebx, eax
mov dword [esp + 8], eax
add edi, eax
mov dword [esp + 0x10], edi
push esi
push 0
push eax
call fcn.00594d60
add esp, 0xc
mov dword [esp + 0xc], edi
push ebx
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
xor edi, edi
test eax, eax
je 0x490b2a
mov eax, dword [esp + 8]
lea ecx, [esp + 0x50]
lea ebx, [esp + 0x54]
mov dword [esp + 0x54], 0
push ecx
push ebx
push str.VarFileInfoTranslation
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x490b2a
mov esi, dword [esp + 0x54]
test esi, esi
je 0x490b2a
push 0x1c
call fcn.00590936
add esp, 4
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x54], 0
mov dword [edi], 0x5c7210
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
lea eax, [esp + 0x50]
push eax
push ebx
push 0x5c7406
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x490b75
mov eax, dword [esp + 0x54]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov edi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x490b4e
mov dword [esp + 0xc], eax
push eax
call fcn.005909b6
add esp, 4
jmp 0x490b4e
mov dword [edi], 0
lea ecx, [esp + 0x18]
call fcn.004d06e0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.005909f1
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 8]
call fcn.00479c7c
int3
Function at 0x490d60
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x224
mov eax, dword [0x63a1e8]
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 0x16]
mov dword [ebp - 0x230], eax
call edi
mov word [ebp - 0x224], ax
movzx eax, word [esi + 0x16]
mov dword [ebp - 0x22c], eax
movzx eax, word [esi + 0x14]
mov dword [ebp - 0x228], eax
call edi
lea edi, [ebp - 0x218]
mov word [ebp - 0x222], ax
push dword [ebp + 8]
push ebx
push dword [ebp - 0x230]
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push edi
call fcn.00490f60
add esp, 0x1c
lea ebx, [ebp - 0x220]
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x21c]
push ebx
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x490e17
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x490e17
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x490f2b
movzx eax, word [ebp - 0x224]
push dword [ebp + 8]
push dword [ebp - 0x22c]
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push edi
call fcn.00490f60
add esp, 0x1c
mov dword [ebp - 0x21c], 0
push ebx
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x490e77
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x490e77
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x490f2b
push dword [ebp + 8]
push 0x4e4
push dword [ebp - 0x228]
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push edi
call fcn.00490f60
add esp, 0x1c
mov dword [ebp - 0x21c], 0
push ebx
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x490ed0
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x490ed0
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x490f2b
movzx eax, word [ebp - 0x222]
push dword [ebp + 8]
push 0x4e4
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push edi
call fcn.00490f60
add esp, 0x1c
mov dword [ebp - 0x21c], 0
push ebx
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x490f51
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x490f51
mov edx, dword [ebp - 0x220]
test edx, edx
je 0x490f51
mov ecx, dword [ebp + 0xc]
dec edx
push edx
push eax
call fcn.00478820
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
mov eax, ebx
add esp, 0x224
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor ebx, ebx
jmp 0x490f38
Function at 0x4914b0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
movzx edx, byte [ebp + 0xc]
pop ebp
jmp fcn.00491130

Function at 0x4914c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x458
mov eax, dword [0x63a1e8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ebx, [esp + 0x248]
xor eax, ebp
mov dword [esp + 0x450], eax
push 0x19a
push str..._.._base_files_file_util_win.cc
push 0x5c7441
push ebx
call fcn.004820c0
add esp, 0x10
lea ecx, [esp + 8]
push 0
push ebx
call fcn.004d05f0
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x491518
mov eax, dword [esi]
push 0x104
push eax
push ebx
call fcn.00489910
add esp, 0xc
push ebx
call fcn.00413500
add esp, 4
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x49153a
mov eax, dword [edi]
lea ebx, [esp + 0x40]
push 0x104
push eax
push ebx
call fcn.00489910
add esp, 0xc
push ebx
call fcn.00413500
add esp, 4
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x491560
mov eax, dword [esi]
cmp byte [edi + 0xb], 0
mov ecx, edi
jns 0x49156a
mov ecx, dword [edi]
push 0
push 0
push 2
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov bl, 1
test eax, eax
jne 0x4915c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00492460
add esp, 4
cmp byte [edi + 0xb], 0
jns 0x491597
mov edi, dword [edi]
cmp byte [esi + 0xb], 0
mov dword [esp + 4], eax
jns 0x4915a3
mov esi, dword [esi]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4915c8
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4915c6
mov eax, dword [esp + 4]
cmp eax, 0xfffffffc
jne 0x4915c4
call fcn.00492440
mov dword [esi], eax
xor ebx, ebx
lea ecx, [esp + 8]
call fcn.004d06e0
mov ecx, dword [esp + 0x450]
xor ecx, ebp
call fcn.005909f1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [0x63a1e8]
mov edi, dword [ebp + 8]
mov ebx, esp
xor eax, ebp
mov dword [esp + 0x48], eax
push 0x1cd
push str..._.._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.004820c0
add esp, 0x10
lea esi, [esp + 0x10]
mov ecx, esi
push 0
push ebx
call fcn.004d05f0
cmp byte [edi + 0xb], 0
jns 0x49163a
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov ecx, esi
setne bl
call fcn.004d06e0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.005909f1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret