joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7e9303
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100913e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.007e6ec3
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x7e935c
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.007e42a3
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.007e4293
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.007e89b3
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x100933e8]
push 0
lea ecx, [esp + 0x4c]
call fcn.0084d0f0
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.007ff4c3
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.007e6923
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x100930f4]
mov ecx, ebx
call fcn.007e4213
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x7e9427
push edi
mov ecx, esi
call fcn.007e6a33
push eax
push ebp
mov ecx, esi
call fcn.007e6bf3
cmp eax, dword [esp + 0x40]
jg 0x7e9423
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x7e9401
mov eax, ebx
jmp 0x7e942d
cmp edi, ebx
jl 0x7e942b
mov eax, ebx
jmp 0x7e942d
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x7e943e
mov dword [esp + 0x30], eax
jmp 0x7e9449
cmp edi, ebx
jl 0x7e9444
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.007e41d3
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x7e9490
push edi
mov ecx, esi
call fcn.007e6953
push eax
push ebx
mov ecx, esi
call fcn.007e6d23
cmp eax, dword [esp + 0x44]
jg 0x7e9488
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x7e9462
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x7e949a
cmp edi, ebp
jl 0x7e9494
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x7e949a
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x7e94a3
mov ecx, eax
jmp 0x7e94ac
cmp edi, ebp
jl 0x7e94a9
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.007e6943
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.0084d162
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x7ffb63
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10091ee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x100933e8]
push 0
lea ecx, [esp + 0x20]
call fcn.0084d0f0
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.007ff4c3
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0084d01e
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.008498f9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.008498f9
push 1
push 0
push 0
mov ecx, esi
call fcn.008498a1
push 1
push 0
push 1
mov ecx, esi
call fcn.008498a1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0084d162
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x7ffce3
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10091ee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0084d0f0
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.007ff4c3
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0084d01e
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x100933e8]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x7ffda7
cmp dword [esp + 0x40], 1
jne 0x7ffda5
cmp ecx, eax
jge 0x7ffda7
mov eax, ecx
cmp eax, 0xc8
jge 0x7ffdb3
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.007ffb63
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x100933ec]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0084d162
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x800563
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10091f73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00847d30
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x10098bc8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x10098b10
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x100930c0]
push eax
mov ecx, edi
call fcn.0084d398
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0084e8b4
test eax, eax
je 0x80067f
mov ecx, dword [esp + 0x3c]
call fcn.0084d3c5
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x100933c8]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x800643
push edi
mov ecx, esi
call fcn.0084aa18
mov ecx, esi
call fcn.00800823
cmp dword [esp + 0x38], 1
jne 0x800678
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0084ab53
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x8027a3
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x8027d6
push esi
call fcn.00810b13
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x8027cf
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x80285c
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x802845
mov eax, dword [esi + 8]
test eax, eax
je 0x8027fa
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x802841
cmp eax, 2
je 0x802845
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x8027ed
cmp eax, 3
je 0x802820
cmp eax, 1
jne 0x8027ed
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x8027ed
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x8027ed
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00802883
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x80286b
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00802883
add esp, 4
pop esi
ret
Function at 0x822343
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100cde28]
xor edx, edx
cmp eax, edx
jne 0x822369
xor eax, eax
mov byte [eax + 0x100cdd28], al
inc eax
cmp eax, 0x100
jl 0x822351
mov dword [0x100cde28], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100cdd28
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x8223fa
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x8223cd
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x82239b
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x822403
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x822456
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x82243d
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x828e03
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100923be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00829723
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1009accc
call fcn.008464c3
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x828e96
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.008464c3
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x828e8f
push 0
mov ecx, eax
call fcn.0081ff73
mov dword [esi + 0xc], eax
jmp 0x828e98
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x828e98
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x100093b0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1000957d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x100093da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100093e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100093d0
mov eax, 1
add ebx, ebx
jne 0x100093f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100093e8
jne 0x10009404
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100093e8
xor ecx, ecx
sub eax, 3
jb 0x10009418
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1000948a
mov ebp, eax
add ebx, ebx
jne 0x10009423
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10009430
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10009454
inc ecx
add ebx, ebx
jne 0x10009440
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10009435
jne 0x10009451
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10009435
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10009474
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10009465
jmp 0x100093d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10009474
add edi, ecx
jmp 0x100093d6
pop esi
mov edi, esi
mov ecx, 0x91
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10009492
cmp byte [edi], 1
jne 0x10009492
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x10009497
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x1000950f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9df0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100094c4
mov ecx, edi
jns 0x100094f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9df4]
or eax, eax
je 0x10009509
mov dword [ebx], eax
add ebx, 4
jmp 0x100094e1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10009540
cmp al, 0xef
ja 0x10009533
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10009515
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10009522
mov ebp, dword [esi + 0x9df8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10009574
sub esp, 0xffffff80
jmp 0x100023ca
Function at 0x10002880
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov edx, 0x4b
push esi
push edi
mov esi, 0x10061b20
xor edi, edi
mov ecx, edi
mov eax, edi
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebp + edi*4 - 0x400], eax
inc edi
cmp edi, 0x100
jl 0x10002897
or eax, 0xffffffff
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ebp + ecx*4 - 0x400]
sub edx, 1
jne 0x10002934
pop edi
not eax
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10002c40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push edi
mov edi, ecx
mov dword [ebp - 0x4c], 0x30
push 0x7f00
push edi
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x10002da0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], edi
call esi
push 0x7f00
push 0
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f00
push dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x100c821c
call esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
test ax, ax
jne 0x10002ce5
push 0x100c8240
push 0x100c8268
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push 0
push 0
push 0xc8
push 0x12c
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x100c82a8
push 0x100c821c
push 0
mov dword [0x100befc4], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x10002d3f
push eax
push 0x100c8240
push 0x100c82d0
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x1c]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x10002d8d
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea eax, [ebp - 0x1c]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x10002d71
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10002f30
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ef70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x278
push esi
push edi
push 0x64
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x14], 0
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
push dword [0x100befa8]
call esi
push 0x64
lea eax, [ebp - 0x288]
push eax
push dword [0x100bef84]
call esi
lea eax, [ebp - 0x1c0]
push eax
call fcn.10046953
add esp, 4
lea eax, [ebp - 0x288]
fstp qword [ebp - 0x18]
push eax
call fcn.10046953
fstp qword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x48]
lea ecx, [ebp - 0x90]
mulsd xmm0, qword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0xf8], 0x100c8970
mov dword [ebp - 0xe8], 0x100c8c10
movsd qword [ebp - 0x28], xmm0
call fcn.10008840
push ecx
lea eax, [ebp - 0xe0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x14], 1
call fcn.10008790
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], 0x100c80c4
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xfc], eax
lea ecx, [ebp - 0xe0]
call fcn.10009260
mov dword [ebp - 0xe0], 0x100c8c54
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xe8]
movsd xmm1, qword [ebp - 0x28]
call fcn.10006db0
mov byte [ebp - 4], 3
xor eax, eax
mov edx, dword [ebp - 0xa4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x40], ax
mov edi, 7
mov eax, edx
mov dword [ebp - 0x30], 0
and al, 0x22
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x14], 5
movq qword [ebp - 0x28], xmm0
cmp al, 2
je 0x100030d5
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
test ecx, ecx
je 0x100030d5
cmp ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xd0]
cmovb ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
sub ecx, edx
sar ecx, 1
jmp 0x10003106
test dl, 4
jne 0x10003100
mov eax, dword [ebp - 0xc4]
mov esi, dword [eax]
test esi, esi
je 0x10003100
mov eax, dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
add ecx, ecx
sub ecx, edx
add ecx, esi
sar ecx, 1
jmp 0x10003106
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x10003117
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.100094a0
mov edi, dword [ebp - 0x2c]
cmp edi, 7
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push eax
push dword [0x100bef90]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x10003164
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000315a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003182
push ecx
push edx
call fcn.100392fd
add esp, 8
lea ecx, [ebp - 0xf8]
call fcn.10003190
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1004840d
int3
Function at 0x10005520
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov dword [esp + 0x38], 0
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0x10002a60
lea eax, [esp + 0x38]
movlpd qword [esp + 0x40], xmm0
push eax
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x4c], esi
mov dword [esp + 0x60], 0x100c81d0
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
push esi
push 0
push 0
push 0x12c
push 0x190
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x100c81f8
push 0x100c81d0
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x100befa4], eax
test eax, eax
je 0x10005617
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x100befa4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x10]
push 0
push 0
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
push 0
push eax
movaps xmmword [esp + 0x20], xmm0
movq qword [esp + 0x30], xmm0
call esi
test eax, eax
je 0x10005617
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call esi
test eax, eax
jne 0x100055f4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10005620
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov dword [esp + 0x38], 0
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0x100041e0
lea eax, [esp + 0x38]
movlpd qword [esp + 0x40], xmm0
push eax
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x4c], esi
mov dword [esp + 0x60], 0x100c8448
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
push esi
push 0
push 0
push 0xfa
push 0x1a4
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x100c8460
push 0x100c8448
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x100bef9c], eax
test eax, eax
je 0x10005717
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x100bef9c]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x10]
push 0
push 0
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
push 0
push eax
movaps xmmword [esp + 0x20], xmm0
movq qword [esp + 0x30], xmm0
call esi
test eax, eax
je 0x10005717
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call esi
test eax, eax
jne 0x100056f4
pop edi
pop esi
mov esp, ebp
pop ebp
ret