joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431f30
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x830
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x82c], eax
mov eax, dword [esp + 0x844]
push ebx
mov ebx, dword [esp + 0x844]
push ebp
mov ebp, dword [esp + 0x83c]
push esi
mov esi, dword [esp + 0x848]
push edi
mov edi, dword [esp + 0x848]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], eax
call fcn.0043e920
test eax, eax
je 0x4320ce
test esi, esi
je 0x431f92
cmp dword [esi], 0
mov byte [esp + 0x12], 1
jne 0x431f97
mov byte [esp + 0x12], 0
test ebx, ebx
je 0x431fa5
cmp dword [ebx], 0
mov byte [esp + 0x11], 1
jne 0x431faa
mov byte [esp + 0x11], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x431fbc
cmp dword [eax], 0
mov byte [esp + 0x13], 1
jne 0x431fc1
mov byte [esp + 0x13], 0
call fcn.0043e920
test eax, eax
je 0x431fe1
test edi, edi
je 0x431fe1
cmp word [edi], 0
je 0x431fe1
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x14], eax
jmp 0x431fec
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x4320e9
test al, 1
je 0x4320e9
push 0
push edi
push ebp
mov bl, 1
call fcn.00431610
push 0x400
lea ecx, [esp + 0x40]
push ecx
push edi
push ebp
call fcn.00451460
push 0
push 0x2000000
push 3
push 0
push 3
push 0x40000000
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4320ce
cmp byte [esp + 0x12], 0
je 0x432056
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
push eax
call fcn.0046cf30
cmp byte [esp + 0x11], 0
je 0x43206b
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0046cf30
cmp byte [esp + 0x13], 0
je 0x432080
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
call fcn.0046cf30
movzx eax, byte [esp + 0x12]
movzx edx, byte [esp + 0x13]
neg eax
sbb eax, eax
lea ecx, [esp + 0x34]
and eax, ecx
movzx ecx, byte [esp + 0x11]
neg edx
push eax
sbb edx, edx
lea eax, [esp + 0x28]
and edx, eax
push edx
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x34]
and ecx, edx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x4320ce
mov eax, dword [esp + 0x14]
push eax
push edi
push ebp
call fcn.00431610
mov ecx, dword [esp + 0x83c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a3c63
add esp, 0x830
ret 0x14
xor bl, bl
jmp 0x432008

Function at 0x4321f0
Capabilities:
Set file attributes

Disassembly:
call fcn.0043e920
test eax, eax
je 0x432219
mov eax, dword [esp + 8]
test eax, eax
je 0x432219
cmp word [eax], 0
je 0x432219
mov dword [esp + 8], 0
mov dword [esp + 4], eax
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 4]
test eax, eax
je 0x432233
mov dword [esp + 8], 0
mov dword [esp + 4], eax
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 8
Function at 0x432240
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
lea edx, [eax + 2]
jmp 0x432250
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432250
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, 6
ja 0x43226d
pop esi
xor eax, eax
pop ebx
ret 4
push ebp
push edi
call fcn.004a4f95
mov ebp, eax
xor edi, edi
jmp 0x432280
xor edx, edx
mov ecx, 0xf4240
lea eax, [edi + ebp]
div ecx
lea eax, [esi + ebx*2 - 0xc]
push edx
push str._06u
push eax
mov edx, 7
call fcn.0046b810
mov edx, 0x2e
add esp, 0xc
mov word [esi + ebx*2 - 8], dx
call fcn.0043e920
test eax, eax
je 0x4322dd
test esi, esi
je 0x4322dd
cmp word [esi], 0
je 0x4322dd
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
je 0x4322dd
cmp edi, 0x3e8
je 0x4322e6
inc edi
jmp 0x432280
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
ret 4
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
ret 4
Function at 0x4322f0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4b51e6
mov eax, dword fs:[0]
push eax
sub esp, 0xc34
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0xc30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ca3b0]
xor eax, esp
push eax
lea eax, [esp + 0xc48]
mov dword fs:[0], eax
mov edi, dword [esp + 0xc58]
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], edi
call fcn.00462ac0
xor ebp, ebp
mov dword [esp + 0xc50], ebp
mov esi, 0x10000
push esi
call fcn.004a3d3c
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebp
jne 0x432369
mov ecx, 0x4d56b4
call fcn.00428da0
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov byte [esp + 0xc50], 1
mov ecx, edi
xor esi, esi
or ebx, 0xffffffff
call fcn.00430400
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
cmp dword [0x4e7b84], esi
je 0x4323be
push 0x200
lea eax, [esp + 0x48]
push eax
call fcn.00485330
mov edx, dword [0x4e7b84]
push 0x200
lea ecx, [esp + 0x848]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0
push 0
mov ecx, edi
call fcn.00430a90
jmp 0x4323d4
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xc5c]
cmp eax, 0x7fffffff
jne 0x4323eb
cmp dword [esp + 0xc60], eax
je 0x4323fe
cmp dword [esp + 0xc60], 0
jl 0x432403
jg 0x4323fe
cmp eax, 0x10000
jbe 0x432403
mov eax, 0x10000
push eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, edi
call fcn.00430da0
mov edi, eax
test edi, edi
je 0x4324c8
add esi, 1
adc ebp, 0
mov eax, esi
and eax, 0xf
xor ecx, ecx
or eax, ecx
jne 0x432489
cmp dword [0x4e7b84], eax
je 0x432484
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push eax
push 0x10000
push ebp
push esi
call fcn.004a4ac0
push edx
push eax
call fcn.00469a10
push eax
push 0x51e
call fcn.00460a30
push eax
lea eax, [esp + 0x44c]
push eax
mov edx, 0x200
call fcn.0046b810
add esp, 0xc
lea ecx, [esp + 0x444]
push ecx
call fcn.00485350
call fcn.004859c0
call fcn.0046afb0
mov edx, dword [esp + 0x20]
push edi
push edx
push ebx
call fcn.00420800
mov ebx, eax
mov eax, 0x7fffffff
cmp dword [esp + 0xc5c], eax
jne 0x4324b2
cmp dword [esp + 0xc60], eax
je 0x4323d0
mov eax, edi
cdq
sub dword [esp + 0xc5c], eax
sbb dword [esp + 0xc60], edx
jmp 0x4323d0
cmp dword [0x4e7b84], 0
je 0x4324ed
lea eax, [esp + 0x44]
push eax
call fcn.00485350
lea ecx, [esp + 0x844]
push ecx
call fcn.004852e0
call fcn.004859c0
not ebx
mov esi, ebx
mov byte [esp + 0xc50], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43250a
push eax
call fcn.004a3dff
add esp, 4
mov dword [esp + 0xc50], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00462af0
mov eax, esi
mov ecx, dword [esp + 0xc48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc30]
xor ecx, esp
call fcn.004a3c63
add esp, 0xc40
ret 0x10
Function at 0x432570
Capabilities:
Delete file

Disassembly:
xor eax, eax
sub esp, 0x20
cmp dword [ecx + 0xc], eax
jbe 0x4325c8
mov dword [ecx + 0xc], eax
mov ecx, dword [ecx]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
lea edx, [esp]
mov eax, 0x54
push edx
mov dword [esp + 8], 3
mov word [esp + 0x14], ax
mov dword [esp + 0xc], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
add esp, 0x20
ret
mov al, 1
add esp, 0x20
ret
Function at 0x4325d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4b5236
mov eax, dword fs:[0]
push eax
mov eax, 0x1860
call fcn.004a4490
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x185c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ca3b0]
xor eax, esp
push eax
lea eax, [esp + 0x1874]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1884]
mov ebx, dword [esp + 0x1888]
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
call fcn.004300b0
xor ebp, ebp
mov dword [esp + 0x187c], ebp
push 1
push ebp
push ebx
push edi
lea ecx, [esp + 0x40]
call fcn.004304f0
test al, al
je 0x43271d
lea ecx, [esp + 0x30]
call fcn.00430400
mov edi, 0x10000
push edi
mov dword [esp + 0x20], eax
mov ebx, edx
call fcn.004a3d3c
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebp
jne 0x43267e
mov ecx, 0x4d56b4
call fcn.00428da0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x187c], 1
push edi
push ebp
push esi
call fcn.004a44c0
add esp, 0xc
xor edi, edi
test ebx, ebx
jl 0x4326d4
jg 0x4326b0
cmp dword [esp + 0x1c], edi
jbe 0x4326d4
jmp 0x4326b0
push 0x10000
push esi
lea ecx, [esp + 0x38]
call fcn.00430b70
add edi, 0x10000
adc ebp, 0
cmp ebp, ebx
jl 0x4326b0
jg 0x4326d4
cmp edi, dword [esp + 0x1c]
jb 0x4326b0
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
call fcn.00430a90
lea ecx, [esp + 0x30]
call fcn.004303a0
lea ecx, [esp + 0x30]
call fcn.00430130
mov byte [esp + 0x187c], 0
test esi, esi
je 0x432715
push esi
call fcn.004a3dff
add esp, 4
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0xc50]
push ecx
lea edx, [esp + 0x1468]
push edx
call fcn.00431930
test al, al
je 0x432774
call fcn.0043e920
test eax, eax
je 0x43275f
cmp word [esp + 0xc50], 0
je 0x43275f
lea eax, [esp + 0xc50]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
jmp 0x43279e
lea ecx, [esp + 0x1464]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne bl
jmp 0x43279e
call fcn.0043e920
test eax, eax
je 0x432790
test ebx, ebx
je 0x432790
cmp word [ebx], 0
je 0x432790
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x432797
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
mov bl, al
mov dword [esp + 0x187c], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.004304c0
mov al, bl
mov ecx, dword [esp + 0x1874]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x185c]
xor ecx, esp
call fcn.004a3c63
add esp, 0x186c
ret 8
Function at 0x4327e0
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4b5286
mov eax, dword fs:[0]
push eax
mov eax, 0x4178
call fcn.004a4490
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x4174], eax
push ebp
push esi
push edi
mov eax, dword [0x4ca3b0]
xor eax, esp
push eax
lea eax, [esp + 0x4188]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4198]
push esi
call fcn.00451360
test al, al
je 0x432a79
push esi
call fcn.004311b0
test al, al
je 0x432a79
movsx eax, byte [esi]
push eax
lea ecx, [esp + 0x3988]
push 0x4b9ff4
push ecx
call fcn.004a3c72
movsx edx, byte [esp + 0x3990]
add esp, 0xc
push edx
push 0x341
call fcn.00460a30
push eax
lea eax, [esp + 0x3d8c]
push eax
mov edx, 0x200
call fcn.0046b810
add esp, 0xc
lea ecx, [esp + 0x3d84]
push ecx
call fcn.00485350
lea ecx, [esp + 0x10]
call fcn.0046a800
mov dword [esp + 0x4190], 0
lea edx, [esp + 0x3984]
push edx
lea ecx, [esp + 0x14]
call fcn.0046a8a0
push 2
push 0
push 2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1568]
call fcn.00463200
mov byte [esp + 0x4190], 1
lea ecx, [esp + 0xccc]
call fcn.0046d1b0
lea ecx, [esp + 0xcf0]
call fcn.0046d1b0
lea ecx, [esp + 0xd14]
call fcn.0046d1b0
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x155c]
call fcn.00463d50
test eax, eax
jne 0x432a51
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov al, byte [esi]
cmp byte [esp + 0xb8], al
jne 0x432a51
cmp byte [esp + 0xb9], 0x3a
jne 0x432a51
mov cx, word [esp + 0x4b8]
test cx, cx
je 0x432967
movsx edx, al
movzx eax, cx
cmp eax, edx
jne 0x432a51
cmp word [esp + 0x4ba], 0x3a
jne 0x432a51
call fcn.0043e920
test eax, eax
je 0x432989
cmp word [esp + 0x4b8], 0
je 0x432989
push 0
lea ecx, [esp + 0x4bc]
push ecx
call edi
jmp 0x432995
push 0
lea edx, [esp + 0xbc]
push edx
call ebp
cmp byte [esp + 0xcc8], 0
je 0x4329d3
call fcn.0043e920
test eax, eax
je 0x4329c3
cmp word [esp + 0x4b8], 0
je 0x4329c3
lea eax, [esp + 0x4b8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x432a35
lea ecx, [esp + 0xb8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x432a35
call fcn.0043e920
test eax, eax
je 0x4329f7
cmp word [esp + 0x4b8], 0
je 0x4329f7
lea edx, [esp + 0x4b8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x432a05
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
test al, al
jne 0x432a35
lea ecx, [esp + 0x4b8]
push ecx
push 0x202
call fcn.00460a30
push eax
push 0
call fcn.00492ce0
add esp, 0xc
mov ecx, 0x4d56b4
call fcn.00428cd0
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x155c]
call fcn.00463d50
test eax, eax
je 0x432920
mov byte [esp + 0x4190], 0
lea ecx, [esp + 0x1558]
call fcn.004634b0
mov dword [esp + 0x4190], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401b00
mov ecx, dword [esp + 0x4188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x4174]
xor ecx, esp
call fcn.004a3c63
add esp, 0x4184
ret 4
Function at 0x4332b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push edi
push 0x10000
call fcn.004a3d3c
mov edi, eax
add esp, 4
test edi, edi
jne 0x4332cb
lea eax, [edi + 4]
pop edi
ret 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
xor ebp, ebp
push esi
cmp ebx, 0xffffffff
je 0x4332e1
cmp ebp, ebx
jae 0x43336f
call fcn.00446a80
cmp byte [0x4d56bc], 0
je 0x4332f8
cmp byte [0x4e8c4c], 0
jne 0x43333d
cmp ebx, 0xffffffff
je 0x433308
mov eax, ebx
sub eax, ebp
cmp eax, 0x10000
jb 0x43330d
mov eax, 0x10000
mov ecx, dword [esp + 0x14]
push ecx
push eax
push 1
push edi
call fcn.004a5982
mov esi, eax
add esp, 0x10
test esi, esi
je 0x433349
mov edx, dword [esp + 0x18]
push edx
push esi
push 1
push edi
call fcn.004a5f54
add esp, 0x10
cmp eax, esi
jne 0x433381
add ebp, esi
jmp 0x4332d4
pop esi
pop ebp
pop ebx
mov eax, 9
pop edi
ret 0xc
mov eax, dword [esp + 0x14]
push eax
call fcn.004a6fb4
add esp, 4
test eax, eax
je 0x43336f
push edi
call fcn.004a3dff
add esp, 4
pop esi
pop ebp
pop ebx
mov eax, 0xb
pop edi
ret 0xc
push edi
call fcn.004a3dff
add esp, 4
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
ret 0xc
push edi
call fcn.004a3dff
mov eax, dword [0x4d5708]
add esp, 4
push 0
push eax
push 0
push eax
mov ecx, 0x4d56b4
call fcn.00429400
pop esi
pop ebp
pop ebx
mov eax, 0xa
pop edi
ret 0xc
Function at 0x4333b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4b532b
mov eax, dword fs:[0]
push eax
mov eax, 0x1030
call fcn.004a4490
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x102c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ca3b0]
xor eax, esp
push eax
lea eax, [esp + 0x1044]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x105c]
mov ebp, dword [esp + 0x1054]
mov esi, dword [esp + 0x1058]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov ecx, ebx
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x433430
test dl, dl
je 0x43342c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x433430
add eax, 2
add ecx, 2
test dl, dl
jne 0x433410
xor eax, eax
jmp 0x433435
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4335ec
lea eax, [esp + 0xc40]
push eax
push 0x400
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
movsx ecx, byte [esp + 0xc40]
push ecx
call fcn.004a5405
add esp, 4
cmp byte [esp + 0xc40], 0x5c
mov edi, eax
je 0x4334b3
mov al, byte [ebx]
cmp al, 0x5c
je 0x4334b3
cmp byte [ebp], 0x5c
je 0x4334b3
movsx edx, al
push edx
call fcn.004a5405
mov esi, eax
movsx eax, byte [ebp]
push eax
call fcn.004a5405
mov cl, 0x3a
add esp, 8
cmp byte [ebx + 1], cl
je 0x43349f
mov esi, edi
cmp byte [ebp + 1], cl
je 0x4334a6
mov eax, edi
cmp esi, eax
mov esi, dword [esp + 0x18]
je 0x4334b3
mov byte [esp + 0x17], 1
push esi
push ebp
call fcn.00431510
test al, al
je 0x433515
lea ecx, [esp + 0x20]
call fcn.004300b0
mov dword [esp + 0x104c], 0
push 1
push 0
push esi
push ebp
lea ecx, [esp + 0x30]
call fcn.004304f0
test al, al
je 0x43356a
lea ecx, [esp + 0x20]
call fcn.00430130
test al, al
je 0x43356a
push esi
push ebp
call fcn.004317e0
test al, al
je 0x43356a
mov dword [esp + 0x104c], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004304c0
cmp byte [esp + 0x17], 0
jne 0x433533
push esi
push ebp
push 0
push ebx
call fcn.00431700
test al, al
sete al
test al, al
je 0x4335ec
push 0x4b8a34
push ebx
call fcn.004a70a7
add esp, 8
mov edi, eax
push 0
test edi, edi
jne 0x433585
mov ecx, dword [0x4d5704]
mov edx, dword [0x4d5708]
push ebx
push ecx
push edx
mov ecx, 0x4d56b4
call fcn.00429170
lea eax, [edi + 0xa]
jmp 0x4335ee
mov dword [esp + 0x104c], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004304c0
mov eax, 0xf
jmp 0x4335ee
push 0x4b8e04
push esi
push ebp
call fcn.00431ab0
mov esi, eax
test esi, esi
jne 0x4335a5
push edi
call fcn.004a5d25
add esp, 4
lea eax, [esi + 0xf]
jmp 0x4335ee
push 0
mov ecx, 0x4d56b4
call fcn.00428c50
push 0xffffffffffffffff
push esi
push edi
call fcn.004332b0
push edi
mov ebx, eax
call fcn.004a5d25
add esp, 4
push 1
mov ecx, 0x4d56b4
call fcn.00428c50
push esi
call fcn.004a5d25
add esp, 4
test eax, eax
jne 0x433618
test ebx, ebx
jne 0x433618
mov eax, dword [esp + 0x1c]
push eax
call fcn.00432550
xor eax, eax
mov ecx, dword [esp + 0x1044]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x102c]
xor ecx, esp
call fcn.004a3c63
add esp, 0x103c
ret 0xc
mov ecx, dword [esp + 0x18]
push ecx
push ebp
call fcn.004317e0
test ebx, ebx
je 0x43362e
mov eax, ebx
cmp ebx, 0xa
jne 0x4335ee
mov eax, 0xe
jmp 0x4335ee
Function at 0x437310
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x43738b
cmp eax, 0x40
jbe 0x437339
lea eax, [esi + 0x40]
push eax
push esi
call fcn.004698b0
mov dword [esi + 0x9c], 0x14
mov eax, dword [esi + 0x9c]
mov ecx, 0x40
sub ecx, eax
push ecx
add eax, esi
push 0
push eax
call fcn.004a44c0
add esp, 0xc
xor eax, eax
jmp 0x437360
xor dword [esi + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x437360
push edi
lea edi, [esi + 0x40]
push edi
call fcn.004697f0
push edi
push 0x40
push esi
call fcn.00469830
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4373a2
mov edx, dword [esp + 8]
add esi, 0x40
push esi
push eax
push edx
call fcn.00469830
pop esi
ret 0xc

Function at 0x4373b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x2c]
cmp dword [esi + 0x9c], 0xffffffff
je 0x4373db
push esi
push 0
push 0
call fcn.00437310
push edi
lea edi, [esi + 0x40]
push edi
lea eax, [esp + 0x10]
push eax
call fcn.004698b0
xor eax, eax
lea esp, [esp]
xor dword [esi + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x4373f0
push edi
call fcn.004697f0
push edi
push 0x40
push esi
call fcn.00469830
push edi
push 0x14
lea ecx, [esp + 0x14]
push ecx
call fcn.00469830
push edi
lea edx, [esp + 0x10]
push edx
call fcn.004698b0
mov eax, dword [esp + 0x2c]
pop edi
test eax, eax
jbe 0x43743c
push eax
lea eax, [esp + 0xc]
push eax
push ebx
call fcn.004a4540
add esp, 0xc
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.004a3c63
add esp, 0x18
ret 0xc
Function at 0x438ef0
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push esi
push 0x1000000
call fcn.004a4a54
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x438f15
pop esi
lea eax, [ebx + 1]
xor edx, edx
pop ebx
add esp, 0xc
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call ebp
mov dword [esp + 0x10], eax
mov edi, 0x800000
call ebp
sub eax, dword [esp + 0x10]
cmp eax, 0xc8
jae 0x43900a
mov ebp, 0x4000
jmp 0x438f50
and edi, 0xffffff
movzx eax, byte [edi + esi]
and ebx, 0xffffff
mov byte [ebx + esi], al
movzx ecx, al
xor byte [edi + esi], cl
lea eax, [edi - 0x100]
and eax, 0xffffff
movzx edx, byte [eax + esi]
lea ecx, [ebx - 0x100]
and ecx, 0xffffff
mov byte [ecx + esi], dl
movzx edx, dl
xor byte [eax + esi], dl
add eax, 0xffffff00
and eax, 0xffffff
movzx edx, byte [eax + esi]
add ecx, 0xffffff00
and ecx, 0xffffff
mov byte [ecx + esi], dl
movzx edx, dl
xor byte [eax + esi], dl
lea edi, [eax - 0x100]
and edi, 0xffffff
movzx eax, byte [edi + esi]
lea ebx, [ecx - 0x100]
and ebx, 0xffffff
movzx ecx, al
mov byte [ebx + esi], al
xor byte [edi + esi], cl
sub ebx, 0x100
sub edi, 0x100
sub ebp, 1
jne 0x438f50
dec ebx
dec edi
add dword [esp + 0x14], 1
adc dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
cmp eax, 0xc8
jb 0x438f41
push esi
call fcn.004a48a5
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 4
push 0
push 0x64
push edx
push eax
call fcn.004a4ac0
pop edi
pop ebp
add eax, 1
pop esi
adc edx, 0
pop ebx
add esp, 0xc
ret

Function at 0x439040
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a4a54
add esp, 4
push esi
mov edi, eax
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x4fe1e0]
push edi
call fcn.00465160
push edi
call fcn.0047c100
push edi
call fcn.004a48a5
add esp, 4
pop edi
pop esi
pop ebp
ret 4
Function at 0x439170
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1008
call fcn.004a4490
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x1004], eax
mov eax, dword [esp + 0x100c]
push esi
push edi
push 0
push 0x4b8a34
push eax
mov edi, ecx
call fcn.00431b90
mov esi, eax
test esi, esi
jne 0x4391ae
lea eax, [esi + 0x32]
jmp 0x4392f3
xor eax, eax
cmp edi, 0x8000
jbe 0x4392b3
push ebx
push ebp
push eax
mov eax, edi
shr eax, 3
add eax, 0x1000
push eax
push esi
call fcn.004a5c2e
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004a5982
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00438c60
mov edx, edi
shr edx, 2
push 0
add edx, 0x1000
push edx
push esi
mov ebx, eax
call fcn.004a5c2e
push esi
push 0x1000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.004a5982
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00438c60
lea ecx, [edi + edi]
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push esi
mov ebp, eax
call fcn.004a5c2e
push esi
push 0x1000
lea edx, [esp + 0x28]
push 1
push edx
call fcn.004a5982
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00438c60
mov dword [esp + 0x10], eax
lea eax, [edi + edi*2]
shr eax, 2
push 0
add eax, 0x1000
push eax
push esi
call fcn.004a5c2e
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004a5982
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00438c60
add eax, dword [esp + 0x10]
add eax, ebp
add eax, ebx
cdq
and edx, 3
add eax, edx
mov edi, eax
sar edi, 2
push esi
call fcn.004a5d25
add esp, 4
pop ebp
mov eax, edi
pop ebx
jmp 0x4392f3
cmp edi, 0x1000
jbe 0x4392c3
lea eax, [edi - 0x1000]
shr eax, 1
push 0
push eax
push esi
call fcn.004a5c2e
push esi
push 0x1000
lea edx, [esp + 0x20]
push 1
push edx
call fcn.004a5982
push esi
mov edi, eax
call fcn.004a5d25
add esp, 0x20
push edi
lea ecx, [esp + 0x10]
call fcn.00438c60
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
xor ecx, esp
call fcn.004a3c63
add esp, 0x1008
ret 4

Function at 0x43c740
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [esp]
push ecx
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0xc]
mov eax, dword [esp]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esp + 4]
mov edx, dword [esp]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
add esp, 8
ret 4