joyce8/EMBER2024-capa huggingface dataset:
Function at 0x15ccf7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov ecx, 0x1b1628
call fcn.000fd3fe
test al, al
jne 0x15cd21
xor eax, eax
jmp 0x15ce54
mov ecx, dword [ebp - 0xc]
mov eax, dword [0x1b1688]
push ebx
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov eax, dword [0x1b169c]
push esi
mov eax, dword [eax + ecx*4]
mov esi, dword [ebp + 0xc]
mov ecx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov edi, dword [eax]
mov ebx, dword [edi]
cmp esi, 0xffffffff
je 0x15cdbc
movzx eax, byte [edi + 0x90]
dec eax
dec eax
je 0x15cd88
dec eax
je 0x15cd8b
sub eax, 3
je 0x15cd83
dec eax
je 0x15cd7e
sub eax, 3
je 0x15cd76
sub eax, 0xc
jne 0x15cda9
jmp 0x15ce51
or esi, 0x4000000
jmp 0x15cda9
or esi, 3
jmp 0x15cda9
or esi, 0xe
jmp 0x15cda9
or esi, 4
push 0
test esi, 0x800
je 0x15cd99
push 1
jmp 0x15cda1
or esi, 0x10000
push 0
push 0xcf
push ebx
call ecx
or esi, 0x50000000
push esi
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x10]
cmp esi, 0xffffffff
je 0x15cdf9
push esi
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [0x1b169c]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
cmp byte [eax + 0x90], 0x13
jne 0x15cdf9
push esi
push 0
push 0x1036
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], eax
mov al, byte [edi + 0x93]
mov ecx, dword [ebp + 8]
cmp al, 0xff
je 0x15ce1c
movzx eax, al
cmp eax, dword [ecx + 0x190]
je 0x15ce1c
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x15ce25
push 1
push edi
push ecx
call fcn.0015dfde
mov al, byte [edi + 0x90]
cmp al, 2
je 0x15ce38
cmp al, 3
je 0x15ce38
cmp esi, 0xffffffff
je 0x15ce49
push 0x27
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x15e32e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0x44
push 0
mov ebx, 0x1b3d00
push ebx
call fcn.00110d50
push 0x10
push 0
mov esi, 0x1b3d44
push esi
call fcn.00110d50
add esp, 0x18
xor eax, eax
push esi
push ebx
inc eax
mov dword [0x1b3d2c], eax
mov word [0x1b3d30], ax
xor eax, eax
push eax
push eax
push 0x20
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x1b3d00], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop esi
pop ebx
test eax, eax
je 0x15e393
push dword [0x1b3d44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret 4

Function at 0x15e397
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov edx, dword [ebx + 4]
push edi
push 3
mov edi, ecx
mov dword [ebp + 8], edx
pop esi
cmp dword [ebx + 0x190], eax
je 0x15e44d
cmp dword [edi + 0x84], esi
jl 0x15e447
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x15e438
cmp dword [ecx + 4], edx
jne 0x15e438
mov dl, byte [ecx + 0x90]
cmp dl, 0xb
je 0x15e435
mov dh, byte [ecx + 0x93]
movzx eax, dh
cmp eax, dword [ebx + 0x190]
je 0x15e407
cmp byte [ebx + 0x198], 0
je 0x15e435
cmp dh, 0xff
je 0x15e435
cmp dl, 0xa
je 0x15e435
push 0
push dword [ecx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
test byte [eax + 0x92], 0x40
je 0x15e435
cmp byte [eax + 0x90], 0x1a
jne 0x15e435
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp + 8]
inc esi
cmp esi, dword [edi + 0x84]
jle 0x15e3c7
mov eax, dword [ebp + 0xc]
push 3
pop esi
mov dword [ebx + 0x190], eax
cmp dword [edi + 0x84], esi
jl 0x15e4da
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x15e4cb
cmp dword [ecx + 4], edx
jne 0x15e4cb
cmp byte [ecx + 0x90], 0xb
je 0x15e4cb
movzx eax, byte [ecx + 0x93]
cmp eax, dword [ebx + 0x190]
jne 0x15e4cb
test byte [ecx + 0x92], 0x20
jne 0x15e4cb
push 0
push dword [ecx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x74]
push 4
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
test byte [eax + 0x92], 0x40
je 0x15e4cb
cmp byte [eax + 0x90], 0x1a
jne 0x15e4cb
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp + 8]
inc esi
cmp esi, dword [edi + 0x84]
jle 0x15e459
mov eax, dword [ebp + 0xc]
push 0
push eax
push 0x130c
push dword [ebx + 0x188]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x15e731
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
cmp word [eax], di
je 0x15e84b
push edi
push edi
push 3
push edi
push edi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x15e768
xor eax, eax
jmp 0x15e87a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x15e78b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x15e761
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x15e761
lea eax, [ebp - 8]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 4]
push eax
push 0x17d9bc
xor edi, edi
push edi
push edi
push dword [ebp - 8]
mov dword [ebp - 4], edi
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x15e761
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
push ecx
call dword [eax + 0xc]
lea eax, [ebp - 0x24]
push eax
push 0x18
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
cmp dword [edx], edi
jne 0x15e827
cmp dword [ecx], edi
jne 0x15e827
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
push 0x2000
push dword [ecx]
push dword [edx]
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
jmp 0x15e850
mov eax, edi
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x64], 0
je 0x15e865
push dword [esi + 0x64]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0xc]
push eax
push edi
mov dword [esi + 0x64], eax
mov esi, dword [esi]
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x15f1d7
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x1b1628
push edi
mov ecx, esi
call fcn.0010b34e
mov ecx, dword [0x1b1688]
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax]
cmp dword [ebp + 0xc], edi
jne 0x15f22e
xor esi, esi
cmp dword [ebx + 0x1a0], esi
je 0x15f292
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push esi
push edi
push dword [ebp - 4]
push dword [ebp - 8]
push esi
push dword [ebx + 0x1a0]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
jmp 0x15f2ac
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0010b526
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x15f292
mov ecx, dword [0x1b169c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx]
mov cl, byte [eax + 0x90]
cmp cl, 0xe
je 0x15f292
cmp cl, 0xf
je 0x15f292
cmp cl, 0x13
je 0x15f292
cmp cl, 0x10
je 0x15f292
xor esi, esi
cmp dword [eax + 0xc], esi
je 0x15f292
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x1b169c]
mov ecx, dword [ebp + 8]
push esi
push dword [ebx]
mov eax, dword [eax + ecx*4]
push dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 8]
push esi
push dword [eax + 0xc]
jmp 0x15f226
movzx ecx, word [ebp + 0x14]
movzx eax, word [ebp + 0x10]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 0xc]
push 0x7b
push edi
call dword [sym.imp.USER32.dll_DefDlgProcW]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4010b0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x128
mov eax, dword [0x429bd8]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push 1
lea eax, [esp + 0x14]
push eax
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push 1
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp dword [esi], ebx
lea edx, [esp + 0x10]
mov dword [esp + 4], 0xc
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
je 0x401118
lea eax, [ebx + 1]
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.0040ac6a
add esp, 0x128
ret
push edi
lea eax, [esp + 0x28]
push 0x425720
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
push 0
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [esi], eax
je 0x401169
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401156
mov ebx, 1
mov eax, dword [esi]
test eax, eax
je 0x401169
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov ecx, dword [esp + 0x128]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0040ac6a
add esp, 0x128
ret
Function at 0x401540
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
sub esp, 0x518
mov eax, dword [0x429bd8]
xor eax, esp
mov dword [esp + 0x514], eax
push ebp
push edi
lea eax, [esp + 0x418]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push str.EPSON
lea ecx, [esp + 0x41c]
push ecx
push str._s_s
lea edx, [esp + 0x21c]
push 0x104
push edx
call fcn.0040b070
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0x14
lea eax, [esp + 0x210]
push eax
call edi
cmp eax, 1
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
je 0x4015c2
push 0
lea ecx, [esp + 0x214]
push ecx
call ebp
test eax, eax
je 0x401710
push esi
push 0x104
lea edx, [esp + 0x10]
push 0
push edx
call fcn.0040daf0
push 0x104
lea eax, [esp + 0x120]
push 0
push eax
call fcn.0040daf0
lea esi, [esp + 0x24]
call fcn.00401c60
push str.japanese
push 2
call fcn.0040c7b2
push eax
mov ecx, esi
push 0x104
push ecx
call fcn.0040ba63
mov edx, esi
push str.tm88vutl
push edx
call fcn.0040b090
add esp, 0x34
test eax, eax
pop esi
je 0x401634
push str.TM88VUtl
push 0x104
lea eax, [esp + 0x114]
push eax
jmp 0x40168a
lea ecx, [esp + 8]
push str.tm20utl
push ecx
call fcn.0040b090
add esp, 8
test eax, eax
je 0x40165e
push str.TM20Utl
push 0x104
lea edx, [esp + 0x114]
push edx
jmp 0x40168a
lea eax, [esp + 8]
push str.ba500iiutl
push eax
call fcn.0040b090
add esp, 8
test eax, eax
je 0x40170d
push str.BA500IIUtl
push 0x104
lea ecx, [esp + 0x114]
push ecx
call fcn.0040c9b9
add esp, 0xc
lea edx, [esp + 0x10c]
push edx
lea eax, [esp + 0x214]
push eax
push str._s_s
lea ecx, [esp + 0x320]
push 0x104
push ecx
call fcn.0040b070
add esp, 0x14
lea edx, [esp + 0x314]
push edx
call edi
cmp eax, 1
je 0x4016db
push 0
lea eax, [esp + 0x318]
push eax
call ebp
test eax, eax
je 0x401710
lea ecx, [esp + 0x314]
push ecx
push 0x104
push ebx
call fcn.0040c9b9
add esp, 0xc
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.0040ac6a
add esp, 0x518
ret
mov byte [ebx], 0
mov ecx, dword [esp + 0x51c]
pop edi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0040ac6a
add esp, 0x518
ret

Function at 0x40ac6a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429bd8]
jne 0x40ac74
repz ret
jmp fcn.00410dd5
Function at 0x410bd0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x429e98]
je 0x410beb
inc edi
cmp edi, 0x17
jb 0x410bdc
cmp edi, 0x17
jae 0x410d6b
push ebp
push 3
call fcn.0041a722
cmp eax, 1
pop ecx
je 0x410d37
push 3
call fcn.0041a722
test eax, eax
pop ecx
jne 0x410c1f
cmp dword [0x429bd4], 1
je 0x410d37
cmp ebx, 0xfc
je 0x410d6a
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x42ccd8
push ebp
call fcn.0040c9b9
add esp, 0xc
test eax, eax
je 0x410c55
push esi
push esi
push esi
push esi
push esi
call fcn.0040fd55
add esp, 0x14
push 0x104
mov esi, 0x42ccf1
push esi
push 0
mov byte [0x42cdf5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x410c99
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040c9b9
add esp, 0xc
test eax, eax
je 0x410c99
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040fd55
add esp, 0x14
push esi
call fcn.0040d630
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x410cde
push esi
call fcn.0040d630
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x42cfec
push 0x423b7c
sub ecx, eax
push ecx
push eax
call fcn.0040b491
add esp, 0x14
test eax, eax
je 0x410cde
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0040fd55
add esp, 0x14
jmp 0x410ce0
xor esi, esi
push 0x423b78
push ebx
push ebp
call fcn.0040fc5e
add esp, 0xc
test eax, eax
je 0x410d00
push esi
push esi
push esi
push esi
push esi
call fcn.0040fd55
add esp, 0x14
push dword [edi*8 + 0x429e9c]
push ebx
push ebp
call fcn.0040fc5e
add esp, 0xc
test eax, eax
je 0x410d22
push esi
push esi
push esi
push esi
push esi
call fcn.0040fd55
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0041a565
add esp, 0xc
jmp 0x410d6a
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x410d6a
cmp ebp, 0xffffffff
je 0x410d6a
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x429e9c]
push dword [esi]
call fcn.0040d630
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x41a565
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00413eef
xor ebx, ebx
cmp dword [0x42d578], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x41a63b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41a71b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x424f6c
push edi
call esi
cmp eax, ebx
je 0x41a71b
push eax
call fcn.00413e81
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42d578], eax
call esi
push eax
call fcn.00413e81
mov dword [esp], 0x424f48
push edi
mov dword [0x42d57c], eax
call esi
push eax
call fcn.00413e81
mov dword [0x42d580], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040f9eb
test eax, eax
pop ecx
pop ecx
je 0x41a609
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040fd55
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x41a63b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00413e81
cmp eax, ebx
pop ecx
mov dword [0x42d588], eax
je 0x41a63b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00413e81
pop ecx
mov dword [0x42d584], eax
mov eax, dword [0x42d584]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x41a6c0
cmp dword [0x42d588], ecx
je 0x41a6c0
push eax
call fcn.00413ef8
push dword [0x42d588]
mov esi, eax
call fcn.00413ef8
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x41a6c0
cmp edi, ebx
je 0x41a6c0
call esi
cmp eax, ebx
je 0x41a68d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41a68d
test byte [ebp - 0x18], 1
jne 0x41a6c0
lea eax, [ebp - 0x10]
push eax
call fcn.0040fa22
test eax, eax
pop ecx
je 0x41a6a8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040fd55
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x41a6b7
or dword [ebp + 0x10], 0x200000
jmp 0x41a6fb
or dword [ebp + 0x10], 0x40000
jmp 0x41a6fb
mov eax, dword [0x42d57c]
cmp eax, dword [ebp - 8]
je 0x41a6fb
push eax
call fcn.00413ef8
cmp eax, ebx
pop ecx
je 0x41a6fb
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41a6fb
mov eax, dword [0x42d580]
cmp eax, dword [ebp - 8]
je 0x41a6fb
push eax
call fcn.00413ef8
cmp eax, ebx
pop ecx
je 0x41a6fb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d578]
call fcn.00413ef8
cmp eax, ebx
pop ecx
je 0x41a71b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41a71d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4206b0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x429bd8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00420645
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0040daf0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4206ff
cmp dword [ebp - 0x1c], 5
jb 0x420717
jmp 0x420713
cmp dword [ebp - 0x10], 1
jne 0x420717
cmp dword [ebp - 0x1c], 4
ja 0x420713
jne 0x420717
cmp dword [ebp - 0x18], 0
jbe 0x420717
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4256f0
call fcn.00420519
test eax, eax
jge 0x420738
mov byte [0x42d64c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040ac6a
add ebp, 0x78
leave
ret
Function at 0x402890
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4028cf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4028cf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4028cf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4028cf
cmp dword [ecx + 0x74], 0xe
jbe 0x4028cf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10001799
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x80000000
jbe 0x100017d9
mov eax, dword [ebp - 0xc]
and eax, 0xff
cmp eax, 4
jge 0x100017d9
mov ecx, dword [ebp + 8]
push ecx
call fcn.10002dfa
add esp, 4
mov dword [0x10008a08], eax
mov eax, dword [0x10008a08]
jmp 0x1000189a
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x100017f6
cmp dword [ebp - 0x10], 1
je 0x1000185e
cmp dword [ebp - 0x10], 2
je 0x1000184d
jmp 0x10001895
mov dword [0x10008a08], 0
cmp dword [0x10008a04], 0
jne 0x10001846
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x100018a0
push 0x1388
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
xor ecx, ecx
test ecx, ecx
jne 0x10001826
cmp dword [ebp - 4], 0
je 0x10001846
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10008a04], 1
mov eax, dword [0x10008a08]
jmp 0x1000189a
mov dword [0x10008a08], 0
mov eax, dword [0x10008a08]
jmp 0x1000189a
mov dword [0x10008a08], 2
cmp dword [0x10008034], 0
je 0x1000188e
push 0
push 0x2710
call dword [sym.imp.KERNEL32.dll_SleepEx]
cmp dword [0x10008034], 0
je 0x1000188e
mov eax, 1
jmp 0x1000189a
mov eax, dword [0x10008a08]
jmp 0x1000189a
mov eax, dword [0x10008a08]
mov esp, ebp
pop ebp
ret 4

Function at 0x100038d5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov bl, byte [edi]
inc edi
test bl, bl
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
mov dword [ebp + 0xc], edi
je 0x10003fee
mov ecx, dword [ebp - 0x10]
xor edx, edx
jmp 0x10003909
cmp dword [ebp - 0x14], edx
jl 0x10003fee
cmp bl, 0x20
jl 0x1000392a
cmp bl, 0x78
jg 0x1000392a
movsx eax, bl
mov al, byte [eax + sym.imp.KERNEL32.dll_LCMapStringA]
and eax, 0xf
jmp 0x1000392c
xor eax, eax
movsx eax, byte [esi + eax*8 + 0x100070e0]
sar eax, 4
cmp eax, 7
mov dword [ebp - 0x30], eax
ja 0x10003fdd
jmp dword [eax*4 + 0x10003ff6]
test dword [edi + edi*8 - 1], esi
dec dword [ebx - 0xe0807bb]
test edx, edx
je 0x10003ff1
inc dword [ebp - 0x8c]
invalid
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
invalid
inc ebp
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219