joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472680
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
test ebx, ebx
push edi
jne 0x472699
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push ebx
call fcn.004769e0
add esp, 4
test eax, eax
jne 0x4726ae
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4726c8
mov eax, dword [esp + 0x2c]
test eax, eax
jg 0x4726c8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [ebx]
xor esi, esi
cmp eax, 1
jne 0x4727b0
mov ebp, dword [ebx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push eax
push esi
push esi
push ebp
call edi
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x14], ebx
jne 0x472700
push 2
push esi
push esi
push ebp
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x472717
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
sub esi, ebx
jmp 0x47271b
mov esi, dword [esp + 0x2c]
push esi
call fcn.00486dc6
add esp, 4
mov ebx, eax
lea eax, [esp + 0x10]
push 0
push eax
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x472754
push 2
push eax
push eax
push ebp
call edi
push ebx
call fcn.00486def
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x10]
xor edi, edi
test edx, edx
mov ecx, ebx
jbe 0x472770
mov al, byte [ecx]
test al, al
je 0x472770
cmp al, 0x1a
je 0x472770
inc edi
inc ecx
cmp edi, edx
jb 0x472760
lea ecx, [edi + 1]
push ecx
call fcn.00471cb0
mov edx, dword [esp + 0x18]
add esp, 4
mov esi, eax
push 0
lea eax, [edi + edx]
push 0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
push ebx
push esi
call fcn.0047af20
push ebx
mov byte [edi + esi], 0
call fcn.00486def
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp eax, 2
jne 0x47282b
mov ebx, dword [ebx + 4]
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0x14]
test edi, edi
mov ebp, eax
jne 0x4727ca
or eax, 0xffffffff
jmp 0x4727ce
mov eax, dword [esp + 0x2c]
mov edx, dword [ebx]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
mov ecx, ebx
call dword [edx + 0x30]
mov edx, dword [esp + 0x10]
xor edi, edi
test eax, eax
jbe 0x4727fd
mov cl, byte [edx]
test cl, cl
je 0x4727fd
cmp cl, 0x1a
je 0x4727fd
inc edi
inc edx
cmp edi, eax
jb 0x4727ec
lea edx, [edi + 1]
push edx
call fcn.00471cb0
add esp, 4
lea ecx, [edi + ebp]
mov esi, eax
mov eax, dword [ebx]
push 0
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov edx, dword [esp + 0x10]
push edi
push edx
push esi
call fcn.0047af20
add esp, 0xc
mov byte [edi + esi], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x472af0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x472b0e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x472b03
pop esi
ret
Function at 0x4751c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x475210
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x475205
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.00476790
add esp, 8
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop esi
pop edi
ret
mov eax, edi
pop edi
ret

Function at 0x475260
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebp, ebp
test esi, esi
je 0x4752e3
push ebp
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4752e3
push ebx
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4752d6
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ebp, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
mov eax, ebp
pop esi
pop ebp
ret
mov eax, ebp
pop esi
pop ebp
ret

Function at 0x475940
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4759d2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x4759c4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x4759bc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x475985
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x489794
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4897d6
call fcn.0048caeb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4897d6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4897cd
xor eax, eax
jmp 0x4897de
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004897e4
pop edi
pop esi
pop ebx
ret 4

Function at 0x48a777
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x48e3d8
call fcn.0047c840
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0048caeb
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x48a7b6
call fcn.0048caeb
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x48a7c4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x48a7d2
or eax, 0xffffffff
jmp 0x48a8ba
mov ecx, esi
call fcn.0048a6ed
mov dword [ebp - 0x14], eax
call fcn.00487ddc
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x48a809
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x48a809
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00487d90
push dword [ebp - 0x14]
call fcn.004878c1
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0048a485
cmp eax, edi
je 0x48a87c
test byte [esi + 0x24], 0x10
je 0x48a84a
push 4
mov ecx, esi
pop ebx
call fcn.004872c1
test ah, 1
je 0x48a842
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.004898e6
cmp dword [esi + 0x1c], edi
je 0x48a87c
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004872f5
jmp 0x48a87c
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x48a890
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x48a8a9
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x48a8a9
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.0048a727
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x48c65d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48c68b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48c6a9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048c5c3
jmp 0x48c6a9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48c6a9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048c5c3
test edi, edi
mov eax, edi
jne 0x48c693
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x410214
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, dword [ebp + 8]
mov edi, 0x1505
jmp 0x410235
push eax
call dword [sym.imp.MSVCR80.dll_towupper]
imul edi, edi, 0x21
movzx eax, ax
xor edi, eax
inc esi
pop ecx
inc esi
movzx eax, word [esi]
test ax, ax
jne 0x410223
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x410245
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, dword [ebp + 8]
mov edi, 0x1505
jmp 0x410270
mov ecx, dword [ebp + 0xc]
dec dword [ebp + 0xc]
test ecx, ecx
je 0x410278
push eax
call dword [sym.imp.MSVCR80.dll_towupper]
imul edi, edi, 0x21
movzx eax, ax
xor edi, eax
inc esi
pop ecx
inc esi
movzx eax, word [esi]
test ax, ax
jne 0x410254
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x4124ca
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41716c]
jne 0x4124d4
repz ret
jmp fcn.00412b25

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 0x4013b2
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
push edi
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41a318]
mov dword [ebp - 0x24], eax
mov eax, dword [0x41a31c]
mov dword [ebp - 0x2c], eax
call fcn.004013ab
mov edi, dword [ebp - 0x10]
mov ecx, dword [0x41a320]
add edi, 0x23f
mov eax, dword [0x41a324]
push 0x20
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], eax
pop esi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 0x14]
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x1c], 0xedeb2e40
cmp dword [0x48dee8], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x48dee4]
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp dword [0x48dee8], 0x3eb
mov dword [0x48dee4], eax
mov eax, dword [0x48d970]
cmove eax, dword [ebp - 0x1c]
mov dword [0x48d970], eax
lea eax, [edi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 4]
sub ebx, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [0x48dee0], 0xf4ea3dee
shl eax, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x30]
add edi, 0x61c88647
mov dword [ebp - 0x10], edi
dec esi
jne 0x401404
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
pop edi
mov dword [esi + 4], ebx
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d1f4
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00406eab
mov dword [ebp - 0x14], eax
cmp dword [0x44867c], esi
jne 0x40d2e7
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d274
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d3c7
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d3c7
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d3c7
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x44867c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x448680], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x448684], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44868c], eax
test eax, eax
je 0x40d2e4
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x448688], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d30c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d2ff
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d321
push 4
pop eax
jmp 0x40d3c9
cmp dword [ebp - 0x14], esi
je 0x40d321
push dword [0x44867c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d306
mov eax, dword [0x448688]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d37f
cmp dword [0x44868c], edi
je 0x40d37f
push eax
call ebx
push dword [0x44868c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d37f
test eax, eax
je 0x40d37f
call ecx
test eax, eax
je 0x40d374
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d374
test byte [ebp - 8], 1
jne 0x40d37f
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d3af
mov eax, dword [0x448680]
cmp eax, edi
je 0x40d3ac
push eax
call ebx
test eax, eax
je 0x40d3ac
call eax
mov esi, eax
test esi, esi
je 0x40d3ac
mov eax, dword [0x448684]
cmp eax, edi
je 0x40d3ac
push eax
call ebx
test eax, eax
je 0x40d3ac
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x44867c]
call ebx
test eax, eax
je 0x40d3c7
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d3c9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403d90
mov esp, ebp
pop ebp
ret
Function at 0x401e30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x401fa1
push eax
mov dword fs:[0], esp
sub esp, 4
xor edx, edx
nop
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx], 0x4320b0
push edi
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], edx
mov dword [esi], 0x4320ac
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edi
mov ebx, dword [ebp + 0x14]
mov dword [esi + 0x3c], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x34], edx
mov dword [esi + 0x14], ebx
mov dword [esi + 0xc], ebx
mov ebx, dword [ebp + 0x18]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov ebx, dword [ebp + 0x1c]
mov dword [esi + 0x30], edx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1c], ebx
mov ebx, dword [ebp + 0x20]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x58], edx
mov dword [esi + 0x50], edx
sub eax, 4
mov dword [esi + 0x54], edx
mov dword [esi + 0x4c], edx
cmp eax, 3
mov dword [esi + 0x68], 0x100
ja case.default.0x401edb
jmp dword [eax*4 + 0x401fb4]
test ecx, ecx
jle 0x401f22
fld dword [ebp + 0x14]
fmul dword [0x43208c]
fld dword [ebp + 0x18]
fmul dword [0x432094]
fxch st(1)
fadd dword [0x432090]
fxch st(1)
fadd dword [0x432098]
mov dword [esi + 0x34], 0x5258c8
fxch st(1)
fstp dword [esi + 0xc]
fstp dword [esi + 0x10]
mov dword [esi + 0x44], 0
dec ecx
mov dword [esi + 0x38], ecx
mov eax, dword [0x43b224]
mov dword [esi + 0x60], eax
jmp case.default.0x401edb
test edi, 1
mov eax, dword [0x43b224]
mov dword [esi + 0x6c], eax
je 0x401f45
mov dword [esi + 0x60], 0xff
jmp 0x401f5c
call fcn.00424be0
cdq
xor eax, edx
sub eax, edx
and eax, 0x7f
xor eax, edx
sub eax, edx
add eax, 0x7f
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x44]
test eax, eax
jne case.default.0x401edb
mov dword [esi + 0x44], 0x190
jmp case.default.0x401edb
mov dword [esi + 0x48], 0
mov eax, dword [0x43b224]
mov dword [esi + 0x60], eax
jmp case.default.0x401edb
mov eax, dword [0x43b224]
mov dword [esi + 0x6c], eax
mov eax, esi
pop edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x408f00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [0x43b27c]
add eax, dword [0x43b288]
mov dword [0x43b28c], eax
push ebx
push esi
lea edx, [eax + 1]
push edi
xor esi, esi
push ebp
test edx, edx
jle 0x408f39
mov eax, 0x4fae10
mov ecx, dword [0x43b280]
cmp ecx, esi
je 0x408f34
mov dword [eax], esi
add eax, 4
inc esi
cmp esi, edx
jl 0x408f2b
mov dword [esp + 0x10], 0x64
xor edi, edi
mov eax, dword [0x43b28c]
cmp eax, edi
jle 0x409024
mov esi, dword [0x43b28c]
mov ebx, dword [0x43b1a0]
imul ebx, ebx, 0x41c64e6d
add ebx, 0x3039
inc edi
mov dword [0x43b1a0], ebx
call fcn.00424be0
mov ebp, eax
and ebx, 0x7fff0000
shr ebx, 0x10
call dword [sym.imp.WINMM.dll_timeGetTime]
imul ebp, ebp, 0x19660d
add ebp, 0x3c6ef35f
xor ebp, ebx
xor ebp, eax
call fcn.00424be0
xor ebp, eax
sub edx, edx
mov eax, ebp
mov ebx, dword [0x43b1a0]
div esi
mov esi, edx
mov eax, dword [0x43b28c]
imul ebx, ebx, 0x41c64e6d
add ebx, 0x3039
mov dword [esp + 0x14], eax
mov dword [0x43b1a0], ebx
call fcn.00424be0
mov ebp, eax
and ebx, 0x7fff0000
shr ebx, 0x10
call dword [sym.imp.WINMM.dll_timeGetTime]
imul ebp, ebp, 0x19660d
add ebp, 0x3c6ef35f
xor ebp, ebx
xor ebp, eax
call fcn.00424be0
xor ebp, eax
sub edx, edx
mov eax, ebp
div dword [esp + 0x14]
mov eax, dword [esi*4 + 0x4fae10]
mov ecx, dword [edx*4 + 0x4fae10]
mov dword [esi*4 + 0x4fae10], ecx
mov esi, dword [0x43b28c]
mov dword [edx*4 + 0x4fae10], eax
cmp edi, esi
jl 0x408f50
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x408f41
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x4154b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x28]
mov eax, dword [esi + 0xc]
mov dword [esi + 0xcfc], ebx
mov dword [esi + 0xd00], ebp
test eax, eax
jne 0x41564d
mov eax, dword [esi + 0x40]
test eax, eax
je 0x41564d
push 1
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
mov dword [esp + 0x18], ebx
push 0
lea eax, [esp + 0x14]
push 0
mov dword [esp + 0x24], ebp
push 0xcf0000
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esi + 0xd04], eax
sub ebx, edx
mov eax, dword [esi + 0xd7c]
mov dword [esi + 0xd08], ebx
test eax, eax
je 0x4155d4
push 1
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
call ebp
sub eax, ebx
push 0
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
call ebp
sub eax, dword [esi + 0xd04]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jg 0x415570
xor eax, eax
mov dword [esi + 0xcf4], eax
test ebx, ebx
jg 0x41557c
xor ebx, ebx
mov eax, dword [esi + 0xc]
mov dword [esi + 0xcf8], ebx
test eax, eax
jne 0x41563e
mov eax, dword [esi + 0x40]
test eax, eax
je 0x41563e
push 1
push eax
call edi
push 1
mov eax, dword [esi + 0xd08]
push eax
mov ecx, dword [esi + 0xd04]
push ecx
mov edx, dword [esi + 0xcf8]
push edx
mov eax, dword [esi + 0xcf4]
push eax
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8
lea eax, [esp + 0x10]
mov ecx, dword [esi + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4155ed
xor eax, eax
mov dword [esi + 0xcf4], eax
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x4155fd
xor eax, eax
mov dword [esi + 0xcf8], eax
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x41563e
mov eax, dword [esi + 0x40]
test eax, eax
je 0x41563e
push 1
push eax
call edi
push 1
mov eax, dword [esi + 0xd08]
push eax
mov ecx, dword [esi + 0xd04]
push ecx
mov edx, dword [esi + 0xcf8]
push edx
mov eax, dword [esi + 0xcf4]
push eax
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8
Function at 0x415e10
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov eax, dword [ecx + 0x40]
push edi
mov esi, ecx
push 0xcf0000
push 0xfffffffffffffff0
mov edi, dword [sym.imp.USER32.dll_SetWindowLongA]
push eax
call edi
push 0
mov ecx, dword [esi + 0x40]
push 0xffffffffffffffec
push ecx
call edi
push 1
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esi + 0xd00]
mov edx, dword [esi + 0xcfc]
push ecx
push edx
mov ecx, esi
call fcn.004154b0
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edi
push ecx
mov edx, dword [esi + 0x40]
push eax
lea ecx, [esi + 0x44]
push edx
call fcn.00419010
cmp edi, 8
jne 0x415e90
push 0
lea ecx, [esi + 0xca8]
push 0
push 0
push 8
call fcn.00414b80
cmp edi, 0x10
jne 0x415eae
push 0x1f
lea ecx, [esi + 0xca8]
push 0x3e0
push 0x7c00
push 0x10
call fcn.00414b80
cmp edi, 0x18
je 0x415eb8
cmp edi, 0x20
jne 0x415ed3
push 0xff
lea ecx, [esi + 0xca8]
push 0xff00
push 0xff0000
push edi
call fcn.00414b80
mov eax, 1
pop edi
pop esi
pop ebx
ret 0xc