joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d747
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x41d840
cmp eax, dword [edi + 0xc]
jge 0x41d840
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x41d798
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x41d829
cmp dword [ebp + 0xc], ebx
je 0x41d829
jmp 0x41d7c2
push 0x10
call fcn.0041d48b
cmp eax, ebx
je 0x41d7ae
mov ecx, eax
call fcn.0041d699
mov esi, eax
jmp 0x41d7b0
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x41d7d9
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x41d7e9
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x41d7fb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004180b7
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.0040f280
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x41d83b
cmp ecx, dword [esi + 8]
jge 0x41d83b
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x41d841
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x403100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5521
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4cc3b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00402fb0
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ecx, [esi + 0x30]
call fcn.0042deb0
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x1ef0]
call fcn.00458f10
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 0x4069c0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2e0
mov eax, dword [0x4cc3b0]
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.004a56c4
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.0046a6e0
lea edx, [esi + 8]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x406a17
cmp dword [ebx + 4], 0x50000
jb 0x406a47
call fcn.0043ee30
cmp eax, 0x400
je 0x406a47
cmp byte [esp + 0x310], 0
jne 0x406a92
mov ebx, dword [esp + 0x300]
cmp ebx, 0xffffffff
je 0x406a57
test ebp, ebp
jne 0x406a99
cmp dword [esp + 0x2f8], 2
mov eax, 0x4201
jne 0x406a6b
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 0x406a88
mov ebx, dword [esp + 0x3c]
test ebp, ebp
jne 0x406a99
lea ebp, [esp + 0x44]
jmp 0x406a99
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 0x406ad7
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.004a48d3
add esp, 0x2e0
ret 0x20
Function at 0x407680
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x4cc3b0]
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 0x4076ba
push str.comctl32.dll
call fcn.00484790
mov dword [esi + 4], eax
mov eax, dword [esi]
test eax, eax
je 0x4076c7
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
mov dword [esi + 8], 0xffffffff
mov eax, dword [0x4d76ac]
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 [0x511c0c]
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.004069c0
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 0x40778d
push eax
call fcn.00485b30
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x4077b6
push eax
push eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.00406e60
test al, al
jne 0x40780d
push ebp
call fcn.00484ad0
mov ebp, eax
xor edi, edi
mov ebx, 1
test ebp, ebx
je 0x407804
lea ecx, [edi + 0x41]
push ecx
lea edx, [esp + 0x2d0]
push 0x4ba858
push edx
mov edx, 0xa
call fcn.004a29f0
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.004069c0
inc edi
rol ebx, 1
cmp edi, 0x20
jl 0x4077c5
pop ebp
mov ecx, esi
call fcn.004073e0
mov ecx, dword [esp + 0x2dc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a48d3
add esp, 0x2d4
ret 8
Function at 0x407830
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
sub esp, 0x804
mov eax, dword [0x4cc3b0]
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.00446b50
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 0x4078d8
mov edx, dword [esi]
push 0
push eax
push 0x14e
push edx
call edi
mov ecx, esi
call fcn.00407560
cmp byte [0x4e9b89], 0
mov ecx, esi
je 0x4078bc
call fcn.004071b0
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004a48d3
add esp, 0x804
ret
call fcn.00406dd0
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004a48d3
add esp, 0x804
ret
cmp byte [0x4e9b89], 0
je 0x407915
lea eax, [esp + 8]
push eax
call fcn.00452ec0
test al, al
jne 0x407915
lea ecx, [esp + 8]
push ecx
mov ecx, 0x4f0478
call fcn.004446d0
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004a48d3
add esp, 0x804
ret
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40794f
test al, 0x10
jne 0x40794f
lea eax, [esp + 8]
push eax
mov ecx, 0x4f0478
call fcn.00444c80
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004a48d3
add esp, 0x804
ret
lea ecx, [esp + 8]
push ecx
call fcn.0048d180
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.004a48d3
add esp, 0x804
ret
Function at 0x407970
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2bc
mov eax, dword [0x4cc3b0]
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 0x407a84
mov eax, dword [edi + 8]
cmp eax, 0xfffffcd9
je 0x4079e1
cmp eax, 0xfffffcda
jne 0x4079c7
cmp dword [edi + 0x21c], 2
jne 0x4079c7
mov ecx, 0x4f0468
call fcn.00407830
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004a48d3
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 0x4079fa
mov ebp, dword [ecx + 4]
jmp 0x4079fd
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 0x407a39
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 0x407a39
lea ecx, [esp + 0x20]
mov dword [edi + 0x14], ecx
test byte [esp + 0x10], 6
je 0x407a60
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.004a48d3
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.004a48d3
add esp, 0x2bc
ret 0x10
Function at 0x409740
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x304
mov eax, dword [0x4cc3b0]
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 0x409760
xor ecx, ecx
mov dword [ecx + 0x4ce458], eax
test eax, eax
je 0x4097ac
movzx eax, byte [esp + eax + 0xc]
movzx eax, byte [esp + eax + 0x125]
jmp 0x4097ae
xor eax, eax
add ecx, 4
cmp ecx, 0x28
jb 0x409793
xor edx, edx
test dl, dl
je 0x4097d2
movzx ecx, dl
movzx eax, byte [esp + ecx + 0xc]
lea ecx, [esp + 0x20b]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x4097d4
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 0x40980b
movzx eax, bl
movzx eax, byte [esp + eax + 0xc]
movzx ecx, byte [esp + eax + 0x10d]
movzx esi, byte [esp + eax + 0x125]
jmp 0x40980f
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 + 0x4cf480], ecx
mov dword [edx*4 + 0x4cf880], esi
mov esi, ecx
rol esi, 0x10
ror ecx, 8
mov dword [edx*4 + 0x4d0080], ecx
mov ecx, eax
rol ecx, 8
mov dword [edx*4 + 0x4ce880], ecx
mov ecx, eax
mov dword [edx*4 + 0x4ce480], eax
rol ecx, 0x10
ror eax, 8
mov dword [edx*4 + 0x4cf080], eax
mov dword [edx*4 + 0x4cfc80], esi
movzx esi, dl
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
mov dword [edx*4 + 0x4cec80], ecx
add eax, eax
mov ecx, eax
shr ecx, 8
xor cl, al
xor cl, 5
je 0x4098f2
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 0x4098f4
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 0x4098fc
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 + 0x4cd858], esi
mov esi, eax
rol esi, 0x10
mov dword [ecx + 0x4cd458], eax
ror eax, 8
inc edx
mov dword [ecx + 0x4cdc58], esi
mov dword [ecx + 0x4ce058], eax
cmp edx, 0x100
jb 0x4097b8
mov ecx, dword [esp + 0x30c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [0x4d0480], 1
call fcn.004a48d3
add esp, 0x304
ret
Function at 0x4116a0
Capabilities:
Get common file path
Get disk information
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
mov edi, dword [esp + 0x810]
push 0x400
push 0x4baa2e
lea eax, [esp + 0x10]
push eax
push str.TempFolder
push str.Paths
mov byte [edi], 0
call fcn.0045bdd0
cmp byte [esp + 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
jne 0x411704
cmp byte [0x4f7fd4], 0
je 0x4117c0
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 0x411741
cmp eax, 0x400
jae 0x411741
push 0x400
lea ecx, [esp + 0x40c]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.004a6230
add esp, 0xc
push 0
lea eax, [esp + 0xc]
push eax
call fcn.00431770
test al, al
jne 0x41175d
lea ecx, [esp + 8]
push ecx
push 0x400
call esi
push 1
push 0x4ba9e8
push str.Paths
call fcn.0045b940
test eax, eax
je 0x4117a3
cmp byte [0x4f7fd4], 0
jne 0x4117a3
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x41178d
cmp eax, 5
jne 0x4117ba
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 0x411797
jmp 0x4117ba
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 0x4117b0
push edi
call fcn.004520f0
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.004a48d3
add esp, 0x804
ret 4

Function at 0x414870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5fb1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4cc3b0]
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.00401ab0
mov byte [esp + 0x14], 0
lea ecx, [esi + 0x30]
call fcn.0042dd30
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
call fcn.00402950
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x415ad0
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 0x415b1f
push ebp
call fcn.00485080
test eax, eax
je 0x415b14
cmp eax, 0x20
je 0x415b14
push ebp
push eax
push 0x20
push 0x5c8
call fcn.004611c0
push eax
call fcn.00493250
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 str.Close
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 0x415d16
cmp dword [esi + 0x9e4], 0
je 0x415d16
push 0x148
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004a5130
add esp, 0xc
mov dword [esp + 0xc], 0x148
mov dword [esp + 0x10], 0x410eb0
mov dword [esp + 0x14], 0x411020
mov dword [esp + 0x18], 0x411030
mov dword [esp + 0x44], 0x411040
mov dword [esp + 0x20], 0x411050
mov dword [esp + 0x2c], 0x4111e0
mov dword [esp + 0x30], 0x411200
mov dword [esp + 0x38], 0x411210
mov dword [esp + 0x3c], 0x413630
mov dword [esp + 0x34], 0x413940
mov dword [esp + 0x48], 0x411300
mov dword [esp + 0x4c], 0x411310
mov dword [esp + 0x24], 0x411320
mov dword [esp + 0x54], 0x411380
mov dword [esp + 0x28], 0x411400
mov dword [esp + 0x40], 0x4114a0
mov dword [esp + 0x58], 0x4114e0
mov dword [esp + 0x5c], 0x4114f0
mov dword [esp + 0x1c], 0x415540
mov dword [esp + 0x50], 0x411500
call fcn.0043ee30
push 0x1d8
lea edi, [esi + 0x808]
push 0
push edi
mov dword [esp + 0xe4], eax
call fcn.004a5130
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], 0x40000
call edx
test al, al
je 0x415ce5
cmp dword [esi + 0x80c], 1
jne 0x415ce5
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.00451c30
push eax
push 0x42e
call fcn.004611c0
push eax
call fcn.00493250
add esp, 8
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x148
ret
Function at 0x418cb0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4b647b
mov eax, dword fs:[0]
push eax
mov eax, 0x1654
call fcn.004a5100
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x1650], eax
push ebx
push esi
push edi
mov eax, dword [0x4cc3b0]
xor eax, esp
push eax
lea eax, [esp + 0x1664]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1674]
cmp byte [esi + 0x8e95], 0
mov edi, dword [esp + 0x167c]
mov eax, dword [esi + 0x13d8]
je 0x418e95
cmp byte [eax + 0x3969], 0
jne 0x418e95
cmp byte [esi + 0x8e90], 0
jne 0x418e95
push esi
lea ecx, [esp + 0x14]
call fcn.00463260
mov dword [esp + 0x166c], 0
movzx eax, word [esi + 0x67a4]
push 0
push 1
cdq
push 0
push edx
push eax
call fcn.004a5730
mov ecx, dword [esi + 0x67a8]
xor ebx, ebx
add eax, ecx
adc edx, ebx
push edx
push eax
mov ecx, esi
call fcn.00430cf0
mov ecx, esi
call fcn.0040f890
mov ebx, dword [esp + 0x1678]
test bl, bl
je 0x418da8
mov eax, dword [0x4e9b84]
push 0x200
lea edx, [esp + 0x1264]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x34a
call fcn.004611c0
push eax
call fcn.00485d70
call fcn.00486470
push 0x1238
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.004a5130
mov eax, dword [esi + 0x6774]
add esp, 0xc
sub eax, 0x76
je 0x418e0b
sub eax, 3
je 0x418dfd
sub eax, 1
jne 0x418e20
push 0x4ba998
lea ecx, [esi + 0x74c0]
call fcn.0040b600
test al, al
je 0x418df3
lea edx, [esp + 0x28]
push edx
push ebx
push esi
call fcn.004184d0
jmp 0x418e20
mov byte [esp + 0x125e], 1
jmp 0x418e20
lea eax, [esp + 0x28]
push eax
push ebx
push esi
call fcn.00417d10
jmp 0x418e20
test byte [esi + 0x67a0], 0x20
je 0x418e81
lea ecx, [esp + 0x28]
push ecx
push ebx
push esi
call fcn.00418180
test bl, bl
je 0x418e36
lea edx, [esp + 0x1260]
push edx
call fcn.00485d70
call fcn.00486470
test edi, edi
je 0x418e4d
push 0x1238
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.004a51b0
add esp, 0xc
cmp byte [esp + 0x125e], 0
je 0x418e81
test bl, bl
je 0x418e81
push 0x2a9
call fcn.004611c0
push eax
add esi, 0x418
push esi
call fcn.00493840
add esp, 8
push 1
mov ecx, 0x4d76b4
call fcn.00428ef0
mov dword [esp + 0x166c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00463290
mov ecx, dword [esp + 0x1664]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1650]
xor ecx, esp
call fcn.004a48d3
add esp, 0x1660
ret 0xc
Function at 0x41f340
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x1824
call fcn.004a5100
mov eax, dword [0x4cc3b0]
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 0x41f47a
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 0x41f3ad
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
mov ecx, dword [esp + 0x1820]
xor ecx, esp
call fcn.004a48d3
add esp, 0x1824
ret
cmp byte [ebp], 0x49
push ebx
push edi
mov ebx, ebp
jne 0x41f414
cmp byte [ebp + 1], 0x1a
jne 0x41f414
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.0041f2f0
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.0041f2f0
mov ebx, eax
test ebx, ebx
je 0x41f410
push 0
lea edx, [esp + 0x18]
push edx
call fcn.0043ecd0
lea edi, [esp + 0x30]
lea esi, [esp + 0x830]
call fcn.0041f1f0
mov esi, dword [esp + 0x10]
cmp byte [ebx], 0x54
jne 0x41f469
lea eax, [esp + 0x1030]
lea edi, [ebx + 1]
push eax
mov ebx, 0x400
call fcn.0041f2f0
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.0041f2f0
lea edx, [esp + 0x830]
push edx
mov edi, eax
call fcn.0041f2f0
test eax, eax
je 0x41f469
push 0
lea eax, [esp + 0x834]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x103c]
push edx
call fcn.0043e870
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.004a48d3
add esp, 0x1824
ret