joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10063eb5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006e760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10053c58
mov dword [ebp - 0x14], eax
cmp dword [0x1065bd64], esi
jne 0x10063fa8
push 0x800
push esi
push 0x10007fa8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10063f35
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10064088
push esi
push esi
push 0x10007fa8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10064088
push 0x10007fc0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10064088
push eax
call ebx
push 0x10007fcc
push edi
mov dword [0x1065bd64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007fdc
push edi
mov dword [0x1065bd68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007ff0
push edi
mov dword [0x1065bd6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065bd74], eax
test eax, eax
je 0x10063fa5
push 0x1000800c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065bd70], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10063fcd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10063fc0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10063fe2
push 4
pop eax
jmp 0x1006408a
cmp dword [ebp - 0x14], esi
je 0x10063fe2
push dword [0x1065bd64]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10063fc7
mov eax, dword [0x1065bd70]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10064040
cmp dword [0x1065bd74], edi
je 0x10064040
push eax
call ebx
push dword [0x1065bd74]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10064040
test eax, eax
je 0x10064040
call ecx
test eax, eax
je 0x10064035
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10064035
test byte [ebp - 8], 1
jne 0x10064040
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10064070
mov eax, dword [0x1065bd68]
cmp eax, edi
je 0x1006406d
push eax
call ebx
test eax, eax
je 0x1006406d
call eax
mov esi, eax
test esi, esi
je 0x1006406d
mov eax, dword [0x1065bd6c]
cmp eax, edi
je 0x1006406d
push eax
call ebx
test eax, eax
je 0x1006406d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1065bd64]
call ebx
test eax, eax
je 0x10064088
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006408a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10051130
mov esp, ebp
pop ebp
ret
Function at 0x402dc6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
push edi
jle 0x402e0d
mov edi, dword [ebp + 0x10]
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push 1
push 3
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
test eax, eax
je 0x402e16
mov al, byte [ebp + 0x10]
mov byte [esi + edi], al
mov al, byte [ebp + 0x11]
mov byte [esi + edi + 0x100], al
mov al, byte [ebp + 0x12]
mov byte [esi + edi + 0x200], al
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x402dd5
push 1
pop eax
pop edi
pop esi
pop ebp
ret 0xc
xor eax, eax
jmp 0x402e10

Function at 0x402ee8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push edi
lea eax, [ebp - 1]
push dword [ebp + 8]
mov edi, ecx
push 1
push 1
push eax
call esi
add esp, 0x10
test eax, eax
je 0x402f31
xor eax, eax
cmp byte [ebp - 1], al
sete al
cmp byte [ebp - 1], 0
mov dword [edi + 8], eax
je 0x402f36
push dword [ebp + 8]
movzx eax, byte [ebp - 1]
push 1
push eax
push dword [ebp + 0xc]
call esi
add esp, 0x10
test eax, eax
jne 0x402f36
or eax, 0xffffffff
jmp 0x402f3a
movzx eax, byte [ebp - 1]
pop edi
pop esi
leave
ret 8

Function at 0x403367
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 1]
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ebx
push 1
push 1
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
test eax, eax
je 0x4033a7
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
push eax
push 1
push dword [ebp + 8]
call fcn.00403044
test eax, eax
jge 0x4033ae
xor eax, eax
jmp 0x403472
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
push eax
push ebx
push dword [ebp + 8]
call fcn.00403044
cmp eax, ebx
jl 0x40346f
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0xc]
mov ecx, ebx
mov dl, byte [eax + esi]
imul ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 8]
inc dword [ebp - 8]
lea ecx, [ecx + ecx*2]
mov byte [ecx + edi], dl
mov dl, byte [esi + eax + 0x100]
mov byte [edi + ecx + 1], dl
mov al, byte [esi + eax + 0x200]
mov byte [edi + ecx + 2], al
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jne 0x40344e
and dword [ebp - 8], 0
cmp dword [ebp + 0x1c], 0
je 0x40344d
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x40342e
cmp eax, 1
jle 0x40342b
cmp eax, 2
je 0x403426
cmp eax, 3
jne 0x40342e
inc ebx
inc ebx
jmp 0x40342e
add ebx, 4
jmp 0x40342e
add ebx, 8
cmp ebx, dword [ebp + 0x14]
jl 0x403453
inc eax
mov dword [ebp - 0x10], eax
dec eax
je 0x403449
dec eax
je 0x403444
dec eax
jne 0x40346d
push 1
jmp 0x403446
push 2
pop ebx
jmp 0x40344e
push 4
jmp 0x403446
inc ebx
cmp ebx, dword [ebp + 0x14]
jge 0x40346d
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
call fcn.00403044
test eax, eax
jge 0x4033cf
pop edi
pop esi
push 1
pop eax
pop ebx
leave
ret 0x18
Function at 0x4034b4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0x4256a0
mov esi, ecx
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov ebx, eax
pop ecx
xor ecx, ecx
cmp ebx, ecx
jne 0x4034e7
push str.Cant_open_GIF_for_writing
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::operator_1
xor eax, eax
jmp 0x4035fc
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x14]
mov edx, edi
imul edx, eax
push ebx
push 6
push 1
push str.GIF87a
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
mov ecx, esi
push ebx
push edi
call fcn.00403602
push ebx
mov ecx, esi
push dword [ebp + 0x14]
call fcn.00403602
mov edi, dword [sym.imp.MSVCRT.dll_fputc]
push ebx
push 0xe7
call edi
push ebx
push dword [ebp + 0x18]
call edi
push ebx
push 0
call edi
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x24]
add esp, 0x18
sub eax, edx
sub ecx, edx
mov dword [ebp + 0x14], edx
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
mov dword [ebp + 8], pe_nt_image_headers32
jmp 0x403573
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
push dword [eax + ecx]
call edi
mov eax, dword [ebp + 0x14]
push ebx
push dword [eax]
call edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push ebx
push dword [eax + ecx]
call edi
add dword [ebp + 0x14], 4
add esp, 0x18
dec dword [ebp + 8]
jne 0x403570
push ebx
push 0x2c
call edi
pop ecx
pop ecx
push ebx
push 0
mov ecx, esi
call fcn.00403602
push ebx
push 0
mov ecx, esi
call fcn.00403602
push ebx
mov ecx, esi
push dword [esi + 0x10]
call fcn.00403602
push ebx
mov ecx, esi
push dword [esi + 0x14]
call fcn.00403602
push ebx
push 0
call edi
push ebx
push 8
call edi
add esp, 0x10
mov ecx, esi
push ebx
push 9
call fcn.00403639
push ebx
push 0
call edi
push ebx
push 0x3b
call edi
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
push 1
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x20

Function at 0x40398b
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x7594]
test eax, eax
jle 0x4039ca
push edi
lea edi, [esi + 0x7588]
push dword [edi]
push eax
call dword [sym.imp.MSVCRT.dll_fputc]
push dword [edi]
lea eax, [esi + 0x7598]
push dword [esi + 0x7594]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x18
and dword [esi + 0x7594], 0
pop edi
pop esi
ret
Function at 0x4051c2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jne 0x4051d9
xor eax, eax
jmp 0x4052f9
mov eax, dword [esi + 0x28]
push edi
push 0x28
mov word [ebp - 0x1a], bx
lea eax, [eax*4 + 0x36]
pop edi
mov dword [ebp - 0x16], eax
push edi
lea eax, [ebp - 0x48]
push ebx
push eax
mov word [ebp - 0x18], bx
mov word [ebp - 0x20], 0x4d42
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 0xc]
mov cx, word [esi + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x24]
add esp, 0xc
cmp cx, 0x10
mov dword [ebp - 0x48], edi
mov word [ebp - 0x3a], cx
mov word [ebp - 0x3c], 1
mov dword [ebp - 0x34], eax
jne 0x405251
add dword [ebp - 0x16], 0xc
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x10], 0x7c00
mov dword [ebp - 0xc], 0x3e0
mov dword [ebp - 8], 0x1f
jmp 0x405254
mov dword [ebp - 0x38], ebx
cmp dword [esi + 0x1c], 8
jg 0x405260
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x16]
push 0x4256a0
push dword [ebp + 8]
add eax, ecx
mov dword [ebp - 0x1e], eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, dword [sym.imp.MSVCRT.dll_fwrite]
mov ebx, eax
push ebx
push 0xe
lea eax, [ebp - 0x20]
push 1
push eax
call edi
push ebx
push 0x28
lea eax, [ebp - 0x48]
push 1
push eax
call edi
mov eax, dword [esi + 0x28]
add esp, 0x28
test eax, eax
je 0x4052aa
shl eax, 2
push ebx
push eax
push 1
push dword [esi + 0x4c]
jmp 0x4052b9
cmp dword [esi + 0x1c], 0x10
jne 0x4052be
push ebx
push 0xc
lea eax, [ebp - 0x10]
push 1
push eax
call edi
add esp, 0x10
mov eax, dword [esi]
and dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
mov dword [ebp + 8], eax
jle 0x4052ed
mov eax, dword [esi + 0x20]
push ebx
push eax
push 1
push dword [ebp + 8]
call edi
mov eax, dword [esi + 0x20]
add esp, 0x10
add dword [ebp + 8], eax
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp ecx, dword [esi + 0x10]
jl 0x4052d0
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x406826
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x41fbbc
call fcn.0041f4e0
sub esp, 0x2c
push ebx
push esi
and byte [ebp - 0x2c], 0
and byte [ebp - 0x1c], 0
push edi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], esp
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 0x38], 0x4b
push eax
mov byte [ebp - 0x37], 0x45
mov byte [ebp - 0x36], 0x52
mov byte [ebp - 0x35], 0x4e
mov byte [ebp - 0x34], 0x45
mov byte [ebp - 0x33], 0x4c
mov byte [ebp - 0x32], 0x33
mov byte [ebp - 0x31], 0x32
mov byte [ebp - 0x30], 0x2e
mov byte [ebp - 0x2f], 0x64
mov byte [ebp - 0x2e], 0x6c
mov byte [ebp - 0x2d], 0x6c
mov byte [ebp - 0x28], 0x4c
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], 0x61
mov byte [ebp - 0x25], 0x64
mov byte [ebp - 0x24], 0x4c
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x62
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x20], 0x61
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x79
mov byte [ebp - 0x1d], 0x41
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
and dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push 0x423520
push eax
mov dword [ebp - 0x14], 0x61
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp + 8], 0
je 0x4068f2
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + 8], eax
mov eax, 0x4068ed
ret
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x406909
push dword [ebp + 0xc]
call dword [ebp - 0x18]
test eax, eax
je 0x406921
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + 8], eax
mov eax, 0x40691c
ret
mov eax, 0x406927
ret
Function at 0x406938
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
lea eax, [ebp - 0x3c]
push edi
push eax
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
push ebx
mov byte [ebp - 0x2c], 0x4b
mov byte [ebp - 0x2b], 0x45
mov byte [ebp - 0x2a], 0x52
mov byte [ebp - 0x29], 0x4e
mov byte [ebp - 0x28], 0x45
mov byte [ebp - 0x27], 0x4c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x3c], 0x47
mov byte [ebp - 0x3b], 0x65
mov byte [ebp - 0x3a], 0x74
mov byte [ebp - 0x39], 0x50
mov byte [ebp - 0x38], 0x72
mov byte [ebp - 0x37], 0x6f
mov byte [ebp - 0x36], 0x63
mov byte [ebp - 0x35], 0x65
mov byte [ebp - 0x34], 0x73
mov byte [ebp - 0x33], 0x73
mov byte [ebp - 0x32], 0x48
mov byte [ebp - 0x31], 0x65
mov byte [ebp - 0x30], 0x61
mov byte [ebp - 0x2f], 0x70
mov byte [ebp - 0x2e], bl
call fcn.00406826
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
mov byte [ebp - 0x1c], 0x48
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x19], 0x70
mov byte [ebp - 0x18], 0x52
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x41
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0x11], bl
call fcn.00406826
mov edi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
mov byte [ebp - 0x10], 0x48
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0xd], 0x70
mov byte [ebp - 0xc], 0x41
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6f
mov byte [ebp - 8], 0x63
mov byte [ebp - 7], bl
call fcn.00406826
add esp, 0x24
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
je 0x406a4e
push dword [ebp + 8]
push ebx
call esi
push eax
call edi
jmp 0x406a55
push ebx
call esi
push eax
call dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406a5a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
lea eax, [ebp - 0x2c]
push edi
push eax
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
push ebx
mov byte [ebp - 0x1c], 0x4b
mov byte [ebp - 0x1b], 0x45
mov byte [ebp - 0x1a], 0x52
mov byte [ebp - 0x19], 0x4e
mov byte [ebp - 0x18], 0x45
mov byte [ebp - 0x17], 0x4c
mov byte [ebp - 0x16], 0x33
mov byte [ebp - 0x15], 0x32
mov byte [ebp - 0x14], 0x2e
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x6c
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], bl
mov byte [ebp - 0x2c], 0x47
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x50
mov byte [ebp - 0x28], 0x72
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], 0x63
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x73
mov byte [ebp - 0x23], 0x73
mov byte [ebp - 0x22], 0x48
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0x61
mov byte [ebp - 0x1f], 0x70
mov byte [ebp - 0x1e], bl
call fcn.00406826
mov esi, eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
mov byte [ebp - 0xc], 0x48
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 9], 0x70
mov byte [ebp - 8], 0x46
mov byte [ebp - 7], 0x72
mov byte [ebp - 6], 0x65
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], bl
call fcn.00406826
add esp, 0x18
mov edi, eax
push dword [ebp + 8]
push ebx
call esi
push eax
call edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406d3d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
and byte [ebp - 0x20], 0
and byte [ebp - 0x10], 0
push esi
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
push edi
mov byte [ebp - 0x2c], 0x4b
mov byte [ebp - 0x2b], 0x45
mov byte [ebp - 0x2a], 0x52
mov byte [ebp - 0x29], 0x4e
mov byte [ebp - 0x28], 0x45
mov byte [ebp - 0x27], 0x4c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x1c], 0x56
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], 0x75
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x41
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0x63
call fcn.00406826
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 8], eax
add esp, 0xc
mov dword [ebp + 0x10], edi
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
movzx ecx, word [eax + 0x14]
cmp word [eax + 6], di
lea esi, [ecx + eax + 0x18]
jbe 0x406e56
add esi, 0x10
mov edi, 0x1000
cmp dword [esi], 0
jne 0x406e1b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x406e45
push 4
push edi
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 4]
push eax
call dword [ebp - 8]
push dword [ebp - 0xc]
mov dword [esi - 8], eax
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
jmp 0x406e45
mov eax, dword [esi - 4]
push 4
add eax, dword [ebp - 4]
push edi
push dword [esi]
push eax
call dword [ebp - 8]
mov ecx, dword [esi + 4]
push dword [esi]
add ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi - 8], eax
mov eax, dword [ebx]
inc dword [ebp + 0x10]
add esi, 0x28
movzx eax, word [eax + 6]
cmp dword [ebp + 0x10], eax
jl 0x406de8
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406e5b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 0x28]
push ebx
push eax
lea eax, [ebp - 0x38]
xor ebx, ebx
push eax
push ebx
mov byte [ebp - 0x38], 0x4b
mov byte [ebp - 0x37], 0x45
mov byte [ebp - 0x36], 0x52
mov byte [ebp - 0x35], 0x4e
mov byte [ebp - 0x34], 0x45
mov byte [ebp - 0x33], 0x4c
mov byte [ebp - 0x32], 0x33
mov byte [ebp - 0x31], 0x32
mov byte [ebp - 0x30], 0x2e
mov byte [ebp - 0x2f], 0x64
mov byte [ebp - 0x2e], 0x6c
mov byte [ebp - 0x2d], 0x6c
mov byte [ebp - 0x2c], bl
mov byte [ebp - 0x28], 0x56
mov byte [ebp - 0x27], 0x69
mov byte [ebp - 0x26], 0x72
mov byte [ebp - 0x25], 0x74
mov byte [ebp - 0x24], 0x75
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x46
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], bl
call fcn.00406826
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
mov byte [ebp - 0x48], 0x56
mov byte [ebp - 0x47], 0x69
mov byte [ebp - 0x46], 0x72
mov byte [ebp - 0x45], 0x74
mov byte [ebp - 0x44], 0x75
mov byte [ebp - 0x43], 0x61
mov byte [ebp - 0x42], 0x6c
mov byte [ebp - 0x41], 0x50
mov byte [ebp - 0x40], 0x72
mov byte [ebp - 0x3f], 0x6f
mov byte [ebp - 0x3e], 0x74
mov byte [ebp - 0x3d], 0x65
mov byte [ebp - 0x3c], 0x63
mov byte [ebp - 0x3b], 0x74
mov byte [ebp - 0x3a], bl
call fcn.00406826
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
add esp, 0x18
mov dword [ebp - 0xc], ebx
mov eax, dword [eax]
movzx ecx, word [eax + 0x14]
cmp word [eax + 6], bx
lea ecx, [ecx + eax + 0x18]
jbe 0x406fe4
add ecx, 0x24
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, dword [ecx]
mov dword [ebp - 4], esi
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 4]
shr esi, 0x1d
shr edi, 0x1e
and esi, 1
and edi, 1
shr edx, 0x1f
test byte [ebp - 1], 2
mov dword [ebp - 0x14], edx
je 0x406f7b
push 0x4000
push dword [ecx - 0x14]
push dword [ecx - 0x1c]
call dword [ebp - 0x10]
jmp 0x406fc4
test byte [ebp - 1], 4
lea edx, [edi + esi*2]
mov esi, dword [ebp - 0x14]
lea edx, [esi + edx*2]
mov edi, dword [edx*4 + 0x426128]
je 0x406f97
or edi, 0x200
mov esi, dword [ecx - 0x14]
mov edx, esi
cmp edx, ebx
jne 0x406fb6
test byte [ebp - 4], 0x40
je 0x406fab
mov edx, dword [eax + 0x20]
jmp 0x406fb4
test byte [ebp - 4], 0x80
je 0x406fc7
mov edx, dword [eax + 0x24]
cmp edx, ebx
jbe 0x406fc7
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
push dword [ecx - 0x1c]
call dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
inc dword [ebp - 0xc]
add ecx, 0x28
mov eax, dword [eax]
mov dword [ebp - 8], ecx
movzx edx, word [eax + 6]
cmp dword [ebp - 0xc], edx
jl 0x406f48
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407061
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
and byte [ebp - 0x18], 0
and byte [ebp - 0x28], 0
push esi
lea eax, [ebp - 0x34]
push edi
push eax
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
push ebx
mov byte [ebp - 0x24], 0x4b
mov byte [ebp - 0x23], 0x45
mov byte [ebp - 0x22], 0x52
mov byte [ebp - 0x21], 0x4e
mov byte [ebp - 0x20], 0x45
mov byte [ebp - 0x1f], 0x4c
mov byte [ebp - 0x1e], 0x33
mov byte [ebp - 0x1d], 0x32
mov byte [ebp - 0x1c], 0x2e
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x6c
mov byte [ebp - 0x34], 0x49
mov byte [ebp - 0x33], 0x73
mov byte [ebp - 0x32], 0x42
mov byte [ebp - 0x31], 0x61
mov byte [ebp - 0x30], 0x64
mov byte [ebp - 0x2f], 0x52
mov byte [ebp - 0x2e], 0x65
mov byte [ebp - 0x2d], 0x61
mov byte [ebp - 0x2c], 0x64
mov byte [ebp - 0x2b], 0x50
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x72
call fcn.00406826
mov dword [ebp - 0x10], eax
and byte [ebp - 0x38], bl
lea eax, [ebp - 0x44]
mov byte [ebp - 0x44], 0x4c
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
mov byte [ebp - 0x43], 0x6f
mov byte [ebp - 0x42], 0x61
mov byte [ebp - 0x41], 0x64
mov byte [ebp - 0x40], 0x4c
mov byte [ebp - 0x3f], 0x69
mov byte [ebp - 0x3e], 0x62
mov byte [ebp - 0x3d], 0x72
mov byte [ebp - 0x3c], 0x61
mov byte [ebp - 0x3b], 0x72
mov byte [ebp - 0x3a], 0x79
mov byte [ebp - 0x39], 0x41
call fcn.00406826
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
add esp, 0x18
mov dword [ebp - 4], 1
mov eax, dword [esi]
mov edi, dword [esi + 4]
add eax, 0x80
mov dword [ebp - 8], edi
cmp dword [eax + 4], ebx
jbe 0x407224
mov ebx, dword [eax]
push 0x14
add ebx, edi
push ebx
call dword [ebp - 0x10]
test eax, eax
jne 0x407224
jmp 0x407163
mov edi, dword [ebp - 8]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x407224
add eax, edi
push eax
call dword [ebp - 0x14]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x407220
mov eax, dword [esi + 0xc]
lea eax, [eax*4 + 4]
push eax
push dword [esi + 8]
call fcn.00406938
pop ecx
mov dword [esi + 8], eax
test eax, eax
pop ecx
je 0x407220
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [eax + ecx*4], edx
inc dword [esi + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x4071bf
add eax, edi
mov edi, dword [ebx + 0x10]
add edi, dword [ebp - 8]
mov dword [ebp + 8], eax
jmp 0x4071c7
mov eax, dword [ebx + 0x10]
add edi, eax
mov dword [ebp + 8], edi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x407207
test eax, 0x80000000
je 0x4071de
and eax, 0xffff
jmp 0x4071e6
mov ecx, dword [ebp - 8]
add eax, ecx
add eax, 2
push eax
push 0
push dword [ebp - 0xc]
call fcn.00406826
add esp, 0xc
mov dword [edi], eax
test eax, eax
je 0x407203
add dword [ebp + 8], 4
add edi, 4
jmp 0x4071c7
and dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x407224
add ebx, 0x14
push 0x14
push ebx
call dword [ebp - 0x10]
test eax, eax
je 0x407160
jmp 0x407224
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret