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

Disassembly:
sub esp, 0x830
mov eax, dword [0x4c0390]
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.0043ca60
test eax, eax
je 0x430639
test esi, esi
je 0x430502
cmp dword [esi], 0
mov byte [esp + 0x12], 1
jne 0x430507
mov byte [esp + 0x12], 0
test ebx, ebx
je 0x430515
cmp dword [ebx], 0
mov byte [esp + 0x11], 1
jne 0x43051a
mov byte [esp + 0x11], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43052c
cmp dword [eax], 0
mov byte [esp + 0x13], 1
jne 0x430531
mov byte [esp + 0x13], 0
call fcn.0043ca60
test eax, eax
je 0x430551
test edi, edi
je 0x430551
cmp word [edi], 0
je 0x430551
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x14], eax
jmp 0x43055c
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x430654
test al, 1
je 0x430654
push 0
push edi
push ebp
mov bl, 1
call fcn.0042fa20
lea ecx, [esp + 0x3c]
push ecx
push edi
push ebp
call fcn.0044daf0
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 0x430639
cmp byte [esp + 0x12], 0
je 0x4305c1
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
push eax
call fcn.00467e20
cmp byte [esp + 0x11], 0
je 0x4305d6
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00467e20
cmp byte [esp + 0x13], 0
je 0x4305eb
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
call fcn.00467e20
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 0x430639
mov eax, dword [esp + 0x14]
push eax
push edi
push ebp
call fcn.0042fa20
mov ecx, dword [esp + 0x83c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049dea6
add esp, 0x830
ret 0x14
xor bl, bl
jmp 0x430578
Function at 0x430660
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4ae0cb
mov eax, dword fs:[0]
push eax
mov eax, 0x1cac
call fcn.0049e430
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x1ca8], eax
push ebx
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x1cbc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1cd0]
mov edi, dword [esp + 0x1ccc]
push esi
push edi
call fcn.0044d8f0
test al, al
je 0x430730
lea ecx, [esp + 0x10]
call fcn.00432d00
mov dword [esp + 0x1cc4], 0
push edi
lea ecx, [esp + 0x14]
call fcn.00432d40
push esi
lea ecx, [esp + 0x14]
call fcn.00432d90
lea ecx, [esp + 0x182c]
call fcn.004680a0
lea ecx, [esp + 0x1850]
call fcn.004680a0
lea ecx, [esp + 0x1874]
call fcn.004680a0
push 0
lea eax, [esp + 0xc1c]
push eax
lea ecx, [esp + 0x18]
call fcn.004331a0
mov bl, al
mov dword [esp + 0x1cc4], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00432d20
mov al, bl
jmp 0x430759
call fcn.0043ca60
test eax, eax
je 0x43074c
test esi, esi
je 0x43074c
cmp word [esi], 0
je 0x43074c
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x430753
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
mov ecx, dword [esp + 0x1cbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1ca8]
xor ecx, esp
call fcn.0049dea6
add esp, 0x1cb8
ret 8

Function at 0x430790
Capabilities:
Set file attributes

Disassembly:
call fcn.0043ca60
test eax, eax
je 0x4307b9
mov eax, dword [esp + 8]
test eax, eax
je 0x4307b9
cmp word [eax], 0
je 0x4307b9
mov dword [esp + 8], 0
mov dword [esp + 4], eax
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [esp + 8], 0
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
Function at 0x4307d0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4ae116
mov eax, dword fs:[0]
push eax
sub esp, 0x634
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x630], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x648]
mov dword fs:[0], eax
mov esi, dword [esp + 0x658]
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], esi
call fcn.0045de60
xor ebp, ebp
mov dword [esp + 0x650], ebp
mov edi, 0x10000
push edi
call fcn.0049df7f
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebp
jne 0x430849
mov ecx, 0x4c9364
call fcn.004282a0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x650], 1
mov ecx, esi
xor edi, edi
or ebx, 0xffffffff
call fcn.0042ea60
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
cmp dword [0x4db83c], edi
je 0x430899
lea eax, [esp + 0x44]
push eax
call fcn.0047f730
mov edx, dword [0x4db83c]
push 0x200
lea ecx, [esp + 0x448]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
push 0
push 0
mov ecx, esi
call fcn.0042f0a0
jmp 0x4308b4
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x65c]
cmp eax, 0x7fffffff
jne 0x4308cb
cmp dword [esp + 0x660], eax
je 0x4308de
cmp dword [esp + 0x660], 0
jl 0x4308e3
jg 0x4308de
cmp eax, 0x10000
jbe 0x4308e3
mov eax, 0x10000
push eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.0042f380
mov esi, eax
test esi, esi
je 0x4309a3
add edi, 1
adc ebp, 0
mov eax, edi
and eax, 0xf
xor ecx, ecx
or eax, ecx
jne 0x430964
cmp dword [0x4db83c], eax
je 0x43095f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push eax
push 0x10000
push ebp
push edi
call fcn.0049ea60
push edx
push eax
call fcn.00464ae0
push eax
push 0x51e
call fcn.0045bde0
push eax
lea eax, [esp + 0x24c]
push eax
call fcn.0049deb5
add esp, 0xc
lea ecx, [esp + 0x244]
push ecx
call fcn.0047f750
call fcn.0047fef0
call fcn.00465f40
mov edx, dword [esp + 0x20]
push esi
push edx
push ebx
call fcn.0041fb60
mov ebx, eax
mov eax, 0x7fffffff
cmp dword [esp + 0x65c], eax
jne 0x43098d
cmp dword [esp + 0x660], eax
je 0x4308b0
mov eax, esi
cdq
sub dword [esp + 0x65c], eax
sbb dword [esp + 0x660], edx
jmp 0x4308b0
cmp dword [0x4db83c], 0
je 0x4309c8
lea eax, [esp + 0x44]
push eax
call fcn.0047f750
lea ecx, [esp + 0x444]
push ecx
call fcn.0047f6f0
call fcn.0047fef0
not ebx
mov esi, ebx
mov byte [esp + 0x650], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4309e5
push eax
call fcn.0049dbfd
add esp, 4
mov dword [esp + 0x650], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.0045de90
mov eax, esi
mov ecx, dword [esp + 0x648]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x630]
xor ecx, esp
call fcn.0049dea6
add esp, 0x640
ret 0x10
Function at 0x430a70
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4ae166
mov eax, dword fs:[0]
push eax
mov eax, 0x1860
call fcn.0049e430
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x185c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x1874]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1884]
mov edi, dword [esp + 0x1888]
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call fcn.0042e760
xor ebx, ebx
mov dword [esp + 0x187c], ebx
push 1
push ebx
push edi
push esi
lea ecx, [esp + 0x40]
call fcn.0042eb50
test al, al
je 0x430baa
lea ecx, [esp + 0x30]
call fcn.0042ea60
mov edi, 0x10000
push edi
mov dword [esp + 0x20], eax
mov ebp, edx
call fcn.0049df7f
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebx
jne 0x430b1e
mov ecx, 0x4c9364
call fcn.004282a0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x187c], 1
push edi
push ebx
push esi
call fcn.0049e460
add esp, 0xc
xor edi, edi
test ebp, ebp
jl 0x430b74
jg 0x430b50
cmp dword [esp + 0x1c], edi
jbe 0x430b74
jmp 0x430b50
push 0x10000
push esi
lea ecx, [esp + 0x38]
call fcn.0042f170
add ebx, 0x10000
adc edi, 0
cmp edi, ebp
jl 0x430b50
jg 0x430b74
cmp ebx, dword [esp + 0x1c]
jb 0x430b50
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
call fcn.0042f0a0
lea ecx, [esp + 0x30]
call fcn.0042ea00
lea ecx, [esp + 0x30]
call fcn.0042e7e0
mov byte [esp + 0x187c], 0
test esi, esi
je 0x430baa
push esi
call fcn.0049dbfd
add esp, 4
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push eax
lea ebx, [esp + 0xc54]
lea esi, [esp + 0x1468]
call fcn.0042ffd0
test al, al
je 0x430c03
call fcn.0043ca60
test eax, eax
je 0x430bee
cmp word [esp + 0xc50], 0
je 0x430bee
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
jmp 0x430c33
lea edx, [esp + 0x1464]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne bl
jmp 0x430c33
call fcn.0043ca60
test eax, eax
je 0x430c21
mov eax, edi
test eax, eax
je 0x430c21
cmp word [eax], 0
je 0x430c21
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x430c2c
mov eax, dword [esp + 0x14]
push eax
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.0042eb20
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.0049dea6
add esp, 0x186c
ret 8
Function at 0x430c80
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4ae1b6
mov eax, dword fs:[0]
push eax
mov eax, 0x3bc8
call fcn.0049e430
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x3bc4], eax
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x3bd8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3be8]
push esi
call fcn.0044da20
test al, al
je 0x430f19
push esi
call fcn.0042f780
test al, al
je 0x430f19
movsx eax, byte [esi]
push eax
lea ecx, [esp + 0x37d8]
push 0x4b2814
push ecx
call fcn.0049deb5
movsx edx, byte [esp + 0x37e0]
add esp, 0xc
push edx
push 0x341
call fcn.0045bde0
push eax
lea eax, [esp + 0x35dc]
push eax
call fcn.0049deb5
add esp, 0xc
lea ecx, [esp + 0x35d4]
push ecx
call fcn.0047f750
lea ecx, [esp + 0x10]
call fcn.00465890
mov dword [esp + 0x3be0], 0
lea edx, [esp + 0x37d4]
push edx
lea ecx, [esp + 0x14]
call fcn.00465910
push 2
push 0
push 2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x11b8]
call fcn.0045e620
mov byte [esp + 0x3be0], 1
lea ecx, [esp + 0xd1c]
call fcn.004680a0
lea ecx, [esp + 0xd40]
call fcn.004680a0
lea ecx, [esp + 0xd64]
call fcn.004680a0
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0x11ac]
call fcn.0045f020
test eax, eax
jne 0x430ef1
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x430dc0
mov al, byte [esi]
cmp byte [esp + 0x108], al
jne 0x430ef1
cmp byte [esp + 0x109], 0x3a
jne 0x430ef1
mov cx, word [esp + 0x508]
test cx, cx
je 0x430e07
movsx edx, al
movzx eax, cx
cmp eax, edx
jne 0x430ef1
cmp word [esp + 0x50a], 0x3a
jne 0x430ef1
call fcn.0043ca60
test eax, eax
je 0x430e29
cmp word [esp + 0x508], 0
je 0x430e29
push 0
lea ecx, [esp + 0x50c]
push ecx
call edi
jmp 0x430e35
push 0
lea edx, [esp + 0x10c]
push edx
call ebp
cmp byte [esp + 0xd18], 0
je 0x430e73
call fcn.0043ca60
test eax, eax
je 0x430e63
cmp word [esp + 0x508], 0
je 0x430e63
lea eax, [esp + 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x430ed5
lea ecx, [esp + 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x430ed5
call fcn.0043ca60
test eax, eax
je 0x430e97
cmp word [esp + 0x508], 0
je 0x430e97
lea edx, [esp + 0x508]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x430ea5
lea eax, [esp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
test al, al
jne 0x430ed5
lea ecx, [esp + 0x108]
push ecx
push 0x202
call fcn.0045bde0
push eax
push 0
call fcn.00445390
add esp, 0xc
mov ecx, 0x4c9364
call fcn.00427d40
lea edx, [esp + 0x108]
push edx
lea ecx, [esp + 0x11ac]
call fcn.0045f020
test eax, eax
je 0x430dc0
mov byte [esp + 0x3be0], 0
lea ecx, [esp + 0x11a8]
call fcn.0045e890
mov dword [esp + 0x3be0], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00465510
mov ecx, dword [esp + 0x3bd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x3bc4]
xor ecx, esp
call fcn.0049dea6
add esp, 0x3bd4
ret 4
Function at 0x4316a0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push edi
push 0x10000
call fcn.0049df7f
mov edi, eax
add esp, 4
test edi, edi
jne 0x4316bb
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 0x4316d1
cmp ebp, ebx
jae 0x43175f
call fcn.004458e0
cmp byte [0x4c936c], 0
je 0x4316e8
cmp dword [0x4dc178], 0
jne 0x43172d
cmp ebx, 0xffffffff
je 0x4316f8
mov eax, ebx
sub eax, ebp
cmp eax, 0x10000
jb 0x4316fd
mov eax, 0x10000
mov ecx, dword [esp + 0x14]
push ecx
push eax
push 1
push edi
call fcn.0049f9f9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x431739
mov edx, dword [esp + 0x18]
push edx
push esi
push 1
push edi
call fcn.0049f602
add esp, 0x10
cmp eax, esi
jne 0x431771
add ebp, esi
jmp 0x4316c4
pop esi
pop ebp
pop ebx
mov eax, 9
pop edi
ret 0xc
mov eax, dword [esp + 0x14]
push eax
call fcn.004a0fc4
add esp, 4
test eax, eax
je 0x43175f
push edi
call fcn.0049dbfd
add esp, 4
pop esi
pop ebp
pop ebx
mov eax, 0xb
pop edi
ret 0xc
push edi
call fcn.0049dbfd
add esp, 4
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
ret 0xc
push edi
call fcn.0049dbfd
mov eax, dword [0x4c93b8]
add esp, 4
push eax
push eax
mov ecx, 0x4c9364
call fcn.00428250
pop esi
pop ebp
pop ebx
mov eax, 0xa
pop edi
ret 0xc
Function at 0x4317a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ae22b
mov eax, dword fs:[0]
push eax
mov eax, 0x1030
call fcn.0049e430
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x102c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
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 0x431820
test dl, dl
je 0x43181c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x431820
add eax, 2
add ecx, 2
test dl, dl
jne 0x431800
xor eax, eax
jmp 0x431825
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4319d1
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.0049ed36
add esp, 4
cmp byte [esp + 0xc40], 0x5c
mov edi, eax
je 0x4318a3
mov al, byte [ebx]
cmp al, 0x5c
je 0x4318a3
cmp byte [ebp], 0x5c
je 0x4318a3
movsx edx, al
push edx
call fcn.0049ed36
mov esi, eax
movsx eax, byte [ebp]
push eax
call fcn.0049ed36
mov cl, 0x3a
add esp, 8
cmp byte [ebx + 1], cl
je 0x43188f
mov esi, edi
cmp byte [ebp + 1], cl
je 0x431896
mov eax, edi
cmp esi, eax
mov esi, dword [esp + 0x18]
je 0x4318a3
mov byte [esp + 0x17], 1
push esi
push ebp
call fcn.0042f950
test al, al
je 0x431901
lea ecx, [esp + 0x20]
call fcn.0042e760
mov dword [esp + 0x104c], 0
push 1
push 0
push esi
push ebp
lea ecx, [esp + 0x30]
call fcn.0042eb50
test al, al
je 0x43194d
lea ecx, [esp + 0x20]
call fcn.0042e7e0
test al, al
je 0x43194d
push esi
push ebp
call fcn.0042fd00
test al, al
je 0x43194d
mov dword [esp + 0x104c], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0042eb20
cmp byte [esp + 0x17], 0
jne 0x43191f
push esi
push ebp
push 0
push ebx
call fcn.0042fc50
test al, al
sete al
test al, al
je 0x4319d1
push 0x4b1948
push ebx
call fcn.0049f748
mov edi, eax
add esp, 8
test edi, edi
jne 0x431968
mov ecx, dword [0x4c93b8]
push ebx
push ecx
mov ecx, 0x4c9364
call fcn.004280f0
lea eax, [edi + 0xa]
jmp 0x4319d3
mov dword [esp + 0x104c], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0042eb20
mov eax, 0xf
jmp 0x4319d3
push 0
push 0x4b1ba8
push esi
push ebp
call fcn.004300f0
mov esi, eax
test esi, esi
jne 0x43198a
push edi
call fcn.0049f426
add esp, 4
lea eax, [esi + 0xf]
jmp 0x4319d3
push 0
mov ecx, 0x4c9364
call fcn.00427cc0
push 0xffffffffffffffff
push esi
push edi
call fcn.004316a0
push edi
mov ebx, eax
call fcn.0049f426
add esp, 4
push 1
mov ecx, 0x4c9364
call fcn.00427cc0
push esi
call fcn.0049f426
add esp, 4
test eax, eax
jne 0x4319fd
test ebx, ebx
jne 0x4319fd
mov edx, dword [esp + 0x1c]
push edx
call fcn.00430a30
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.0049dea6
add esp, 0x103c
ret 0xc
mov eax, dword [esp + 0x18]
push eax
push ebp
call fcn.0042fd00
test ebx, ebx
je 0x431a13
mov eax, ebx
cmp ebx, 0xa
jne 0x4319d3
mov eax, 0xe
jmp 0x4319d3
Function at 0x434610
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1404
call fcn.0049e430
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x1400], eax
cmp dword [0x4dbc5c], 0
push esi
push edi
mov edi, dword [esp + 0x1410]
mov esi, ecx
je 0x434660
push 0
push 0x4ec2d8
mov ecx, 0x4e0c08
call fcn.00413690
push 0
push 0x4ebed8
mov ecx, 0x4e0c08
call fcn.00413650
jmp 0x434677
push 0x4ec2d8
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov byte [0x4ebed8], 0
mov eax, dword [0x4c9360]
push 0
push 0x433c40
push edi
push str.FAVORITESDLG
push eax
mov byte [0x4ebcd8], 0
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
jne 0x43469f
xor al, al
jmp 0x434709
cmp byte [esp + 0x1414], 0
je 0x434707
push 0x1000000
lea ecx, [esp + 0xc0c]
push ecx
push 0x4ec2d8
call fcn.0046d7e0
push 0x1000000
lea edx, [esp + 0x40c]
push edx
push 0x4ebed8
call fcn.0046d7e0
push 0x1000000
lea eax, [esp + 0xc]
push eax
push 0x4ebcd8
call fcn.0046d7e0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x40c]
push edx
lea eax, [esp + 0xc10]
push eax
mov ecx, esi
call fcn.00434140
mov al, 1
mov ecx, dword [esp + 0x1408]
pop edi
pop esi
xor ecx, esp
call fcn.0049dea6
add esp, 0x1404
ret 8

Function at 0x435550
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x4355cb
cmp eax, 0x40
jbe 0x435579
lea eax, [esi + 0x40]
push eax
push esi
call fcn.00464980
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.0049e460
add esp, 0xc
xor eax, eax
jmp 0x4355a0
xor dword [esi + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x4355a0
push edi
lea edi, [esi + 0x40]
push edi
call fcn.004648c0
push edi
push 0x40
push esi
call fcn.00464900
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4355e2
mov edx, dword [esp + 8]
add esi, 0x40
push esi
push eax
push edx
call fcn.00464900
pop esi
ret 0xc

Function at 0x4355f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4c0390]
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 0x43561b
push esi
push 0
push 0
call fcn.00435550
push edi
lea edi, [esi + 0x40]
push edi
lea eax, [esp + 0x10]
push eax
call fcn.00464980
xor eax, eax
lea esp, [esp]
xor dword [esi + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x435630
push edi
call fcn.004648c0
push edi
push 0x40
push esi
call fcn.00464900
push edi
push 0x14
lea ecx, [esp + 0x14]
push ecx
call fcn.00464900
push edi
lea edx, [esp + 0x10]
push edx
call fcn.00464980
mov eax, dword [esp + 0x2c]
pop edi
test eax, eax
jbe 0x43567c
push eax
lea eax, [esp + 0xc]
push eax
push ebx
call fcn.0049e4e0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.0049dea6
add esp, 0x18
ret 0xc
Function at 0x437130
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push esi
push 0x1000000
call fcn.0049e9f4
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x437155
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 0x43724a
mov ebp, 0x4000
jmp 0x437190
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 0x437190
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 0x437181
push esi
call fcn.0049e845
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 4
push 0
push 0x64
push edx
push eax
call fcn.0049ea60
pop edi
pop ebp
add eax, 1
pop esi
adc edx, 0
pop ebx
add esp, 0xc
ret

Function at 0x4377e0
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
inc esi
push esi
call fcn.0049e9f4
add esp, 4
push esi
mov edi, eax
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [0x4ec790]
push edi
call fcn.00460600
push 0
push edi
call fcn.00477010
push edi
call fcn.0049e845
add esp, 4
pop edi
pop esi
ret
Function at 0x437dc0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1008
call fcn.0049e430
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x1004], eax
mov eax, dword [esp + 0x100c]
push esi
push edi
push 0x4b1948
push eax
mov edi, ecx
call fcn.0049f748
mov esi, eax
add esp, 8
test esi, esi
jne 0x437dff
lea eax, [esi + 0x32]
jmp 0x437f44
xor eax, eax
cmp edi, 0x8000
jbe 0x437f04
push ebx
push ebp
push eax
mov eax, edi
shr eax, 3
add eax, 0x1000
push eax
push esi
call fcn.0049fca5
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.0049f9f9
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00436ea0
mov edx, edi
shr edx, 2
push 0
add edx, 0x1000
push edx
push esi
mov ebx, eax
call fcn.0049fca5
push esi
push 0x1000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.0049f9f9
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00436ea0
lea ecx, [edi + edi]
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push esi
mov ebp, eax
call fcn.0049fca5
push esi
push 0x1000
lea edx, [esp + 0x28]
push 1
push edx
call fcn.0049f9f9
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00436ea0
mov dword [esp + 0x10], eax
lea eax, [edi + edi*2]
shr eax, 2
push 0
add eax, 0x1000
push eax
push esi
call fcn.0049fca5
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.0049f9f9
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00436ea0
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.0049f426
add esp, 4
pop ebp
mov eax, edi
pop ebx
jmp 0x437f44
cmp edi, 0x1000
jbe 0x437f14
lea eax, [edi - 0x1000]
shr eax, 1
push 0
push eax
push esi
call fcn.0049fca5
push esi
push 0x1000
lea edx, [esp + 0x20]
push 1
push edx
call fcn.0049f9f9
push esi
mov edi, eax
call fcn.0049f426
add esp, 0x20
push edi
lea ecx, [esp + 0x10]
call fcn.00436ea0
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
xor ecx, esp
call fcn.0049dea6
add esp, 0x1008
ret 4