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

Disassembly:
sub esp, 0x18
push ebx
push edi
push eax
mov edi, ecx
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
lea eax, [esp + 0x2c]
call fcn.00409dc0
add esp, 0x14
lea edx, [esp + 0x1c]
push edx
call fcn.0040e390
mov ecx, dword [edi + 0x2e0]
mov edx, dword [esp + 8]
mov eax, dword [eax]
push 0
push ecx
mov ecx, dword [esp + 0x14]
push 0
push esi
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
push ecx
push edx
push eax
push str.SNAPUI
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e4e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call fcn.0040aa20
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
mov eax, ebx
pop ebx
add esp, 0x18
ret

Function at 0x40e750
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xc
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 8], eax
push ebp
push esi
mov esi, dword [0x4ee74c]
movzx ebp, di
mov dword [ebx], 0
cmp word [0x4e5600], di
jne 0x40e786
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x4ee800], eax
jae 0x40e790
mov dword [0x4ee804], 0
cmp word [0x4e5600], di
je 0x40e846
mov ecx, 0x5d
mov eax, 0x5b
mov word [esp + 0xc], cx
lea ecx, [esp + 8]
mov word [esp + 8], ax
mov eax, dword [esi + 0x264]
push ecx
xor edx, edx
push eax
mov word [esp + 0x12], di
mov word [esp + 0x16], dx
call fcn.0049ebec
xor edx, edx
add esp, 8
mov word [0x4eea40], dx
test eax, eax
je 0x40e828
lea ecx, [esp + 8]
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40e7e5
sub ecx, esi
sar ecx, 1
lea esi, [eax + ecx*2]
movzx ecx, word [esi]
xor edx, edx
xor eax, eax
mov edi, edi
mov word [eax + 0x4eea40], cx
xor ecx, ecx
inc edx
mov word [eax + 0x4eea42], cx
lea eax, [edx + edx]
movzx ecx, word [eax + esi]
test cx, cx
je 0x40e828
cmp cx, 0x5b
je 0x40e828
cmp edx, 0x10
jl 0x40e800
mov eax, 0x4eea40
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e830
sub eax, edx
sar eax, 1
mov dword [0x4ee808], eax
jmp 0x40e84b
mov eax, dword [0x4ee808]
test eax, eax
jle 0x40e88f
mov ecx, dword [0x4ee804]
movzx ebp, word [ecx*2 + 0x4eea40]
inc ecx
mov dword [0x4ee804], ecx
cmp ecx, eax
jne 0x40e872
mov dword [0x4ee804], 0
cmp word [0x4e5600], di
jne 0x40e88f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x4ee800], eax
jbe 0x40e88f
mov dword [ebx], 1
mov word [0x4e5600], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x10]
add eax, 0x1f4
mov dword [0x4ee800], eax
pop esi
mov ax, bp
pop ebp
xor ecx, esp
call fcn.0049dc2a
add esp, 0xc
ret
Function at 0x4102e0
Capabilities:
Create thread

Disassembly:
mov ecx, dword [0x4ee750]
push 0x4c3af8
push str.FILE_RESET
call fcn.0046cab0
mov ecx, dword [0x4ee74c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x64]
push 0
push str.RESETTING_FILES
push 0xd
call edx
mov eax, dword [esp + 4]
push 0
push 0
push eax
push 0x410330
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret 4

Function at 0x410400
Capabilities:
Create thread

Disassembly:
mov ecx, dword [0x4ee74c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x64]
push 0
push 0x4c5bdc
push 0xd
call edx
mov ecx, dword [0x4ee750]
push 0x4c3af8
push str.FILE_COPYING
call fcn.0046cab0
mov eax, dword [esp + 4]
push 0
push 0
push eax
push 0x410450
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret 4

Function at 0x410610
Capabilities:
Create thread

Disassembly:
mov ecx, dword [0x4ee750]
push 0x4c3af8
push str.FILE_COPYING
call fcn.0046cab0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x4ee74c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x64]
push 0
push str.IMPORTING_FILES
push 0xd
call edx
mov eax, dword [esp + 4]
push 0
push 0
push eax
push 0x410500
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret 4
Function at 0x416e40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b9a48
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x20]
push eax
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push edx
push 0x500
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
jne 0x416e97
call fcn.004021e0
mov edi, dword [esp + 8]
test edi, edi
jne 0x416ea3
xor eax, eax
jmp 0x416ebf
mov eax, edi
lea edx, [eax + 2]
jmp 0x416eb0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416eb0
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x1c]
push eax
push edi
call fcn.00401fa0
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 8
Function at 0x4212f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov edx, dword [0x4ee750]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x1c], esi
cmp edx, esi
je 0x42137e
cmp esi, dword [edx + 0x40]
mov ecx, esi
jge 0x4213f6
test esi, esi
jl 0x4213f6
mov eax, dword [edx + 0x38]
je 0x42132a
sub ecx, 1
mov eax, dword [eax]
jne 0x421323
test eax, eax
je 0x4213f6
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x421379
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004019b0
call fcn.00468040
cmp dword [esp + 0x1c], 0
mov edi, eax
je 0x42136b
push str.Error_file_is_split__r_n
call fcn.00477b80
add esp, 4
test edi, edi
jne 0x421404
mov edx, dword [0x4ee750]
inc esi
test ebx, ebx
jne 0x42130b
mov eax, dword [esp + 0x18]
push 0
push 0
push 3
push 0
push 0
push SHChangeNotifyRegister
push eax
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4213fd
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp], eax
call fcn.00490828
mov edx, dword [ebp]
add esp, 4
push 0
lea ecx, [esp + 0x20]
push ecx
push edx
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebp]
je 0x4213e5
push edi
call fcn.0049081d
add esp, 4
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
xor ebx, ebx
jmp 0x421379
mov dword [ebp], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x42ff80
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4bc0a8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
push 0x12
call esi
push 0x10
call esi
mov ebx, dword [esp + 0x28]
cmp ebx, 0x7d00
jle 0x42ffd2
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
cmp esi, 0x7d00
jle 0x42ffea
mov dword [esp + 0x2c], 0
mov esi, dword [esp + 0x2c]
push esi
push ebx
mov eax, ebp
call fcn.00431f80
cmp eax, 0xffffffff
jne 0x4301a5
mov edi, dword [ebp + 0x1c0]
sub ebx, dword [edi + 0x78]
mov dword [esp + 0x24], ebx
fild dword [esp + 0x24]
fdiv dword [edi + 0xfc]
fiadd dword [edi + 0x8c]
call fcn.004a2110
push esi
mov esi, ebp
mov ebx, eax
call fcn.004306c0
push eax
mov eax, edi
call fcn.004600d0
mov edi, eax
mov eax, dword [ebp + 0x1c0]
mov ecx, dword [eax + 0x100]
test ecx, ecx
je 0x4300a6
cmp dword [ebp + 0x204], 0
jne 0x4300a6
cmp edi, ecx
jne 0x4300a6
lea ecx, [esp + 0x24]
call fcn.0041c470
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x2c]
push str._d__d
push edx
mov dword [esp + 0x2c], 0
call fcn.0040a120
mov ecx, dword [esp + 0x34]
mov eax, dword [edi]
mov edx, dword [eax + 0x64]
add esp, 0x10
push 0
push ecx
push 0x21
mov ecx, edi
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x60]
mov ecx, ebp
call edx
lea ecx, [esp + 0x24]
call fcn.00401a70
jmp 0x4301a5
call fcn.00460cb0
cmp eax, 1
jne 0x430186
test edi, edi
je 0x430186
mov eax, dword [edi]
mov edx, dword [eax + 0x50]
mov ecx, edi
call edx
test eax, eax
je 0x430186
cmp dword [ebp + 0x204], 0
je 0x43010f
mov eax, dword [edi + 0x2c]
cmp eax, 0x23
je 0x4301a5
cmp eax, 0x1b
je 0x4301a5
cmp eax, 0x19
je 0x4301a5
cmp eax, 0x21
je 0x4301a5
cmp eax, 0x18
je 0x4301a5
cmp eax, 0x1a
je 0x4301a5
mov eax, dword [ebp + 0x1d8]
mov ecx, dword [ebp + 0x1d4]
mov esi, dword [ebp + 0x1c0]
push eax
push ecx
call fcn.00460ce0
mov edx, dword [ebp + 0x1c0]
mov edi, dword [edx + 0x100]
mov eax, dword [esp + 0x2c]
push eax
test edi, edi
je 0x430173
mov ebx, dword [edi]
mov esi, ebp
call fcn.004306c0
mov ecx, dword [esp + 0x28]
push eax
mov eax, ebp
call fcn.00430690
mov edx, dword [ebx + 0x1c]
push eax
push 0
mov ecx, edi
call edx
mov eax, dword [0x4ee74c]
mov edi, 1
mov dword [eax + 0x2cc], ebp
call fcn.00431a10
jmp 0x4301a5
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp]
mov edx, dword [edx + 0x28]
push ecx
push 0
mov ecx, ebp
call edx
jmp 0x4301a5
cmp dword [ebp + 0x204], 0
je 0x4301a5
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [ebp]
mov eax, dword [eax + 0x28]
push ecx
push edx
push 0
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4308d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x210], esi
je 0x4308f3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
mov dword [esp + 0x10], esi
call ebx
mov ecx, 0x8000
test cx, ax
je 0x430910
mov esi, 1
push 0x12
call ebx
mov edx, 0x8000
test dx, ax
je 0x430926
mov dword [esp + 0xc], 1
push 0x10
call ebx
test esi, esi
jne 0x4309c5
cmp dword [esp + 0xc], esi
jne 0x4309c5
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x1c0]
mov ecx, dword [eax + 0x100]
cmp bx, 0xd
jne 0x430983
test ecx, ecx
je 0x430983
mov edx, dword [ecx]
mov edx, dword [edx + 0x88]
lea eax, [esp + 0x10]
push eax
call edx
mov eax, dword [edi + 0x1c0]
mov esi, dword [eax + 0x6c]
mov eax, str.FontSize
call fcn.0046cca0
add eax, dword [esp + 0x1c]
cmp eax, esi
jae 0x4308e8
mov ecx, dword [edi + 0x1c0]
push ebx
call fcn.00460e00
mov edx, dword [edi]
mov eax, dword [edx + 0x60]
mov ecx, edi
call eax
mov ecx, dword [edi + 0x1c0]
cmp dword [ecx + 0x100], 0
push edi
jne 0x4309c0
call fcn.0040dda0
call fcn.0042db70
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00430fe0
call fcn.0042db70
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x431db0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x40
push ebp
push esi
mov esi, dword [ebx + 0x1c0]
push edi
call fcn.0045fa40
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x431dd5
or eax, 0xffffffff
pop edi
pop esi
pop ebp
add esp, 0x40
ret 8
xor edi, edi
mov dword [esp + 0x10], 0xffff
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x14], edi
jmp 0x431df4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x2c]
cmp eax, 0x19
je 0x431e0e
cmp edi, 3
je 0x431f4d
cmp edi, 7
je 0x431f4d
cmp eax, 0x23
jne 0x431e1c
cmp edi, 5
jne 0x431f4d
mov esi, dword [ebx + 0x1c0]
mov eax, dword [esp + 0x50]
sub eax, dword [esi + 0x78]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fdiv dword [esi + 0xfc]
fiadd dword [esi + 0x8c]
call fcn.004a2110
mov ecx, dword [esi + 0x64]
mov ebp, eax
mov eax, dword [ebx + 0xb4]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x20], eax
mov eax, ecx
mov ecx, dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
sub eax, dword [ebx + 0xac]
add eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fdiv dword [esi + 0xfc]
call fcn.004a2110
mov dword [esp + 0x20], eax
push 0
mov eax, edi
lea esi, [ebx + 0x1ec]
push ebx
lea edi, [esp + 0x30]
call fcn.0042ab00
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x88]
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
sub eax, ecx
mov esi, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
mov edi, dword [esp + 0x20]
sub eax, ebp
add eax, ecx
cdq
mov ecx, eax
mov eax, dword [esp + 0x34]
sub eax, esi
xor ecx, edx
sub ecx, edx
cdq
sub eax, edx
sar eax, 1
sub eax, edi
add eax, esi
cdq
xor eax, edx
sub eax, edx
mov edx, ecx
imul eax, eax
imul edx, ecx
add eax, edx
cmp eax, dword [esp + 0x10]
jge 0x431f04
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x38]
cmp ebp, esi
jl 0x431f49
mov ecx, dword [esp + 0x40]
cmp ebp, ecx
jg 0x431f49
mov edx, dword [esp + 0x3c]
cmp edi, edx
jl 0x431f49
mov eax, dword [esp + 0x44]
cmp edi, eax
jg 0x431f49
sub eax, edx
cmp eax, 0x28
jl 0x431f32
sub ecx, esi
cmp ecx, 0x28
jge 0x431f49
cmp dword [esp + 0x10], 0xa
jle 0x431f49
mov dword [esp + 0x10], 0xffff
mov dword [esp + 0x18], 0xffffffff
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 8
mov dword [esp + 0x14], edi
jl 0x431df0
cmp dword [esp + 0x10], 0x96
jle 0x431f6d
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x40
ret 8

Function at 0x4322a0
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x180], 0
jne 0x4322d2
push 0
push 0
push esi
push 0x4320f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x180], eax
cmp eax, 0xffffffff
jne 0x4322d2
mov dword [esi + 0x180], 0
ret
Function at 0x448710
Capabilities:
Write clipboard data

Disassembly:
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
lea ecx, [eax + eax + 2]
push ecx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [edi]
push edx
push 0x4c6210
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]

Function at 0x448760
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4b98b9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0
call fcn.00498c2b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4487b2
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x1c], 0
mov ecx, dword [0x4ee77c]
push ecx
mov dword [esp + 0x14], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x448825
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x4487fb
xor ecx, ecx
jmp 0x44880f
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x448800
sub ecx, edi
sar ecx, 1
push ecx
push eax
mov ecx, ebp
call fcn.00401fa0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x448c20
Capabilities:
Check os version

Disassembly:
sub esp, 0x174
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x170], eax
push esi
push 0x58
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x10], 0
call fcn.004a1210
add esi, 0x1e8
push 0x4c3af8
push esi
call fcn.00408510
add esp, 0x14
test al, al
je 0x448c80
mov eax, 1
pop esi
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.0049dc2a
add esp, 0x174
ret
push str.Tahoma
push esi
call fcn.00408510
add esp, 8
test al, al
je 0x448cb7
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x64], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x64], 5
jne 0x448cb7
mov eax, 1
cmp dword [esp + 0x68], eax
je 0x448cc9
mov ecx, dword [esi]
push edi
lea esi, [esp + 8]
call fcn.00447b80
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x174]
pop esi
xor ecx, esp
call fcn.0049dc2a
add esp, 0x174
ret
Function at 0x44f310
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, eax
mov edx, dword [esi + 0x5dc]
mov ecx, dword [edx - 0xc]
push edi
call fcn.00401970
mov ecx, eax
mov edx, 4
lea edi, [esi + 0x640]
or eax, 0xffffffff
movzx ebp, byte [edi]
mov ebx, eax
and ebx, 0xff
xor ebx, ebp
shr eax, 8
xor eax, dword [ebx*4 + 0x4e8cc0]
dec edx
inc edi
test edx, edx
jne 0x44f335
not eax
xor ecx, eax
mov eax, dword [esi + 0x640]
mov edx, dword [eax - 0xc]
mov dword [esp + 0x10], edx
mov edx, 4
lea edi, [esp + 0x10]
or eax, 0xffffffff
nop
movzx ebp, byte [edi]
mov ebx, eax
and ebx, 0xff
xor ebx, ebp
shr eax, 8
xor eax, dword [ebx*4 + 0x4e8cc0]
dec edx
inc edi
test edx, edx
jne 0x44f370
not eax
xor ecx, eax
mov edx, 4
lea edi, [esi + 0x644]
or eax, 0xffffffff
nop
movzx ebp, byte [edi]
mov ebx, eax
and ebx, 0xff
xor ebx, ebp
shr eax, 8
xor eax, dword [ebx*4 + 0x4e8cc0]
dec edx
inc edi
test edx, edx
jne 0x44f3a0
not eax
xor ecx, eax
mov edx, 4
lea edi, [esi + 0x648]
or eax, 0xffffffff
nop
movzx ebp, byte [edi]
mov ebx, eax
and ebx, 0xff
xor ebx, ebp
shr eax, 8
xor eax, dword [ebx*4 + 0x4e8cc0]
dec edx
inc edi
test edx, edx
jne 0x44f3d0
not eax
xor ecx, eax
mov edx, 4
lea edi, [esi + 0x64c]
or eax, 0xffffffff
nop
movzx ebp, byte [edi]
mov ebx, eax
and ebx, 0xff
xor ebx, ebp
shr eax, 8
xor eax, dword [ebx*4 + 0x4e8cc0]
dec edx
inc edi
test edx, edx
jne 0x44f400
not eax
lea edi, [esi + 0x650]
xor ecx, eax
mov edx, 4
mov dword [esp + 0x10], edi
or eax, 0xffffffff
movzx ebp, byte [edi]
mov ebx, eax
and ebx, 0xff
xor ebx, ebp
shr eax, 8
xor eax, dword [ebx*4 + 0x4e8cc0]
dec edx
inc edi
test edx, edx
jne 0x44f433
not eax
xor ecx, eax
movzx eax, byte [esi + 0x654]
not al
movzx edx, al
mov eax, dword [edx*4 + 0x4e8cc0]
xor eax, 0xffffff
not eax
xor ecx, eax
movzx eax, byte [esi + 0x655]
not al
movzx edx, al
mov eax, dword [edx*4 + 0x4e8cc0]
xor eax, 0xffffff
not eax
xor ecx, eax
add esi, 0x65c
mov edx, 4
or eax, 0xffffffff
lea ebx, [ebx]
movzx ebx, byte [esi]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4e8cc0]
dec edx
inc esi
test edx, edx
jne 0x44f4a0
mov esi, dword [esp + 0x10]
not eax
xor ecx, eax
mov edx, 4
or eax, 0xffffffff
lea ecx, [ecx]
movzx ebx, byte [esi]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4e8cc0]
dec edx
inc esi
test edx, edx
jne 0x44f4d0
pop edi
pop esi
not eax
pop ebp
xor eax, ecx
pop ebx
pop ecx
ret
Function at 0x4562f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov edx, dword [esi + 0x640]
mov ecx, dword [edx - 0xc]
push edi
mov edi, dword [esi + 0x644]
call fcn.00401970
mov ecx, dword [edi - 0xc]
mov edx, edi
mov ebx, eax
call fcn.00401970
xor ebx, eax
mov ecx, 4
lea edx, [esi + 0x650]
or eax, 0xffffffff
push ebp
jmp 0x456330
movzx ebp, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebp
shr eax, 8
xor eax, dword [edi*4 + 0x4e8cc0]
dec ecx
inc edx
test ecx, ecx
jne 0x456330
not eax
xor ebx, eax
mov ecx, 4
lea edx, [esi + 0x64c]
or eax, 0xffffffff
pop ebp
movzx edi, byte [edx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x4e8cc0]
dec ecx
inc edx
test ecx, ecx
jne 0x456360
pop edi
not eax
pop esi
xor eax, ebx
pop ebx
ret
Function at 0x460130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b97a8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x24]
mov ebp, dword [esi + 0x78]
fild dword [esi + 0x8c]
sub eax, ebp
mov dword [esp + 0x24], eax
fstp dword [esp + 0x10]
fild dword [esp + 0x24]
fdiv dword [esi + 0xfc]
fld dword [esp + 0x10]
fld st(0)
faddp st(2)
fxch st(1)
call fcn.004a2110
fild dword [esi + 0x90]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x84]
cdq
fstp dword [esp + 0x10]
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0x68]
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
mov edi, eax
sar ecx, 1
sar edi, 1
sub edi, ecx
sub edi, dword [esi + 0x7c]
lea eax, [edi + edx]
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fdiv dword [esi + 0xfc]
fld dword [esp + 0x10]
fld st(0)
faddp st(2)
fxch st(1)
call fcn.004a2110
sub ebx, ebp
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
mov dword [esp + 0x28], eax
fdiv dword [esi + 0xfc]
faddp st(2)
fxch st(1)
call fcn.004a2110
mov ecx, dword [esp + 0x2c]
add edi, ecx
mov dword [esp + 0x2c], edi
fild dword [esp + 0x2c]
mov ebx, eax
fdiv dword [esi + 0xfc]
faddp st(1)
call fcn.004a2110
mov edi, eax
call fcn.00498c2b
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x46022c
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push edi
push ebx
push ecx
push edx
lea eax, [esp + 0x3c]
push str._d___d___d___d
push eax
mov dword [esp + 0x34], ebp
call fcn.0040a120
add esp, 0x18
cmp dword [esi + 0xac], ebp
jle 0x460274
mov eax, dword [esi + 0xa4]
mov dword [esi + 0x98], eax
jmp 0x46027a
mov dword [esi + 0x98], ebp
cmp dword [esi + 0x98], ebp
je 0x460295
mov eax, dword [esi + 0x98]
mov ecx, dword [eax]
mov dword [esi + 0x98], ecx
mov edi, dword [eax + 8]
jmp 0x460297
xor edi, edi
mov ebx, dword [esp + 0x2c]
cmp edi, ebp
je 0x4602d6
nop
mov edx, dword [edi]
mov eax, dword [edx + 0x64]
push ebp
push ebx
push 0x82
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x50]
mov ecx, edi
call eax
cmp dword [esi + 0x98], ebp
je 0x4602d6
mov eax, dword [esi + 0x98]
mov ecx, dword [eax]
mov dword [esi + 0x98], ecx
mov edi, dword [eax + 8]
cmp edi, ebp
jne 0x4602a0
lea eax, [ebx - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4602fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x10
ret 0xc