joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002e0f1
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1002e06d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1002e260
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1002e260
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1002e215
jg 0x1002e14d
test eax, eax
je 0x1002e20b
push 1
push 0x1000
call fcn.1002173d
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1002e170
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1002e202
push 0x8000
push ebx
call fcn.1002df9e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1002e199
jg 0x1002e194
cmp ecx, 0x1000
jb 0x1002e199
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100221a3
add esp, 0x10
cmp eax, 0xffffffff
je 0x1002e1de
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1002e194
jl 0x1002e1c5
test ecx, ecx
jne 0x1002e186
push dword [ebp - 0xc]
push ebx
call fcn.1002df9e
push esi
call fcn.1001e2f2
add esp, 0xc
xor ebx, ebx
jmp 0x1002e26e
cmp byte [edi + 0x24], 0
je 0x1002e1f5
cmp dword [edi + 0x20], 5
jne 0x1002e1f5
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1002e200
mov ebx, dword [edi + 0x18]
jmp 0x1002e202
xor ebx, ebx
push esi
call fcn.1001e2f2
pop ecx
jmp 0x1002e26e
test ecx, ecx
jg 0x1002e1d7
jl 0x1002e215
test eax, eax
jae 0x1002e1d7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100250fa
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1002e235
cmp byte [edi + 0x1c], 0
je 0x1002e1d7
jmp 0x1002e266
push ebx
call fcn.1002bc0a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1002e1d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1002e26e
cmp byte [edi + 0x1c], 0
je 0x1002e26b
mov ebx, dword [edi + 0x18]
jmp 0x1002e26e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100250fa
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1002f980
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002f9ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002f9ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x408911
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop ebx
add edi, eax
call fcn.0040893c
push eax
pop edi
xor dword [edx], ebx
sub eax, edi
add edi, eax
inc edx
cmp edx, esi
jne fcn.00408911
mov eax, edi
add eax, eax
ret

Function at 0x996058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009961a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x99607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x99606a
add dl, dl
jne 0x996089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9960dc
xor eax, eax
add dl, dl
jne 0x996096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x99617d
add dl, dl
jne 0x9960a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9960b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9960bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9960c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9960d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x996075
mov eax, 1
add dl, dl
jne 0x9960ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9960f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9960e1
sub eax, ebx
mov ebx, 1
jne 0x996128
mov ecx, 1
add dl, dl
jne 0x99610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x996119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x996105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x996075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x99613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x99614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x996136
cmp eax, 0x7d00
jae 0x99616d
cmp eax, 0x500
jb 0x996168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x996075
cmp eax, 0x7f
ja 0x996170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x996075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x99619e
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 0x996075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4b37e9
Capabilities:
Print debug messages

Disassembly:
jmp 0x54a52f
push esi
mov esi, ecx
call fcn.004b3dc0
mov eax, 0x400000
mov dword [esi], 0x38
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xe00
mov dword [esi + 0x10], 0x6290a8
call fcn.004b0585
test eax, eax
jns 0x54a57e
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x54a577
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x661d10], 1
mov eax, esi
pop esi
ret
Function at 0x5e4ba0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.004af059
mov eax, dword [0x65d180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x6636d0]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x5e4d78
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x5e4cc7
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x5e4cc7
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x5e4ca5
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x5e4c29
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5e4d31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x5e4d98
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x5e4d73
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x5e4d98
jmp 0x5e4c02
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b072e
mov esp, ebp
pop ebp
ret
Function at 0x5e4e30
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.004af059
mov eax, dword [0x65d180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x6636d0]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x5e501b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x5e4f66
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x5e4f66
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x5e4f42
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x5e4eb9
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5e4fd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x5e503b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x5e5016
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x5e503b
jmp 0x5e4e92
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b072e
mov esp, ebp
pop ebp
ret
Function at 0x405759
Capabilities:
Enumerate processes

Disassembly:
push ebp
push ebx
mov edx, 0x8d
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x405760
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp], eax
cmp dword [esp], 0
je 0x405804
lea ebp, [esp + 4]
mov dword [ebp], 0x22c
lea eax, [esp + 4]
push eax
push dword [esp + 4]
call sub.KERNEL32.dll_Process32FirstW
mov dword [esp + 0x230], eax
cmp dword [esp + 0x230], 0
je 0x4057fc
lea ebp, [esp + 4]
mov ebx, dword [ebp + 8]
call sub.KERNEL32.dll_GetCurrentProcessId
cmp ebx, eax
jne 0x4057d0
push dword [esp]
call sub.KERNEL32.dll_CloseHandle
lea ebp, [esp + 4]
mov eax, dword [ebp + 0x18]
jmp 0x405806
lea eax, [esp + 4]
push eax
push dword [esp + 4]
call sub.KERNEL32.dll_Process32NextW
mov dword [esp + 0x230], eax
cmp dword [esp + 0x230], 0
je 0x4057f3
xor eax, eax
jmp 0x4057f8
mov eax, 1
and eax, eax
je 0x4057af
push dword [esp]
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
add esp, 0x234
pop ebx
pop ebp
ret

Function at 0x407cd8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
lea eax, [esp]
push eax
lea eax, [0x40afcb]
push eax
call sub.USER32.dll_EnumWindows
mov eax, dword [esp]
mov dword [0x482c70], eax
lea eax, [esp]
push eax
lea eax, [0x409eb7]
push eax
push dword [0x482c70]
call sub.USER32.dll_EnumChildWindows
push 0
mov eax, str.SysTabControl32
push eax
push 0
push dword [esp + 0xc]
call sub.USER32.dll_FindWindowExW
mov dword [esp], eax
push 0
mov eax, str.Static
push eax
push 0
push dword [esp + 0xc]
call sub.USER32.dll_FindWindowExW
mov dword [esp], eax
mov dword [esp + 4], 1
jmp 0x407d4e
mov eax, dword [0x482cf8]
cmp eax, dword [esp + 4]
jl 0x407d70
push 2
push dword [esp + 4]
call sub.USER32.dll_GetWindow
mov dword [esp], eax
inc dword [esp + 4]
jno 0x407d4e
mov eax, dword [esp]
mov dword [0x482d24], eax
push 0
mov eax, str.ListBox
push eax
push 0
push dword [esp + 0xc]
call sub.USER32.dll_FindWindowExW
mov dword [esp], eax
mov eax, dword [esp]
mov dword [0x482cc8], eax
mov ebx, dword [0x482cc8]
and ebx, ebx
jne 0x407dab
jmp fcn.004056e4
xor eax, eax
add esp, 0xc
pop ebx
ret

Function at 0x40911c
Capabilities:
Hide graphical window

Disassembly:
xor eax, eax
push eax
push 0
push dword [0x482cc8]
call sub.USER32.dll_ShowWindow
push dword [0x482d24]
push dword [0x482d48]
call fcn.004303e9
push eax
call sub.USER32.dll_SetParent
push 0
push dword [0x482d48]
call fcn.0043060d
lea eax, [esp]
push eax
lea eax, [0x408e15]
push eax
push dword [0x482c70]
call sub.USER32.dll_EnumChildWindows
push dword [esp]
call sub.USER32.dll_SetForegroundWindow
push 0x64
call fcn.0042fbc4
push dword [0x482c70]
call sub.USER32.dll_SetForegroundWindow
xor eax, eax
add esp, 4
ret
Function at 0x40b95a
Capabilities:
Enumerate processes

Disassembly:
push ebp
push ebx
mov edx, 0x8e
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40b961
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp], eax
cmp dword [esp], 0
je 0x40ba85
lea ebp, [esp + 4]
mov dword [ebp], 0x22c
lea eax, [esp + 4]
push eax
push dword [esp + 4]
call sub.KERNEL32.dll_Process32FirstW
mov dword [esp + 0x230], eax
cmp dword [esp + 0x230], 0
je 0x40ba7d
mov edx, dword [0x483618]
push edx
push edx
lea ebp, [esp + 0xc]
lea eax, [ebp + 0x24]
push eax
call fcn.00439cf0
add dword [0x483618], 2
mov edx, dword [0x483618]
push edx
push edx
mov edx, dword [0x483618]
push edx
push edx
call fcn.00427db5
mov edx, dword [0x480f2c]
add dword [esp], edx
call fcn.0043199d
pop edx
pop ecx
mov dword [0x483618], ecx
add ecx, dword [0x480f2c]
add edx, dword [0x480f2c]
call fcn.00427110
je 0x40ba25
mov ebx, dword [ebp + 0x18]
cmp ebx, dword [esp + 0x244]
jne 0x40ba25
mov eax, 1
jmp 0x40ba27
xor eax, eax
and eax, eax
je 0x40ba32
inc dword [esp + 0x234]
mov ebx, dword [esp + 0x234]
cmp ebx, 1
jle 0x40ba4d
push dword [esp]
call sub.KERNEL32.dll_CloseHandle
mov eax, 1
jmp 0x40ba8b
lea eax, [esp + 4]
push eax
push dword [esp + 4]
call sub.KERNEL32.dll_Process32NextW
mov dword [esp + 0x230], eax
cmp dword [esp + 0x230], 0
je 0x40ba70
xor eax, eax
jmp 0x40ba75
mov eax, 1
and eax, eax
je 0x40b9b8
push dword [esp]
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
jmp 0x40ba8b
add esp, 0x238
pop ebx
pop ebp
ret 4

Function at 0x427af2
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x427b47
push dword [esp + 0x10]
push 0x427a71
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x482dac]
test esi, esi
je 0x427ba0
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x427b3f
cmp byte [esi + 0x10], 0
je 0x427b3f
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x427b1b
jmp 0x427ba0
mov esi, dword [0x482dac]
test esi, esi
je 0x427ba0
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x427b99
cmp byte [esi + 0x11], 0
je 0x427b75
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x427b8c
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x482dac
call fcn.0043a9f1
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x427b54
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x427c43
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0x483644]
call fcn.0043a24d
mov ebp, eax
or ebx, 0xffffffff
xor eax, eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
movzx edx, word [eax]
test dx, dx
je 0x427d43
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x427c99
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x427c91
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x427cd9
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x427d1b
push 0x22
pop edx
cmp cx, dx
je 0x427ccb
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x427cbb
xor ecx, ecx
cmp word [eax], cx
je 0x427d1b
mov ecx, eax
add eax, 2
jmp 0x427d1d
test dx, dx
je 0x427d23
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x427ccb
add eax, 2
push 0x22
pop edx
cmp word [eax], dx
jne 0x427d11
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x427d1b
cmp cx, dx
je 0x427d0e
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x427cfe
push 0x20
pop ecx
movzx edx, word [eax]
test dx, dx
jne 0x427ce3
jmp 0x427ccb
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x427d25
xor edx, edx
cmp dword [ebp], ebx
jne 0x427d2e
test edi, edi
jne 0x427d4b
test edx, edx
je 0x427d33
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x427c87
test edi, edi
jne 0x427d5c
mov eax, ebx
jmp 0x427d60
test esi, esi
je 0x427d5c
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x427d60
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x42b051
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x4836b0]
call fcn.0043a24d
xor ebp, ebp
mov esi, eax
cmp dword [0x482ea8], ebp
jne 0x42b12d
xor ebx, ebx
inc ebx
mov dword [0x482ea8], ebx
call fcn.0042ed60
mov edi, 0xa4
push edi
push ebp
push 0x482eb0
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x482eb0], 0x13
lea eax, [esp + 0x10]
mov dword [0x482eb4], edi
mov dword [0x482ec0], 0x42af9c
mov dword [0x482ec4], 0x42b2c7
push eax
mov dword [0x482f18], 0x42af77
mov dword [0x482f1c], 0x42b212
mov dword [0x482ebc], 0x42af52
mov dword [0x482f40], 0x42afb7
mov dword [0x482f54], ebx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42b12d
cmp dword [esp + 0x20], ebx
je 0x42b115
cmp dword [esp + 0x20], 2
jne 0x42b12d
cmp dword [esp + 0x14], 5
jae 0x42b11d
mov dword [0x482f54], ebp
jmp 0x42b12d
jne 0x42b12d
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0x482f54], eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
call fcn.00433915
mov eax, dword [esp + 0x140]
push ebp
push dword [0x482c38]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push eax
push ebp
push str.BUTTON
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x42b203
push dword [esp + 0x128]
push dword [0x4836cc]
call fcn.0043a30c
mov edi, dword [esp + 0x13c]
mov esi, eax
mov dword [esi + 0x10], edi
test edi, edi
je 0x42b1d2
push edi
call fcn.00435817
test eax, eax
je 0x42b1d2
push ebp
push ebp
push edi
call fcn.00435461
mov dword [esi + 0x18], eax
jmp 0x42b1d5
mov dword [esi + 0x18], ebp
push 0x42aca1
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x482eb0
push ebx
push esi
push dword [esp + 0x134]
mov dword [0x482eac], eax
call fcn.0042eaf9
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x114
ret 0x1c
Function at 0x42fa41
Capabilities:
Check os version

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
xor ebx, ebx
mov esi, 0xc8
and dword [esp + 0x10], ebx
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42fbb7
mov eax, dword [esp + 0x24]
dec eax
je 0x42fb9a
dec eax
jne 0x42fbb7
lea eax, [esp + 0x128]
xor ebp, ebp
push eax
call fcn.0042f9fa
pop ecx
test eax, eax
je 0x42faf8
mov ebx, dword [esp + 0x12c]
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
cmp byte [esp + 0x242], 1
jne 0x42fabb
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x42fb96
dec ebx
je 0x42fb92
dec ebx
je 0x42fb71
dec ebx
je 0x42fb2b
sub ebx, 4
jne 0x42fbb7
test edi, edi
jne 0x42fbb7
cmp eax, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x42fbb7
lea eax, [esp + 0x244]
mov dword [esp + 0x244], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x42fabb
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x35e], 1
jmp 0x42fab6
sub edi, 0
je 0x42fb63
dec edi
je 0x42fb55
dec edi
je 0x42fb47
dec edi
jne 0x42fbb7
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x42fbb7
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x42fbb7
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x42fbb7
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x42fbb7
sub edi, 0
je 0x42fb8e
dec edi
je 0x42fb8a
dec edi
jne 0x42fbb7
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x42fbb7
push 0x3c
jmp 0x42fbb6
push 0x32
jmp 0x42fbb6
push 0x14
jmp 0x42fbb6
push 5
jmp 0x42fbb6
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42fbb4
cmp eax, 0xa
je 0x42fbb0
cmp eax, 0x5a
jne 0x42fbb7
push 0x28
jmp 0x42fbb6
push 0x1e
jmp 0x42fbb6
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret