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

Disassembly:
sub esp, 0x830
mov eax, dword [0x4d8620]
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.00442d90
test eax, eax
je 0x43310e
test esi, esi
je 0x432fd2
cmp dword [esi], 0
mov byte [esp + 0x12], 1
jne 0x432fd7
mov byte [esp + 0x12], 0
test ebx, ebx
je 0x432fe5
cmp dword [ebx], 0
mov byte [esp + 0x11], 1
jne 0x432fea
mov byte [esp + 0x11], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x432ffc
cmp dword [eax], 0
mov byte [esp + 0x13], 1
jne 0x433001
mov byte [esp + 0x13], 0
call fcn.00442d90
test eax, eax
je 0x433021
test edi, edi
je 0x433021
cmp word [edi], 0
je 0x433021
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x14], eax
jmp 0x43302c
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x433129
test al, 1
je 0x433129
push 0
push edi
push ebp
mov bl, 1
call fcn.004324e0
push 0x400
lea ecx, [esp + 0x40]
push ecx
push edi
push ebp
call fcn.004559f0
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 0x43310e
cmp byte [esp + 0x12], 0
je 0x433096
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
push eax
call fcn.004720f0
cmp byte [esp + 0x11], 0
je 0x4330ab
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004720f0
cmp byte [esp + 0x13], 0
je 0x4330c0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
call fcn.004720f0
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 0x43310e
mov eax, dword [esp + 0x14]
push eax
push edi
push ebp
call fcn.004324e0
mov ecx, dword [esp + 0x83c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004aedbb
add esp, 0x830
ret 0x14
xor bl, bl
jmp 0x433048

Function at 0x433230
Capabilities:
Set file attributes

Disassembly:
call fcn.00442d90
test eax, eax
je 0x433259
mov eax, dword [esp + 8]
test eax, eax
je 0x433259
cmp word [eax], 0
je 0x433259
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 0x433273
mov dword [esp + 8], 0
mov dword [esp + 4], eax
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 8
Function at 0x433280
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x8c
mov eax, dword [0x4d8620]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
mov ebx, dword [esp + 0x94]
push ebp
push esi
mov eax, ebx
push edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4332a4
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x10]
mov ebp, eax
call fcn.00472370
lea ecx, [esp + 0x10]
call fcn.00472640
lea ecx, [esp + 0x10]
call fcn.00472480
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.004721c0
mov ecx, edi
shr ecx, 0xa
xor eax, ecx
xor edi, eax
xor esi, esi
cmp esi, 0x64
jbe 0x4332ef
mov eax, edi
jmp 0x433303
mov eax, 0x10624dd3
mul edi
shr edx, 6
imul edx, edx, 0x3e8
mov eax, edi
sub eax, edx
push eax
push esi
lea edx, [esp + 0x3c]
push 0x4c7054
push edx
mov edx, 0x32
call fcn.004a5ca0
lea eax, [esp + 0x44]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433323
sub eax, edx
sar eax, 1
add eax, ebp
cmp eax, dword [esp + 0xa4]
jae 0x433391
cmp esi, 0x3e8
je 0x433391
lea eax, [esp + 0x34]
mov edx, eax
lea ecx, [ebp + ebp]
sub ecx, edx
lea edx, [ecx + ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x433354
call fcn.00442d90
test eax, eax
je 0x43338d
test ebx, ebx
je 0x43338d
cmp word [ebx], 0
je 0x43338d
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
je 0x43338d
inc esi
jmp 0x4332e6
mov eax, ebx
jmp 0x433393
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004aedbb
add esp, 0x8c
ret 8
Function at 0x4333b0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4c2456
mov eax, dword fs:[0]
push eax
sub esp, 0xc34
mov eax, dword [0x4d8620]
xor eax, esp
mov dword [esp + 0xc30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d8620]
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.00467f50
xor ebp, ebp
mov dword [esp + 0xc50], ebp
mov esi, 0x10000
push esi
call fcn.004aee96
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebp
jne 0x433429
mov ecx, 0x513904
call fcn.004299a0
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.004312b0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
cmp dword [0x526d84], esi
je 0x43347e
push 0x200
lea eax, [esp + 0x48]
push eax
call fcn.0048b230
mov edx, dword [0x526d84]
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.00431950
jmp 0x433494
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xc5c]
cmp eax, 0x7fffffff
jne 0x4334ab
cmp dword [esp + 0xc60], eax
je 0x4334be
cmp dword [esp + 0xc60], 0
jl 0x4334c3
jg 0x4334be
cmp eax, 0x10000
jbe 0x4334c3
mov eax, 0x10000
push eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, edi
call fcn.00431c60
mov edi, eax
test edi, edi
je 0x433588
add esi, 1
adc ebp, 0
mov eax, esi
and eax, 0xf
xor ecx, ecx
or eax, ecx
jne 0x433549
cmp dword [0x526d84], eax
je 0x433544
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push eax
push 0x10000
push ebp
push esi
call fcn.004afc40
push edx
push eax
call fcn.0046ea00
push eax
push 0x51e
call fcn.00465ec0
push eax
lea eax, [esp + 0x44c]
push eax
mov edx, 0x200
call fcn.004a5ca0
add esp, 0xc
lea ecx, [esp + 0x444]
push ecx
call fcn.0048b250
call fcn.0048b8f0
call fcn.004700d0
mov edx, dword [esp + 0x20]
push edi
push edx
push ebx
call fcn.004213b0
mov ebx, eax
mov eax, 0x7fffffff
cmp dword [esp + 0xc5c], eax
jne 0x433572
cmp dword [esp + 0xc60], eax
je 0x433490
mov eax, edi
cdq
sub dword [esp + 0xc5c], eax
sbb dword [esp + 0xc60], edx
jmp 0x433490
cmp dword [0x526d84], 0
je 0x4335ad
lea eax, [esp + 0x44]
push eax
call fcn.0048b250
lea ecx, [esp + 0x844]
push ecx
call fcn.0048b1e0
call fcn.0048b8f0
not ebx
mov esi, ebx
mov byte [esp + 0xc50], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4335ca
push eax
call fcn.004aef60
add esp, 4
mov dword [esp + 0xc50], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00467f80
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.004aedbb
add esp, 0xc40
ret 0x10
Function at 0x433610
Capabilities:
Delete file

Disassembly:
xor eax, eax
sub esp, 0x20
cmp dword [ecx + 0xc], eax
jbe 0x433668
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 0x433740
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4c24a6
mov eax, dword fs:[0]
push eax
mov eax, 0x18d8
call fcn.004af5f0
mov eax, dword [0x4d8620]
xor eax, esp
mov dword [esp + 0x18d4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d8620]
xor eax, esp
push eax
lea eax, [esp + 0x18ec]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18fc]
mov edi, dword [esp + 0x1900]
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call fcn.00430f40
xor ebx, ebx
mov dword [esp + 0x18f4], ebx
push 1
push ebx
push edi
push esi
lea ecx, [esp + 0x40]
call fcn.004313a0
test al, al
je 0x433885
lea ecx, [esp + 0x30]
call fcn.004312b0
mov edi, 0x10000
push edi
mov dword [esp + 0x20], eax
mov ebp, edx
call fcn.004aee96
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebx
jne 0x4337ee
mov ecx, 0x513904
call fcn.004299a0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x18f4], 1
push edi
push ebx
push esi
call fcn.004af620
add esp, 0xc
xor edi, edi
test ebp, ebp
jl 0x433844
jg 0x433820
cmp dword [esp + 0x1c], edi
jbe 0x433844
jmp 0x433820
push 0x10000
push esi
lea ecx, [esp + 0x38]
call fcn.00431a30
add ebx, 0x10000
adc edi, 0
cmp edi, ebp
jl 0x433820
jg 0x433844
cmp ebx, dword [esp + 0x1c]
jb 0x433820
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.00431950
lea ecx, [esp + 0x30]
call fcn.00431250
lea ecx, [esp + 0x30]
call fcn.00430fe0
mov byte [esp + 0x18f4], 0
test esi, esi
je 0x433885
push esi
call fcn.004aef60
add esp, 4
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push 0x432
lea ecx, [esp + 0xc54]
push ecx
push edx
lea edi, [esp + 0x14c0]
call fcn.00433670
test al, al
je 0x4338e9
call fcn.00442d90
test eax, eax
je 0x4338d4
cmp word [esp + 0xc50], 0
je 0x4338d4
lea eax, [esp + 0xc50]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
jmp 0x433919
lea ecx, [esp + 0x14b4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne bl
jmp 0x433919
call fcn.00442d90
test eax, eax
je 0x433909
mov eax, dword [esp + 0x18]
test eax, eax
je 0x433909
cmp word [eax], 0
je 0x433909
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x433912
mov edx, ebx
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
mov bl, al
mov dword [esp + 0x18f4], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00431370
mov al, bl
mov ecx, dword [esp + 0x18ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18d4]
xor ecx, esp
call fcn.004aedbb
add esp, 0x18e4
ret 8
Function at 0x433960
Capabilities:
Delete directory

Disassembly:
sub esp, 0xc9c
mov eax, dword [0x4d8620]
xor eax, esp
mov dword [esp + 0xc98], eax
push ebx
mov ebx, dword [esp + 0xca4]
push esi
mov esi, dword [esp + 0xcac]
push edi
push 0x432
lea eax, [esp + 0x444]
push eax
push esi
lea edi, [esp + 0x18]
call fcn.00433670
test al, al
je 0x4339cb
call fcn.00442d90
test eax, eax
je 0x4339c4
cmp word [esp + 0x440], 0
je 0x4339c4
lea ecx, [esp + 0x440]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4339ee
lea edx, [esp + 0xc]
push edx
jmp 0x4339e8
call fcn.00442d90
test eax, eax
je 0x4339e7
test esi, esi
je 0x4339e7
cmp word [esi], 0
je 0x4339e7
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4339ee
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0xca4]
pop edi
test eax, eax
pop esi
setne al
pop ebx
xor ecx, esp
call fcn.004aedbb
add esp, 0xc9c
ret 8
Function at 0x433a10
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4c24f6
mov eax, dword fs:[0]
push eax
mov eax, 0x4178
call fcn.004af5f0
mov eax, dword [0x4d8620]
xor eax, esp
mov dword [esp + 0x4174], eax
push ebp
push esi
push edi
mov eax, dword [0x4d8620]
xor eax, esp
push eax
lea eax, [esp + 0x4188]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4198]
push esi
call fcn.004558f0
test al, al
je 0x433ca9
push esi
call fcn.00432070
test al, al
je 0x433ca9
movsx eax, byte [esi]
push eax
lea ecx, [esp + 0x3988]
push 0x4c7084
push ecx
call fcn.004aedca
movsx edx, byte [esp + 0x3990]
add esp, 0xc
push edx
push 0x341
call fcn.00465ec0
push eax
lea eax, [esp + 0x3d8c]
push eax
mov edx, 0x200
call fcn.004a5ca0
add esp, 0xc
lea ecx, [esp + 0x3d84]
push ecx
call fcn.0048b250
lea ecx, [esp + 0x10]
call fcn.0046f930
mov dword [esp + 0x4190], 0
lea edx, [esp + 0x3984]
push edx
lea ecx, [esp + 0x14]
call fcn.0046f9d0
push 2
push 0
push 2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1568]
call fcn.00468650
mov byte [esp + 0x4190], 1
lea ecx, [esp + 0xccc]
call fcn.00472370
lea ecx, [esp + 0xcf0]
call fcn.00472370
lea ecx, [esp + 0xd14]
call fcn.00472370
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x155c]
call fcn.004691a0
test eax, eax
jne 0x433c81
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 0x433c81
cmp byte [esp + 0xb9], 0x3a
jne 0x433c81
mov cx, word [esp + 0x4b8]
test cx, cx
je 0x433b97
movsx edx, al
movzx eax, cx
cmp eax, edx
jne 0x433c81
cmp word [esp + 0x4ba], 0x3a
jne 0x433c81
call fcn.00442d90
test eax, eax
je 0x433bb9
cmp word [esp + 0x4b8], 0
je 0x433bb9
push 0
lea ecx, [esp + 0x4bc]
push ecx
call edi
jmp 0x433bc5
push 0
lea edx, [esp + 0xbc]
push edx
call ebp
cmp byte [esp + 0xcc8], 0
je 0x433c03
call fcn.00442d90
test eax, eax
je 0x433bf3
cmp word [esp + 0x4b8], 0
je 0x433bf3
lea eax, [esp + 0x4b8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x433c65
lea ecx, [esp + 0xb8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x433c65
call fcn.00442d90
test eax, eax
je 0x433c27
cmp word [esp + 0x4b8], 0
je 0x433c27
lea edx, [esp + 0x4b8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x433c35
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
test al, al
jne 0x433c65
lea ecx, [esp + 0x4b8]
push ecx
push 0x202
call fcn.00465ec0
push eax
push 0
call fcn.00498be0
add esp, 0xc
mov ecx, 0x513904
call fcn.004298d0
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x155c]
call fcn.004691a0
test eax, eax
je 0x433b50
mov byte [esp + 0x4190], 0
lea ecx, [esp + 0x1558]
call fcn.00468900
mov dword [esp + 0x4190], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401a70
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.004aedbb
add esp, 0x4184
ret 4
Function at 0x434d70
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xc
push 0x4000
call fcn.004aee96
add esp, 4
mov dword [esp], eax
test eax, eax
jne 0x434d92
mov eax, 4
add esp, 0xc
ret 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
xor ebx, ebx
xor esi, esi
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], esi
mov eax, edi
and eax, ebp
cmp eax, 0xffffffff
je 0x434dc1
cmp esi, ebp
ja 0x434e82
jb 0x434dc1
cmp ebx, edi
jae 0x434e82
call fcn.0044aea0
cmp byte [0x51390c], 0
je 0x434dd8
cmp byte [0x527e58], 0
jne 0x434e46
mov ecx, edi
and ecx, ebp
cmp ecx, 0xffffffff
je 0x434dfd
mov ecx, edi
sub ecx, ebx
mov eax, ebp
sbb eax, esi
test eax, eax
ja 0x434dfd
jb 0x434df7
cmp ecx, 0x4000
jae 0x434dfd
mov eax, edi
sub eax, ebx
jmp 0x434e02
mov eax, 0x4000
mov edx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x18]
push 1
push eax
call fcn.004b1faa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x434e55
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push ecx
push esi
push 1
push edx
call fcn.004b1c88
add esp, 0x10
cmp eax, esi
jne 0x434e9b
add ebx, esi
adc dword [esp + 0x18], 0
mov esi, dword [esp + 0x18]
jmp 0x434da6
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
add esp, 0xc
ret 0x10
mov eax, dword [esp + 0x20]
push eax
call fcn.004b1af2
add esp, 4
test eax, eax
je 0x434e82
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004aef60
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0xc
ret 0x10
mov edx, dword [esp + 0x10]
push edx
call fcn.004aef60
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 0x10
mov eax, dword [esp + 0x10]
push eax
call fcn.004aef60
mov eax, dword [0x514dd8]
add esp, 4
test eax, eax
je 0x434ec1
push eax
push 0
push eax
push 0
mov ecx, 0x513904
call fcn.00429f60
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
add esp, 0xc
ret 0x10
Function at 0x4355b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c256b
mov eax, dword fs:[0]
push eax
mov eax, 0x142c
call fcn.004af5f0
mov eax, dword [0x4d8620]
xor eax, esp
mov dword [esp + 0x1428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d8620]
xor eax, esp
push eax
lea eax, [esp + 0x1440]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1454]
mov ebp, dword [esp + 0x1450]
mov dword [esp + 0x18], ebx
mov ecx, ebx
mov eax, ebp
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43562b
test dx, dx
je 0x435627
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43562b
add eax, 4
add ecx, 4
test dx, dx
jne 0x435605
xor eax, eax
jmp 0x435630
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4357de
lea eax, [esp + 0xc3c]
push eax
push 0x400
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
movzx ecx, word [esp + 0xc3c]
push ecx
call fcn.004b0691
add esp, 4
cmp word [esp + 0xc3c], 0x5c
mov edi, eax
je 0x4356b4
movzx eax, word [ebx]
cmp ax, 0x5c
je 0x4356b4
cmp word [ebp], 0x5c
je 0x4356b4
movzx edx, ax
push edx
call fcn.004b0691
mov esi, eax
movzx eax, word [ebp]
push eax
call fcn.004b0691
mov ecx, 0x3a
add esp, 8
cmp word [ebx + 2], cx
je 0x4356a3
mov esi, edi
cmp word [ebp + 2], cx
je 0x4356ab
mov eax, edi
cmp esi, eax
je 0x4356b4
mov byte [esp + 0x17], 1
push ebp
call fcn.00432420
test al, al
je 0x435711
lea ecx, [esp + 0x1c]
call fcn.00430f40
mov dword [esp + 0x1448], 0
push 1
push 0
push ebp
push 0
lea ecx, [esp + 0x2c]
call fcn.004313a0
test al, al
je 0x435758
lea ecx, [esp + 0x1c]
call fcn.00430fe0
test al, al
je 0x435758
push ebp
call fcn.00432710
test al, al
je 0x435758
mov dword [esp + 0x1448], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00431370
cmp byte [esp + 0x17], 0
jne 0x435730
push ebp
push 0
push ebx
push 0
call fcn.00432650
test al, al
sete al
test al, al
je 0x4357de
push 0x4c7100
push ebx
call fcn.004b2180
mov edi, eax
add esp, 8
test edi, edi
jne 0x435773
push ebx
push eax
mov ecx, 0x513904
call fcn.0042a0b0
lea eax, [edi + 0xa]
jmp 0x4357e0
mov dword [esp + 0x1448], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00431370
mov eax, 0xf
jmp 0x4357e0
push 0x4c70f8
push ebp
call fcn.004b2180
mov esi, eax
add esp, 8
test esi, esi
jne 0x435795
push edi
call fcn.004b203e
add esp, 4
lea eax, [esi + 0xf]
jmp 0x4357e0
push 0
mov ecx, 0x513904
call fcn.00429850
push 0
push 0xffffffffffffffff
push esi
push edi
call fcn.00434d70
push edi
mov ebx, eax
call fcn.004b203e
add esp, 4
push 1
mov ecx, 0x513904
call fcn.00429850
push esi
call fcn.004b203e
add esp, 4
test eax, eax
jne 0x43580a
test ebx, ebx
jne 0x43580a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00432710
xor eax, eax
mov ecx, dword [esp + 0x1440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1428]
xor ecx, esp
call fcn.004aedbb
add esp, 0x1438
ret 8
push ebp
call fcn.00432710
test ebx, ebx
je 0x43581b
mov eax, ebx
cmp ebx, 0xa
jne 0x4357e0
mov eax, 0xe
jmp 0x4357e0
Function at 0x439e70
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x439eeb
cmp eax, 0x40
jbe 0x439e99
lea eax, [esi + 0x40]
push eax
push esi
call fcn.0046e8a0
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.004af620
add esp, 0xc
xor eax, eax
jmp 0x439ec0
xor dword [esi + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x439ec0
push edi
lea edi, [esi + 0x40]
push edi
call fcn.0046e7e0
push edi
push 0x40
push esi
call fcn.0046e820
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x439f02
mov edx, dword [esp + 8]
add esi, 0x40
push esi
push eax
push edx
call fcn.0046e820
pop esi
ret 0xc

Function at 0x439f10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4d8620]
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 0x439f3b
push esi
push 0
push 0
call fcn.00439e70
push edi
lea edi, [esi + 0x40]
push edi
lea eax, [esp + 0x10]
push eax
call fcn.0046e8a0
xor eax, eax
lea esp, [esp]
xor dword [esi + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x439f50
push edi
call fcn.0046e7e0
push edi
push 0x40
push esi
call fcn.0046e820
push edi
push 0x14
lea ecx, [esp + 0x14]
push ecx
call fcn.0046e820
push edi
lea edx, [esp + 0x10]
push edx
call fcn.0046e8a0
mov eax, dword [esp + 0x2c]
pop edi
test eax, eax
jbe 0x439f9c
push eax
lea eax, [esp + 0xc]
push eax
push ebx
call fcn.004af6a0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.004aedbb
add esp, 0x18
ret 0xc

Function at 0x43a7b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov ebx, ecx
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x2710
ja 0x43a834
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0xe0]
call eax
cmp dword [esp + 0x10], 4
je 0x43a833
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x43a828
lea edx, [esp + 0x24]
push edx
call ebp
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
call esi
sub eax, edi
cmp eax, 0x2710
jbe 0x43a7d4
pop ebp
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
lea edx, [esp + 0x14]
push edx
mov eax, 3
mov word [esp + 0x18], ax
mov eax, dword [ebx + 0xc]
push 2
mov dword [esp + 0x24], 0x96
mov ecx, dword [eax]
push 0x3f
push eax
mov eax, dword [ecx + 0xd8]
call eax
pop edi
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x43b660
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 0x14]
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
push 0
mov esi, ecx
push ebx
mov byte [esi + 0x29], al
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0043b5e0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
push ebx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea edx, [esp + 0x14]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
test eax, eax
je 0x43b6c8
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
push esi
mov ebp, eax
sub edi, eax
mov eax, dword [esi]
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
sub ecx, eax
push ecx
push edi
push eax
push ebp
push 0x40000000
push 0
push str.RarHtmlClassName
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 4], eax
test eax, eax
je 0x43b71e
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x24], 0x64
jbe 0x43b72b
mov ecx, esi
call fcn.0043a7b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14