joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41eab0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x128
mov eax, dword [0x577830]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x12c]
mov eax, dword [eax]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
cmp eax, ebx
mov edi, ecx
mov dword [esp + 0x14], edi
je 0x41eae2
add eax, 4
jmp 0x41eae4
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x104
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41eb13
push 0x543bb1
mov dword [edi], ebx
call fcn.0044a090
mov eax, edi
jmp 0x41ec20
lea edx, [esp + 0x28]
push edx
lea esi, [esp + 0x14]
call fcn.0044bc90
mov edi, dword [esp + 0x10]
cmp edi, ebx
mov dword [esp + 0x1c], ebx
je 0x41eb32
lea eax, [edi + 4]
jmp 0x41eb34
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jne 0x41eb49
xor ebp, ebp
jmp 0x41eb5c
push esi
call fcn.0044ce70
mov ebp, eax
add esp, 4
mov ebx, ebp
neg ebx
sbb ebx, ebx
and ebx, esi
test edi, edi
je 0x41eb65
lea eax, [edi + 4]
jmp 0x41eb67
xor eax, eax
push ebp
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x41eb8f
mov esi, dword [esp + 0x14]
push 0x543bb1
xor eax, eax
mov edi, esi
mov dword [esi], 0
call fcn.0044a090
jmp 0x41ec04
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
push 0x5577e0
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41eb75
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
movzx edx, ax
push edx
shr eax, 0x10
push eax
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
push str._d._d._d._d
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], 0
call fcn.00401180
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
add esp, 0x14
test eax, eax
mov dword [esi], eax
je 0x41ebfb
movzx ecx, byte [eax]
cmp ecx, 0x80
jae 0x41ebfb
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea edi, [esp + 0x18]
call fcn.00401070
test ebx, ebx
je 0x41ec15
test ebp, ebp
je 0x41ec15
push ebp
call fcn.0044d390
add esp, 4
lea edi, [esp + 0x10]
call fcn.00401070
mov eax, esi
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005120db
add esp, 0x128
ret
Function at 0x41ecb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
lea esi, [ebx + 0x30]
push edi
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x41ecdf
cmp eax, edi
jne 0x41ecdf
add dword [esi + 0x24], 1
jmp 0x41ed04
cmp byte [esi + 0xc], 0
je 0x41ecf1
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x41ecfa
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], edi
cmp byte [ebx + 0x98], 0
je 0x41f14d
cmp dword [ebp + 0xc], 0
je 0x41f14d
cmp dword [ebp + 0x10], 0
je 0x41f14d
fldz
lea edi, [ebx + 0x80]
fcomp qword [edi]
fnstsw ax
test ah, 0x44
jp 0x41ed3c
push edi
call fcn.00425f90
push edi
call fcn.00425eb0
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp dword [0x567eb8]
fnstsw ax
test ah, 5
jp 0x41f14d
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
test eax, eax
je 0x41ef31
test dword [eax], 0xffffff00
je 0x41ef31
cmp byte [eax + 4], 0
je 0x41ef31
lea edx, [eax + 4]
test edx, edx
mov dword [esp + 0x18], 0
je 0x41eda7
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41ed92
sub eax, esi
push edx
lea edi, [esp + 0x1c]
call fcn.0044a090
mov eax, dword [ebx + 0x8c]
test al, 1
jne 0x41ef24
shr eax, 1
lea edx, [eax*4]
cmp edx, 0x100000
mov edi, eax
jae 0x41eddf
lea ecx, [eax - 1]
test eax, ecx
jne 0x41edeb
test eax, eax
je 0x41edd8
lea edi, [eax + eax]
jmp 0x41edeb
mov edi, 1
jmp 0x41edeb
and edi, 0x7ffffc00
add edi, 0x400
cmp edi, eax
jbe 0x41eee7
xor esi, esi
test edi, edi
je 0x41eed0
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0044ce70
add esp, 4
test eax, eax
je 0x41ee45
lea esi, [eax + 4]
push 0x4010d0
mov dword [eax], edi
push 4
mov eax, edi
mov ecx, esi
invalid
Function at 0x420070
Capabilities:
Check internet connectivity via wininet

Disassembly:
sub esp, 8
push edi
push 0
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test byte [esp + 4], 0x20
je 0x4200cc
push str.Working_offline._state:
mov eax, 0x18
lea edi, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.0044a090
mov ecx, dword [esp + 4]
push ecx
push 1
call fcn.0041fff0
mov ecx, eax
mov eax, edi
call fcn.0041e6e0
call fcn.00401070
mov al, 1
pop edi
add esp, 8
ret
xor al, al
pop edi
add esp, 8
ret
Function at 0x421fd0
Capabilities:
Create http request

Disassembly:
mov eax, dword [eax]
test eax, eax
je 0x421fe4
test dword [eax], 0xffffff00
je 0x421fe4
cmp byte [eax + 4], 0
jne 0x42200c
mov eax, dword [ecx]
test eax, eax
je 0x421ffd
push 0
push 0
push 0
add eax, 4
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
ret
xor eax, eax
push eax
push eax
push eax
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
ret
lea edx, [eax + 4]
mov eax, dword [ecx]
test eax, eax
je 0x422027
push 0
push 0
push edx
add eax, 4
push 3
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
ret
xor eax, eax
push eax
push eax
push edx
push 3
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
ret
Function at 0x4238e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
xor ebx, ebx
test dword [eax + 0x40], 0xfffffffe
push edi
jbe 0x4239f9
jmp 0x423900
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x3c]
lea eax, [edx + ebx*4]
mov eax, dword [eax]
test eax, eax
lea edx, [eax + 4]
jne 0x423918
mov edx, 0x543bb1
xor esi, esi
test edx, edx
mov dword [esp + 0x10], esi
je 0x423940
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x423927
sub eax, esi
push edx
lea edi, [esp + 0x14]
call fcn.0044a090
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ebp, dword [eax + 0x78]
test ebp, ebp
je 0x42399a
push 0
mov ecx, str.Cookie:
lea eax, [esp + 0x14]
mov edi, 0xa0000000
call fcn.0044ab30
test al, al
je 0x423979
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x66], 0
jne 0x423974
mov byte [eax + 0x66], 1
jmp 0x423979
mov edi, 0x20000000
test esi, esi
lea eax, [esi + 4]
jne 0x423985
mov eax, 0x543bb1
push edi
push 0xffffffffffffffff
push eax
push ebp
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x42399a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x4239e5
movzx ecx, byte [esi]
cmp ecx, 0x80
jae 0x4239e5
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x4239d8
movzx edx, byte [esi]
cmp edx, 0x80
jae 0x4239d3
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x4239d8
mov eax, 0xff
test eax, eax
jne 0x4239e5
push esi
call fcn.0044d390
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x40]
invalid
Function at 0x423f70
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
test ebx, ebx
mov esi, ecx
je 0x423fcf
jmp 0x423f90
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
fild qword [esp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x78]
lea ecx, [esp + 0x1c]
fstp qword [esi + 0x10]
push ecx
push ebx
lea ecx, [edi + edx]
push ecx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x423fda
mov eax, dword [esp + 0x1c]
add edi, eax
sub ebx, eax
jne 0x423f90
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 4]
mov edx, dword [eax + 4]
lea ecx, [eax + 4]
mov eax, dword [edx + 0x10]
call eax
test al, al
je 0x423ffe
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
call eax
test al, al
je 0x42401a
mov eax, 0xf4242
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp ebx, 0x2eff
mov dword [esp + 0x10], 0
lea edi, [esp + 0x10]
jne 0x42405d
push str.InternetWriteFile__connection_reset_
mov eax, 0x24
call fcn.0044a090
mov ecx, edi
push ecx
push esi
call fcn.00425110
lea edi, [esp + 0x10]
call fcn.00401070
mov eax, 0xf462a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp ebx, 0x2efe
jne 0x424096
push str.InternetWriteFile__connection_aborted_
mov eax, 0x26
call fcn.0044a090
lea edx, [esp + 0x10]
push edx
push esi
call fcn.00425110
lea edi, [esp + 0x10]
call fcn.00401070
mov eax, 0xf462a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x5592c4
mov eax, 0x11
call fcn.0044a090
cmp ebx, 0x2ee2
jne 0x4240cf
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00425110
lea edi, [esp + 0x10]
call fcn.00401070
mov eax, 0xf462a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 4]
mov esi, dword [esi + 8]
push ebx
lea ecx, [esp + 0x14]
push ecx
call fcn.0041e5e0
lea edi, [esp + 0x10]
call fcn.00401070
pop edi
pop esi
mov eax, 0xf462a
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x424bb0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x20]
push esi
push edi
xor edi, edi
cmp ecx, edi
jne 0x424c07
mov eax, dword [ebx + 0x28]
cmp eax, edi
je 0x424be3
lea ecx, [eax + 4]
cmp ecx, edi
je 0x424be3
cmp eax, edi
je 0x424bdf
add eax, 4
jmp 0x424be8
xor eax, eax
jmp 0x424be8
mov eax, 0x543bb1
push eax
push str.No_POST_data____s
lea esi, [ebx + 0x38]
call fcn.00401180
add esp, 8
mov eax, 0xf462a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov esi, eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x30]
cmp eax, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 0x28
mov dword [esp + 0x44], esi
je 0x424c5f
test dword [eax], 0xffffff00
je 0x424c5f
cmp byte [eax + 4], 0
jne 0x424ca1
mov eax, dword [ebx + 0x34]
cmp eax, edi
je 0x424c74
test dword [eax], 0xffffff00
je 0x424c74
cmp byte [eax + 4], 0
jne 0x424ca1
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
fild qword [esp + 0x10]
mov eax, dword [ebx + 0x78]
push ebx
push 8
fstp qword [ebx + 0x10]
push edi
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
mov edi, eax
mov byte [ebx + 0x7c], 1
jmp 0x424d13
cmp esi, edi
jne 0x424caf
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
jmp 0x424cc6
push esi
call fcn.0044ce70
mov dword [esp + 0x18], eax
add esp, 4
neg eax
sbb eax, eax
and eax, esi
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x10]
push eax
call edx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
fild qword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x78]
push esi
fstp qword [ebx + 0x10]
push ecx
push edi
push edi
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp dword [esp + 0x10], 0
mov edi, eax
je 0x424d13
mov eax, dword [esp + 0x14]
test eax, eax
je 0x424d13
push eax
call fcn.0044d390
add esp, 4
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
call eax
test al, al
je 0x424d2f
mov eax, 0xf4242
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test edi, edi
jne 0x424ef4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x54], eax
mov dword [esp + 0x10], edi
lea eax, [edi + 0x18]
push str.HttpSendRequestEx_failed
lea edi, [esp + 0x14]
call fcn.0044a090
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
push ecx
mov edx, edi
push edx
call fcn.0041e5e0
invalid
invalid
Function at 0x425f10
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x30
push esi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
call esi
fild qword [esp + 0x10]
fstp qword [esp + 0x28]
fldz
fld qword [0x59b488]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x425f4f
lea ecx, [esp + 0x18]
fstp st(0)
push ecx
call esi
fild qword [esp + 0x18]
fst qword [0x59b488]
fstp qword [esp + 8]
fldz
fld qword [0x59b480]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x425f81
lea edx, [esp + 0x20]
fstp st(0)
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fild qword [esp + 0x20]
fld1
fdivrp st(1)
fst qword [0x59b480]
fld qword [esp + 0x28]
pop esi
fsub qword [esp + 4]
fmulp st(1)
add esp, 0x30
ret

Function at 0x426540
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push edi
push 0
lea eax, [esi + 8]
push eax
mov byte [esi + 0x44], bl
call ebp
push ebx
push esi
call fcn.00426300
add esp, 8
test al, al
jne 0x4265b7
lea edi, [esi + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [esi + 0x40]
mov eax, ebx
call fcn.00426810
test al, al
je 0x426588
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edx, [esi + 0x1c]
push edx
push 0
push esi
push 0x4260e0
push 0
push 0
call fcn.0052f32e
add esp, 0x18
push eax
lea eax, [esi + 0x18]
push eax
call ebp
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4

Function at 0x426600
Capabilities:
Terminate thread

Disassembly:
push ecx
cmp byte [edi + 5], 0
push ebx
push ebp
push esi
je 0x426613
push edi
call fcn.00426430
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
lea ebp, [edi + 8]
push ebp
call ebx
cmp dword [edi + 0x1c], 0
je 0x426683
push 0
lea eax, [edi + 0x18]
push eax
call ebx
mov esi, eax
test esi, esi
je 0x426683
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x426640
or eax, 0xffffffff
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x426677
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push ebp
mov dword [edi + 0x1c], 0
call ebx
mov eax, 0xf4242
pop esi
pop ebp
pop ebx
pop ecx
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push ebp
call ebx
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
Function at 0x4268c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
xor ebx, ebx
push ebp
push esi
mov esi, eax
mov dword [esi + 4], ebx
mov dword [esi], vtable.ytWindow.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
xor ebp, ebp
cmp edx, ebx
push edi
mov byte [esi + 0x28], bl
mov byte [esi + 0x29], bl
mov dword [esi + 0x78], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x54], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x6c], ebx
mov dword [esp + 0x14], ebp
je 0x42694a
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x426931
sub eax, edi
push edx
lea edi, [esp + 0x18]
call fcn.0044a090
mov ebp, dword [esp + 0x14]
cmp dword [esi + 0x68], ebp
lea edi, [esi + 0x68]
je 0x426985
call fcn.00401070
cmp ebp, ebx
lea edi, [esi + 0x68]
mov dword [edi], ebp
je 0x426985
movzx eax, byte [ebp]
cmp eax, 0x80
jae 0x42697e
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x426985
mov eax, edi
call fcn.00449d40
lea edi, [esp + 0x14]
call fcn.00401070
mov eax, dword [esp + 0x1c]
mov byte [esi + 0x38], 1
mov byte [esi + 0x3f], bl
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov byte [esi + 0x39], bl
mov byte [esi + 0x3e], bl
call fcn.00427040
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4

Function at 0x427690
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [0x587aa4]
test eax, eax
jne 0x4276b8
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
sbb eax, eax
neg eax
add eax, 1
mov dword [0x587aa4], eax
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, 0x8000
ja 0x4276ca
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esi + 0x6c]
push edi
push 0
push 0xf012
push 0x112
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x6c]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push 0x201
push ecx
call edi
mov edx, dword [esi + 0x6c]
push 0
push 0
push 0x202
push edx
call edi
pop edi
xor eax, eax
pop esi
ret
Function at 0x427710
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [0x59b4d0]
test eax, eax
mov esi, dword [edi + 0x6c]
je 0x427748
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x427748
mov eax, dword [0x59b4d0]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x427748
mov eax, dword [0x59b4d0]
jmp 0x42774a
xor eax, eax
cmp esi, eax
jne 0x427756
mov esi, dword [0x59b4d4]
jmp 0x42776b
cmp byte [0x59b52e], 0
je 0x42776b
mov ecx, dword [edi + 0x6c]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
mov eax, dword [0x587aa4]
test eax, eax
jne 0x42778a
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
sbb eax, eax
neg eax
add eax, 1
mov dword [0x587aa4], eax
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, 0x8000
ja 0x42779d
pop edi
or eax, 0xffffffff
pop esi
ret
mov dl, byte [0x59b52e]
neg dl
push 0
sbb edx, edx
add edx, 8
or edx, 0xf000
push edx
push 0x112
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push 0x201
push esi
call edi
push 0
push 0
push 0x202
push esi
call edi
pop edi
xor eax, eax
pop esi
ret
Function at 0x42acb0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp byte [0x59b495], 0
jne 0x42acbc
xor al, al
ret
mov eax, dword [0x587aa4]
test eax, eax
jne 0x42acdb
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
sbb eax, eax
neg eax
add eax, 1
mov dword [0x587aa4], eax
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, 0x8000
seta al
ret
Function at 0x42c030
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1278
call fcn.0051ec70
mov eax, dword [0x577830]
xor eax, esp
mov dword [esp + 0x1274], eax
push esi
push edi
push 0x800
lea eax, [esp + 0xa7c]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x42c07d
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x1274]
xor ecx, esp
call fcn.005120db
add esp, 0x1278
ret
push 0x38
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.005185b0
add esp, 0xc
cmp byte [esp + 0x1284], 0
lea edx, [esp + 0xa78]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x20], str.open
mov dword [esp + 0x24], str.explorer
mov dword [esp + 0x30], 5
mov dword [esp + 0xc], 0
je 0x42c0e0
push esi
lea eax, [esp + 0x10]
push str._select___s_
push eax
call fcn.00413360
add esp, 0xc
jmp 0x42c12d
mov eax, esi
lea edi, [esp + 0x50]
call fcn.00401230
lea edi, [esp + 0x10]
mov esi, eax
call fcn.004019e0
lea ecx, [esp + 0x50]
call fcn.00401a30
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42c10c
add eax, 4
jmp 0x42c111
mov eax, 0x543bb1
push eax
lea ecx, [esp + 0x10]
push str.__s_
push ecx
call fcn.00413360
add esp, 0xc
lea edi, [esp + 0x10]
call fcn.00401070
lea eax, [esp + 0xc]
call fcn.00449d40
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42c147
add eax, 4
mov dword [esp + 0x28], eax
jmp 0x42c14f
mov dword [esp + 0x28], 0
lea edx, [esp + 0x14]
push edx
call dword [0x59e100]
lea edi, [esp + 0xc]
call fcn.00401070
mov ecx, dword [esp + 0x127c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.005120db
add esp, 0x1278
ret

Function at 0x42c7c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x577830]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x59d5d0], 0x80000000
jae 0x42c82f
push 0x94
lea eax, [esp + 4]
push 0
push eax
call fcn.005185b0
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x42c82f
cmp dword [esp + 0x10], 2
jne 0x42c82f
cmp dword [esp + 4], 6
jb 0x42c82f
mov al, 1
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.005120db
add esp, 0x98
ret
mov ecx, dword [esp + 0x94]
xor ecx, esp
xor al, al
call fcn.005120db
add esp, 0x98
ret
Function at 0x43ab10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, eax
mov eax, dword [ebp]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x43ab2b
add eax, 4
jmp 0x43ab2d
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
push ebx
push eax
call dword [0x59e05c]
test eax, eax
je 0x43ab46
mov edi, dword [esp + 0x34]
cmp edi, ebx
jne 0x43ab53
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push ebx
call fcn.00469960
cmp eax, ebx
jne 0x43abe3
mov eax, dword [ebp]
cmp eax, ebx
je 0x43ab6d
add eax, 4
jmp 0x43ab6f
xor eax, eax
push 0x2000
push 0x5586a8
push eax
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2c], bl
mov dword [esp + 0x34], ebx
call fcn.0046d460
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
mov dword [esp + 0x20], eax
jne 0x43abb9
mov esi, eax
lea eax, [esp + 0x14]
call fcn.00408080
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x43abd3
mov esi, dword [esi]
push ecx
push esi
push 1
push eax
call fcn.0052edba
add esp, 0x10
cmp eax, esi
je 0x43abd8
mov ebx, 2
lea eax, [esp + 0x14]
call fcn.00408080
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret