joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4304c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b4f2
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x88c074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1d4]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1a4], eax
call fcn.0040b030
cmp byte [edi], 0
mov dword [ebp - 4], 0
je 0x430568
push dword [edi + 0xc]
lea eax, [ebp - 0x1e0]
push dword [edi + 8]
push eax
call fcn.004302f0
push eax
push 0xdb0
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 1
push eax
call fcn.00430240
push eax
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 2
call fcn.0040b130
push dword [ebp - 0x1b0]
call fcn.0044be8c
push dword [ebp - 0x1e0]
mov byte [ebp - 4], 0
call fcn.0044be8c
add esp, 8
lea eax, [edi + 0x18]
mov ecx, eax
mov dword [ebp - 0x1a0], eax
call fcn.0040c1c0
mov esi, eax
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 1]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.0040adf0
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x1bc]
add eax, 2
mov byte [ebp - 4], 3
lea eax, [eax + esi*2]
push eax
call fcn.0040afd0
lea eax, [ebp - 0x1c8]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.00430430
lea eax, [ebp - 0x1bc]
mov ecx, ebx
push eax
call fcn.00430430
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040ae50
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 5
call fcn.0040b5a0
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040b400
lea ecx, [ebp - 0x19c]
call fcn.0040b5a0
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040b400
lea ecx, [ebp - 0x19c]
call fcn.0040b5a0
cmp byte [edi + 1], 0
je 0x430688
push 0x3f4
lea eax, [ebp - 0x1e0]
push eax
call fcn.00411a10
push eax
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 6
call fcn.0040b400
push dword [ebp - 0x1e0]
mov byte [ebp - 4], 5
call fcn.0044be8c
add esp, 4
lea ecx, [ebp - 0x19c]
push 0x45d7ac
call fcn.0040b440
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.00411920
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040b440
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call edi
push dword [ebp - 0x19c]
push eax
call fcn.00412460
push 0
push dword [ebp - 0x1a0]
lea eax, [ebp - 0x1b0]
push eax
call fcn.0040cb80
push 0x110
push 0x160
lea eax, [ebp - 0x190]
push eax
push 0x80
push dword [ebp - 0x1b0]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x1b0]
mov esi, eax
call fcn.0044be8c
add esp, 4
test esi, esi
je 0x43070b
push dword [ebp - 0x1a4]
push dword [ebx + 4]
call edi
push 0
push dword [ebp - 0x190]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x19c]
call fcn.0044be8c
push dword [ebp - 0x1bc]
call fcn.0044be8c
push dword [ebp - 0x1c8]
call fcn.0044be8c
push dword [ebp - 0x1d4]
call fcn.0044be8c
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044bc49
mov esp, ebp
pop ebp
ret 0xc
Function at 0x431e00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x28
mov eax, dword [edx]
push esi
mov esi, ecx
cmp eax, dword [esi + 0xb4]
jne 0x431e32
cmp dword [edx + 8], 0xffffff65
jne 0x431e32
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x431e78
sub eax, 0x14
je 0x431e3b
sub eax, 2
je 0x431e78
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 2
push eax
push 0xffffffffffffffff
push 0x102b
push dword [esi + 0xb4]
mov dword [ebp - 0x1c], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
mov ecx, esi
call fcn.00430f50
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x434100
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x88c074]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x88fc98], 0
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
jne 0x434180
push esi
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.0040c750
push 0x4010
push 0x160
lea ecx, [ebp - 0x164]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x2c4]
mov esi, eax
call fcn.0044be8c
mov ecx, dword [ebp - 0x160]
add esp, 4
mov eax, esi
mov dword [edi], ecx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044bc49
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x88fc90]
test eax, eax
je 0x4341a7
push 0x4010
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push edx
call eax
mov ecx, dword [ebp - 0x2b4]
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0044bc49
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4341c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x88c074]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov edx, 0x4011
test al, al
mov ecx, 0x4110
lea eax, [ebp - 0x164]
cmovne ecx, edx
push ecx
push 0x160
push eax
push 0x90
push 0x45c6a4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044bc49
mov esp, ebp
pop ebp
ret 4
Function at 0x434d30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bad5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x88c074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x434f11
nop dword [eax]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00434c50
cmp dword [ebp - 0x1c], 0
jne 0x434f02
cmp dword [ebx + 8], 0x15555555
je 0x434f25
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.0044be45
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
mov dword [ebp - 0x14], eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x45e4f0]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x45e4f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x434ea5
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.00450040
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0044c6c0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jae 0x434e7e
cmp eax, 0x200
jae 0x434e7c
shl eax, 3
cmp eax, ecx
jae 0x434e7e
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0043f9d0
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00434c50
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x434ea8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov edi, dword [ebp - 0x28]
mov dword [ebx + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x24], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jne 0x434ee4
mov dword [ecx + eax*8], esi
jmp 0x434ef7
cmp dword [ecx + eax*8], edx
jne 0x434eee
mov dword [ecx + eax*8], esi
jmp 0x434efb
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x434efb
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
add edi, 4
mov dword [ebp + 8], edi
cmp edi, dword [ebp + 0xc]
jne 0x434d70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0044ce09
int3
Function at 0x43f9d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x43fb23
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0043f8d0
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x43faf6
movzx eax, byte [ecx + 8]
mov edx, dword [edx]
xor eax, 0x811c9dc5
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp - 4], eax
cmp ebx, esi
jne 0x43fa6e
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x43fae9
mov eax, dword [eax + 4]
movzx edi, word [ecx + 8]
cmp di, word [eax + 8]
jne 0x43faaa
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x43faa2
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ecx
jmp 0x43fae9
mov edi, eax
cmp ebx, eax
je 0x43fac6
mov eax, dword [eax + 4]
mov edi, eax
movzx esi, word [ecx + 8]
cmp si, word [eax + 8]
mov esi, dword [ebp + 8]
je 0x43faff
cmp ebx, eax
jne 0x43fab0
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x43fa32
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x43fae9
push str.invalid_hash_bucket_count
call fcn.0044ce09
int3
Function at 0x452a43
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x46074c
push 0x460744
push str.FlsAlloc
push 0x1e
call fcn.00452921
mov esi, eax
add esp, 0x10
test esi, esi
je 0x452a77
push dword [ebp + 8]
mov ecx, esi
call dword [0x45c308]
call esi
jmp 0x452a7d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x452ac1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x46075c
push 0x460754
push str.FlsGetValue
push 0x20
call fcn.00452921
mov esi, eax
add esp, 0x10
test esi, esi
je 0x452af8
push dword [ebp + 8]
mov ecx, esi
call dword [0x45c308]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x45438d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x45442a
push ebx
push esi
call fcn.00454356
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004526f4
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4543d7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x454429
push edi
push eax
call fcn.004523e1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4543f7
call fcn.004523a7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x454428
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004526f4
add esp, 0x20
test eax, eax
jne 0x454416
push edi
call fcn.004523a7
jmp 0x45441e
push ebx
call fcn.004523a7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

Function at 0x4012af
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403d14], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403d10], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x4011a6
mov dword [ebp - 0x24], str.cognomen
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403d10]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.invocatory
push str.cognomen
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403d18], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401379
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401360
mov eax, dword [0x403d14]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10

Function at 0x401499
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x10
mov edx, esi
mov eax, 4
mov esi, 0x401116
mov edi, 0x4035f5
dec ecx
call fcn.00401cc6
mov eax, ecx
push edi
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call fcn.004013a1
call fcn.00401c72
mov eax, 0x14
mov ecx, 0x78f
mov esi, 0x401192
mov edi, 0x4014e3
call fcn.00401cc6
xor eax, eax
xor eax, 0x17cf0b66
sub eax, 0x4a88926a
fisttp qword [edi - 0x2d]
sbb al, 0xa9
invalid
Function at 0x102c0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0102c200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x102c0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x102c0c2
add dl, dl
jne 0x102c0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x102c134
xor eax, eax
add dl, dl
jne 0x102c0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x102c1d5
add dl, dl
jne 0x102c0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x102c108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x102c113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x102c11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x102c12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x102c0cd
mov eax, 1
add dl, dl
jne 0x102c142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x102c14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x102c139
sub eax, ebx
mov ebx, 1
jne 0x102c180
mov ecx, 1
add dl, dl
jne 0x102c166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x102c171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x102c15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x102c0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x102c197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x102c1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x102c18e
cmp eax, 0x7d00
jae 0x102c1c5
cmp eax, 0x500
jb 0x102c1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x102c0cd
cmp eax, 0x7f
ja 0x102c1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x102c0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x102c1f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x102c0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402c05
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [esi + 0x84]
xor ebx, ebx
dec eax
dec eax
neg eax
push edi
sbb eax, eax
mov ebp, 0x4497dc
not eax
and eax, dword [esp + 0x18]
push ebp
push 5
mov edi, 0x2da7
push edi
mov byte [esp + 0x1f], bl
mov dword [esi + 0x30], eax
call fcn.004262bf
add esp, 0xc
push eax
push 0xe3
lea eax, [esi + 0x88]
call fcn.00407830
push ebp
push 5
push edi
call fcn.004262bf
add esp, 0xc
push eax
push 0xe5
lea eax, [esi + 0x90]
call fcn.00407830
call fcn.0040294e
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
mov dword [esi + 0x9c], eax
cmp eax, ebx
je 0x402cc4
lea eax, [esp + 0x18]
push eax
push ebx
push esi
push 0x402f59
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0xffffffffffffffff
push dword [esi + 0x9c]
mov dword [esi + 0x98], eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [esi + 0x9c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi + 0x9c], ebx
mov byte [esp + 0x13], 1
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x402dc7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push ebx
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov edi, eax
push 0x28
lea eax, [esp + 0x14]
push ebx
push eax
mov dword [esp + 0x14], edi
call fcn.0042ded0
add esp, 0xc
push 0x7f00
push ebx
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0x402f0a
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x4497e4
push 0x1b
mov ebx, 0x1c4a
push ebx
mov dword [esp + 0x34], eax
call fcn.004262bf
mov dword [esp + 0x40], eax
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
mov edi, dword [esi + 0x30]
neg edi
sbb edi, edi
lea eax, [esp + 0xc]
and edi, 0xfffc0004
push eax
add edi, 0x40000
call fcn.0041d7c3
pop ecx
mov eax, dword [eax]
push esi
push dword [esp + 0xc]
push 0
push dword [esi + 0x30]
push dword [esi + 0x48]
push dword [esi + 0x44]
push dword [esi + 0x38]
push dword [esi + 0x34]
push 0x80080000
push eax
push 0x4497e4
push 0x1b
push ebx
call fcn.004262bf
add esp, 0xc
push eax
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
mov dword [esi + 0x68], eax
call fcn.0040113c
mov eax, dword [esi + 0x68]
test eax, eax
je 0x402ef8
lea edi, [esi + 0xaf]
movzx ecx, byte [edi]
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [edi], 0
je 0x402edb
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_GetSystemMenu]
test eax, eax
je 0x402ef8
push 1
push 0xf060
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push dword [esi + 0x9c]
call dword [sym.imp.KERNEL32.DLL_SetEvent]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403a07
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetCursorPos]
push esi
mov esi, eax
push edi
lea eax, [ebp - 8]
push eax
call ebx
lea eax, [ebp - 8]
push eax
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 4]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
push dword [ebp - 8]
lea eax, [esi + 0xb4]
push eax
call edi
test eax, eax
je 0x403a54
cmp byte [esi + 0x112], 0
je 0x403ab0
call fcn.00402fd4
jmp 0x403ac9
cmp byte [esi + 0x112], 0
je 0x403ab0
cmp byte [esi + 0xae], 0
je 0x403a82
push dword [ebp - 4]
lea eax, [esi + 0xd4]
push dword [ebp - 8]
push eax
call edi
test eax, eax
je 0x403a82
mov eax, esi
call fcn.0040307e
jmp 0x403ac9
cmp byte [esi + 0x112], 0
je 0x403ab0
cmp byte [esi + 0xae], 0
jne 0x403ab0
push dword [ebp - 4]
lea eax, [esi + 0xc4]
push dword [ebp - 8]
push eax
call edi
test eax, eax
je 0x403ab0
mov eax, esi
call fcn.00403056
jmp 0x403ac9
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [esi + 0xac], 1
add esi, 0xa4
push esi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x407830
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
add esi, 4
push edi
mov byte [ebp - 1], bl
cmp dword [esi], ebx
je 0x407854
mov eax, dword [esi]
cmp eax, ebx
je 0x407854
mov dword [esi], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 0xc]
movzx eax, word [ebp + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
cmp edi, ebx
je 0x407904
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x407904
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push dword [ebp - 8]
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push dword [ebp + 0xc]
push dword [ebp - 8]
push eax
call fcn.0042dfc0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
lea eax, [ebp + 8]
push eax
push 1
push edi
mov dword [ebp + 8], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x4078f0
push esi
push 0x4475a0
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
test eax, eax
jl 0x4078f0
mov byte [ebp - 1], 1
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x407904
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 8