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

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x403321
jmp dword [eax*4 + 0x404a10]
cmp dword [0x4070d4], 0
je 0x403430
push 0x4070d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4070f0]
test edi, edi
je 0x403425
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40336b
mov edi, dword [edi + 8]
test edi, edi
je 0x403425
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x403360
test esi, esi
je 0x403360
mov ecx, dword [edi + 4]
call dword [0x404adc]
push esi
call ecx
add esp, 4
jmp 0x403360
call fcn.00402ae0
jmp case.default.0x403321
cmp dword [0x4070d4], 0
je case.default.0x403321
push 0x4070d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4070f0]
test edi, edi
je 0x403418
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4033d7
mov edi, dword [edi + 8]
test edi, edi
je 0x403418
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x4033d0
test esi, esi
je 0x4033d0
mov ecx, dword [edi + 4]
call dword [0x404adc]
push esi
call ecx
add esp, 4
jmp 0x4033d0
cmp dword [0x4070d4], 0
jne 0x40340c
push 0x4070d8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4070d4], 1
jmp case.default.0x403321
push 0x4070d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.default.0x403321
push 0x4070d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4070d4]
cmp eax, 1
jne case.default.0x403321
mov eax, dword [0x4070f0]
test eax, eax
je 0x403462
nop word cs:[eax + eax]
mov esi, dword [eax + 8]
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov eax, esi
test esi, esi
jne 0x403450
mov dword [0x4070f0], 0
mov dword [0x4070d4], 0
push 0x4070d8
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4035c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x404004]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x403626
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x403626
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x403626
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x403626
mov edx, dword [esp + 0xc]
sub edx, dword [0x404004]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x403616
add esi, 0x28
dec ecx
je 0x403626
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x403610
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x403610
mov eax, esi
pop esi
pop edi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10002fc7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10002fd6
pop dword [ebp - 0x14]
mov eax, 0x50fb6502
sub eax, 0x40fb352c
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x822f8df3
add dword [ebp - 0x24], 0xcc22b758
mov dword [ebp - 0x20], 0xcce87d99
sub dword [ebp - 0x20], 0x9ab53154
mov dword [ebp - 0x1c], 0x38d028e9
sub dword [ebp - 0x1c], 0xec83e4bb
mov dword [ebp - 0x18], 0xfaf686f0
sub dword [ebp - 0x18], 0xfaf686f0
lea eax, [ebp - 0x24]
push eax
mov eax, 0xaf221de8
sub eax, 0x9f1fcd64
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x5b7dc73e
sub dword [ebp - 0x24], 0xe70b5de8
mov dword [ebp - 0x20], 0x15432370
add dword [ebp - 0x20], 0x2c293e05
mov dword [ebp - 0x1c], 0x8991013e
sub dword [ebp - 0x1c], 0x262194d2
mov dword [ebp - 0x18], 0xd0cd6f0c
sub dword [ebp - 0x18], 0xd0cd6f0c
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x40c4b
push 0
call eax
mov ecx, 0x16065efb
sub ecx, 0x160601ac
xor edx, edx
add edx, eax
mov esi, 0xfa2eb023
add esi, 0x15d45bdd
add esi, dword [ebp - 0x14]
mov ebx, 0x63e6f07b
sub dword [ebp - 0x10], 0x1608d43a
mov edi, dword [esi]
add dword [ebp - 8], 0x715cb3d6
xor edi, ebx
sub dword [ebp - 0xc], 0x84a9b0e4
mov dword [edx], edi
mov dword [ebp - 0xc], 0x2c415530
add edx, 4
add esi, 4
loop 0x100030ef
add eax, 0x44a37e45
add eax, 0xbb5de9ca
mov ebx, eax
add eax, 0xa457319d
sub eax, 0xa4573198
mov ecx, 0x1c5868e4
add ecx, 0xf3a7971c
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x1001c6a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1001c73b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x1001c6f2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x1001c6f2
cmp esi, ebx
jge 0x1001c6f2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x1001c735
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x1001c735
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100252e4]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100252e4]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1001c74d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc
Function at 0x1001c970
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
mov eax, dword [ebp + 8]
je 0x1001c998
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001c9b2
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10002fc7
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10022650
leave
ret 4

Function at 0x1001cb80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x1001cbb6
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001cc15
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10002fc7
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10002fc7
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10002fc7
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10022650
leave
ret 0x10

Function at 0x1001cc30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001cc5c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001cc8d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001cc8b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10002fc7
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001cc8d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10022650
leave
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47e030]
jne 0x401073
repz ret
jmp fcn.00401e41

Function at 0x408aeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d3a
and dword [ebp - 4], 0
cmp dword [0x480b68], 0
mov ebx, eax
jne 0x408b9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c4d
push eax
call fcn.00404cc8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x480b68], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x480b6c], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x480b70], eax
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x480b78], eax
test eax, eax
je 0x408b9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x480b74], eax
mov eax, dword [0x480b74]
cmp eax, ebx
je 0x408bf4
cmp dword [0x480b78], ebx
je 0x408bf4
push eax
call fcn.00404d43
push dword [0x480b78]
mov esi, eax
call fcn.00404d43
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408bf4
test edi, edi
je 0x408bf4
call esi
test eax, eax
je 0x408beb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408beb
test byte [ebp - 0xc], 1
jne 0x408bf4
or dword [ebp + 0x10], 0x200000
jmp 0x408c2d
mov eax, dword [0x480b6c]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c2d
mov eax, dword [0x480b70]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x480b68]
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40af50
Capabilities:
Set console window title

Disassembly:
sub esp, 0x820
mov eax, dword [0x47e030]
xor eax, esp
mov dword [esp + 0x81c], eax
mov eax, dword [0x2c5e55c]
push ebx
mov ebx, dword [0x2c5e280]
push esi
mov esi, dword [0x47ef60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40af91
push str.zolihetujejijitewi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2c5e55c]
mov dword [0x480d0c], esi
cmp eax, 0x114e
jne 0x40afbb
lea eax, [esp + 0xc]
push eax
push str.Gijetuhe_batawuwafadis_fomikayemes_zeruru
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x2c5e55c]
cmp eax, 0x2f
jne 0x40afdb
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
call fcn.0040ae50
mov ecx, dword [esp + 0x828]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401069
add esp, 0x820
ret
Function at 0x40f21a
Capabilities:
Terminate process

Disassembly:
cmp dword [0x68206c], ebx
jne 0x40eb95
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x682068]
call fcn.004a643f
ret
push 0x40100a
call fcn.00401000
call fcn.004f38cc
jmp 0x422ef0
push 0x10
push 0x5bec88
call fcn.004a63fa
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x8956dc
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x54baa2
cmp eax, esi
jne 0x54ba92
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x54baa5
mov dword [0x68206c], esi
mov eax, dword [0x8956d8]
cmp eax, esi
jne 0x459432
push 0x5be168
push 0x5be160
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x8956d8], 2
cmp dword [ebp - 0x1c], ebx
jne 0x459443
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x8956e0], ebx
jmp 0x50b560
jne 0x40eb83
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
je 0x50b583
push 0x8956e0
call fcn.004df6e9
pop ecx
test eax, eax
je 0x50b583
push ebx
push 2
push ebx
call dword [0x8956e0]
push dword [0x682054]
push dword [0x682058]
push dword [0x682050]
call fcn.004ac8c2
add esp, 0xc
mov dword [0x682068], eax
cmp dword [0x68205c], ebx
jmp 0x4b2ab6
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x422f12
xor esi, esi
inc esi
mov eax, dword [0x8956d8]
cmp eax, esi
jne 0x54babf
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x45940a
mov eax, dword [0x8956d8]
test eax, eax
jne 0x459404
mov dword [0x8956d8], esi
push 0x5be178
push 0x5be16c
call fcn.004fc342
pop ecx
pop ecx
test eax, eax
je 0x45940a
mov dword [ebp - 4], 0xfffffffe
jmp dword [0x54bafc]

Function at 0x45dad8
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x6c740c]
lea edx, [ecx + eax*2]
xor eax, eax
mov dword [esi], edx
test edi, edi
jle 0x41e2b1
lea ebx, [ebx]
mov edx, dword [esi]
lea ecx, [eax + 1]
imul ecx, dword [ebp + 8]
xor cx, word [ebx + eax*2]
inc eax
mov word [edx + eax*2 - 2], cx
cmp eax, edi
jl 0x41e296
mov eax, esi
pop ebp
ret 8
push ebp
mov ebp, esp
cmp byte [0x6c7650], 0
jne 0x41e278
push 0x1000
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [0x6c740c], eax
mov byte [0x6c7650], 1
jmp 0x41e278

Function at 0x46c5e2
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov edi, edi
lea edx, [eax + 1]
imul edx, edx, 0x22de
xor dx, word [eax*2 + 0x5be6c8]
inc eax
mov word [ebp + eax*2 - 0x436], dx
cmp eax, 8
jl 0x41b49e
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.msvcrt.dll_sprintf]
push ebx
lea eax, [ebp - 0x434]
push eax
push ecx
call esi
add esp, 0xc
xor eax, eax
jmp 0x41b4df
lea ecx, [eax + 1]
imul ecx, ecx, 0x76b6
jmp dword [0x41b4ee]
push ebp
mov ebp, esp
sub esp, 0x540
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov dword [ebp - 0x538], ecx
jmp 0x41b49a
Function at 0x4834bb
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
push edx
push esi
push eax
call dword [0x6cba98]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fc32e
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x4467db
lea edx, [eax + 1]
imul edx, edx, 0x3417
xor dx, word [eax*2 + 0x5be270]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xd
jl 0x4467db
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x1ea7
xor dx, word [eax*2 + 0x5be28c]
jmp dword [0x44681c]
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 1
test byte [0x6cba9c], cl
jne 0x42216f
or dword [0x6cba9c], ecx
jmp 0x4467d4

Function at 0x4872c7
Capabilities:
Get hostname

Disassembly:
push ecx
lea edx, [ebp - 0x10c]
push edx
mov dword [ebp - 0x3e0], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x4c26c3
lea ecx, [eax + 1]
imul ecx, ecx, 0x7b11
xor cx, word [eax*2 + 0x5beb28]
inc eax
jmp 0x4c2694
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
jmp 0x4de6ca
mov word [ebp + eax*2 - 0x236], cx
cmp eax, 5
jl 0x44fa68
xor eax, eax
jmp 0x4c26ac
mov cl, byte [ebp + eax - 0x234]
mov byte [ebp + eax - 0x10c], cl
inc eax
test cl, cl
jne 0x4c26ac
mov edx, dword [ebp - 0x3e0]
push 1
lea eax, [ebp - 0x3dc]
push eax
push 0
push 0
mov byte [ebp + edx - 0x10c], 0
mov dword [ebp - 0x3dc], 0x1a8
call dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
jmp dword [0x4c26f7]
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x3e8], eax
mov dword [ebp - 0x3e4], ebx
test eax, eax
je 0x53e311
test ebx, ebx
je 0x53e311
push 0xff
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3e0]
jmp 0x44fa48
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.004fc32e
mov esp, ebp
pop ebp
ret
Function at 0x49106e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
push esi
mov dword [ebx + 0x10], eax
push edi
mov dword [ebx + 0x14], eax
lea edx, [ebp - 0x308]
jmp 0x56b654
add esp, 0xc
xor eax, eax
jmp 0x4c73de
lea edx, [eax + 1]
imul edx, edx, 0xb19
xor dx, word [eax*2 + 0x5be654]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 6
jl 0x4c73de
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.msvcrt.dll_strstr]
jmp dword [0x4c741c]
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004fc32e
jmp 0x4d849e
mov dword [ebx + 0x18], eax
push edx
mov eax, 0x72
push ecx
mov word [ebp - 0x308], ax
call dword [sym.imp.msvcrt.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x51cceb
mov edi, dword [sym.imp.msvcrt.dll_fgets]
push esi
lea eax, [ebp - 0x108]
push 0x100
push eax
call edi
add esp, 0xc
test eax, eax
je 0x51cce1
jmp 0x587cfa
lea edx, [eax + 1]
imul edx, edx, 0x5c2e
xor dx, word [eax*2 + 0x5be64c]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 2
jl 0x5764f2
push ebx
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.msvcrt.dll_sscanf]
jmp 0x4c73d4
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x10d3
xor cx, word [eax*2 + 0x5be630]
inc eax
mov word [ebp + eax*2 - 0x20a], cx
cmp eax, 0xc
jl 0x587cfc
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.msvcrt.dll_strstr]
add esp, 8
test eax, eax
je 0x4c73d7
push esi
lea ecx, [ebp - 0x108]
push 0x100
push ecx
call edi
add esp, 0xc
xor eax, eax
jmp 0x5764f2
Function at 0x4a2e3a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test dl, dl
jne 0x58d98e
xor eax, eax
jmp 0x42f8f8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42f930
mov eax, dword [ebp - 0x414]
add dword [ebp - 0x410], 4
inc eax
mov dword [ebp - 0x414], eax
cmp eax, dword [esi + 0x18]
jb 0x4a1f1a
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004fc32e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x414]
cmp ecx, 0xffffffff
jmp dword [0x42f93f]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp + 0xc]
add esi, edi
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x420], edx
test edx, edx
je 0x4a1ef0
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4a1ee2
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
je 0x5aa5d2
mov dword [ebp - 0x414], ecx
cmp dword [esi + 0x18], ecx
jbe 0x42f91d
mov eax, dword [esi + 0x20]
add eax, edi
mov dword [ebp - 0x410], eax
jmp 0x58d984
mov eax, dword [ebp - 0x410]
jmp dword [0x4a1f27]
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0x3c]
mov esi, dword [ebx + edi + 0x78]
jmp 0x4a1ec0
cmp byte [ebp + 0x18], 0
jne 0x4fc9d7
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x418]
push eax
call fcn.004f0663
add esp, 4
add esi, eax
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fc32e
mov esp, ebp
pop ebp
ret
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
add eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42f8f3
test dl, dl
je 0x42f8ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42f8f3
add eax, 2
add ecx, 2
jmp 0x42f8e4
cmp dword [ebp + 0x10], 0
movzx eax, word [ebp + 0x14]
je 0x5aa5f1
mov edx, dword [esi + 0x24]
lea eax, [edx + ecx*2]
mov cx, word [eax + edi]
add cx, word [esi + 0x10]
movzx eax, cx
movzx edx, ax
sub edx, dword [esi + 0x10]
mov eax, dword [esi + 0x1c]
lea ecx, [eax + edx*4]
mov esi, dword [ecx + edi]
mov eax, dword [ebx + edi + 0x78]
cmp esi, eax
jb 0x4fc9b6
mov edx, dword [ebx + edi + 0x7c]
add edx, eax
jmp dword [0x5aa61b]

Function at 0x4a37b2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x33d6
xor cx, word [eax*2 + 0x5be220]
inc eax
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 0xc
jl 0x4a37c7
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x5ec5
xor dx, word [eax*2 + 0x5be23c]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 5
jl 0x4a37ec
jmp 0x59aabc
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x3000
push ebx
push 0
push edi
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fc32e
mov esp, ebp
pop ebp
ret