joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484a4c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x484a84
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00482ad6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00482aae
jmp 0x484a90
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48613a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48617c
call fcn.0048bbf3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48617c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x486173
xor eax, eax
jmp 0x486184
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048618a
pop edi
pop esi
pop ebx
ret 4

Function at 0x48c123
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48c151
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48c16f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048c089
jmp 0x48c16f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48c16f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048c089
test edi, edi
mov eax, edi
jne 0x48c159
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x45c8123e
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x121a4863
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x403070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b3801
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4ca3b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00402f20
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ecx, [esi + 0x30]
call fcn.0042db10
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x1ef0]
call fcn.00458630
mov byte [esp + 0x18], 2
mov eax, dword [esp + 0x20]
mov byte [esi + 0x1eec], bl
mov byte [esi + 0x1eed], bl
mov dword [esi + 0x1ed8], ebx
mov dword [esi + 0x1ee0], ebx
mov dword [esi + 0x1ee4], ebx
mov dword [esi + 0x1ee8], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x1f4c], esi
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x406880
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2e0
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebx
push ebp
mov ebp, dword [esp + 0x2fc]
push esi
push edi
mov edi, dword [esp + 0x2f4]
mov ebx, ecx
push 0x808
mov dword [esp + 0x38], ebx
call fcn.004a47e4
mov ecx, dword [esp + 0x300]
mov esi, eax
mov eax, dword [esp + 0x2fc]
add esp, 4
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
call fcn.00469c20
lea edx, [esi + 8]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x4068d7
cmp dword [ebx + 4], 0x50000
jb 0x406907
call fcn.0043e7a0
cmp eax, 0x400
je 0x406907
cmp byte [esp + 0x310], 0
jne 0x406952
mov ebx, dword [esp + 0x300]
cmp ebx, 0xffffffff
je 0x406917
test ebp, ebp
jne 0x406959
cmp dword [esp + 0x2f8], 2
mov eax, 0x4201
jne 0x40692b
mov eax, 0x4203
push eax
push 0x2b4
lea edx, [esp + 0x40]
push edx
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp ebx, 0xffffffff
jne 0x406948
mov ebx, dword [esp + 0x3c]
test ebp, ebp
jne 0x406959
lea ebp, [esp + 0x44]
jmp 0x406959
mov ebx, dword [esp + 0x300]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0x37
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x406997
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x30c]
mov ecx, dword [esp + 0x308]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
push 0
mov dword [esp + 0x34], ecx
mov ecx, dword [eax]
push 0x40b
push ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a39f3
add esp, 0x2e0
ret 0x20
Function at 0x407540
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
mov ebx, dword [esp + 0x2e0]
push esi
mov esi, ecx
cmp dword [esi + 4], 0
push edi
mov edi, dword [esp + 0x2e4]
jne 0x40757a
push str.comctl32.dll
call fcn.00483a00
mov dword [esi + 4], eax
mov eax, dword [esi]
test eax, eax
je 0x407587
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
mov dword [esi + 8], 0xffffffff
mov eax, dword [0x4d56ac]
push eax
push ebx
push edi
push 0xdc
push 0x3c
push 0
push 0
push 0x44200046
push 0
push str.ComboBoxEx32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
mov dword [esi], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x10]
push 0x4209
push 0x2b4
lea edx, [esp + 0x1c]
push edx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x402
push ecx
call edi
mov eax, dword [0x50fbfc]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov ecx, dword [esp + 0x18]
push 0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x2c]
push eax
push ecx
push 0
push 1
mov edx, eax
push edx
mov ecx, esi
call fcn.00406880
mov eax, dword [esi]
push 0
push 4
push 0x408
push eax
call edi
mov ecx, dword [esi]
push 0
push 0
push 0x407
push ecx
call edi
test eax, eax
je 0x40764d
push eax
call fcn.00484ea0
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x407676
push eax
push eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.00406d20
test al, al
jne 0x4076cd
push ebp
call fcn.00483d40
mov ebp, eax
xor edi, edi
mov ebx, 1
test ebp, ebx
je 0x4076c4
lea ecx, [edi + 0x41]
push ecx
lea edx, [esp + 0x2d0]
push 0x4b8848
push edx
mov edx, 0xa
call fcn.00495900
add esp, 0xc
push 1
push 0xffffffffffffffff
push 2
push 0
push 0xffffffffffffffff
push 0
push 0
lea eax, [esp + 0x2e8]
push eax
mov ecx, esi
call fcn.00406880
inc edi
rol ebx, 1
cmp edi, 0x20
jl 0x407685
pop ebp
mov ecx, esi
call fcn.004072a0
mov ecx, dword [esp + 0x2dc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a39f3
add esp, 0x2d4
ret 8
Function at 0x4076f0
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
sub esp, 0x804
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
push 0x400
mov esi, ecx
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 8]
push edx
call fcn.00446390
mov ecx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 8]
push eax
push 0xffffffffffffffff
push 0x158
push ecx
call edi
cmp eax, 0xffffffff
je 0x407798
mov edx, dword [esi]
push 0
push eax
push 0x14e
push edx
call edi
mov ecx, esi
call fcn.00407420
cmp byte [0x4e7b89], 0
mov ecx, esi
je 0x40777c
call fcn.00407070
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004a39f3
add esp, 0x804
ret
call fcn.00406c90
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004a39f3
add esp, 0x804
ret
cmp byte [0x4e7b89], 0
je 0x4077d5
lea eax, [esp + 8]
push eax
call fcn.00452650
test al, al
jne 0x4077d5
lea ecx, [esp + 8]
push ecx
mov ecx, 0x4ee478
call fcn.00444080
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004a39f3
add esp, 0x804
ret
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40780f
test al, 0x10
jne 0x40780f
lea eax, [esp + 8]
push eax
mov ecx, 0x4ee478
call fcn.00444620
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004a39f3
add esp, 0x804
ret
lea ecx, [esp + 8]
push ecx
call fcn.0048c3e0
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.004a39f3
add esp, 0x804
ret
Function at 0x407830
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2bc
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x2b8], eax
mov ecx, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2c0]
push edi
mov edi, dword [esp + 0x2d0]
cmp ecx, 0x4e
jne 0x407944
mov eax, dword [edi + 8]
cmp eax, 0xfffffcd9
je 0x4078a1
cmp eax, 0xfffffcda
jne 0x407887
cmp dword [edi + 0x21c], 2
jne 0x407887
mov ecx, 0x4ee468
call fcn.004076f0
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004a39f3
add esp, 0x2bc
ret 0x10
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov edx, dword [edi + 0xc]
push ebx
push ebp
push esi
mov dword [esp + 0x10], edx
cmp eax, 4
jne 0x4078ba
mov ebp, dword [ecx + 4]
jmp 0x4078bd
lea ebp, [ecx + 8]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor ecx, ecx
cmp eax, 4
setne cl
dec ecx
and ecx, 8
mov esi, ecx
test dl, 1
je 0x4078f9
mov edx, esi
or edx, 0x200
push edx
push 0x2b4
lea eax, [esp + 0x1c]
push eax
push 0
push ebp
call ebx
test eax, eax
je 0x4078f9
lea ecx, [esp + 0x20]
mov dword [edi + 0x14], ecx
test byte [esp + 0x10], 6
je 0x407920
or esi, 0x4001
push esi
push 0x2b4
lea edx, [esp + 0x1c]
push edx
push 0
push ebp
call ebx
mov eax, dword [esp + 0x18]
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], eax
or dword [edi + 0xc], 0x10000000
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004a39f3
add esp, 0x2bc
ret 0x10
mov edx, dword [esp + 0x2cc]
push edi
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [esp + 0x2bc]
pop edi
xor ecx, esp
call fcn.004a39f3
add esp, 0x2bc
ret 0x10
Function at 0x409610
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x304
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push esi
xor ecx, ecx
mov eax, 1
push edi
mov edi, edi
mov edx, eax
and dl, 0x80
movzx edx, dl
mov byte [esp + ecx + 0x10c], al
mov byte [esp + ecx + 0x20b], al
mov byte [esp + eax + 0xc], cl
inc ecx
neg edx
sbb edx, edx
and edx, 0x11b
lea esi, [eax + eax]
xor edx, esi
xor eax, edx
cmp eax, 1
jne 0x409630
xor ecx, ecx
mov dword [ecx + 0x4cc458], eax
test eax, eax
je 0x40967c
movzx eax, byte [esp + eax + 0xc]
movzx eax, byte [esp + eax + 0x125]
jmp 0x40967e
xor eax, eax
add ecx, 4
cmp ecx, 0x28
jb 0x409663
xor edx, edx
test dl, dl
je 0x4096a2
movzx ecx, dl
movzx eax, byte [esp + ecx + 0xc]
lea ecx, [esp + 0x20b]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x4096a4
xor eax, eax
lea ecx, [eax + eax]
xor ecx, eax
add ecx, ecx
xor ecx, eax
add ecx, ecx
xor ecx, eax
add ecx, ecx
xor eax, ecx
mov ebx, eax
shr ebx, 8
xor bl, al
xor bl, 0x63
je 0x4096db
movzx eax, bl
movzx eax, byte [esp + eax + 0xc]
movzx ecx, byte [esp + eax + 0x10d]
movzx esi, byte [esp + eax + 0x125]
jmp 0x4096df
xor ecx, ecx
xor esi, esi
shl ecx, 8
movzx eax, bl
or ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, esi
mov esi, ecx
rol esi, 8
mov dword [edx*4 + 0x4cd480], ecx
mov dword [edx*4 + 0x4cd880], esi
mov esi, ecx
rol esi, 0x10
ror ecx, 8
mov dword [edx*4 + 0x4ce080], ecx
mov ecx, eax
rol ecx, 8
mov dword [edx*4 + 0x4cc880], ecx
mov ecx, eax
mov dword [edx*4 + 0x4cc480], eax
rol ecx, 0x10
ror eax, 8
mov dword [edx*4 + 0x4cd080], eax
mov dword [edx*4 + 0x4cdc80], esi
movzx esi, dl
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
mov dword [edx*4 + 0x4ccc80], ecx
add eax, eax
mov ecx, eax
shr ecx, 8
xor cl, al
xor cl, 5
je 0x4097c2
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
add eax, eax
mov ecx, eax
shr ecx, 8
movzx ecx, cl
movzx eax, al
xor ecx, eax
xor ecx, 5
movzx ecx, byte [esp + ecx + 0xc]
lea eax, [esp + 0x20b]
sub eax, ecx
mov bl, byte [eax]
test bl, bl
je 0x4097c4
movzx ecx, bl
movzx ecx, byte [esp + ecx + 0xc]
movzx eax, byte [esp + ecx + 0x174]
movzx edi, byte [esp + ecx + 0x1fa]
movzx esi, byte [esp + ecx + 0x1d3]
movzx ecx, byte [esp + ecx + 0x1eb]
jmp 0x4097cc
xor bl, bl
xor eax, eax
xor edi, edi
xor esi, esi
xor ecx, ecx
shl eax, 8
or eax, edi
shl eax, 8
or eax, esi
shl eax, 8
or eax, ecx
movzx ecx, bl
add ecx, ecx
add ecx, ecx
mov esi, eax
rol esi, 8
mov dword [ecx + 0x4cb858], esi
mov esi, eax
rol esi, 0x10
mov dword [ecx + 0x4cb458], eax
ror eax, 8
inc edx
mov dword [ecx + 0x4cbc58], esi
mov dword [ecx + 0x4cc058], eax
cmp edx, 0x100
jb 0x409688
mov ecx, dword [esp + 0x30c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [0x4ce480], 1
call fcn.004a39f3
add esp, 0x304
ret
Function at 0x411450
Capabilities:
Get common file path
Get disk information
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
mov edi, dword [esp + 0x810]
push 0x400
push 0x4b8a1e
lea eax, [esp + 0x10]
push eax
push str.TempFolder
push 0x4b89fc
mov byte [edi], 0
call fcn.0045b440
cmp byte [esp + 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
jne 0x4114b4
cmp byte [0x4f5fcc], 0
je 0x411570
lea ecx, [esp + 8]
push ecx
push 0x400
call esi
push 0x400
lea edx, [esp + 0x40c]
push edx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jle 0x4114f1
cmp eax, 0x400
jae 0x4114f1
push 0x400
lea ecx, [esp + 0x40c]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.004a5350
add esp, 0xc
push 0
lea eax, [esp + 0xc]
push eax
call fcn.004313f0
test al, al
jne 0x41150d
lea ecx, [esp + 8]
push ecx
push 0x400
call esi
push 1
push 0x4b89d8
push 0x4b89fc
call fcn.0045afb0
test eax, eax
je 0x411553
cmp byte [0x4f5fcc], 0
jne 0x411553
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x41153d
cmp eax, 5
jne 0x41156a
lea eax, [esp + 8]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x411547
jmp 0x41156a
lea eax, [esp + 8]
mov edx, edi
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x411560
push edi
call fcn.00451880
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.004a39f3
add esp, 0x804
ret 4

Function at 0x415900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b4321
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ca3b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 1
lea ecx, [esi + 0x1ef0]
call fcn.00401a00
mov byte [esp + 0x14], 0
lea ecx, [esi + 0x30]
call fcn.0042d990
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
call fcn.004028c0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4171a0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x148
push ebp
push esi
mov esi, ecx
lea ebp, [esi + 4]
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x804], eax
test eax, eax
jne 0x4171ef
push ebp
call fcn.004842d0
test eax, eax
je 0x4171e4
cmp eax, 0x20
je 0x4171e4
push ebp
push eax
push 0x20
push 0x5c8
call fcn.00460760
push eax
call fcn.00492420
add esp, 0x10
pop esi
xor al, al
pop ebp
add esp, 0x148
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Prepare
push eax
call edi
mov dword [esi + 0x9e0], eax
mov eax, dword [esi + 0x804]
push str.Open
push eax
call edi
mov ecx, dword [esi + 0x804]
push 0x4b8df4
push ecx
mov dword [esi + 0x9e4], eax
call edi
mov edx, dword [esi + 0x804]
push str.GetNextName
push edx
mov dword [esi + 0x9e8], eax
call edi
mov dword [esi + 0x9ec], eax
mov eax, dword [esi + 0x804]
push str.GetListItem
push eax
call edi
mov ecx, dword [esi + 0x804]
push str.Extract
push ecx
mov dword [esi + 0x9f0], eax
call edi
mov edx, dword [esi + 0x804]
push str.GetComment
push edx
mov dword [esi + 0x9f4], eax
call edi
cmp dword [esi + 0x9e0], 0
mov dword [esi + 0x9f8], eax
je 0x4173e6
cmp dword [esi + 0x9e4], 0
je 0x4173e6
push 0x148
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004a4250
add esp, 0xc
mov dword [esp + 0xc], 0x148
mov dword [esp + 0x10], 0x410c60
mov dword [esp + 0x14], 0x410dd0
mov dword [esp + 0x18], 0x410de0
mov dword [esp + 0x44], 0x410df0
mov dword [esp + 0x20], 0x410e00
mov dword [esp + 0x2c], 0x410f90
mov dword [esp + 0x30], 0x410fb0
mov dword [esp + 0x38], 0x410fc0
mov dword [esp + 0x3c], 0x413520
mov dword [esp + 0x34], 0x413830
mov dword [esp + 0x48], 0x4110b0
mov dword [esp + 0x4c], 0x4110c0
mov dword [esp + 0x24], 0x4110d0
mov dword [esp + 0x54], 0x411130
mov dword [esp + 0x28], 0x4111b0
mov dword [esp + 0x40], 0x411250
mov dword [esp + 0x58], 0x411290
mov dword [esp + 0x5c], 0x4112a0
mov dword [esp + 0x1c], 0x416c10
mov dword [esp + 0x50], 0x4112b0
call fcn.0043e7a0
push 0x1d8
lea edi, [esi + 0x808]
push 0
push edi
mov dword [esp + 0xe4], eax
call fcn.004a4250
mov edx, dword [esi + 0x9e0]
add esp, 0xc
push edi
lea ecx, [esp + 0x10]
push ecx
mov dword [edi], 0x1d8
mov dword [esi + 0x80c], 1
mov dword [esi + 0x810], 0x40001
call edx
test al, al
je 0x4173b5
cmp dword [esi + 0x80c], 1
jne 0x4173b5
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x148
ret
mov eax, dword [esi + 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebp
mov dword [esi + 0x804], 0
call fcn.004513d0
push eax
push 0x42e
call fcn.00460760
push eax
call fcn.00492420
add esp, 8
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x148
ret
Function at 0x418ab0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4b46ab
mov eax, dword fs:[0]
push eax
sub esp, 0xa54
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0xa50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ca3b0]
xor eax, esp
push eax
lea eax, [esp + 0xa68]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa78]
cmp byte [ebp + 0x8e95], 0
mov edi, dword [esp + 0xa80]
mov eax, dword [ebp + 0x13d8]
je 0x418c8a
cmp byte [eax + 0x3969], 0
jne 0x418c8a
cmp byte [ebp + 0x8e90], 0
jne 0x418c8a
push ebp
lea ecx, [esp + 0x18]
call fcn.004627f0
mov dword [esp + 0xa70], 0
movzx eax, word [ebp + 0x67a0]
push 0
push 1
cdq
push 0
push edx
push eax
call fcn.004a4850
mov ecx, dword [ebp + 0x67a4]
xor esi, esi
add eax, ecx
adc edx, esi
push edx
push eax
mov ecx, ebp
call fcn.00430970
mov ecx, ebp
call fcn.0040f650
mov ebx, dword [esp + 0xa7c]
test bl, bl
je 0x418ba5
mov eax, dword [0x4e7b84]
push 0x200
lea edx, [esp + 0x668]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x34a
call fcn.00460760
push eax
call fcn.00485090
call fcn.00485770
push 0x638
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.004a4250
mov eax, dword [ebp + 0x6770]
add esp, 0xc
sub eax, 0x76
je 0x418c08
sub eax, 3
je 0x418bfa
sub eax, 1
jne 0x418c1d
push 0x4b8988
lea ecx, [ebp + 0x74c0]
call fcn.0040b3d0
test al, al
je 0x418bf0
lea edx, [esp + 0x2c]
push edx
push ebx
push ebp
call fcn.004182d0
jmp 0x418c1d
mov byte [esp + 0x662], 1
jmp 0x418c1d
lea eax, [esp + 0x2c]
push eax
push ebx
push ebp
call fcn.00417b10
jmp 0x418c1d
test byte [ebp + 0x679c], 0x20
je 0x418c76
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebp
call fcn.00417f80
test bl, bl
je 0x418c33
lea edx, [esp + 0x664]
push edx
call fcn.00485090
call fcn.00485770
test edi, edi
je 0x418c42
mov ecx, 0x18e
lea esi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
cmp byte [esp + 0x662], 0
je 0x418c76
test bl, bl
je 0x418c76
push 0x2a9
call fcn.00460760
push eax
add ebp, 0x418
push ebp
call fcn.00492940
add esp, 8
push 1
mov ecx, 0x4d56b4
call fcn.00428b80
mov dword [esp + 0xa70], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00462820
mov ecx, dword [esp + 0xa68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa50]
xor ecx, esp
call fcn.004a39f3
add esp, 0xa60
ret 0xc
Function at 0x41f0f0
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x1824
call fcn.004a4220
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x1820], eax
push esi
push str.winrar_config_integration
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x41f22a
push ebp
push 0x10000
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
jne 0x41f15d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
mov ecx, dword [esp + 0x1820]
xor ecx, esp
call fcn.004a39f3
add esp, 0x1824
ret
cmp byte [ebp], 0x49
push ebx
push edi
mov ebx, ebp
jne 0x41f1c4
cmp byte [ebp + 1], 0x1a
jne 0x41f1c4
lea esi, [ebp + 2]
mov ecx, 6
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x830]
movsw word es:[edi], word [esi]
push eax
lea edi, [ebp + 0x1c]
mov ebx, 0x400
call fcn.0041f0a0
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.0041f0a0
mov ebx, eax
test ebx, ebx
je 0x41f1c0
push 0
lea edx, [esp + 0x18]
push edx
call fcn.0043e640
lea edi, [esp + 0x30]
lea esi, [esp + 0x830]
call fcn.0041efa0
mov esi, dword [esp + 0x10]
cmp byte [ebx], 0x54
jne 0x41f219
lea eax, [esp + 0x1030]
lea edi, [ebx + 1]
push eax
mov ebx, 0x400
call fcn.0041f0a0
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.0041f0a0
lea edx, [esp + 0x830]
push edx
mov edi, eax
call fcn.0041f0a0
test eax, eax
je 0x41f219
push 0
lea eax, [esp + 0x834]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x103c]
push edx
call fcn.0043e1a0
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop ebp
mov ecx, dword [esp + 0x1824]
pop esi
xor ecx, esp
call fcn.004a39f3
add esp, 0x1824
ret