joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001c370
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x1001c386
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x1001c3a1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x662758ad
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x38cd4175
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4017e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0042c5e0
mov eax, dword [0x4748f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1008], ecx
mov eax, dword [ebp - 0x1008]
mov dword [eax], vtable.cAESFile.0
mov byte [ebp - 0x1004], 0x2e
mov byte [ebp - 0x1003], 0x23
mov byte [ebp - 0x1002], 0x5e
mov byte [ebp - 0x1001], 0x66
mov byte [ebp - 0x1000], 0x58
mov byte [ebp - 0xfff], 0x4d
mov byte [ebp - 0xffe], 0x53
mov byte [ebp - 0xffd], 0x30
mov byte [ebp - 0xffc], 0x32
mov byte [ebp - 0xffb], 0x30
mov byte [ebp - 0xffa], 0x32
mov byte [ebp - 0xff9], 0x34
mov byte [ebp - 0xff8], 0x21
mov byte [ebp - 0xff7], 0x23
mov byte [ebp - 0xff6], 0x40
mov byte [ebp - 0xff5], 0x6c
mov byte [ebp - 0xff4], 0x45
mov byte [ebp - 0xff3], 0x4e
mov byte [ebp - 0xff2], 0x47
mov byte [ebp - 0xff1], 0x65
mov byte [ebp - 0xff0], 0x6e
mov byte [ebp - 0xfef], 0x35
mov byte [ebp - 0xfee], 0x5b
mov byte [ebp - 0xfed], 0x44
mov byte [ebp - 0xfec], 0x4d
mov byte [ebp - 0xfeb], 0x46
mov byte [ebp - 0xfea], 0x53
mov byte [ebp - 0xfe9], 0x4f
mov byte [ebp - 0xfe8], 0x5d
mov byte [ebp - 0xfe7], 0x21
mov byte [ebp - 0xfe6], 0x23
mov byte [ebp - 0xfe5], 0x40
mov byte [ebp - 0xfe4], 0x25
mov byte [ebp - 0xfe3], 0x4f
mov byte [ebp - 0xfe2], 0x4c
mov byte [ebp - 0xfe1], 0x4f
mov byte [ebp - 0xfe0], 0x6c
mov byte [ebp - 0xfdf], 0x73
mov byte [ebp - 0xfde], 0x6b
mov byte [ebp - 0xfdd], 0x72
mov byte [ebp - 0xfdc], 0x6f
mov byte [ebp - 0xfdb], 0x67
mov byte [ebp - 0xfda], 0x61
mov byte [ebp - 0xfd9], 0x33
mov byte [ebp - 0xfd8], 0x65
mov byte [ebp - 0xfd7], 0x38
mov byte [ebp - 0xfd6], 0x61
mov byte [ebp - 0xfd5], 0x73
mov byte [ebp - 0xfd4], 0x38
mov byte [ebp - 0xfd3], 0x32
mov byte [ebp - 0xfd2], 0x31
mov byte [ebp - 0xfd1], 0x34
mov byte [ebp - 0xfd0], 0x2a
mov byte [ebp - 0xfcf], 0x3c
mov byte [ebp - 0xfce], 0x2f
mov byte [ebp - 0xfcd], 0x5e
mov byte [ebp - 0xfcc], 0
push 0xfc7
push 0
lea ecx, [ebp - 0xfcb]
push ecx
call fcn.0042a980
add esp, 0xc
mov edx, dword [ebp - 0x1008]
mov dword [edx + 4], 1
mov eax, dword [ebp - 0x1008]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x1008]
mov eax, dword [ecx*4 + 0x45e2ec]
mov dword [edx + 0xc], eax
push 0x1000
lea ecx, [ebp - 0x1004]
push ecx
mov edx, dword [ebp - 0x1008]
add edx, 0x1010
push edx
call fcn.0042a330
add esp, 0xc
mov eax, dword [ebp - 0x1008]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c090
mov esp, ebp
pop ebp
ret
Function at 0x401ce0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x738
mov eax, dword [0x4748f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x72c], ecx
cmp dword [ebp + 8], 0
jne 0x401d06
xor eax, eax
jmp 0x401f51
cmp dword [ebp + 0xc], 0
jne 0x401d13
xor eax, eax
jmp 0x401f51
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x730], eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 1
lea edx, [ebp - 0x71e]
push edx
call fcn.0042bca0
add esp, 0x10
mov eax, dword [ebp - 0x72c]
add eax, 0x10
mov dword [ebp - 0x734], eax
mov dword [ebp - 0x738], 0
push 0x200
push 0
lea ecx, [ebp - 0x204]
push ecx
call fcn.0042a980
add esp, 0xc
mov edx, dword [ebp - 0x72c]
add edx, 0x10
push edx
call fcn.0042aa10
add esp, 4
push eax
mov eax, dword [ebp - 0x72c]
add eax, 0x10
push eax
lea ecx, [ebp - 0x204]
push ecx
call fcn.0042a330
add esp, 0xc
push pe_nt_image_headers32
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x71c]
push eax
call fcn.004042f0
add esp, 0xc
mov cl, byte [ebp + 0x14]
mov byte [ebp - 0x71d], cl
mov dword [ebp - 0x728], 0
jmp 0x401dcd
mov edx, dword [ebp - 0x728]
add edx, 0x10
mov dword [ebp - 0x728], edx
mov eax, dword [ebp - 0x728]
cmp eax, dword [ebp - 0x730]
jge 0x401ecd
mov ecx, dword [ebp + 8]
push ecx
push 0x10
push 1
lea edx, [ebp - 0x604]
push edx
call fcn.0042bca0
add esp, 0x10
cmp eax, 0x10
je 0x401e42
push 0
push str.Error__
push str.fread_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x400
push 0
lea eax, [ebp - 0x604]
push eax
call fcn.0042a980
add esp, 0xc
push 0x118
push 0
lea ecx, [ebp - 0x71c]
push ecx
call fcn.0042a980
add esp, 0xc
xor eax, eax
jmp 0x401f51
lea edx, [ebp - 0x604]
push edx
lea eax, [ebp - 0x604]
push eax
push 0
lea ecx, [ebp - 0x71c]
push ecx
call fcn.00402e00
add esp, 0x10
mov dword [ebp - 0x724], 0
jmp 0x401e7c
mov edx, dword [ebp - 0x724]
add edx, 1
mov dword [ebp - 0x724], edx
cmp dword [ebp - 0x724], 0x10
jge 0x401ec8
mov eax, dword [ebp - 0x728]
add eax, dword [ebp - 0x724]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x724]
mov dl, byte [ebp + edx - 0x604]
mov byte [ecx + eax], dl
movsx eax, byte [ebp - 0x71d]
mov ecx, dword [ebp - 0x728]
add ecx, dword [ebp - 0x724]
mov edx, dword [ebp + 0xc]
movsx ecx, byte [edx + ecx]
add eax, ecx
mov byte [ebp - 0x71d], al
jmp 0x401e6d
jmp 0x401dbe
mov edx, dword [ebp + 8]
push edx
push 1
push 1
lea eax, [ebp - 0x71f]
push eax
call fcn.0042bca0
add esp, 0x10
movsx ecx, byte [ebp - 0x71e]
movsx edx, byte [ebp - 0x71f]
cmp ecx, edx
jne 0x401f08
movsx eax, byte [ebp - 0x71e]
movsx ecx, byte [ebp - 0x71d]
cmp eax, ecx
je 0x401f4c
push 0
push str.Error__
push str.CheckCrc_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x400
push 0
lea edx, [ebp - 0x604]
push edx
call fcn.0042a980
add esp, 0xc
push 0x118
push 0
lea eax, [ebp - 0x71c]
push eax
call fcn.0042a980
add esp, 0xc
xor eax, eax
jmp 0x401f51
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c090
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401fd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0042c5e0
mov eax, dword [0x4748f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x100c], ecx
mov byte [ebp - 0x1004], 0x2e
mov byte [ebp - 0x1003], 0x23
mov byte [ebp - 0x1002], 0x5e
mov byte [ebp - 0x1001], 0x66
mov byte [ebp - 0x1000], 0x58
mov byte [ebp - 0xfff], 0x4d
mov byte [ebp - 0xffe], 0x53
mov byte [ebp - 0xffd], 0x30
mov byte [ebp - 0xffc], 0x32
mov byte [ebp - 0xffb], 0x30
mov byte [ebp - 0xffa], 0x32
mov byte [ebp - 0xff9], 0x34
mov byte [ebp - 0xff8], 0x21
mov byte [ebp - 0xff7], 0x23
mov byte [ebp - 0xff6], 0x40
mov byte [ebp - 0xff5], 0x6c
mov byte [ebp - 0xff4], 0x45
mov byte [ebp - 0xff3], 0x4e
mov byte [ebp - 0xff2], 0x47
mov byte [ebp - 0xff1], 0x65
mov byte [ebp - 0xff0], 0x6e
mov byte [ebp - 0xfef], 0x35
mov byte [ebp - 0xfee], 0x5b
mov byte [ebp - 0xfed], 0x44
mov byte [ebp - 0xfec], 0x4d
mov byte [ebp - 0xfeb], 0x46
mov byte [ebp - 0xfea], 0x53
mov byte [ebp - 0xfe9], 0x4f
mov byte [ebp - 0xfe8], 0x5d
mov byte [ebp - 0xfe7], 0x21
mov byte [ebp - 0xfe6], 0x23
mov byte [ebp - 0xfe5], 0x40
mov byte [ebp - 0xfe4], 0x25
mov byte [ebp - 0xfe3], 0x4f
mov byte [ebp - 0xfe2], 0x4c
mov byte [ebp - 0xfe1], 0x4f
mov byte [ebp - 0xfe0], 0x6c
mov byte [ebp - 0xfdf], 0x73
mov byte [ebp - 0xfde], 0x6b
mov byte [ebp - 0xfdd], 0x72
mov byte [ebp - 0xfdc], 0x6f
mov byte [ebp - 0xfdb], 0x67
mov byte [ebp - 0xfda], 0x61
mov byte [ebp - 0xfd9], 0x33
mov byte [ebp - 0xfd8], 0x65
mov byte [ebp - 0xfd7], 0x38
mov byte [ebp - 0xfd6], 0x61
mov byte [ebp - 0xfd5], 0x73
mov byte [ebp - 0xfd4], 0x38
mov byte [ebp - 0xfd3], 0x32
mov byte [ebp - 0xfd2], 0x31
mov byte [ebp - 0xfd1], 0x34
mov byte [ebp - 0xfd0], 0x2a
mov byte [ebp - 0xfcf], 0x3c
mov byte [ebp - 0xfce], 0x2f
mov byte [ebp - 0xfcd], 0x5e
mov byte [ebp - 0xfcc], 0
push 0xfc7
push 0
lea eax, [ebp - 0xfcb]
push eax
call fcn.0042a980
add esp, 0xc
mov dword [ebp - 0x1008], 0
jmp 0x4021ad
mov ecx, dword [ebp - 0x1008]
add ecx, 1
mov dword [ebp - 0x1008], ecx
mov edx, dword [ebp - 0x100c]
mov eax, dword [ebp - 0x1008]
cmp eax, dword [edx + 4]
jge 0x40220d
mov ecx, dword [ebp - 0x1008]
mov edx, dword [ecx*4 + 0x45e2f0]
cmp edx, dword [ebp + 8]
jne 0x40220b
mov eax, dword [ebp - 0x100c]
mov ecx, dword [ebp - 0x1008]
mov edx, dword [ecx*4 + 0x45e2f0]
mov dword [eax + 8], edx
push 0x1000
lea eax, [ebp - 0x1004]
push eax
mov ecx, dword [ebp - 0x100c]
add ecx, 0x10
push ecx
call fcn.0042a330
add esp, 0xc
mov eax, 1
jmp 0x40220f
jmp 0x40219e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c090
mov esp, ebp
pop ebp
ret 4
Function at 0x405410
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x4748f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4783b8], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
je 0x405476
push eax
push dword [ebp + 0xc]
push ecx
push str.ASSERT___file:_s_line:_d___s__do_you_debug_
push 0x4783c0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40004
push 0
push 0x4783c0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40557b
int3
test eax, eax
je 0x405495
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push ecx
push str._s_line:_d__msg:_s_
push eax
call fcn.0042d5f0
add esp, 0x14
jmp 0x4054ad
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push ecx
push str._s_line:_d_
push eax
call fcn.0042d5f0
add esp, 0x10
push 0xff
lea eax, [ebp - 0x103]
mov byte [ebp - 0x104], 0
push 0
push eax
call fcn.0042a980
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x20e]
push eax
movzx eax, word [ebp - 0x212]
push eax
movzx eax, word [ebp - 0x214]
push eax
lea eax, [ebp - 0x104]
push str.._Log_Assert__4d_02d_02d.txt
push eax
call fcn.0042d5f0
add esp, 0x14
cmp dword [0x4784d0], 0
jne 0x40557b
push edi
push 0
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x405540
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c090
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x2a0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp - 0x2a0]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4784d0]
cmp esi, 0xf4240
mov ecx, 1
cmova eax, ecx
pop esi
mov dword [0x4784d0], eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c090
mov esp, ebp
pop ebp
ret
Function at 0x406340
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4748f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
movzx ebx, ax
mov eax, dword [ebp + 0xc]
push esi
push edi
movzx eax, ax
mov edi, ecx
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x10]
push 0x45ec54
push str.serverset.txt
mov dword [ebp - 0x110], eax
call fcn.0042d5a0
mov esi, eax
add esp, 8
test esi, esi
je 0x40644d
lea eax, [ebp - 0x108]
push eax
push 0x45ec48
push esi
call fcn.0042ec60
push esi
call fcn.0042d230
push dword [ebp - 0x108]
lea eax, [ebp - 0x104]
push str.serverset__d_serverlist.list
push eax
call fcn.0042d5f0
add esp, 0x1c
lea eax, [ebp - 0x104]
mov ecx, 0x474348
push eax
call fcn.00408fc0
push dword [ebp - 0x108]
lea eax, [ebp - 0x104]
push str.serverset__d_serverlist_Public.list
push eax
call fcn.0042d5f0
add esp, 0xc
lea eax, [ebp - 0x104]
mov ecx, 0x474348
push eax
call fcn.004091b0
mov eax, dword [0x47434c]
mov dword [0x48b674], eax
cmp eax, dword [ebp - 0x108]
je 0x406420
push 0
push 0x4f
push str..._CC_ServerModuleBootManager.cpp
call fcn.00405410
add esp, 0xc
push dword [ebp - 0x10c]
mov ecx, edi
push ebx
call fcn.00406610
mov ecx, dword [ebp - 0x110]
push eax
call fcn.00424a80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c090
mov esp, ebp
pop ebp
ret 0xc
push 0
push 0
push str.serverset.txt_is_not_exist._this_server_will_be_closed
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.0042ec10
int3
Function at 0x407f00
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
movzx eax, byte [edi + 0xc]
sub eax, 0x65
je 0x407f43
sub eax, 3
je 0x407f38
dec eax
je 0x407f38
pop edi
pop esi
pop ebx
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0x20d
mov dword [ebp + 8], str..._CC_ServerModuleDataBase.cpp
pop ebp
jmp fcn.00405410
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x407f5e
mov eax, dword [edi]
jmp 0x407f53
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x407f5e
mov eax, dword [edi]
mov eax, dword [eax*4 + 0x474398]
test eax, eax
je 0x407f5e
push edi
push ebx
call eax
add esp, 8
mov eax, dword [ebp + 8]
push ebx
lea ecx, [eax + eax*2]
mov eax, dword [0x474338]
lea esi, [eax + ecx*4]
movzx eax, byte [edi + 0xc]
mov ecx, dword [esi]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov eax, dword [esi]
push dword [edi + 8]
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x408fc0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c858
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4748f0]
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 esi, ecx
mov dword [ebp - 0x48], esi
mov edi, dword [ebp + 8]
lea ecx, [esi + 8]
call fcn.00426d20
mov dword [ebp - 0x44], eax
test eax, eax
je 0x40901e
lea eax, [ebp - 0x44]
push eax
lea ecx, [esi + 8]
call fcn.00426d40
push dword [eax]
call fcn.00429ff0
add esp, 4
cmp dword [ebp - 0x44], 0
jne 0x409002
lea ecx, [esi + 8]
call fcn.00426f30
push 0x45f4ac
push edi
call fcn.0042d5a0
push 0x14
mov dword [ebp - 0x58], eax
xor edi, edi
mov dword [ebp - 0x4c], 0x13
call fcn.00429ee0
mov ebx, eax
mov edx, str.SOTIIQWEOZSLK___
add esp, 0xc
mov dword [ebp - 0x50], ebx
sub eax, edx
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax + edx - 1], cl
test cl, cl
jne 0x409053
push dword [ebp - 0x58]
add esi, 4
mov dword [ebp - 4], 0
push 1
push 4
push esi
call fcn.0042bca0
add esp, 0x10
cmp eax, 1
jne 0x40909e
movzx eax, byte [ebx]
mov edi, 4
xor byte [esi], al
movzx eax, byte [ebx + 1]
xor byte [esi + 1], al
movzx eax, byte [ebx + 2]
xor byte [esi + 2], al
movzx eax, byte [ebx + 3]
xor byte [esi + 3], al
push 0x2e
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0042a980
add esp, 0xc
mov edi, edi
mov esi, dword [ebp - 0x58]
lea eax, [ebp - 0x40]
push esi
push 1
push 0x2e
push eax
call fcn.0042bca0
add esp, 0x10
cmp eax, 1
jne 0x409172
xor ecx, ecx
nop
xor eax, eax
cmp edi, 0x13
cmove edi, eax
movzx eax, byte [ebx + edi]
inc edi
xor byte [ebp + ecx - 0x40], al
xor eax, eax
cmp edi, 0x13
cmove edi, eax
movzx eax, byte [ebx + edi]
inc edi
xor byte [ebp + ecx - 0x3f], al
add ecx, 2
cmp ecx, 0x2e
jl 0x4090d0
cmp word [ebp - 0x40], 9
mov dword [ebp - 0x54], edi
jb 0x409115
push 0
push 0
push 0x45f4a2
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x2e
call fcn.00429f90
mov esi, eax
add esp, 4
test esi, esi
je 0x409134
push 0x2e
push 0
push esi
call fcn.0042a980
add esp, 0xc
jmp 0x409136
xor esi, esi
movdqu xmm0, xmmword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
push esi
movdqu xmmword [esi], xmm0
movdqu xmm0, xmmword [ebp - 0x30]
lea ecx, [ecx + 8]
movdqu xmmword [esi + 0x10], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x20], xmm0
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x28], eax
mov ax, word [ebp - 0x14]
mov word [esi + 0x2c], ax
call fcn.00426b70
jmp 0x4090b0
push esi
call fcn.0042d230
push ebx
call fcn.0042f1b0
add esp, 8
mov eax, 1
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.0042c090
mov esp, ebp
pop ebp
ret 4
Function at 0x4091b0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c888
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4748f0]
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 esi, ecx
mov dword [ebp - 0x44], esi
mov eax, dword [ebp + 8]
push 0x45f4ac
push eax
call fcn.0042d5a0
push 0x14
mov dword [ebp - 0x54], eax
xor edi, edi
mov dword [ebp - 0x48], 0x13
call fcn.00429ee0
mov ebx, eax
mov edx, str.SOTIIQWEOZSLK___
add esp, 0xc
mov dword [ebp - 0x4c], ebx
sub eax, edx
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax + edx - 1], cl
test cl, cl
jne 0x409210
push dword [ebp - 0x54]
add esi, 4
mov dword [ebp - 4], 0
push 1
push 4
push esi
call fcn.0042bca0
add esp, 0x10
cmp eax, 1
jne 0x40925b
movzx eax, byte [ebx]
mov edi, 4
xor byte [esi], al
movzx eax, byte [ebx + 1]
xor byte [esi + 1], al
movzx eax, byte [ebx + 2]
xor byte [esi + 2], al
movzx eax, byte [ebx + 3]
xor byte [esi + 3], al
push 0x2e
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0042a980
add esp, 0xc
mov esi, dword [ebp - 0x54]
mov edi, edi
push esi
push 1
lea eax, [ebp - 0x40]
push 0x2e
push eax
call fcn.0042bca0
add esp, 0x10
cmp eax, 1
jne 0x409326
xor ecx, ecx
lea esp, [esp]
xor eax, eax
cmp edi, 0x13
cmove edi, eax
movzx eax, byte [ebx + edi]
inc edi
xor byte [ebp + ecx - 0x40], al
xor eax, eax
cmp edi, 0x13
cmove edi, eax
movzx eax, byte [ebx + edi]
inc edi
xor byte [ebp + ecx - 0x3f], al
add ecx, 2
cmp ecx, 0x2e
jl 0x409290
cmp word [ebp - 0x40], 2
mov dword [ebp - 0x50], edi
jne 0x409270
push 0x2e
call fcn.00429f90
mov esi, eax
add esp, 4
test esi, esi
je 0x4092e3
push 0x2e
push 0
push esi
call fcn.0042a980
add esp, 0xc
jmp 0x4092e5
xor esi, esi
movdqu xmm0, xmmword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
movdqu xmmword [esi], xmm0
movdqu xmm0, xmmword [ebp - 0x30]
lea ecx, [ecx + 0x28]
movdqu xmmword [esi + 0x10], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x20], xmm0
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x28], eax
mov ax, word [ebp - 0x14]
mov word [esi + 0x2c], ax
movzx eax, word [esi + 0x26]
push eax
push esi
call fcn.00408e00
jmp 0x40926b
push esi
call fcn.0042d230
push ebx
call fcn.0042f1b0
add esp, 8
mov eax, 1
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.0042c090
mov esp, ebp
pop ebp
ret 4
Function at 0x417cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4748f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
jne 0x417d02
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c090
mov esp, ebp
pop ebp
ret 4
push 0x45f4ac
push ebx
call fcn.0042d5a0
add esp, 8
mov dword [edi + 4], eax
test eax, eax
je 0x417cee
push 2
push 0
push eax
call fcn.0042bf00
push dword [edi + 4]
call fcn.004303d0
push 0
push 0
push dword [edi + 4]
mov dword [ebp - 0x208], eax
call fcn.0042bf00
mov ecx, dword [edi + 0x1e]
add esp, 0x1c
test ecx, ecx
je 0x417d55
push ecx
call fcn.0042f1b0
add esp, 4
mov dword [edi + 0x1e], 0
push esi
push dword [edi + 4]
lea esi, [edi + 0x10]
mov dword [edi + 0xc], 0
push 1
push 0xc
push esi
mov dword [edi + 0x22], 0
call fcn.0042bca0
mov eax, dword [esi]
lea ecx, [edi + 0x26]
sub eax, dword [edi + 0x18]
add esp, 0x10
sub eax, dword [edi + 0x14]
push eax
call fcn.00401fd0
test eax, eax
jne 0x417dc5
push eax
push 0x15e
push str.MHFile.cpp
call fcn.00405410
add esp, 0xc
push 0
push 0
push str.Bin_File_Version_Error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c090
mov esp, ebp
pop ebp
ret 4
lea ecx, [edi + 0x26]
call fcn.00401f70
test eax, eax
je 0x417e93
mov esi, dword [ebp - 0x208]
add esi, 0xfffffff2
push esi
call fcn.00429ee0
add esp, 4
mov dword [edi + 0x1e], eax
test eax, eax
jne 0x417e03
push eax
push 0x168
push str.MHFile.cpp
call fcn.00405410
add esp, 0xc
jmp 0x417db0
push esi
push 0
push eax
call fcn.0042a980
add esp, 0xc
lea ecx, [edi + 0x26]
push dword [edi + 0x14]
push esi
push dword [edi + 0x1e]
push dword [edi + 4]
call fcn.00401ce0
test eax, eax
jne 0x417e62
mov ecx, edi
call fcn.00417860
push 0
push 0x16f
push str.MHFile.cpp
call fcn.00405410
push ebx
lea eax, [ebp - 0x204]
push str.File_Open_Error_:__s
push eax
call fcn.0042d5f0
add esp, 0x18
lea eax, [ebp - 0x204]
push 0
push 0
push eax
jmp 0x417da8
push dword [edi + 4]
call fcn.0042d230
add esp, 4
mov dword [edi + 4], 0
mov dword [edi + 0x22], 1
mov eax, 1
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c090
mov esp, ebp
pop ebp
ret 4
push dword [edi + 4]
lea eax, [edi + 0x1c]
push 1
push 1
push eax
call fcn.0042bca0
mov eax, dword [edi + 0x18]
add esp, 0x10
test eax, eax
je 0x417ec7
push eax
call fcn.00429ee0
push dword [edi + 4]
mov dword [edi + 0x1e], eax
push dword [edi + 0x18]
push 1
push eax
call fcn.0042bca0
add esp, 0x14
push dword [edi + 4]
lea eax, [edi + 0x1d]
push 1
push 1
push eax
call fcn.0042bca0
push dword [edi + 4]
call fcn.0042d230
add esp, 0x14
mov dword [edi + 4], 0
mov ecx, edi
call fcn.004177c0
test eax, eax
je 0x417db0
mov ecx, edi
call fcn.00417710
test eax, eax
je 0x417db0
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
mov dword [edi + 0x22], 1
xor ecx, ebp
pop edi
pop ebx
call fcn.0042c090
mov esp, ebp
pop ebp
ret 4