joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a2e2
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x419d00
push eax
call fcn.0040b270
lea eax, [ebp - 0x104]
push eax
call fcn.00404494
lea eax, [ebp - 0x104]
push eax
call fcn.0040a2b6
add esp, 0x10
lea eax, [ebp - 0x104]
push edi
push eax
call esi
test eax, eax
je 0x40a506
lea eax, [ebp - 0x104]
push 0x419cf4
push eax
call fcn.0040b270
lea eax, [ebp - 0x104]
push eax
call fcn.00404494
lea eax, [ebp - 0x104]
push eax
call fcn.0040a2b6
add esp, 0x10
lea eax, [ebp - 0x104]
push edi
push eax
call esi
test eax, eax
je 0x40a506
lea eax, [ebp - 0x104]
push 0x419c98
push eax
call fcn.0040b270
lea eax, [ebp - 0x104]
push eax
call fcn.00404494
lea eax, [ebp - 0x104]
push eax
call fcn.0040a2b6
add esp, 0x10
lea eax, [ebp - 0x104]
push edi
push eax
call esi
test eax, eax
je 0x40a506
lea eax, [ebp - 0x104]
push 0x419c8c
push eax
call fcn.0040b270
lea eax, [ebp - 0x104]
push eax
call fcn.00404494
lea eax, [ebp - 0x104]
push eax
call fcn.0040a2b6
add esp, 0x10
lea eax, [ebp - 0x104]
push edi
push eax
call esi
test eax, eax
je 0x40a506
lea eax, [ebp - 0x104]
push 0x419c78
push eax
call fcn.0040b270
lea eax, [ebp - 0x104]
push eax
call fcn.00404494
lea eax, [ebp - 0x104]
push eax
call fcn.0040a2b6
add esp, 0x10
lea eax, [ebp - 0x104]
push edi
push eax
call esi
test eax, eax
je 0x40a506
lea eax, [ebp - 0x104]
push 0x419c6c
push eax
call fcn.0040b270
lea eax, [ebp - 0x104]
push eax
call fcn.00404494
lea eax, [ebp - 0x104]
push eax
call fcn.0040a2b6
add esp, 0x10
lea eax, [ebp - 0x104]
push edi
push eax
call esi
test eax, eax
je 0x40a506
lea eax, [ebp - 0x104]
push 0x419c5c
push eax
call fcn.0040b270
lea eax, [ebp - 0x104]
push eax
call fcn.00404494
lea eax, [ebp - 0x104]
push eax
call fcn.0040a2b6
add esp, 0x10
lea eax, [ebp - 0x104]
push edi
push eax
call esi
test eax, eax
je 0x40a506
lea eax, [ebp - 0x104]
push 0x419c20
push eax
call fcn.0040b270
lea eax, [ebp - 0x104]
push eax
call fcn.00404494
lea eax, [ebp - 0x104]
push eax
call fcn.0040a2b6
add esp, 0x10
lea eax, [ebp - 0x104]
push edi
push eax
call esi
test eax, eax
je 0x40a506
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0x5c
push edi
call fcn.0040b240
pop ecx
test eax, eax
pop ecx
je 0x40a506
and byte [eax], 0
push edi
call fcn.0040b7d0
cmp eax, 4
pop ecx
jae 0x40a2f6
pop edi
pop esi
leave
ret
Function at 0x40a50a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
lea eax, [ebp - 0xc]
push edi
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x40a5cf
push esi
call fcn.0040b3c3
pop ecx
mov edi, eax
push edi
push esi
push dword [ebp - 0xc]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40a5cf
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x4181c0
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40a5cf
cmp dword [ebp - 8], 0
je 0x40a5cf
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x210]
push 0x418194
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40a5c8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40a5cf
push 0x41a24c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a5c1
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
call fcn.0040b3b8
pop ecx
pop edi
pop esi
leave
ret

Function at 0x40b13f
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, 0x419ea8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.0040b9a0
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x40b230
push esi
call fcn.0040b7d0
add edi, eax
lea eax, [ebp - 0x104]
push eax
push edi
call fcn.004057ec
lea eax, [ebp - 0x104]
push 0x2d
push eax
call fcn.0040be40
add esp, 0x14
test eax, eax
je 0x40b195
inc eax
jmp 0x40b19b
lea eax, [ebp - 0x104]
push ebx
mov ebx, 0x41ddb0
push eax
push ebx
call fcn.0040b270
push edi
mov edi, 0x41e228
push edi
call fcn.0040b270
mov esi, 0x41e120
push esi
push edi
call fcn.00405945
push 0x41a3c0
push esi
call fcn.0040b280
add esp, 0x20
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
lea eax, [ebp - 0x208]
push 0x419ba0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x208]
mov esi, 0x41da98
push eax
push 0x80000002
push 0x419b64
push 0x104
push esi
call fcn.0040709e
push esi
call fcn.00405a1d
add esp, 0x24
push edi
push 0x40adf4
push edi
push 0xc9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop ebx
pop edi
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x40f0d3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41a8f8
cmp edx, dword [eax]
je 0x40f0f5
add eax, 8
inc ecx
cmp eax, 0x41a988
jl 0x40f0e6
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41a8f8]
jne 0x40f223
mov eax, dword [0x41e340]
cmp eax, 1
je 0x40f1fd
test eax, eax
jne 0x40f126
cmp dword [0x41a404], 1
je 0x40f1fd
cmp edx, 0xfc
je 0x40f223
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40f15d
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040b270
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040b7d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40f1a0
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040b7d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x419f24
push edi
call fcn.0040bd30
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040b270
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040b280
lea eax, [ebp - 0xa0]
push 0x415768
push eax
call fcn.0040b280
push dword [esi + 0x41a8fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040b280
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00412c6f
add esp, 0x2c
pop edi
jmp 0x40f223
lea eax, [ebp + 8]
lea esi, [esi + 0x41a8fc]
push 0
push eax
push dword [esi]
call fcn.0040b7d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40122f
Capabilities:
Delete directory
Set current directory

Disassembly:
mov eax, dword [0x408c20]
push ebx
xor ebx, ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x401253
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x408c20]
push eax
call esi
mov eax, dword [0x408c28]
mov dword [0x408c20], ebx
cmp eax, ebx
je 0x401265
push eax
call esi
mov al, byte [section..data]
mov dword [0x408c28], ebx
cmp al, bl
je 0x4012e6
mov ecx, dword [0x408c18]
mov eax, dword [0x408c4c]
cmp ecx, eax
jb 0x40128d
push 0x401220
call fcn.004011fd
mov eax, dword [0x408c18]
mov edx, eax
dec eax
test edx, edx
jbe 0x4012bd
mov esi, eax
push edi
shl esi, 8
lea edi, [eax + 1]
mov eax, dword [0x408be0]
lea ecx, [esi + eax + 0xc]
push ecx
call fcn.004011fd
dec edi
sub esi, 0x100
cmp edi, ebx
ja 0x4012a2
pop edi
cmp dword [0x408c18], ebx
je 0x4012e6
mov edx, dword [0x408bf8]
cmp byte [edx], bl
je 0x4012e6
push 0x40122c
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [0x408bf8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [0x408c18], ebx
pop esi
mov byte [section..data], 1
pop ebx
ret

Function at 0x4013af
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], eax
call fcn.0040133f
mov ecx, dword [0x408bfc]
lea edx, [esp]
push edx
lea eax, [esp + 0x10]
push 0x14
push eax
push 0x400
push 0
push 0x406054
push 0x254f
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [0x408c04]
mov ecx, dword [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x408c10]
mov ecx, dword [0x408c04]
push eax
push ecx
call fcn.00401000
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40142b
mov edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, byte [0x408c14]
test al, al
jne 0x40144b
mov eax, dword [0x408c00]
mov ecx, dword [0x408c04]
push 0x10
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [0x407001], 1
call fcn.0040122f
call fcn.004012ff
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40146f
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0x7538
call fcn.00402a4e
mov esi, eax
add esp, 4
test esi, esi
jne 0x40148c
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0x1d4e
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, esi
pop edi
pop esi
ret
Function at 0x401a51
Capabilities:
Create thread

Disassembly:
push ecx
mov byte [0x407001], 1
call fcn.0040122f
mov byte [section..data], 1
mov byte [0x407001], 0
mov byte [0x407002], 0
mov byte [0x408c1c], 0
mov eax, dword [0x408bf8]
push eax
call fcn.0040150f
mov eax, dword [0x408bf8]
cmp byte [eax], 0
je 0x401abb
mov cl, byte [eax + 1]
test cl, cl
je 0x401abb
lea ecx, [esp]
push ecx
push 0
push 0
push 0x401911
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x408c20], eax
je 0x401ac3
mov al, 1
pop ecx
ret
push 3
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.0040133f
mov byte [0x407002], 1
xor al, al
pop ecx
ret

Function at 0x401c01
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push esi
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x401c47
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov ebx, dword [esp + 0x18]
test bl, bl
jne 0x401c2d
push 0
push esi
call edi
mov edx, ebx
and edx, 0xff
push edx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test bl, bl
pop ebx
je 0x401c47
push 4
push esi
call edi
pop edi
pop esi
ret 0xc
Function at 0x402ac0
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 0x10
push ebx
xor ebx, ebx
mov byte [esp + 7], bl
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x402ae2
mov al, 1
pop ebx
add esp, 0x10
ret
lea eax, [esp + 0xc]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x402bcf
mov edx, dword [esp + 0xc]
push esi
lea ecx, [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push ecx
push ebx
push ebx
push 2
push edx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
jne 0x402bc2
mov eax, dword [esp + 0x10]
add eax, 4
push eax
mov dword [esp + 0x14], eax
call fcn.00402a4e
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x402bc2
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push ecx
push esi
push 2
push edx
call edi
test eax, eax
je 0x402bb9
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
push 0x407008
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x402bb9
mov eax, dword [esi]
xor edi, edi
cmp eax, ebx
push ebp
jbe 0x402bad
mov ebx, dword [sym.imp.ADVAPI32.dll_EqualSid]
lea ebp, [esi + 4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp]
push ecx
push edx
call ebx
test eax, eax
jne 0x402ba8
mov eax, dword [esi]
inc edi
add ebp, 8
cmp edi, eax
jb 0x402b8d
jmp 0x402bad
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
pop ebp
push esi
call fcn.00402a6e
add esp, 4
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, byte [esp + 7]
pop ebx
add esp, 0x10
ret

Function at 0x402c60
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
push ebp
mov eax, dword [esp + 0xc]
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x18]
push esi
push 0x8000000
push 3
push esi
push 1
push 0x80000000
push eax
mov word [edi + 6], si
mov word [edi + 4], si
mov word [edi + 2], si
mov word [edi], si
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x402cf6
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x402ced
push ebp
push esi
push ebp
push 2
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esp + 0x18], eax
je 0x402ced
push esi
push ebp
push ebp
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
je 0x402ce2
push edi
push esi
push ebp
call fcn.00402d10
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
xor eax, eax
cmp ebp, esi
pop edi
pop esi
pop ebp
pop ebx
setne al
ret 8
Function at 0x10001d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebp + 0x10]
mov eax, 0xaaaaaaab
mul ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, edx
add eax, ecx
xor edx, edx
mov esi, 6
div esi
mov esi, dword [ebp + 0x14]
shr edi, 2
mov ebx, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], eax
cmp ebx, eax
jae 0x10001e46
lea edx, [ebx + ebx*2]
lea eax, [edx + edx - 2]
mov dword [ebp - 8], eax
lea esp, [esp]
cmp ebx, edi
jne 0x10001e53
lea edx, [edi + edi*2]
lea eax, [edx + edx]
mov edx, ecx
sub edx, eax
cmp edx, 6
jae 0x10001e35
mov eax, dword [ebp - 8]
mov cl, bl
add cl, cl
add bl, cl
add bl, bl
add eax, dword [ebp + 8]
mov byte [ebp + 0xf], bl
lea ecx, [edx + 2]
mov dword [ebp - 0x18], eax
mov edi, edi
movzx ebx, byte [esi + ecx - 2]
mov eax, dword [ebp - 8]
add eax, ecx
imul ebx, eax
lea edx, [ecx + 1]
mov dword [ebp - 0xc], edx
xor edx, edx
mov edi, 6
lea eax, [ecx - 1]
div edi
mov eax, dword [ebp - 0xc]
shr ebx, 7
xor bl, byte [edx + esi]
xor edx, edx
div edi
mov al, cl
add al, byte [ebp + 0xf]
sub al, 2
xor al, byte [edx + esi]
xor edx, edx
mov byte [ebp - 1], al
mov eax, ecx
mov esi, edi
div esi
mov al, byte [ebp - 1]
mov esi, dword [ebp + 0x14]
and al, byte [edx + esi]
add bl, al
mov eax, dword [ebp - 0x18]
xor byte [eax + ecx], bl
mov ecx, dword [ebp - 0xc]
lea edx, [ecx - 2]
cmp edx, edi
jb 0x10001dd0
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
add dword [ebp - 8], 6
inc ebx
mov dword [ebp - 0x10], ebx
cmp ebx, dword [ebp - 0x20]
jb 0x10001da0
cmp ebx, edi
jne 0x10001e5a
lea eax, [edi + edi*2]
add eax, eax
sub ecx, eax
jmp 0x10001e5c
xor edx, edx
jmp 0x10001db7
xor ecx, ecx
cmp ecx, dword [ebp - 0x14]
jae 0x10001eef
mov edx, dword [ebp + 8]
mov al, bl
add al, al
add al, al
add al, al
mov byte [ebp + 0x13], al
lea eax, [ebx + ebx*2]
add eax, eax
lea edx, [eax + edx - 2]
mov dword [ebp - 0x20], eax
add ecx, 2
mov dword [ebp - 0x1c], edx
jmp 0x10001e93
mov eax, dword [ebp - 0x20]
movzx ebx, byte [ecx + esi - 2]
lea eax, [ecx + eax - 2]
imul ebx, eax
lea edx, [ecx + 1]
mov dword [ebp + 0xc], edx
xor edx, edx
mov edi, 6
lea eax, [ecx - 1]
div edi
mov eax, dword [ebp + 0xc]
shr ebx, 7
xor bl, byte [edx + esi]
xor edx, edx
div edi
mov al, cl
add al, byte [ebp + 0x13]
sub al, 2
xor al, byte [edx + esi]
xor edx, edx
mov byte [ebp + 0xb], al
mov eax, ecx
mov esi, edi
div esi
mov al, byte [ebp + 0xb]
mov esi, dword [ebp + 0x14]
and al, byte [edx + esi]
add bl, al
mov eax, dword [ebp - 0x1c]
xor byte [ecx + eax], bl
mov ecx, dword [ebp + 0xc]
lea edx, [ecx - 2]
cmp edx, dword [ebp - 0x14]
jb 0x10001e90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x1000
push 0x44000
push 0
call sub.user32.dll_GetDialogBaseUnits
call sub.kernel32.dll_VirtualAlloc
call fcn.0049f7eb
ret
Function at 0xa64058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a641a8
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 0xa6407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa6406a
add dl, dl
jne 0xa64089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa640dc
xor eax, eax
add dl, dl
jne 0xa64096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa6417d
add dl, dl
jne 0xa640a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa640b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa640bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa640c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa640d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa64075
mov eax, 1
add dl, dl
jne 0xa640ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa640f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa640e1
sub eax, ebx
mov ebx, 1
jne 0xa64128
mov ecx, 1
add dl, dl
jne 0xa6410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa64119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa64105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa64075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa6413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa6414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa64136
cmp eax, 0x7d00
jae 0xa6416d
cmp eax, 0x500
jb 0xa64168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa64075
cmp eax, 0x7f
ja 0xa64170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa64075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa6419e
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 0xa64075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..retplne
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x675a2e9a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x68c71a4f
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x601060
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x605260], eax
mov ecx, dword [ebp + 8]
mov dword [0x6051c7], ecx
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
mov eax, dword [str.Maintitle]
push eax
mov ecx, dword [str.meko]
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x6010b4
xor eax, eax
jmp 0x6010db
mov dword [0x605258], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x603094
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x6030bd
mov al, byte [esi + 1]
inc esi
test al, al
je 0x6030b5
cmp al, 0x22
jne 0x6030a9
cmp byte [esi], 0x22
jne 0x6030c7
inc esi
jmp 0x6030c7
cmp al, 0x20
jle 0x6030c7
inc esi
cmp byte [esi], 0x20
jg 0x6030c1
mov al, byte [esi]
test al, al
je 0x6030d1
cmp al, 0x20
jle 0x6030ba
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00603141
push 0x605004
push section..data
call fcn.00603127
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x603101
movzx eax, word [ebp - 0x14]
jmp 0x603104
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.00603159
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4579300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45df03d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4612008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0457aa40
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x461f0bc]
cmp byte [eax + 0xd], 0
jne 0x4579353
cmp esi, dword [eax + 0x10]
jae 0x4579355
mov eax, ecx
cmp eax, ecx
jne 0x4579360
mov ecx, esi
call fcn.04579000
cmp dword [0x461f16c], 0
mov dword [0x461f168], 0x32
jne 0x457938d
push str.FA6E5F10_1413_48DB_A752_E7F35C5DF3C5
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
test eax, eax
mov ecx, 0x8079
cmove eax, ecx
mov dword [0x461f16c], eax
cmp dword [0x461f160], 0
jne 0x45793af
push 0
push 0
push esi
push 0x4579130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x461f160], eax
mov eax, dword [0x461f0c4]
xor esi, esi
mov dword [ebp - 0x14], eax
mov edx, eax
mov ebx, dword [eax + 4]
cmp byte [ebx + 0xd], 0
jne 0x45793df
mov eax, ebx
mov ebx, eax
cmp dword [eax + 0x10], edi
jae 0x45793d2
mov eax, dword [eax + 8]
jmp 0x45793d6
mov edx, eax
mov eax, dword [eax]
sbb esi, esi
inc esi
cmp byte [eax + 0xd], 0
je 0x45793c6
cmp byte [edx + 0xd], 0
jne 0x45793ea
cmp edi, dword [edx + 0x10]
jae 0x4579436
cmp dword [0x461f0c8], 0xccccccc
je 0x4579452
mov dword [ebp - 0x1c], 0x461f0c4
mov dword [ebp - 4], 0
push 0x14
mov dword [ebp - 0x18], 0
call fcn.045bc771
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [eax + 0x10], edi
mov dword [eax], ecx
push eax
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, 0x461f0c4
push esi
push ebx
mov word [eax + 0xc], 0
call fcn.0457a600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.045bc602
mov esp, ebp
pop ebp
ret
call fcn.04578ea0
int3