joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409e0c
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00403520
mov eax, dword [ebp - 0x18]
call fcn.00403520
mov eax, dword [ebp - 0x1c]
call fcn.00403520
xor eax, eax
push ebp
push 0x409f10
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00403530
push eax
mov eax, dword [ebp - 0x18]
call fcn.00403530
mov edx, eax
mov eax, dword [0x40c650]
pop ecx
call fcn.00409d94
pop ecx
test al, al
je 0x409ef5
mov eax, dword [ebp - 0x1c]
call fcn.004048ec
test al, al
je 0x409e86
mov eax, dword [ebp - 0x1c]
call fcn.00403530
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
push ebp
push 0x409eda
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x1c]
call fcn.00403530
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x409ee4
mov eax, dword [ebp - 0x10]
call fcn.00404520
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409f17
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403140
ret
Function at 0x701a113c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
lea eax, [ebp - 0x424]
push esi
push eax
call fcn.701a1124
mov eax, dword [0x701a4514]
mov dword [esp], 0x701a4308
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 0x6aec8b55
call dword [sym.imp.MSVCRT.dll_wcscpy]
push 0x8000
lea eax, [ebp - 4]
xor esi, esi
push 0x10000
push eax
mov dword [ebp - 0xc], 0x701a42f0
mov dword [ebp - 4], esi
call fcn.701a1204
add esp, 0x14
lea eax, [ebp - 0x424]
push 1
push dword [ebp - 4]
push 0x701a4300
push eax
call fcn.701a111e
push eax
call fcn.701a2004
add esp, 0x14
test eax, eax
je 0x701a11f8
mov eax, dword [ebp - 4]
push edi
push esi
lea ecx, [eax + 4]
call fcn.701a1ffa
mov edi, eax
mov eax, dword [ebp - 4]
push esi
lea ecx, [eax + 4]
call fcn.701a1fc0
lea ecx, [ebp - 8]
push ecx
push 0x40
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push esi
call edi
mov dword [0x701a42fc], eax
pop edi
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop esi
leave
ret

Function at 0x701a161f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push esi
mov esi, 0x104
lea eax, [ebp - 0x414]
push esi
push eax
push dword [ebp + 8]
call fcn.701a15d7
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.701a1608
mov eax, dword [ebp + 0x10]
add esp, 0x14
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push 0x80000000
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
neg eax
sbb eax, eax
pop esi
not eax
and eax, dword [ebp + 8]
leave
ret

Function at 0x701a168b
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push esi
mov esi, 0x104
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
push dword [ebp + 8]
call fcn.701a15d7
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.701a1608
lea eax, [ebp - 0x20c]
mov edi, 0x80000000
push eax
push edi
call fcn.701a232a
add esp, 0x1c
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push 0x701a4300
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x701a1701
xor eax, eax
jmp 0x701a1735
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push 2
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x701a1739
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
lea eax, [ebp - 0x208]
push 0x104
push eax
push dword [ebp + 8]
call fcn.701a15d7
lea eax, [ebp - 0x208]
mov esi, 0x80000000
push eax
push esi
call fcn.701a232a
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x18
shl eax, 1
push eax
lea eax, [ebp - 0x208]
push dword [ebp + 0xc]
push 2
push 0x701a4300
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
pop esi
inc eax
leave
ret

Function at 0x701a1826
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
mov esi, 0x104
lea eax, [ebp - 0x410]
push esi
push eax
push dword [ebp + 8]
call fcn.701a15d7
lea eax, [ebp - 0x208]
push esi
push eax
call fcn.701a1608
push dword [ebp + 8]
call fcn.701a1798
add esp, 0x18
test eax, eax
pop esi
jne 0x701a1864
leave
ret
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
push 0x80000000
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 1
pop eax
leave
ret

Function at 0x701a18f2
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
push edi
mov edi, 0x104
lea eax, [ebp - 0x410]
push edi
push eax
push dword [ebp + 8]
mov esi, ecx
call fcn.701a161f
add esp, 0xc
test eax, eax
je 0x701a195b
lea eax, [ebp - 0x208]
push edi
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x208]
push eax
push 0x701a4308
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x701a195b
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi], eax
jne 0x701a195f
xor eax, eax
jmp 0x701a197a
push str.DllGetClassObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov dword [esi + 0xc], eax
test eax, eax
setne cl
mov eax, ecx
mov dword [esi + 4], eax
pop edi
pop esi
leave
ret 4

Function at 0x701a19b7
Capabilities:
Hash data with crc32

Disassembly:
xor edx, edx
push esi
add ecx, 4
push 8
mov eax, edx
pop esi
test al, 1
je 0x701a19cf
shr eax, 1
xor eax, 0xedb88320
jmp 0x701a19d1
shr eax, 1
dec esi
jne 0x701a19c2
mov dword [ecx], eax
inc edx
add ecx, 4
cmp edx, 0x100
jl 0x701a19bd
pop esi
ret

Function at 0x701a19e4
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
je 0x701a1a1a
mov eax, dword [esp + 8]
test eax, eax
je 0x701a1a1a
push ebx
push esi
push edi
lea esi, [eax]
mov eax, dword [ecx]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
mov edi, dword [ecx + edi*4 + 4]
xor edi, eax
inc edx
dec esi
mov dword [ecx], edi
jne 0x701a19f9
pop edi
pop esi
pop ebx
ret 8
Function at 0x701a1b38
Capabilities:
Read file via mapping

Disassembly:
push ebx
push edi
push dword [esp + 0xc]
xor edi, edi
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
cmp ebx, edi
je 0x701a1b85
push esi
push edi
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, edi
je 0x701a1b7d
push dword [esi]
lea eax, [esi + 4]
push eax
push dword [esp + 0x1c]
call fcn.701a1afd
add esp, 0xc
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ebx
ret
Function at 0x701a1ba0
Capabilities:
Accept command line arguments
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push edi
push edi
lea eax, [ebp - 0x2c]
push edi
push eax
call esi
test eax, eax
je 0x701a1bde
push 1
push edi
push edi
lea eax, [ebp - 0x2c]
push edi
push eax
jmp 0x701a1bcd
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor ecx, ecx
cmp dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
mov dword [ebp + 0xc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
jle 0x701a1cb1
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
mov esi, eax
lea ebx, [ecx + 1]
cmp ebx, dword [ebp - 0xc]
jge 0x701a1c6d
push 0x701a4248
push dword [esi]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x701a1c27
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], eax
push 0x701a4240
push dword [esi]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x701a1c3c
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], eax
push 0x701a4238
push dword [esi]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x701a1c51
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
push 0x701a4230
push dword [esi]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x701a1c6d
push dword [esi + 4]
call dword [sym.imp.MSVCRT.dll__wtoi]
pop ecx
mov dword [ebp - 4], eax
mov ecx, ebx
add esi, 4
cmp ecx, dword [ebp - 0xc]
jl 0x701a1c0a
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x701a1c8d
push 0x701a4300
push dword [ebp + 0xc]
call fcn.701a1b38
pop ecx
pop ecx
cmp dword [ebp - 8], esi
je 0x701a1ca1
push 0x701a4210
push dword [ebp - 8]
call fcn.701a1b38
pop ecx
pop ecx
cmp dword [ebp - 4], esi
je 0x701a1caf
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor edi, edi
call fcn.701a14ff
lea eax, [ebp - 0x234]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x234]
push 0x701a4214
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [ebp - 0x234]
push 0x701a4308
push eax
call fcn.701a1d24
mov ebx, dword [ebp - 0x10]
add esp, 0x10
cmp ebx, edi
je 0x701a1d1b
cmp word [ebx], di
je 0x701a1d1b
push 1
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x701a1d1b
push 0x258
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
inc esi
cmp eax, 7
jl 0x701a1cfd
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8
Function at 0x701a1d24
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 0x80
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x701a1da9
push ebx
push edi
push 3
push ebx
push 1
push 0x100
push dword [ebp + 0xc]
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x701a1d9b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x701a1d9b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x701a1db4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0xffffffff
je 0x701a1db0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x701a1dc5
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x701a2353
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt data using rc4 via winapi
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], 0x6603
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
je 0x701a237c
cmp dword [ebp + 0x10], 0x6801
jne 0x701a2383
mov dword [ebp - 4], 0x80
jmp 0x701a2383
mov dword [ebp - 4], 0xc0
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push ebx
push 1
push ebx
push ebx
push esi
call edi
test eax, eax
jne 0x701a23bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
je 0x701a23a9
cmp eax, 0x8009000b
jne 0x701a23b2
push 0x10
push 1
push ebx
push ebx
push esi
call edi
push 8
push 1
push ebx
push ebx
push esi
call edi
test eax, eax
je 0x701a2409
lea edi, [esi + 4]
push edi
push ebx
push ebx
push 0x8003
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x701a2409
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x701a2409
lea eax, [esi + 8]
push eax
mov eax, dword [ebp - 4]
shl eax, 0x10
push eax
push dword [edi]
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
neg eax
sbb eax, eax
neg eax
jmp 0x701a240b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x401000
Capabilities:
Encrypt data using chaskey

Disassembly:
call sub.user32.dll_GetMenuCheckMarkDimensions
cmp eax, 0xffffff07
jne 0x4010a7
call sub.ntdll.dll_ZwMakeTemporaryObject
jmp loc.00497587
jmp loc.004979ad

Function at 0x49789c
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push eax
nop
push ebx
push edi
mov edx, ebx
push 0x4140e5
push 0
push 0
mov ecx, edi
sub ebx, 0x110
add esp, 0x18
leave
popal
popfd
adc dword [ebx - 0x6f31eecb], eax
jmp fcn.0047b984
Function at 0x1006cd40
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1006cf2d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x41000]
push edi
jmp 0x1006cd6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1006cd71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1006cd60
mov eax, 1
add ebx, ebx
jne 0x1006cd83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1006cd94
jne 0x1006cdb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1006cdb3
dec eax
add ebx, ebx
jne 0x1006cda0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1006cd78
add ebx, ebx
jne 0x1006cdaf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1006ce05
xor ecx, ecx
sub eax, 3
jb 0x1006cdcb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1006ce3a
sar eax, 1
mov ebp, eax
jmp 0x1006cdd6
add ebx, ebx
jne 0x1006cdd6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1006cda4
inc ecx
add ebx, ebx
jne 0x1006cde4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1006cda4
add ebx, ebx
jne 0x1006cdf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1006cde6
jne 0x1006ce02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1006cde6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1006ce24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1006ce16
jmp 0x1006cd66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1006ce24
add edi, ecx
jmp 0x1006cd66
pop esi
mov edi, esi
mov ecx, 0x1dc5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1006ce42
cmp byte [edi], 0x11
jne 0x1006ce42
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1006ce47
lea edi, [esi + 0x67000]
mov eax, dword [edi]
or eax, eax
je 0x1006cebf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6c1b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6c2a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1006ce74
mov ecx, edi
jns 0x1006cea3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6c2ac]
or eax, eax
je 0x1006ceb9
mov dword [ebx], eax
add ebx, 4
jmp 0x1006ce91
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1006cef0
cmp al, 0xef
ja 0x1006cee3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1006cec5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1006ced2
mov ebp, dword [esi + 0x6c2b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1006cf24
sub esp, 0xffffff80
jmp 0x1003237a
Function at 0x402fdc
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
cmp byte [0x40a50b], al
je 0x40301d
cmp dword [ebp + 0x10], eax
jne 0x403005
push dword [ebp + 8]
call dword [fcn.004011b0]
pop ecx
push eax
push dword [ebp + 8]
call fcn.00406bb7
inc eax
jmp 0x403038
jmp 0x40e2e2
push eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xffffffffffffffff
push dword [ebp + 8]
push eax
call dword [0x4010a8]
push eax
call dword [fcn.004010ac]
leave
ret 0xc

Function at 0x40316d
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push esi
jmp loc.0040ccf1

Function at 0x40325b
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [0x40a504], 0
je fcn.0040326b
jmp loc.0040c709

Function at 0x403399
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x40a2dc]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x10c]
mov esi, ecx
push eax
push dword [esi + 8]
call fcn.00402fdc
lea eax, [ebp - 0x10c]
push eax
push 0x3011
call fcn.004031f1
pop ecx
pop ecx
xor edi, edi
push edi
push edi
push dword [esi + 4]
call fcn.00402fdc
mov ebx, eax
push ebx
push edi
mov edi, dword [fcn.004010a0]
call edi
push eax
call dword [fcn.004010a4]
test eax, eax
mov dword [ebp - 8], eax
je fcn.0040343e
push ebx
push eax
push dword [esi + 4]
call fcn.00402fdc
push dword [0x40a504]
dec ebx
push ebx
push 1
push dword [ebp - 8]
call dword [fcn.00401198]
push 0x401310
push dword [0x40a504]
call dword [fcn.004011ac]
add esp, 0x18
push dword [ebp - 8]
push 0
call edi
push eax
jmp loc.0040d8e4

Function at 0x403560
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x40a2dc]
xor eax, dword [ebp + 4]
mov dword [esi], 0x2d2d2d
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0x4012c0
push 0x4012d0
push 0
call fcn.004076f0
test eax, eax
jl 0x4035cd
lea eax, [ebp - 0x10]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.004076ea
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp word [ebp - 0x218], 0x76
jne 0x4035cd
push dword [ebp + 8]
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.00402fdc
jmp 0x4035f5
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x401354
jmp loc.0040c9ee
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004079ac
leave
ret 4

Function at 0x403843
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov esi, dword [fcn.004010a0]
push edi
push 0xc
push 8
call esi
mov edi, dword [fcn.004010a4]
push eax
call edi
push dword [esp + 0x10]
mov ebx, eax
call dword [fcn.004011b0]
jmp loc.0040dacf

Function at 0x40397a
Capabilities:
Packed with generic packer

Disassembly:
mov cl, byte [esp + 4]
xor eax, eax
mov al, cl
shr al, 4
push eax
call fcn.00403965
mov edx, dword [esp + 8]
jmp loc.0040c18c
Function at 0x403ff5
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbbc
mov eax, dword [0x40a2dc]
xor eax, dword [ebp + 4]
push esi
mov esi, dword [ebp + 8]
push 0x3e8
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3ec]
push eax
shl esi, 3
push dword [esi + 0x40902c]
push dword [0x40a500]
call fcn.0040316d
test eax, eax
je fcn.00404084
lea eax, [ebp + 0x10]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 0x7d0
lea eax, [ebp - 0xbbc]
push eax
push 0
push 0
lea eax, [ebp - 0x3ec]
push eax
push 0x400
call dword [fcn.00401078]
test eax, eax
je fcn.00404084
and dword [ebp + 8], 0
lea eax, [ebp - 0xbbc]
push eax
movsx eax, word [esi + 0x409028]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push dword [ebp + 0xc]
push eax
jmp loc.0040d2a6

Function at 0x404196
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [esp + 4], 0
jge fcn.004041a9
push 0
push 0x1fa
jmp loc.0040d240

Function at 0x4046c9
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, ecx
cmp word [esi], 0xb
je fcn.004046de
push esi
call dword [fcn.004011d4]
jmp loc.0040cf94

Function at 0x404b2d
Capabilities:
Packed with generic packer

Disassembly:
call fcn.0040326c
push 0x3014
mov edi, eax
call fcn.004031f1
mov esi, dword [fcn.004011ac]
push edi
mov ebx, 0x401374
push ebx
push dword [0x40a504]
call esi
add esp, 0x10
push edi
mov edi, dword [fcn.004010a0]
push 0
call edi
mov ebp, dword [fcn.00401094]
push eax
call ebp
and byte [0x40a508], 0
push 1
push 0x303f
call fcn.00403dad
call fcn.0040325b
jmp loc.0040d59b

Function at 0x404e8c
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x40a2dc]
xor eax, dword [ebp + 4]
push esi
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x104
push esi
push dword [ebp + 8]
call fcn.00407078
cmp eax, esi
jae 0x404ef7
cmp eax, dword [ebp + 0x10]
jae 0x404ef7
cmp dword [ebp + 0x10], esi
jb 0x404ef7
test eax, eax
je 0x404ef7
cmp byte [ebp + 0x14], 0
jne 0x404ee4
push 0x401734
push dword [ebp + 8]
call dword [0x40113c]
test eax, eax
pop ecx
pop ecx
jne 0x404ef7
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call fcn.004071eb
mov al, 1
jmp 0x404f0b
push dword [ebp + 8]
push 0
push 0x20c
call fcn.00403ff5
add esp, 0xc
xor al, al
jmp 0x40c37d

Function at 0x405304
Capabilities:
Packed with generic packer

Disassembly:
push edi
mov edi, dword [esp + 0x10]
cmp dword [edi], 0
je 0x40534c
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
test eax, eax
je 0x405322
jmp loc.0040f4dd
mov eax, dword [esp + 0xc]
and dword [edi], 0
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x1c]
and byte [0x409020], 0
mov edi, eax
test edi, edi
jl 0x405347
mov esi, dword [esi]
mov eax, dword [esi]
push 3
push esi
call dword [eax + 0x2c]
mov eax, edi
pop esi
jmp 0x40534e
xor eax, eax
pop edi
ret 0xc

Function at 0x406a18
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0x80
mov cl, 2
jae 0x406a29
dec cl
jmp 0x406a44
cmp eax, 0x800
jb 0x406a44
jmp 0x40ea01
movsx eax, cl
ret 4