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

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41c188
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040324e
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00403229
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x41dce3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41dd26
call fcn.004209c3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
Function at 0x41e4ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x4429c7
call fcn.0042f809
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.004209c3
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x41e4f9
call fcn.004209c3
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x41e50a
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x41e517
or eax, 0xffffffff
jmp 0x41e673
mov ecx, esi
call fcn.0041dff5
mov dword [ebp - 0x14], eax
call fcn.0041b1d8
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x41e595
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x41e595
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41e595
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00419dbe
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x41e595
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x41e595
mov ecx, ebx
call fcn.0041f975
test eax, eax
je 0x41e595
push 0
mov ecx, ebx
call fcn.0041f990
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0041cb59
push dword [ebp - 0x14]
call fcn.0041b130
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041e2b6
xor edi, edi
cmp eax, edi
je 0x41e5f2
test byte [esi + 0x3c], 0x10
je 0x41e5dc
push 4
pop edi
mov ecx, esi
call fcn.0041f85c
test ax, 0x100
je 0x41e5d2
push 5
pop edi
push edi
mov ecx, esi
call fcn.0041acf8
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x41e5f2
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041f9f7
or dword [ebp - 4], 0xffffffff
jmp 0x41e61d
cmp dword [ebp - 0x28], edi
je 0x41e62b
push 1
mov ecx, ebx
call fcn.0041f990
cmp dword [ebp - 0x2c], edi
je 0x41e63b
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41e654
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x41e654
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0041e02f
cmp dword [esi + 0x58], edi
je 0x41e670
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0042f875
ret
Function at 0x424739
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x459d40]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x4247d7
push 0x448aec
push 4
push eax
call fcn.0042c400
push eax
call fcn.004015d3
add esp, 0x10
push ebx
push edi
call fcn.0042fb56
mov edi, dword [eax]
call fcn.0042fb56
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0042fafc
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.0042fb56
cmp dword [eax], ebx
je 0x4247ee
call fcn.0042fb56
push dword [eax]
call fcn.00418adb
pop ecx
jmp 0x4247f5
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x424788
jmp 0x424867
call fcn.0042fb56
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x424863
cmp dword [ebp - 0x40], esi
jae 0x424863
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.0042b5a0
add esp, 0xc
push 0x4483e8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x424855
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x424855
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x424855
push ebx
push ebx
push esi
jmp 0x42485b
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x424865
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.0042aa67
add ebp, 0x1f4
leave
ret
Function at 0x42625b
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x426264
xor eax, eax
jmp 0x4262cd
cmp dword [esp + 8], 0
jne 0x426270
call fcn.0041f5ea
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0042f376
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4262ab
push dword [esi + 0x10]
call fcn.0042e8b5
test eax, eax
pop ecx
jne 0x4262ab
mov esi, dword [esi + 0xc]
call fcn.0042fb69
push esi
push dword [eax]
push 1
call fcn.004260c5
push dword [esi + 0x10]
call fcn.0042e8e4
test eax, eax
pop ecx
je 0x4262ca
push dword [esi + 0x10]
call fcn.004304dc
push eax
call fcn.004015d3
pop ecx
pop ecx
jmp 0x426299
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x4262d6
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x4262e0
call fcn.0041f5ea
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0042ea72
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x42630d
mov esi, dword [esi + 0xc]
call fcn.0042fb69
push esi
push dword [eax]
push 1
call fcn.004260c5
pop esi
ret 8

Function at 0x42730e
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x427337
call fcn.004209c3
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x42735a
push eax
push dword [esi + 4]
call fcn.00427299
push esi
push eax
mov ecx, 0x45d434
call fcn.00426f48
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x42a976
Capabilities:
Terminate process

Disassembly:
push 0x60
push 0x452ad0
call fcn.0042f898
and dword [ebp - 4], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov edi, 0x94
push edi
push 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x42a8c9
push 0x12
call fcn.0042a819
pop ecx
jmp 0x42aa52
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push esi
push 0
test eax, eax
jne 0x42a8e7
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x42aa52
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x28], eax
mov edi, dword [esi + 0xc]
and edi, 0x7fff
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 0x20]
cmp esi, 2
je 0x42a919
or edi, 0x8000
mov ecx, dword [ebp - 0x24]
mov eax, ecx
shl eax, 8
mov edx, dword [ebp - 0x28]
add eax, edx
mov dword [0x45d744], esi
mov dword [0x45d74c], eax
mov dword [0x45d750], ecx
mov dword [0x45d754], edx
mov dword [0x45d748], edi
call fcn.0042a83d
mov dword [ebp - 0x20], eax
xor ebx, ebx
inc ebx
push ebx
call fcn.00431fbb
pop ecx
test eax, eax
jne 0x42a961
push 0x1c
call fcn.0042a819
pop ecx
call fcn.00431ddc
test eax, eax
invalid
jne 0x42a972
push 0x10
call fcn.0042a819
pop ecx
call fcn.004318bf
mov dword [ebp - 4], ebx
call fcn.0043166b
test eax, eax
jge 0x42a98b
push 0x1b
call fcn.0042b84b
pop ecx
call fcn.004315cc
mov dword [0x45f798], eax
call fcn.0043146b
mov dword [0x45d738], eax
call fcn.004313c0
test eax, eax
jge 0x42a9b0
push 8
call fcn.0042b84b
pop ecx
call fcn.0043119a
test eax, eax
jge 0x42a9c1
push 9
call fcn.0042b84b
pop ecx
push ebx
call fcn.0042b967
pop ecx
test eax, eax
je 0x42a9d3
push eax
call fcn.0042b84b
pop ecx
call fcn.00431154
test byte [ebp - 0x44], bl
je 0x42a9e3
movzx ecx, word [ebp - 0x40]
jmp 0x42a9e6
push 0xa
pop ecx
push ecx
push eax
push 0
push 0x400000
call fcn.004426f6
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], 0
jne 0x42aa03
push eax
call fcn.0042badb
invalid
call fcn.0042bafd
jmp 0x42aa38
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
jmp 0x42aa57
mov eax, 0xff
call fcn.0042f8dd
ret
call fcn.00432015
jmp 0x42a87e

Function at 0x42aa67
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x459d40]
jne 0x42aa71
repz ret
jmp fcn.004320a9
Function at 0x430e1d
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x459ed0]
je 0x430e38
inc edi
cmp edi, 0x17
jb 0x430e29
cmp edi, 0x17
jae 0x430fb8
push ebp
push 3
call fcn.0043ccbf
cmp eax, 1
pop ecx
je 0x430f84
push 3
call fcn.0043ccbf
test eax, eax
pop ecx
jne 0x430e6c
cmp dword [0x459a84], 1
je 0x430f84
cmp ebx, 0xfc
je 0x430fb7
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x45d798
push ebp
call fcn.0043cc5a
add esp, 0xc
test eax, eax
je 0x430ea2
push esi
push esi
push esi
push esi
push esi
call fcn.0043251f
add esp, 0x14
push 0x104
mov esi, 0x45d7b1
push esi
push 0
mov byte [0x45d8b5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x430ee6
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043cc5a
add esp, 0xc
test eax, eax
je 0x430ee6
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043251f
add esp, 0x14
push esi
call fcn.0042b7c0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x430f2b
push esi
call fcn.0042b7c0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x45daac
push 0x449ee4
sub ecx, eax
push ecx
push eax
call fcn.0043cba7
add esp, 0x14
test eax, eax
je 0x430f2b
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043251f
add esp, 0x14
jmp 0x430f2d
xor esi, esi
push 0x449ee0
push ebx
push ebp
call fcn.0043cb36
add esp, 0xc
test eax, eax
je 0x430f4d
push esi
push esi
push esi
push esi
push esi
call fcn.0043251f
add esp, 0x14
push dword [edi*8 + 0x459ed4]
push ebx
push ebp
call fcn.0043cb36
add esp, 0xc
test eax, eax
je 0x430f6f
push esi
push esi
push esi
push esi
push esi
call fcn.0043251f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043c979
add esp, 0xc
jmp 0x430fb7
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x430fb7
cmp ebp, 0xffffffff
je 0x430fb7
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x459ed4]
push dword [esi]
call fcn.0042b7c0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4320b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
add byte [eax], al
mov dword [0x45dde0], eax
mov dword [0x45dddc], ecx
mov dword [0x45ddd8], edx
mov dword [0x45ddd4], ebx
mov dword [0x45ddd0], esi
mov dword [0x45ddcc], edi
mov word [0x45ddf8], ss
mov word [0x45ddec], cs
mov word [0x45ddc8], ds
mov word [0x45ddc4], es
mov word [0x45ddc0], fs
mov word [0x45ddbc], gs
pushfd
pop dword [0x45ddf0]
mov eax, dword [ebp]
mov dword [0x45dde4], eax
mov eax, dword [ebp + 4]
mov dword [0x45dde8], eax
lea eax, [ebp + 8]
mov dword [0x45ddf4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x45dd30], 0x10001
mov eax, dword [0x45dde8]
mov dword [0x45dce4], eax
mov dword [0x45dcd8], 0xc0000409
mov dword [0x45dcdc], 1
mov eax, dword [0x459d40]
mov dword [ebp - 0x328], eax
mov eax, dword [0x459d44]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x45dd28], eax
push 1
call fcn.0043cd05
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x449f80
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x45dd28], 0
jne 0x432199
push 1
call fcn.0043cd05
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x43c979
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004319e1
xor ebx, ebx
cmp dword [0x45e29c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43ca4f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43cb2f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43cb2f
push eax
call fcn.00431973
mov dword [esp], 0x44a308
push edi
mov dword [0x45e29c], eax
call esi
push eax
call fcn.00431973
mov dword [esp], 0x44a2f4
push edi
mov dword [0x45e2a0], eax
call esi
push eax
call fcn.00431973
mov dword [0x45e2a4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042b8f4
test eax, eax
pop ecx
pop ecx
je 0x43ca1d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043251f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43ca4f
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00431973
cmp eax, ebx
pop ecx
mov dword [0x45e2ac], eax
je 0x43ca4f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00431973
pop ecx
mov dword [0x45e2a8], eax
mov eax, dword [0x45e2a8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43cad4
cmp dword [0x45e2ac], ecx
je 0x43cad4
push eax
call fcn.004319ea
push dword [0x45e2ac]
mov esi, eax
call fcn.004319ea
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43cad4
cmp edi, ebx
je 0x43cad4
call esi
cmp eax, ebx
je 0x43caa1
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43caa1
test byte [ebp - 0x18], 1
jne 0x43cad4
lea eax, [ebp - 0x10]
push eax
call fcn.0042b92b
test eax, eax
pop ecx
je 0x43cabc
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043251f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43cacb
or dword [ebp + 0x10], 0x200000
jmp 0x43cb0f
or dword [ebp + 0x10], 0x40000
jmp 0x43cb0f
mov eax, dword [0x45e2a0]
cmp eax, dword [ebp - 8]
je 0x43cb0f
push eax
call fcn.004319ea
cmp eax, ebx
pop ecx
je 0x43cb0f
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43cb0f
mov eax, dword [0x45e2a4]
cmp eax, dword [ebp - 8]
je 0x43cb0f
push eax
call fcn.004319ea
cmp eax, ebx
pop ecx
je 0x43cb0f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45e29c]
call fcn.004319ea
cmp eax, ebx
pop ecx
je 0x43cb2f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43cb31
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x66d970
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1ae000]
push edi
or ebp, 0xffffffff
jmp 0x66d992
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x66d999
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66d988
mov eax, 1
add ebx, ebx
jne 0x66d9ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x66d9bc
jne 0x66d9db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66d9db
dec eax
add ebx, ebx
jne 0x66d9c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x66d9a0
add ebx, ebx
jne 0x66d9d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x66da2d
xor ecx, ecx
sub eax, 3
jb 0x66d9f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x66da62
sar eax, 1
mov ebp, eax
jmp 0x66d9fe
add ebx, ebx
jne 0x66d9fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66d9cc
inc ecx
add ebx, ebx
jne 0x66da0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66d9cc
add ebx, ebx
jne 0x66da19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x66da0e
jne 0x66da2a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x66da0e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x66da4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x66da3e
jmp 0x66d98e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x66da4c
add edi, ecx
jmp 0x66d98e
pop esi
mov edi, esi
mov ecx, 0xd074
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x66da6a
cmp byte [edi], 0x22
jne 0x66da6a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x66da6f
lea edi, [esi + 0x269000]
mov eax, dword [edi]
or eax, eax
je 0x66dae7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28b374]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x28b4c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x66da9c
mov ecx, edi
jns 0x66dacb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x28b4cc]
or eax, eax
je 0x66dae1
mov dword [ebx], eax
add ebx, 4
jmp 0x66dab9
call dword [esi + 0x28b4d4]
mov ebp, dword [esi + 0x28b4d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x66db1b
sub esp, 0xffffff80
jmp 0x4f8eb9
Function at 0x100053b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x10005400
cmp edi, esi
jb 0x1000546b
cmp edi, dword [ebp + 0x10]
ja 0x1000547e
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x10005402
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x100053f0
jmp 0x1000545f
ja 0x10005409
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x100053c5
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x10005440
mov ebx, esi
sub ecx, edx
jns 0x10005457
jmp 0x10005461
cmp esi, edi
je 0x10005492
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x10005461
xor al, 1
cmp ebx, edi
jne 0x10005420
jmp 0x10005461
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x104f4314
call fcn.10003fe0
add esp, 4
ud2
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x104f4314
call fcn.100038f0
add esp, 4
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov edx, 0x2b
push 0x104f4304
call fcn.10003c10
add esp, 4
ud2
Function at 0x1000f670
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x1000f687
test eax, eax
jne 0x1000f7e8
mov edi, dword [0x104ff07c]
test edi, edi
je 0x1000f7e8
mov dword [ebp - 0x10], 0
jmp 0x1000f6a7
mov edi, dword [edi + 8]
test edi, edi
je 0x1000f6d6
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x1000f827
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x1000f6a0
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
mov al, 1
mov dword [ebp - 0x10], eax
jmp 0x1000f6a0
test byte [ebp - 0x10], 1
je 0x1000f7e8
mov edi, dword [0x104ff07c]
test edi, edi
je 0x1000f7e8
mov dword [ebp - 0x10], 0
jmp 0x1000f707
mov edi, dword [edi + 8]
test edi, edi
je 0x1000f736
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x1000f827
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x1000f700
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
mov al, 1
mov dword [ebp - 0x10], eax
jmp 0x1000f700
test byte [ebp - 0x10], 1
je 0x1000f7e8
mov edi, dword [0x104ff07c]
test edi, edi
je 0x1000f7e8
mov dword [ebp - 0x10], 0
jmp 0x1000f767
mov edi, dword [edi + 8]
test edi, edi
je 0x1000f796
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x1000f827
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x1000f760
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
mov al, 1
mov dword [ebp - 0x10], eax
jmp 0x1000f760
test byte [ebp - 0x10], 1
je 0x1000f7e8
mov edi, dword [0x104ff07c]
test edi, edi
je 0x1000f7e8
mov dword [ebp - 0x10], 0
jmp 0x1000f7b7
mov edi, dword [edi + 8]
test edi, edi
je 0x1000f7e2
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x1000f827
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x1000f7b0
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
mov al, 1
mov dword [ebp - 0x10], eax
jmp 0x1000f7b0
test byte [ebp - 0x10], 1
jne 0x1000f7f2
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov edi, dword [0x104ff07c]
jmp 0x1000f7fd
mov edi, dword [edi + 8]
test edi, edi
je 0x1000f7e8
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x1000f827
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x1000f7fa
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
jmp 0x1000f7fa
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
push 0x104f6e04
call fcn.10003c10
add esp, 4
ud2