joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4073fe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ecx, dword [ebp + 8]
add ecx, 0x10c
mov ax, 0xa4f3
mov si, 0x65e
mov dx, word [ecx + 0x200]
mov bx, word [ecx + 0x202]
xor dx, ax
xor bx, si
xor bx, dx
mov ax, 0x200
movzx esi, ax
xor word [ecx + esi], dx
xor dx, bx
add ax, 2
cmp ax, 0x400
jb 0x40742f
pop esi
pop ebx
pop ebp
ret

Function at 0x407447
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ecx, dword [ebp + 8]
add ecx, 0x10c
mov ax, 0xa4f3
mov si, 0x65e
mov dx, word [ecx + 0x200]
mov bx, word [ecx + 0x202]
xor dx, ax
xor bx, si
sub bx, dx
mov ax, 0x200
movzx esi, ax
xor word [ecx + esi], dx
add dx, bx
add ax, 2
cmp ax, 0x400
jb 0x407478
pop esi
pop ebx
pop ebp
ret

Function at 0x407490
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ecx, dword [ebp + 8]
add ecx, 0x10c
mov ax, 0xa4f3
mov si, 0x65e
mov dx, word [ecx + 0x200]
mov bx, word [ecx + 0x202]
sub dx, ax
sub bx, si
xor bx, dx
mov ax, 0x200
movzx esi, ax
sub word [ecx + esi], dx
xor dx, bx
add ax, 2
cmp ax, 0x400
jb 0x4074c1
pop esi
pop ebx
pop ebp
ret

Function at 0x412246
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ebx, [esi + 0x30c]
mov eax, dword [esi + 0x1734]
sub eax, 0x34f
push 0
push eax
push edi
call fcn.00418228
add esp, 0xc
push edi
push 0x400
push 1
push ebx
call fcn.00418198
add esp, 0x10
mov dx, word [esi + 0x1738]
xor eax, eax
movzx ecx, ax
xor word [ebx + ecx], dx
add dx, word [esi + 0x173e]
inc eax
cmp ax, 0x400
jb 0x412289
cmp word [ebx + 0x378], 0x4b53
jne 0x4122ca
cmp word [ebx + 0x37d], 0x454b
jne 0x4122ca
cmp word [ebx + 0x355], 0x352
jne 0x4122ca
cmp word [ebx + 0x395], 0x21cd
je 0x4122d1
mov eax, 1
jmp 0x4122d3
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4198e0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
cmp dword [ebp + 0xc], 1
mov esi, dword [ebp + 8]
jne 0x41990b
lea eax, [ebp + 0x10]
add eax, 4
mov ebx, dword [eax - 4]
push ebx
push esi
call sub.KERNEL32.dll_SetFileAttributesA
test eax, eax
jne 0x41991f
call fcn.004198cc
jmp 0x419921
push esi
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x41991f
call fcn.004198cc
jmp 0x419921
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x419a38
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x419a54
call fcn.004198cc
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x419a6f
test bl, 1
je 0x419a6f
mov dword [0x428554], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x419ca4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
test byte [ebp + 0xd], 0xc0
jne 0x419cc3
mov eax, dword [0x427cf8]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x419cd0
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x419cfd
je 0x419d0f
sub ecx, 0x100
je 0x419d1d
sub ecx, 0x100
je 0x419d24
sub ecx, 0x100
je 0x419d16
jmp 0x419d2b
sub ecx, 0x600
je 0x419d24
sub ecx, 0x100
je 0x419d0f
jmp 0x419d2b
mov edi, 1
jmp 0x419d30
mov edi, 2
jmp 0x419d30
mov edi, 4
jmp 0x419d30
mov edi, 5
jmp 0x419d30
mov edi, 3
test byte [ebp + 0xd], 1
je 0x419d57
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x4281f4]
test al, 0x80
je 0x419d50
mov ebx, 0x80
jmp 0x419d69
mov ebx, 1
jmp 0x419d69
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x419d69
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x419d7b
je 0x419d84
dec eax
je 0x419d8d
jmp 0x419d96
mov dword [ebp - 4], 0x80000000
jmp 0x419da5
mov dword [ebp - 4], 0x40000000
jmp 0x419da5
mov dword [ebp - 4], 0xc0000000
jmp 0x419da5
push 1
call fcn.00419868
pop ecx
mov ebx, eax
jmp 0x419e91
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x419dc1
sub eax, 0x10
je 0x419dc8
sub eax, 0x10
je 0x419dd1
sub eax, 0x10
je 0x419dda
jmp 0x419dda
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x419de1
mov dword [ebp - 8], 1
jmp 0x419de1
mov dword [ebp - 8], 2
jmp 0x419de1
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb eax, eax
neg eax
mov dword [ebp - 0xc], eax
push 0
push ebx
push edi
push edx
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x419e4a
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x419e3f
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x419e3f
add ebx, 0xffffffb2
push ebx
call fcn.00419868
pop ecx
mov ebx, eax
jmp 0x419e91
mov edi, esi
push edi
call fcn.00419c14
pop ecx
test eax, eax
je 0x419e5e
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x419e6a
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.004195c4
add esp, 8
mov ebx, eax
inc eax
jne 0x419e91
push 4
call fcn.00419868
pop ecx
push esi
call sub.KERNEL32.dll_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ab84
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret
Function at 0x41b024
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x428558], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x41b0dc
cmp byte [0x41d059], 0
je 0x41b096
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x54]
push edx
call fcn.0041543c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x41b07f
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.0041543c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x41b07f
lea ebx, [ebp - 0x54]
jmp 0x41b080
inc ebx
call fcn.0041afdc
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x41b0fd
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x42855c
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00415350
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x42855f
push ebx
call sub.KERNEL32.dll_WriteFile
jmp 0x41b0fd
cmp dword [0x428558], 0xffffffff
je 0x41b0fd
mov eax, dword [0x428558]
test eax, eax
je 0x41b0fd
cmp byte [eax], 0
je 0x41b0fd
push esi
push eax
call fcn.0041b18c
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41b84c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 8], 1
mov dword [ebp - 4], edi
cmp esi, 1
jne 0x41b8ee
mov eax, dword [0x42aca0]
inc dword [0x42aca0]
test eax, eax
jne 0x41b91b
call sub.KERNEL32.dll_GetEnvironmentStrings
mov dword [0x42ac7c], eax
mov eax, dword [ebp + 0x10]
mov dword [0x41d062], eax
cmp dword [0x42aca4], 0
je 0x41b8a6
push 0
push esi
push eax
call dword [0x42aca4]
cmp dword [0x4285e0], 0
je 0x41b8cd
call fcn.0041b5a4
mov ebx, eax
test eax, eax
je 0x41b8cd
mov edx, dword [ebx]
cmp dword [ebx + edx*4 + 4], 0xffffffff
je 0x41b8cd
mov ecx, dword [ebx]
inc dword [ebx]
mov dword [ebx + ecx*4 + 4], edi
jmp 0x41b91b
xor eax, eax
mov dword [0x4285e0], eax
jmp 0x41b8d8
call ebx
push 0
lea edx, [ebp - 8]
push edx
call fcn.0041b5ac
add esp, 8
mov ebx, eax
test eax, eax
jne 0x41b8d6
jmp 0x41b91b
test esi, esi
jne 0x41b91b
dec dword [0x42aca0]
jne 0x41b91b
cmp dword [0x4285e0], 0
jne 0x41b91b
jmp 0x41b907
call ebx
push 1
lea edx, [ebp - 8]
push edx
call fcn.0041b5ac
add esp, 8
mov ebx, eax
test eax, eax
jne 0x41b905
mov edx, dword [ebp + 0x18]
push edx
push esi
mov ecx, dword [ebp + 0x10]
push ecx
call dword [edi + 0x18]
mov ebx, eax
cmp dword [0x42aca4], 0
je 0x41b941
push 0
push esi
mov eax, dword [0x41d062]
push eax
call dword [0x42aca4]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x47c6a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x44000]
push edi
jmp 0x47c6ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47c6c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47c6b0
mov eax, 1
add ebx, ebx
jne 0x47c6d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47c6e4
jne 0x47c703
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47c703
dec eax
add ebx, ebx
jne 0x47c6f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47c6c8
add ebx, ebx
jne 0x47c6ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47c755
xor ecx, ecx
sub eax, 3
jb 0x47c71b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47c78a
sar eax, 1
mov ebp, eax
jmp 0x47c726
add ebx, ebx
jne 0x47c726
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47c6f4
inc ecx
add ebx, ebx
jne 0x47c734
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47c6f4
add ebx, ebx
jne 0x47c741
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47c736
jne 0x47c752
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47c736
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47c774
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47c766
jmp 0x47c6b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47c774
add edi, ecx
jmp 0x47c6b6
pop esi
mov edi, esi
mov ecx, 0x1abf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47c792
cmp byte [edi], 9
jne 0x47c792
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 0x47c797
lea edi, [esi + 0x79000]
mov eax, dword [edi]
or eax, eax
je 0x47c80f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7e2b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7e3b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47c7c4
mov ecx, edi
jns 0x47c7f3
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 + 0x7e3bc]
or eax, eax
je 0x47c809
mov dword [ebx], eax
add ebx, 4
jmp 0x47c7e1
call dword [esi + 0x7e3b8]
mov ebp, dword [esi + 0x7e3c0]
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 0x47c843
sub esp, 0xffffff80
jmp 0x40134e
Function at 0x403e40
Capabilities:
Terminate process

Disassembly:
sub esp, 0x410
push ebx
push ebp
push esi
push edi
call fcn.00426800
cmp dword [esp + 0x424], 1
jl 0x403e65
mov esi, dword [eax + 0xc]
add esi, 0xc
mov dword [esp + 0x14], esi
jmp 0x403e71
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x14]
mov ebp, dword [0x49f150]
push 0x104
lea eax, [esp + 0x1c]
push eax
push 0
call dword [0x49f154]
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x220]
push edx
push 0
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00463698
add esp, 0x14
test esi, esi
je 0x403ed8
cmp byte [esi], 0
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x220]
push edx
je 0x403ee8
push esi
lea eax, [esp + 0x24]
push str.a:_s_bin_s_s
push eax
call fcn.00462db0
add esp, 0x14
jmp 0x403efa
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x20]
push str.a:_bin_s_s
push eax
call fcn.00462db0
add esp, 0x10
mov dword [esp + 0x10], 0
mov ecx, dword [0x4a7214]
mov bl, byte [esp + 0x10]
lea edx, [esp + 0x31c]
mov dword [esp + 0x31c], ecx
add bl, 0x61
push edx
mov byte [esp + 0x320], bl
call dword [0x49f224]
cmp eax, 5
jne 0x403f66
push 1
call ebp
mov edi, eax
lea eax, [esp + 0x18]
push 0x4a7210
push eax
mov byte [esp + 0x20], bl
call fcn.00463039
mov esi, eax
add esp, 8
test esi, esi
je 0x403f5b
push esi
call fcn.00462e52
add esp, 4
push edi
call ebp
test esi, esi
jne 0x403fd9
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x1a
mov dword [esp + 0x10], eax
jl 0x403f02
call fcn.0044b8e0
call fcn.0044f5d0
call fcn.0044f100
push eax
call dword [0x49f260]
push 5
call fcn.0044f110
push eax
push 0x4a71e4
call fcn.0044f100
push eax
call dword [0x49f258]
cmp eax, 2
jne 0x403e77
push 0
call fcn.00426820
add esp, 4
call fcn.00426fa0
call fcn.00410e90
call fcn.0042d720
call fcn.0042ddb0
push 0
call dword [0x49f2f0]
push 0
call fcn.00463cc5
push 0
call fcn.00426820
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x410
ret
Function at 0x40f530
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push str._DEBUG:
push eax
call fcn.0046310f
xor esi, esi
add esp, 8
cmp eax, esi
je 0x40f650
add eax, 7
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov dl, byte [eax + 0xc]
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x20], dl
mov byte [esp + 0x21], 0
call fcn.0046363f
add esp, 4
cmp eax, esi
mov dword [0x4c2edc], eax
je 0x40f650
push 0x40f660
call fcn.004640ac
push 0x40f680
call fcn.0044f1e0
add esp, 8
call fcn.0044f100
mov ecx, dword [0x4c2edc]
cmp ecx, esi
mov ebx, dword [0x49f334]
je 0x40f5c6
push esi
push eax
push 0xa000
push ecx
call ebx
push esi
push esi
push 0xa005
mov dword [0x4c2ee0], esi
call fcn.0044f100
push eax
call ebx
mov eax, dword [0x4c2edc]
cmp eax, esi
je 0x40f5ee
push esi
push esi
push 0xa002
push eax
call ebx
cmp dword [0x4c2ee0], esi
jne 0x40f63f
mov edi, dword [0x49f1bc]
mov ebp, dword [0x49f258]
call fcn.0044f2b0
test eax, eax
jne 0x40f636
push 1
call edi
mov ecx, esi
inc esi
cmp ecx, 0x2710
jl 0x40f636
push 0x14
call fcn.0044f110
push eax
push 0x4a7db0
call fcn.0044f100
push eax
call ebp
cmp eax, 6
jne 0x40f658
xor esi, esi
mov eax, dword [0x4c2ee0]
test eax, eax
je 0x40f602
push 0
push 0
push 0xa00d
call fcn.0044f100
push eax
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 1
call fcn.00463cc5
nop
mov eax, dword [0x4c2edc]
test eax, eax
je 0x40f679
push 0
push 0
push 0xa001
push eax
call dword [0x49f334]
ret
Function at 0x426ef0
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
mov ecx, dword [edx]
inc ecx
push esi
mov esi, ecx
cmp esi, 0x100
mov dword [edx], ecx
jl 0x426f18
push 0x4a96ec
call fcn.0044f5f0
add esp, 4
push 0xffffffffffffffff
call fcn.00463cc5
xor eax, eax
push edi
lea edi, [esi + esi*8]
lea esi, [esi + edi*2]
mov ecx, 0x13
lea edi, [edx + esi*4 + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, dword [edx + eax*4 - 0x1c]
mov dword [edx + eax*4 + 0x30], ecx
lea eax, [edx + eax*4]
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, dword [edx + eax*4 + 0x30]
lea eax, [edx + eax*4]
mov dword [eax + 0x2c], ecx
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, dword [edx + eax*4 - 0x24]
lea eax, [edx + eax*4]
mov dword [eax + 0x28], ecx
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, dword [edx + eax*4 - 0x14]
lea eax, [edx + eax*4]
mov dword [eax + 0x38], ecx
cmp edx, dword [0x5b5fa8]
pop edi
jne 0x426f90
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
lea ecx, [edx + eax*4 + 0x28]
mov dword [0x5b5fa4], ecx
pop esi
ret
Function at 0x429300
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x5b5fa4]
mov ecx, dword [eax + 8]
mov edx, dword [0x5b5fa8]
mov eax, dword [edx + 0x24]
shl ecx, 4
lea eax, [ecx + eax - 0x10]
sub esp, 0x994
push ebp
mov ebp, dword [eax + 0xc]
or ecx, 0xffffffff
push esi
push edi
mov edi, dword [eax - 4]
add edi, 0xc
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edx, [esp + 0x1a0]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test ebp, ebp
rep movsb byte es:[edi], byte [esi]
jl 0x4293db
cmp ebp, 0x2711
je 0x4293db
cmp ebp, 0x2710
jge 0x42938a
push ebp
push str.savedatamajiro__04d.sav
call fcn.0042eee0
add esp, 4
push eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.00462db0
add esp, 0xc
jmp 0x42940e
push 0
push str.QuickNum
call fcn.0042cb40
push eax
call fcn.0042cb10
push eax
call fcn.00455720
mov edx, 0x271b
sub edx, ebp
add eax, edx
add esp, 0x10
and eax, 0x80000007
jns 0x4293ba
dec eax
or eax, 0xfffffff8
inc eax
push eax
push str.savedatamajiro_quick_d.sav
call fcn.0042eee0
add esp, 4
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.00462db0
add esp, 0xc
jmp 0x42940e
push str.savedatamajiro_last.sav
call fcn.0042eee0
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
lea edx, [esp + 0x9c]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov ecx, 0x20
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1a0]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00462cc0
lea eax, [esp + 0xa4]
push 2
push eax
call fcn.004648d8
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
je 0x4294a8
push 0x10
lea ecx, [esp + 0x10]
push ecx
push edi
call fcn.0046469a
add esp, 0xc
mov esi, str.MajiroSavV1.103
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x429483
test cl, cl
je 0x42947f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x429483
add eax, 2
add esi, 2
test cl, cl
jne 0x42945f
xor eax, eax
jmp 0x429488
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42949f
push 0x80
lea eax, [esp + 0x20]
push eax
push edi
call fcn.004644aa
add esp, 0xc
push edi
call fcn.004643ca
add esp, 4
mov ecx, dword [0x5b5fa4]
mov eax, dword [ecx + 8]
mov edx, dword [0x5b5fa8]
mov ecx, dword [edx + 0x24]
shl eax, 4
add eax, ecx
mov dword [eax + 0xc], 0
mov dword [eax + 8], 3
mov dword [eax + 4], 0
mov eax, dword [0x5b5fa4]
inc dword [eax + 8]
mov ecx, dword [0x5b5fa8]
mov esi, dword [0x5b5fa4]
mov eax, dword [ecx + 0x10]
mov edi, dword [esi + 8]
lea edx, [eax - 8]
cmp edi, edx
pop edi
pop esi
pop ebp
jl 0x429521
add eax, 0x100
mov dword [ecx + 0x10], eax
mov eax, dword [0x5b5fa8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x24]
shl ecx, 4
push ecx
push edx
call fcn.004527d0
mov ecx, dword [0x5b5fa8]
add esp, 8
mov dword [ecx + 0x24], eax
add esp, 0x994
ret
Function at 0x44f2b0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [0x49f35c]
push 1
xor esi, esi
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push eax
call edi
test eax, eax
je 0x44f30b
mov ebx, dword [0x49f358]
cmp dword [esp + 0x10], 0x12
je 0x44f314
lea ecx, [esp + 0xc]
push ecx
call ebx
cmp dword [esp + 0x10], 0xc000
jae 0x44f2f7
lea edx, [esp + 0xc]
push edx
call dword [0x49f354]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
inc esi
call edi
test eax, eax
jne 0x44f2d4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00463cc5
nop
nop

Function at 0x44f5f0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x410
push esi
lea eax, [esp + 0x418]
lea ecx, [esp + 4]
mov edx, 4
mov esi, dword [eax + 4]
add eax, 4
mov dword [ecx], esi
add ecx, 4
dec edx
jne 0x44f607
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x420]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00462db0
mov eax, dword [0x5a14e8]
add esp, 0x18
test eax, eax
pop esi
je 0x44f64a
call eax
call fcn.0044f100
push eax
call dword [0x49f260]
lea eax, [esp + 0x10]
push eax
call fcn.0044f3b0
add esp, 4
push 0x40015
call fcn.0044f110
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0044f100
push eax
call dword [0x49f258]
cmp eax, 2
jne 0x44f696
mov eax, dword [0x5a14ec]
test eax, eax
je 0x44f68f
call eax
push 0xffffffffffffffff
call fcn.00463cc5
add esp, 0x410
ret

Function at 0x44f6a0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x410
push esi
lea eax, [esp + 0x418]
lea ecx, [esp + 4]
mov edx, 4
mov esi, dword [eax + 4]
add eax, 4
mov dword [ecx], esi
add ecx, 4
dec edx
jne 0x44f6b7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x420]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00462db0
mov eax, dword [0x5a14e8]
add esp, 0x18
test eax, eax
pop esi
je 0x44f6fa
call eax
call fcn.0044f100
push eax
call dword [0x49f260]
lea eax, [esp + 0x10]
push eax
call fcn.0044f3b0
add esp, 4
push 0x40010
call fcn.0044f110
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0044f100
push eax
call dword [0x49f258]
cmp eax, 2
jne 0x44f746
mov eax, dword [0x5a14ec]
test eax, eax
je 0x44f73f
call eax
push 0xffffffffffffffff
call fcn.00463cc5
add esp, 0x410
ret
Function at 0x44f750
Capabilities:
Terminate process

Disassembly:
sub esp, 0x410
push esi
lea eax, [esp + 0x418]
lea ecx, [esp + 4]
mov edx, 4
mov esi, dword [eax + 4]
add eax, 4
mov dword [ecx], esi
add ecx, 4
dec edx
jne 0x44f767
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x420]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00462db0
mov eax, dword [0x5a14e4]
add esp, 0x18
test eax, eax
pop esi
je 0x44f7aa
call eax
call fcn.0044f100
push eax
call dword [0x49f260]
lea eax, [esp + 0x10]
push eax
call fcn.0044f3b0
add esp, 4
push 0x40030
call fcn.0044f110
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0044f100
push eax
call dword [0x49f258]
cmp eax, 2
jne 0x44f7f6
mov eax, dword [0x5a14ec]
test eax, eax
je 0x44f7ef
call eax
push 0xffffffffffffffff
call fcn.00463cc5
add esp, 0x410
ret