joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4449b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49e4d8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4cc99c]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4cc99c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x18]
xor edi, edi
mov esi, ecx
cmp dword [ebp + 0x1c], edi
jne 0x444ad5
mov eax, dword [ebp + 0xc]
cmp eax, 0xf
jne 0x444a45
mov eax, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x14], eax
mov dword [esp + 0x70], edi
mov edi, esi
call fcn.00445040
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebx], 0
mov eax, 1
jmp 0x444ad7
cmp eax, 1
je 0x444aad
cmp eax, 2
je 0x444aad
cmp eax, 0x113
jne 0x444a78
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x444a6b
mov edi, esi
call fcn.00445040
mov dword [ebx], 0
mov eax, 1
jmp 0x444ad7
cmp eax, 0x200
jne 0x444a90
mov eax, dword [ebp + 0x14]
call fcn.004457e0
mov dword [ebx], eax
mov eax, 1
jmp 0x444ad7
cmp eax, 0x2a3
jne 0x444ab6
mov edx, dword [esi + 4]
push edi
push edx
mov byte [esi + 0x64], 0
mov dword [esi + 0x3c], 0xffffffff
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebx], edi
mov eax, 1
jmp 0x444ad7
cmp eax, 0x201
jne 0x444ace
mov eax, dword [ebp + 0x14]
call fcn.00445730
mov dword [ebx], eax
mov eax, 1
jmp 0x444ad7
cmp eax, 0x111
je 0x444aad
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00497792
mov esp, ebp
pop ebp
ret 0x18

Function at 0x445730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
movzx ecx, ax
shr eax, 0x10
push edi
lea edx, [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push edx
push eax
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esi + 4]
lea ecx, [ebp - 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
xor edi, edi
cmp dword [esi + 0x38], edi
jle 0x445793
xor ebx, ebx
lea esp, [esp]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [esi + 0x34]
push eax
push ecx
lea eax, [edx + ebx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4457cd
inc edi
add ebx, 0x4c
cmp edi, dword [esi + 0x38]
jl 0x445770
mov dword [esi + 0x40], 1
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x5c], 8
lea eax, [esi + 0x48]
jb 0x4457b1
mov eax, dword [eax]
mov edx, dword [esi + 0x40]
push edx
push eax
mov eax, dword [esi + 0x44]
push 0x416
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x40], edi
jmp 0x44579a
Function at 0x4461b0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [esi + 0x88]
test edi, edi
je 0x4461e5
mov ecx, dword [edi + 4]
push 0x291
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.00442ae0
xor eax, eax
pop edi
ret

Function at 0x446b10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
movzx ecx, ax
shr eax, 0x10
push edi
lea edx, [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push edx
push eax
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esi + 4]
lea ecx, [ebp - 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
xor edi, edi
cmp dword [esi + 0x38], edi
jle 0x446b73
xor ebx, ebx
lea esp, [esp]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [esi + 0x34]
push eax
push ecx
lea eax, [edx + ebx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x446bd5
inc edi
add ebx, 0x4c
cmp edi, dword [esi + 0x38]
jl 0x446b50
mov dword [esi + 0x40], 1
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [esi + 0x88]
test edi, edi
je 0x446bae
mov edx, dword [edi + 4]
push 0x291
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.00442ae0
cmp dword [esi + 0x5c], 8
lea eax, [esi + 0x48]
jb 0x446bb9
mov eax, dword [eax]
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
push ecx
push eax
push 0x416
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x40], edi
jmp 0x446b7a
Function at 0x448170
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x448250
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call esi
test eax, eax
je 0x448250
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4481c6
and al, 0x10
xor ecx, ecx
cmp al, 0x10
sete al
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
push ebx
call esi
inc eax
cmp eax, 0x3fffffff
jle 0x4481d5
xor eax, eax
jmp 0x4481eb
lea esi, [eax + eax]
mov eax, esi
call fcn.00497dd0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.00403590
push eax
call dword [sym.imp.MSVCR100.dll__strdup]
mov edi, eax
push 0x5c
push edi
call dword [sym.imp.MSVCR100.dll_strrchr]
add esp, 0xc
test eax, eax
je 0x448282
mov byte [eax], 0
test edi, edi
jne 0x44820f
xor eax, eax
jmp 0x448239
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x448225
xor eax, eax
jmp 0x448239
lea eax, [esi + esi]
call fcn.00497dd0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00403550
push eax
call fcn.00448170
add esp, 4
push edi
test al, al
jne 0x448266
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
xor al, al
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x448282
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov al, 1
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret

Function at 0x448370
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
jne 0x4483a0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x448406
lea ecx, [ebp - 0x10]
push ecx
push esi
shr esi, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x448406
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x448406
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x18]
push edx
mov eax, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp eax, 1
sete bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449300
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4c01e8
push 0x497f61
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x4cc99c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x108], ebx
mov byte [ebp - 0x5c], 0
push 0x31
xor esi, esi
push esi
lea eax, [ebp - 0x5b]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov byte [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x27], eax
mov byte [ebp - 0x23], al
mov byte [ebp - 0x90], al
push 0x31
push esi
lea ecx, [ebp - 0x8f]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x100], esi
mov dword [ebp - 4], esi
push 0x68
push esi
lea edx, [ebp - 0xfc]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xf4], 0x67452301
mov dword [ebp - 0xf0], 0xefcdab89
mov dword [ebp - 0xec], 0x98badcfe
mov dword [ebp - 0xe8], 0x10325476
lea eax, [ebp - 0x28]
push eax
call fcn.0044a9c0
add esp, 4
test eax, eax
jne 0x4493ef
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [esi + 6]
lea esi, [ebp - 0xfc]
call fcn.0044b190
add esp, 4
lea esi, [ebp - 0x5c]
call fcn.0044a830
test al, al
je 0x449411
mov edx, esi
push edx
mov ecx, 0x31
lea esi, [ebp - 0xfc]
call fcn.0044b190
add esp, 4
call fcn.0044a780
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x104]
push eax
mov ecx, 4
lea esi, [ebp - 0xfc]
call fcn.0044b190
add esp, 4
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x100]
call fcn.0044a0d0
add esp, 4
test al, al
je 0x449464
lea edx, [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0x100]
call fcn.0044b190
add esp, 4
lea edi, [ebp - 0xa4]
lea ecx, [ebp - 0xfc]
call fcn.0044b2c0
mov eax, dword [ebp - 0xa4]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebx + 4], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebx + 8], edx
mov eax, dword [ebp - 0x98]
jmp 0x4494b0
mov dword [ebx + 0xc], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, ebx
mov ecx, 0x10
xor byte [eax], 0xf4
inc eax
dec ecx
jne 0x4494c1
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x449930
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x508], eax
xor al, al
xor ebx, ebx
xor esi, esi
push edi
mov byte [ebp - 0x4f9], al
mov dword [ebp - 0x500], esi
cmp al, bl
jne 0x449b35
push 0xff
lea ecx, [ebp - 0x103]
push ebx
push ecx
mov byte [ebp - 0x104], bl
call sub.MSVCR100.dll_memset
push 0x3e7
lea edx, [ebp - 0x4eb]
push ebx
push edx
mov byte [ebp - 0x4ec], bl
call sub.MSVCR100.dll_memset
push esi
lea eax, [ebp - 0x104]
push str..PhysicalDrive_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x449b1f
push 0x2710
push 8
mov dword [ebp - 0x504], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
je 0x449b12
push ebx
lea edx, [ebp - 0x504]
push edx
push 0x2710
xor eax, eax
push esi
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x4f4], eax
push 0xc
mov dword [ebp - 0x4f0], eax
lea eax, [ebp - 0x4f8]
push eax
push 0x2d1400
push edi
mov dword [ebp - 0x4f8], ebx
mov dword [ebp - 0x4f4], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x449a84
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x449a84
lea ecx, [ebp - 0x4ec]
push ecx
add eax, esi
push eax
call fcn.00449dc0
add esp, 8
lea ebx, [ebp - 0x4ec]
call fcn.00449f40
movsx dx, byte [ebp - 0x4ec]
movzx eax, dx
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x449a82
mov edx, dword [ebp - 0x508]
push 0x31
mov ecx, ebx
push ecx
push edx
jmp 0x449af1
xor ebx, ebx
push 0x2710
push ebx
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 0x504]
push eax
push 0x2710
push esi
push ebx
push ebx
push 0x2d0c10
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x449b03
lea ecx, [esi + 0x10]
push ecx
lea edx, [ebp - 0x4ec]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ebx, [ebp - 0x4ec]
call fcn.00449f40
movsx ax, byte [ebp - 0x4ec]
movzx ecx, ax
push ecx
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x449b01
mov eax, dword [ebp - 0x508]
push 0x31
mov edx, ebx
push edx
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
mov byte [ebp - 0x4f9], 1
add esp, 0xc
xor ebx, ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x500]
mov al, byte [ebp - 0x4f9]
inc esi
mov dword [ebp - 0x500], esi
cmp esi, 0x10
jl 0x449961
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x44ad40
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x198]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x44ad8f
mov eax, dword [0x4e9f94]
test eax, eax
jne 0x44ada0
push str.inetmib1.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4e9f94], eax
cmp eax, 0x20
jae 0x44ada0
mov dword [0x4e9f94], 0
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
cmp dword [0x4e9f98], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x44adc0
push str.SnmpExtensionInit
push eax
call esi
mov dword [0x4e9f98], eax
test eax, eax
je 0x44ad8f
push 0x4e99cc
push 0x4e99c8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [0x4e9f98]
cmp dword [0x4e9f9c], 0
jne 0x44adf7
mov ecx, dword [0x4e9f94]
push str.SnmpExtensionInitEx
push ecx
call esi
mov dword [0x4e9f9c], eax
test eax, eax
je 0x44ad8f
cmp dword [0x4e9fa0], 0
jne 0x44ae1b
mov edx, dword [0x4e9f94]
push str.SnmpExtensionQuery
push edx
call esi
mov dword [0x4e9fa0], eax
test eax, eax
je 0x44ad8f
cmp dword [0x4e9fa4], 0
jne 0x44ae3e
mov eax, dword [0x4e9f94]
push str.SnmpExtensionTrap
push eax
call esi
mov dword [0x4e9fa4], eax
test eax, eax
je 0x44ad8f
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x450970
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x4e9cdc]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
xor ebx, ebx
call esi
test eax, eax
je 0x4509af
mov ecx, dword [0x4e9cdc]
push ecx
call esi
cmp dword [eax], ebx
je 0x4509af
mov edx, dword [0x4e9cdc]
push edi
push edx
call esi
mov edi, dword [eax]
call fcn.004163a0
pop edi
test eax, eax
je 0x4509af
mov eax, dword [eax + 0xc]
pop esi
pop ebx
ret
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4509c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a02c0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4cc99c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x4e9cdc]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
mov byte [ebp - 0xd], bl
call esi
test eax, eax
je 0x450add
mov ecx, dword [0x4e9cdc]
push ecx
call esi
cmp dword [eax], ebx
je 0x450add
mov edx, dword [0x4e9cdc]
push edx
call esi
mov edi, dword [eax]
call fcn.004163a0
cmp eax, ebx
je 0x450add
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x450add
mov eax, dword [eax + 0x10]
cmp eax, ebx
je 0x450add
mov eax, dword [eax + 8]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
cmp eax, ebx
je 0x450a64
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4b9464
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x450ace
cmp ecx, ebx
je 0x450ace
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
call fcn.00451380
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x450ab5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x450ac8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x450ae0
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x450af3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450b10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0278
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4cc99c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x4e9cdc]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
mov byte [ebp - 0xd], bl
call esi
test eax, eax
je 0x450bf2
mov ecx, dword [0x4e9cdc]
push ecx
call esi
cmp dword [eax], ebx
je 0x450bf2
mov edx, dword [0x4e9cdc]
push edx
call esi
mov edi, dword [eax]
call fcn.004163a0
cmp eax, ebx
je 0x450bf2
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x450bf2
mov eax, dword [eax + 0x10]
cmp eax, ebx
je 0x450bf2
mov ecx, dword [eax + 8]
xor eax, eax
mov dword [ebp - 0x14], eax
cmp ecx, ebx
je 0x450ba8
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4b9464
push ecx
call eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x450be3
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov esi, dword [ebp - 0x18]
lea eax, [ebp + 8]
call fcn.00451380
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x450be0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x450bf2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x450c08
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455300
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push ebx
push edi
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4553b6
xor edi, edi
cmp dword [esi + 0x28], edi
je 0x4553b6
mov ecx, dword [0x4e9cdc]
push ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [ebp - 0x14]
push edx
push ecx
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
push 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
push ecx
mov ecx, dword [esi + 4]
sub eax, edx
push eax
push edi
push edi
push ecx
mov dword [ebp - 0x24], edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esi + 4]
push edi
push edi
push edx
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x24]
push eax
push ecx
call ebx
mov eax, dword [esi + 0x28]
lea edx, [ebp - 0x24]
push edx
push eax
call fcn.00453ba0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00497792
mov esp, ebp
pop ebp
ret

Function at 0x455690
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x4e9cdc]
push edi
xor edi, edi
push ecx
mov dword [esi + 0x28], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x18]
push edx
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
cmp dword [esi + 4], edi
jne 0x455742
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x2c], eax
cmp dword [0x4ceb00], edi
jne 0x455713
mov dword [0x4ceb00], edi
mov ecx, dword [ebp - 0x2c]
push ecx
lea edx, [esi + 0x20]
push edx
mov ebx, 0x4cead0
call fcn.00403020
mov ecx, dword [ebp - 0x2c]
add esp, 8
push edi
push edi
push 0x50000000
movzx ebx, ax
push edi
lea eax, [ebp - 0x28]
push eax
push ecx
mov eax, esi
call fcn.00403220
mov edx, dword [esi + 4]
push edi
push 0x1e
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.00455300
mov ecx, dword [ebp - 8]
pop edi
mov byte [esi + 0x24], 1
pop esi
xor ecx, ebp
pop ebx
call fcn.00497792
mov esp, ebp
pop ebp
ret 4
Function at 0x455d10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ecx, dword [ebp - 0x18]
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x455d60
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x455d60
mov edx, dword [eax + 0xd8]
push edi
lea edi, [edx + ecx]
cmp esi, edi
pop edi
jb 0x455d60
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x455d60
mov al, 1
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x4560d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [0x4ea0f0], ebx
je 0x4560e9
mov eax, 0x10dd
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x4ea0f0
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x4560df
push esi
mov esi, dword [0x4ea0e4]
mov dword [0x4ea0ec], ebx
mov dword [0x4ea100], ebx
mov dword [0x4ea0fc], ebx
mov dword [0x4ea0f4], ebx
mov dword [0x4ea0f8], ebx
cmp esi, ebx
je 0x456146
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call edi
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x456130
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret