joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427190
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
lea eax, [edi + 0x32550]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jmp 0x4271b0
xor edx, edx
lea ecx, [edx + 1]
mov dword [esp + 0xc], 4
lea ecx, [ecx]
movzx ebx, word [edi + ecx*2 + 0x32bf4]
mov eax, esi
and eax, 1
mov ebp, eax
neg ebp
sar ebp, 4
shr ebx, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [edi + ebx*4 + 0x30ea0]
add ecx, ecx
shr esi, 1
or ecx, eax
sub dword [esp + 0xc], 1
jne 0x4271c0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
add esi, 1
mov dword [eax], edx
add eax, 4
cmp esi, 0x10
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jb 0x4271b0
pop esi
pop ebp
mov dword [edi + 0x32590], 0
pop ebx
add esp, 0xc
ret

Function at 0x427220
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x210
push ebx
push ebp
push edi
mov edi, 4
lea ebp, [esi + 0x30ea0]
movzx ebx, byte [esi + edi + 0x306a0]
mov ecx, ebx
mov edx, ebx
and edx, 1
shr ecx, 1
or edx, 2
sub ecx, 1
shl edx, cl
mov eax, edi
push ebp
sub eax, edx
sub edx, ebx
lea edx, [esi + edx*2 + 0x32b0e]
push edx
call fcn.004252f0
mov dword [esp + edi*4 + 0x24], eax
add edi, 1
add esp, 8
cmp edi, 0x80
jb 0x427234
lea ebp, [esp + 0x1c]
sub ebp, esi
lea eax, [esi + 0x32910]
lea ecx, [esi + 0x31d58]
sub ebp, 0x31d50
lea edi, [esi + 0x31950]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 4
jmp 0x4272b4
mov ecx, dword [esp + 0xc]
xor ebx, ebx
cmp dword [esi + 0x32594], ebx
jbe 0x427311
mov edi, edi
mov eax, ebx
or eax, 0x40
xor edx, edx
cmp eax, 1
je 0x427303
lea esp, [esp]
mov ebp, dword [esp + 0x10]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebp + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edx, dword [esi + ebp*4 + 0x30ea0]
mov eax, ecx
cmp eax, 1
jne 0x4272d0
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [edi + ebx*4], edx
add ebx, 1
cmp ebx, dword [esi + 0x32594]
jb 0x4272c0
mov eax, 0xe
cmp dword [esi + 0x32594], eax
jbe 0x427338
mov edi, edi
mov edx, eax
shr edx, 1
sub edx, 5
shl edx, 4
add dword [edi + eax*4], edx
add eax, 1
cmp eax, dword [esi + 0x32594]
jb 0x427320
mov eax, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi + 4]
mov dword [ecx - 4], edx
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov edx, dword [edi + 0xc]
mov dword [ecx + 4], edx
mov eax, 4
add ecx, 8
jmp 0x427360
movzx edx, byte [esi + eax + 0x306a0]
mov edx, dword [edi + edx*4]
add edx, dword [ecx + ebp]
add eax, 1
mov dword [ecx], edx
add ecx, 4
cmp eax, 0x80
jb 0x427360
add dword [esp + 0x10], 0x80
add dword [esp + 0xc], 0x200
sub ebp, 0x200
add edi, 0x100
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], ebp
jne 0x4272b0
pop edi
pop ebp
mov dword [esi + 0x3bcf8], 0
pop ebx
add esp, 0x210
ret
Function at 0x42b610
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
mov dword [eax + 0x30], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x2c], 0x20
mov dword [eax + 0x54], 1
mov dword [eax + 0x48], 4
mov dword [eax + 0x58], edx
lea esi, [eax + 0x70]
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
add edx, 1
add esi, 4
cmp edx, 0x100
jb 0x42b637
pop esi
ret
Function at 0x42f3e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
not eax
je 0x42f412
jmp 0x42f3f0
test cl, 3
je 0x42f412
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x486170]
add ecx, 1
sub esi, 1
jne 0x42f3f0
cmp esi, 0x20
push ebx
push edi
jb 0x42f5fc
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x486570]
xor edx, dword [ebx*4 + 0x486970]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x486170]
add ecx, 4
xor edx, dword [eax*4 + 0x486d70]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x486570]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x486970]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x486170]
add ecx, 4
xor eax, dword [edx*4 + 0x486d70]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x486570]
xor edx, dword [ebx*4 + 0x486970]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x486170]
xor edx, dword [eax*4 + 0x486d70]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x486570]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x486970]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x486170]
xor eax, dword [edx*4 + 0x486d70]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x486570]
xor edx, dword [ebx*4 + 0x486970]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x486170]
xor edx, dword [eax*4 + 0x486d70]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x486570]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x486970]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x486170]
and edx, 0xff
xor eax, dword [edx*4 + 0x486d70]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x486570]
xor edx, dword [ebx*4 + 0x486970]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x486170]
add ecx, 4
xor edx, dword [eax*4 + 0x486d70]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x486570]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x486970]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x486170]
and edx, 0xff
xor eax, dword [edx*4 + 0x486d70]
sub edi, 1
jne 0x42f422
cmp esi, 4
jb 0x42f649
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x486570]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x486970]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x486170]
and eax, 0xff
xor edi, dword [eax*4 + 0x486d70]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x42f606
test esi, esi
pop edi
pop ebx
je 0x42f66d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x486170]
add ecx, 1
sub esi, 1
jne 0x42f650
not eax
pop esi
ret
Function at 0x430020
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push edx
push 0
push 0
call fcn.0046bc75
mov ecx, dword [esp + 0x20]
add esp, 0x18
test eax, eax
mov dword [ecx], eax
je 0x430043
xor eax, eax
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x430052
mov eax, 1
pop ecx
ret
Function at 0x4325d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
mov eax, dword [edi + 4]
push ebx
push ebp
push esi
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, dword [edi + 4]
push 1
push ecx
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
call ebx
mov edx, dword [edi + 4]
xor eax, eax
push edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov ebp, dword [sym.imp.USER32.dll_SetFocus]
je 0x43269a
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x43269a
cmp dword [esp + 0x14], 0x10
jne 0x43265e
mov ecx, dword [esp + 0x10]
cmp ecx, dword [edi + 4]
jne 0x43265e
push 1
push esi
call ebx
push esi
call ebp
lea edx, [esp + 0x10]
push edx
call fcn.0043a3a0
add esp, 4
test al, al
jne 0x432685
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [esp + 0x14], 0x12
je 0x43269a
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x432631
push 1
push esi
call ebx
push esi
call ebp
cmp dword [esp + 0x14], 0x12
jne 0x4326b4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x439220
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor esi, esi
call edi
test ax, ax
jge 0x439238
mov esi, 8
push 2
call edi
test ax, ax
jge 0x439244
or esi, 1
push 1
call edi
test ax, ax
jge 0x439250
or esi, 2
push 0x10
call edi
test ax, ax
jge 0x43925c
or esi, 4
push 0x12
call edi
test ax, ax
jge 0x439268
or esi, 0x20
pop edi
mov ax, si
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi + 0x164]
cmp eax, ecx
je 0x439389
cmp esi, dword [edi + 0xa8]
je 0x439389
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xa8]
cmp esi, eax
je 0x43947d
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x4393f5
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 8], 0xf
mov dword [esp + 0xc], esi
call ebx
mov ecx, dword [edi + 0xa8]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 8]
push edx
call eax
mov dword [edi + 0xa8], 0
test esi, esi
je 0x43947d
mov edx, dword [esi]
mov eax, dword [edx + 0x114]
mov ecx, esi
call eax
cmp eax, edi
jne 0x43947d
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
test al, al
je 0x43947d
mov edx, dword [esi]
mov eax, dword [edx + 0x10c]
mov ecx, esi
call eax
test al, al
je 0x43947d
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [edi + 0xa8], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], esi
call ebx
mov ecx, dword [edi + 0xa8]
mov dword [esp + 0x14], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 8]
push eax
call edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439a20
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x47ff98
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x49b1b0]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x90]
xor ebx, ebx
mov eax, 7
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x34], eax
mov eax, edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edx, [eax + 2]
jmp 0x439a90
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x439a90
sub eax, edx
sar eax, 1
push eax
push edi
lea esi, [esp + 0x24]
call fcn.00401df0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea esi, [ebp + 0x184]
push esi
mov byte [esp + 0x94], 1
call fcn.00421180
mov byte [esp + 0x88], bl
cmp dword [esp + 0x34], 8
jb 0x439ae3
mov edx, dword [esp + 0x20]
push edx
call fcn.00469d48
add esp, 4
mov eax, dword [esi + 4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x439af6
cmp eax, esi
je 0x439afb
call fcn.00469efa
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x18], ecx
je 0x439b0d
push ebp
mov edx, edi
call fcn.00439ce0
cmp dword [esp + 0x74], ebx
jne 0x439b85
mov edx, dword [esp + 0x94]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
call fcn.0043eec0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x58]
push eax
push esi
mov byte [esp + 0x94], 2
call fcn.00421290
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x439b61
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00469d48
add esp, 4
cmp dword [esp + 0x34], esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x439b85
mov edx, dword [esp + 0x20]
push edx
call fcn.00469d48
add esp, 4
cmp dword [esp + 0x78], 8
jb 0x439b99
mov eax, dword [esp + 0x64]
push eax
call fcn.00469d48
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00469ab5
add esp, 0x7c
ret 8
Function at 0x43a4e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x2c
sub eax, 0x100
je 0x43a566
sub eax, 4
jne 0x43a560
cmp dword [esi + 0xa8], eax
je 0x43a560
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xb0]
mov word [esp + 0x18], cx
mov ecx, dword [esi + 0xb4]
mov dword [esp], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.00439220
mov word [esp + 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xa8]
mov dword [esp + 0xc], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp]
push eax
call edx
xor al, al
add esp, 0x2c
ret
cmp ecx, 9
jne 0x43a560
cmp dword [esi + 0xa8], 0
je 0x43a5bd
mov ecx, dword [esi + 0xa8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x43a5bd
mov ecx, dword [esi + 0xa8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10c]
call edx
test al, al
je 0x43a5bd
mov ecx, dword [esi + 0xa8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
cmp eax, 0xa
jne 0x43a5bd
mov eax, dword [esi + 0xa8]
cmp byte [eax + 0x421], 0
jne 0x43a560
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge cl
push ecx
mov ecx, esi
call fcn.00439270
mov al, 1
add esp, 0x2c
ret
Function at 0x43cd10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x47fef8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebp
push esi
push edi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43cd52
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x24]
call fcn.00401df0
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
add esi, 0x44
push esi
mov dword [esp + 0x50], 0
call fcn.0043d5b0
cmp dword [esp + 0x34], 8
jb 0x43cd9f
mov edx, dword [esp + 0x20]
push edx
call fcn.00469d48
add esp, 4
mov edi, dword [esp + 0x14]
test edi, edi
mov ebp, dword [esi + 4]
je 0x43cdae
cmp edi, esi
je 0x43cdb3
call fcn.00469efa
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x43cde6
test edi, edi
jne 0x43cdc4
call fcn.00469efa
cmp esi, dword [edi + 4]
jne 0x43cdce
call fcn.00469efa
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x38
ret 4
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x38
ret 4
Function at 0x442170
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4827b8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x49b1b0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push esi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [edi + 0x14]
mov esi, ecx
cmp eax, dword [esi + 0x40c]
jne 0x442280
xor ebx, ebx
push 0xffffffffffffffff
lea eax, [esi + 0x414]
push ebx
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00401c40
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x44], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x14]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
lea ebx, [edi + 0x1c]
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x442248
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x430]
push eax
lea eax, [esp + 0x20]
call fcn.00401c40
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x442248
push 0xffffffffffffffff
push 0
add esi, 0x44c
push esi
lea eax, [esp + 0x20]
call fcn.00401c40
mov eax, dword [esp + 0x18]
mov esi, 8
cmp dword [esp + 0x2c], esi
jae 0x44225b
lea eax, [esp + 0x18]
mov ecx, dword [edi + 0x18]
push eax
push ebx
push ecx
xor edx, edx
mov ecx, ebx
call fcn.00443de0
add esp, 0xc
cmp dword [esp + 0x2c], esi
jb 0x442280
mov edx, dword [esp + 0x18]
push edx
call fcn.00469d48
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00469ab5
mov esp, ebp
pop ebp
ret
Function at 0x459d10
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47fcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0xffffffff
xor edi, edi
mov dword [esp + 0x44], edi
mov eax, edx
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
lea esi, [eax + 2]
jmp 0x459d60
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x459d60
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x28]
call fcn.00401df0
mov eax, dword [esp + 0x24]
mov ebp, 8
cmp dword [esp + 0x38], ebp
jae 0x459d8d
lea eax, [esp + 0x24]
push edi
push 0x80
push 4
push edi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
setne al
test al, al
sete bl
cmp dword [esp + 0x38], ebp
mov dword [esp + 0x14], esi
jb 0x459dc8
mov eax, dword [esp + 0x24]
push eax
call fcn.00469d48
add esp, 4
test bl, bl
jne 0x459e31
cmp esi, 0xffffffff
mov dword [esp + 0x1c], edi
je 0x459e0e
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x459df2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x459e0e
mov edx, dword [esp + 0x18]
push 1
push 0
push 0
push edx
call fcn.004758d0
mov edi, eax
xor eax, eax
add edi, ebp
adc edx, eax
mov dword [esp + 0x1c], edx
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
je 0x459e31
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
jne 0x459e41
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp esi, 0xffffffff
je 0x459e3d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x459e9b
cmp esi, 0xffffffff
je 0x459e59
push ebx
lea ecx, [esp + 0x1c]
push ecx
push edi
push eax
push esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
mov dword [esp + 0x48], ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp esi, 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x459e7d
push esi
call ebx
test eax, eax
je 0x459e7d
or esi, 0xffffffff
mov dword [esp + 0x14], esi
push edi
mov edi, dword [esp + 0x50]
push ebp
call fcn.00459f90
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp esi, 0xffffffff
je 0x459e99
push esi
call ebx
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4
Function at 0x459ec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.004051f0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x4c]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x459f7a
call fcn.004051f0
mov eax, dword [eax + 0x4c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x459f7a
call fcn.004051f0
mov eax, dword [eax + 0x4c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x459f73
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x459f6c
test ebp, ebp
je 0x459f6c
push edi
push eax
push ebp
call fcn.0046cef0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
mov edi, dword [esp + 0x18]
push esi
call fcn.00459f90
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc

Function at 0x45daa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47f55b
mov eax, dword fs:[0]
push eax
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
fldz
xor ecx, ecx
fstp qword [eax + 0x20]
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov byte [eax + 0x38], cl
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov byte [eax + 0x1c], cl
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4