joyce8/EMBER2024-capa huggingface dataset:
Function at 0x590a30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
xorps xmm0, xmm0
push 0xffffffffffffffff
push 0x6decb3
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 4]
movss dword [esi + 8], xmm0
movss dword [esi + 0xc], xmm0
movss xmm0, dword [0x738ac8]
and edx, 0xfffffffc
mov dword [esi + 4], edx
movss dword [esi + 0x10], xmm0
movss dword [esi + 0x14], xmm0
movss xmm0, dword [0x738a74]
push edi
movss dword [esi + 0x18], xmm0
movss dword [esi + 0x1c], xmm0
or ebx, 0xffffffff
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi], 0x7184a4
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
lea eax, [esi + 0x50]
mov dword [esi + 0x44], eax
mov dword [eax - 8], 0x40
mov eax, dword [esi + 0x44]
mov dword [eax - 4], edi
mov ecx, dword [esi + 0x44]
mov word [ecx], di
push fcn.00442050
push fcn.0042f9a0
push 0xd
push 4
lea edx, [esi + 0xe0]
push edx
mov byte [esp + 0x28], 1
call fcn.00686002
mov dword [esi + 0x40], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov al, byte [0x779977]
mov byte [esi + 0x17b], al
mov cl, byte [0x779976]
mov byte [esi + 0x17a], cl
mov dl, byte [0x779975]
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x179], dl
mov al, byte [0x779974]
mov byte [esi + 0x178], al
mov dword [esi + 0x150], edi
mov dword [esi + 0x158], edi
mov dword [esi + 0x160], edi
mov dword [esi + 0x154], edi
mov dword [esi + 0x15c], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], edi
mov dword [esi + 0x16c], edi
mov dword [esi + 0x170], edi
mov dword [esi + 0x174], ebx
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x594cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb4
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
movss dword [edi + 0x30], xmm0
movss dword [edi + 0x20], xmm0
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x34], xmm0
movss dword [edi + 0x24], xmm0
movss dword [edi + 4], xmm0
movss dword [edi + 0x38], xmm0
movss dword [edi + 0x18], xmm0
movss dword [edi + 8], xmm0
movss dword [edi + 0x2c], xmm0
movss dword [edi + 0x1c], xmm0
movss dword [edi + 0xc], xmm0
movss xmm0, dword [0x7389bc]
movss dword [edi], xmm0
movss dword [edi + 0x14], xmm0
movss dword [edi + 0x28], xmm0
movss dword [edi + 0x3c], xmm0
cmp dword [eax + 0x10], 0xffffffff
je 0x594e45
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
push edx
mov ecx, 0x8d68e0
call fcn.004013f0
mov ebx, eax
test ebx, ebx
je 0x594e45
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa8]
test eax, eax
je 0x594e45
mov esi, dword [eax + 8]
cmp esi, 0xffffffff
je 0x594e45
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xb0]
test eax, eax
mov dword [esp + 0x14], eax
je 0x594e45
mov edx, dword [eax + 0x78]
lea esi, [esi + esi*4]
shl esi, 5
movzx ecx, word [esi + edx + 0x86]
add esi, edx
cvtsi2ss xmm0, ecx
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x10]
cmp ebx, 0xffffffff
mulss xmm0, dword [ebp + 0x10]
cvttss2si edx, xmm0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
je 0x594e18
jmp 0x594db2
mov esi, dword [esp + 0x1c]
movsx ecx, word [esi + 0x70]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
cdq
idiv ecx
push ebx
lea eax, [esi + 0x88]
mov ecx, edx
mov edx, dword [esi + 0x30]
call fcn.0059c7f0
lea eax, [esp + 0x40]
lea ecx, [esp + 0x20]
call fcn.0059c1e0
lea edx, [esp + 0x80]
push edi
push edx
mov edx, eax
call fcn.0062a240
mov esi, eax
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x70]
mov edi, dword [ebp + 0xc]
lea eax, [ebx + ebx*8]
shl eax, 4
movsx ebx, word [eax + edx + 0x62]
add esp, 8
cmp ebx, 0xffffffff
jne 0x594dae
mov eax, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
mov ebx, dword [eax + 0x70]
lea edx, [ecx + ecx*8]
shl edx, 4
add edx, ebx
push edx
lea eax, [esp + 0x84]
push eax
mov edx, edi
call fcn.0062a240
mov ecx, 0x10
mov esi, eax
add esp, 8
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x59c320
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x18
mov edx, dword [0x7b8a60]
xorps xmm5, xmm5
push esi
mov esi, ecx
mov ecx, dword [0x7b8a6c]
cmp ecx, 2
push edi
jne 0x59c3b1
mov ecx, dword [0x7b8a5c]
movss xmm3, dword [0x738d74]
movss xmm4, dword [0x7389bc]
lea ecx, [ecx + esi*8]
movzx edi, word [ecx + edx + 2]
add ecx, edx
cvtsi2ss xmm0, edi
movzx edi, word [ecx + 4]
cvtsi2ss xmm1, edi
movzx edi, word [ecx + 6]
movzx ecx, word [ecx]
cvtsi2ss xmm2, edi
cvtsi2ss xmm6, ecx
mulss xmm0, xmm3
mulss xmm1, xmm3
mulss xmm2, xmm3
mulss xmm6, xmm3
subss xmm0, xmm4
subss xmm1, xmm4
subss xmm2, xmm4
subss xmm6, xmm4
movss dword [eax], xmm6
movss dword [eax + 4], xmm0
movss dword [eax + 8], xmm1
movss dword [eax + 0xc], xmm2
jmp 0x59c421
test ecx, ecx
jne 0x59c3d2
movss xmm0, dword [0x7389bc]
movss dword [eax], xmm5
movss dword [eax + 4], xmm5
movss dword [eax + 8], xmm5
movss dword [eax + 0xc], xmm0
jmp 0x59c421
cmp ecx, 1
jne 0x59c3f6
mov ecx, dword [0x7b8a5c]
mov edi, dword [ecx + edx]
mov dword [eax], edi
mov edi, dword [ecx + edx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + edx + 8]
mov dword [eax + 8], edi
mov ecx, dword [ecx + edx + 0xc]
jmp 0x59c41e
cmp ecx, 3
jne 0x59c421
mov edi, dword [0x7b8a5c]
mov ecx, esi
shl ecx, 4
add ecx, edi
mov edi, dword [ecx + edx]
add ecx, edx
mov dword [eax], edi
mov edi, dword [ecx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + 8]
mov dword [eax + 8], edi
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7b8a70]
test ecx, ecx
jne 0x59c440
movss dword [eax + 0x10], xmm5
movss dword [eax + 0x14], xmm5
movss dword [eax + 0x18], xmm5
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 1
jne 0x59c46a
mov ecx, dword [0x7b8a64]
movss xmm0, dword [ecx + edx]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ecx + edx + 4]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ecx + edx + 8]
jmp 0x59c498
cmp ecx, 3
jne 0x59c4bc
lea ecx, [esi + esi*2]
mov esi, dword [0x7b8a64]
lea ecx, [esi + ecx*4]
movss xmm0, dword [ecx + edx]
add ecx, edx
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ecx + 4]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ecx + 8]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 0x10
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
movss dword [esp + 0x18], xmm0
mov edx, dword [esp + 0x18]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x61f630
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
test byte [0x957414], 1
push ebp
mov ebp, dword [esp + 8]
jne 0x61f65a
mov ecx, dword [0x957414]
or ecx, 1
push 0
mov dword [0x957414], ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x957410], eax
push 0x957310
sub ebp, 0x7e
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x61f66e
pop ebp
ret
mov ecx, dword [0x84dbcc]
xorps xmm0, xmm0
push ebx
push esi
mov esi, dword [0x80ef74]
test esi, esi
push edi
jl 0x61f6bd
mov edx, ecx
imul edx, edx, 0xfb0
mov al, byte [edx + 0x80effa]
and al, 1
movzx eax, al
cvtsi2ss xmm1, eax
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x61f6c4
mov dl, byte [edx + 0x80f006]
and dl, 1
movzx eax, dl
cvtsi2ss xmm1, eax
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x61f6c4
mov byte [esp + 0x14], 0
jmp 0x61f6c9
mov byte [esp + 0x14], 0x80
test esi, esi
jl 0x61f706
mov edx, ecx
imul edx, edx, 0xfb0
mov al, byte [edx + 0x80f008]
and al, 1
movzx eax, al
cvtsi2ss xmm1, eax
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x61f70a
mov dl, byte [edx + 0x80f088]
and dl, 1
movzx eax, dl
cvtsi2ss xmm1, eax
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x61f70a
xor bl, bl
jmp 0x61f70c
mov bl, 0x80
test esi, esi
jl 0x61f748
imul ecx, ecx, 0xfb0
mov dl, byte [ecx + 0x80efed]
and dl, 1
movzx eax, dl
cvtsi2ss xmm1, eax
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x61f74c
mov cl, byte [ecx + 0x80f06d]
and cl, 1
movzx edx, cl
cvtsi2ss xmm1, edx
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x61f74c
xor dl, dl
jmp 0x61f74e
mov dl, 0x80
xor eax, eax
mov ecx, 0x40
mov edi, 0x957310
rep stosd dword es:[edi], eax
mov ecx, dword [0x957410]
mov al, byte [esp + 0x14]
push ecx
push 1
push ebp
mov byte [0x957320], al
mov byte [0x957322], bl
mov byte [0x957321], dl
call dword [sym.imp.USER32.dll_MapVirtualKeyExA]
mov edx, dword [0x957410]
mov ecx, dword [esp + 0x18]
push edx
push 0
push ecx
push 0x957310
push ebp
push eax
call dword [sym.imp.USER32.dll_ToAsciiEx]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x6261e0
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
push esi
xor ebx, ebx
xor ecx, ecx
test bl, 1
je 0x6261f0
mov ecx, 0x80
mov eax, ebx
shr eax, 1
test al, 1
je 0x6261fb
or ecx, 0x40
shr eax, 1
test al, 1
je 0x626204
or ecx, 0x20
shr eax, 1
test al, 1
je 0x62620d
or ecx, 0x10
shr eax, 1
test al, 1
je 0x626216
or ecx, 8
shr eax, 1
test al, 1
je 0x62621f
or ecx, 4
shr eax, 1
test al, 1
je 0x626228
or ecx, 2
test al, 2
je 0x62622f
or ecx, 1
shl ecx, 0x18
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov dword [ebx*4 + 0x7b9438], ecx
mov eax, ecx
xor edx, edx
mov ecx, 0x1f
mov edi, edi
test al, 1
je 0x6262fd
mov esi, 1
shl esi, cl
or edx, esi
shr eax, 1
dec ecx
cmp ecx, 0xffffffff
jg 0x6262f0
mov dword [ebx*4 + 0x7b9438], edx
inc ebx
cmp ebx, 0xff
jle 0x6261e4
pop esi
pop ebx
ret

Function at 0x626320
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x80ed70]
test eax, eax
jne 0x626338
call fcn.006261e0
mov dword [0x80ed70], 1
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
or eax, 0xffffffff
test edx, edx
je 0x62636f
push esi
push edi
lea esp, [esp]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
mov edi, dword [esi*4 + 0x7b9438]
shr eax, 8
xor eax, edi
inc ecx
dec edx
jne 0x626350
pop edi
pop esi
not eax
ret

Function at 0x626770
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push edi
mov edi, dword [esi]
mov dword [esp + 0x14], edi
mov edi, dword [esi + 4]
mov dword [esp + 0x10], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x1c], edi
xor edx, edx
mov dword [esp + 0x18], esi
mov edi, 8
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, ecx
shr esi, 5
add esi, ebx
mov ebx, ecx
shl ebx, 4
add ebx, ebp
mov ebp, dword [esp + 0x1c]
xor esi, ebx
sub edx, 0x61c88647
lea ebx, [edx + ecx]
xor esi, ebx
mov ebx, dword [esp + 0x18]
add eax, esi
mov esi, eax
shr esi, 5
add esi, ebx
mov ebx, eax
shl ebx, 4
add ebx, ebp
xor esi, ebx
lea ebx, [edx + eax]
xor esi, ebx
add ecx, esi
dec edi
jne 0x6267a0
mov edx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
add esp, 0x10
ret
Function at 0x626800
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push edi
mov edi, dword [esi]
mov dword [esp + 0x1c], edi
mov edi, dword [esi + 4]
mov dword [esp + 0x18], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x14], edi
mov edx, 0xf1bbcdc8
mov dword [esp + 0x10], esi
mov edi, 8
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, ecx
shr esi, 5
add esi, ebx
mov ebx, ecx
shl ebx, 4
add ebx, ebp
mov ebp, dword [esp + 0x1c]
xor esi, ebx
lea ebx, [edx + ecx]
xor esi, ebx
mov ebx, dword [esp + 0x18]
sub eax, esi
mov esi, eax
shr esi, 5
add esi, ebx
mov ebx, eax
shl ebx, 4
add ebx, ebp
xor esi, ebx
lea ebx, [edx + eax]
xor esi, ebx
sub ecx, esi
add edx, 0x61c88647
dec edi
jne 0x626833
mov edx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov dword [edx + 4], eax
pop ebx
add esp, 0x10
ret
Function at 0x631380
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x51c
push ebx
push esi
push edi
xor ebx, ebx
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor eax, eax
mov byte [esp + 0x18], bl
mov ecx, 0x3f
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x320], bl
mov ecx, 0x3f
lea edi, [esp + 0x321]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
cmp esi, ebx
mov byte [esp + 0x118], bl
mov ecx, 0x3f
lea edi, [esp + 0x119]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov byte [esp + 0x10], bl
mov word [esp + 0x11], bx
stosb byte es:[edi], al
mov byte [esp + 0x218], bl
je 0x631473
lea edx, [esp + 0x218]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x631402
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x324]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
mov ecx, esi
call fcn.006265a0
mov al, byte [esp + 0x1c]
add esp, 0xc
test al, al
lea ecx, [esp + 0x420]
je 0x631445
lea ecx, [esp + 0x422]
mov al, byte [esp + 0x18]
test al, al
je 0x631470
lea edx, [esp + 0x18]
mov byte [ecx], al
mov al, byte [edx + 1]
inc ecx
inc edx
test al, al
jne 0x631451
mov dl, byte [edx - 1]
cmp dl, 0x2f
je 0x631470
cmp dl, 0x5c
je 0x631470
mov byte [ecx], 0x5c
inc ecx
lea ecx, [ecx]
mov byte [ecx], 0
lea eax, [esp + 0x118]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x631480
lea edx, [esp + 0x118]
sub eax, edx
dec eax
jne 0x6314ee
push ebx
lea eax, [esp + 0x324]
push str.screenshot_03d
push eax
call fcn.00628520
lea ecx, [esp + 0x224]
push ecx
mov edi, str..bmp
lea esi, [esp + 0x330]
lea edx, [esp + 0x28]
lea ecx, [esp + 0x20]
inc ebx
call fcn.006266f0
lea edx, [esp + 0x228]
push 0x708724
push edx
call dword [0x80ed80]
add esp, 0x18
test eax, eax
je 0x6314ee
push eax
call dword [0x80ed84]
add esp, 4
jmp 0x631493
mov eax, dword [0x80edd8]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0
push eax
call dword [ecx + 0x48]
mov eax, dword [esp + 0x14]
push 0
push 0
push eax
push 0
lea ecx, [esp + 0x228]
push ecx
call fcn.0069a2df
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
call dword [edx + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x63c8e0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x10
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
push 0x737cac
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [esp]
mul dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push ecx
push edx
push eax
call fcn.006875c0
test edx, edx
ja 0x63c920
cmp eax, 0xffffffff
jbe 0x63c923
or eax, 0xffffffff
cmp eax, dword [esp + 0x14]
sbb eax, eax
inc eax
add esp, 0x10
ret 4

Function at 0x63d140
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push edi
lea eax, [esi + 0x18]
push eax
lea ecx, [esi + 0x11c]
push ecx
push str..SAVES
lea edx, [esp + 0x10]
push str._s_s_s
push edx
call fcn.00626a10
mov eax, dword [eax]
add esp, 0x14
push 0
push 0
push 3
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov eax, dword [esp + 4]
call fcn.00626990
cmp edi, 0xffffffff
jne 0x63d19c
push 4
mov ecx, esi
call fcn.0063cd90
pop edi
add esp, 8
ret
mov ecx, dword [esi + 0x224]
mov edx, dword [esi + 0x220]
push 0
lea eax, [esp + 0xc]
push eax
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov ecx, esi
jne 0x63d1ca
push 4
call fcn.0063cd90
pop edi
add esp, 8
ret
push 3
call fcn.0063cd90
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
add esp, 8
ret

Function at 0x63d1e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push edi
lea eax, [esi + 0x18]
push eax
lea ecx, [esi + 0x11c]
push ecx
push str..SAVES
lea edx, [esp + 0x10]
push str._s_s_s
push edx
call fcn.00626a10
mov eax, dword [eax]
add esp, 0x14
push 0
push 0
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov eax, dword [esp + 4]
call fcn.00626990
cmp edi, 0xffffffff
jne 0x63d23c
push 4
mov ecx, esi
call fcn.0063cd90
pop edi
add esp, 8
ret
mov ecx, dword [esi + 0x224]
mov edx, dword [esi + 0x220]
push 0
lea eax, [esp + 0xc]
push eax
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov ecx, esi
jne 0x63d26a
push 4
call fcn.0063cd90
pop edi
add esp, 8
ret
push 3
call fcn.0063cd90
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
add esp, 8
ret

Function at 0x63d280
Capabilities:
Delete file

Disassembly:
push ecx
lea eax, [esi + 0x18]
push eax
lea ecx, [esi + 0x11c]
push ecx
push str..SAVES
lea edx, [esp + 0xc]
push str._s_s_s
push edx
call fcn.00626a10
mov eax, dword [eax]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp]
call fcn.00626990
push 3
mov ecx, esi
call fcn.0063cd90
pop ecx
ret
Function at 0x63d2c0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x148
push ebx
push ebp
mov ebp, dword [esp + 0x154]
push esi
push edi
lea esi, [ebp + 0x11c]
push esi
push str..SAVES
lea eax, [esp + 0x18]
push 0x7086a8
push eax
call fcn.00626a10
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
push eax
call ebx
mov edi, eax
mov eax, dword [esp + 0x10]
call fcn.00626990
cmp edi, 0xffffffff
jne 0x63d336
push 4
mov ecx, ebp
call fcn.0063cd90
push edi
mov dword [ebp + 0x23c], 0
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 4
mov eax, dword [0x94432c]
xor edi, edi
cmp eax, edi
jne 0x63d35c
mov edx, dword [0x944320]
push edx
call fcn.00685b4c
add esp, 4
mov dword [0x944320], edi
mov dword [0x944328], edi
push esi
push str..SAVES
lea eax, [esp + 0x18]
push str._s_s
mov dword [0x944324], edi
push eax
mov dword [ebp + 0x240], edi
call fcn.00626a10
mov eax, dword [eax]
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
push eax
call ebx
mov edi, eax
mov eax, dword [esp + 0x10]
call fcn.00626990
cmp edi, 0xffffffff
je 0x63d45d
mov eax, dword [0x94432c]
xor ebp, ebp
cmp eax, ebp
jne 0x63d3c4
mov edx, dword [0x944320]
push edx
call fcn.00685b4c
add esp, 4
mov dword [0x944320], ebp
mov dword [0x944328], ebp
mov dword [0x944324], ebp
lea ebx, [ebx]
mov ebx, 0x944320
call fcn.0063d640
mov esi, eax
lea eax, [esp + 0x44]
mov edx, eax
mov ecx, esi
sub ecx, edx
lea edx, [ecx + 8]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x63d3f0
mov eax, dword [esp + 0x38]
mov ebx, dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
mov dword [esi], ebp
push edx
mov dword [esi + 4], eax
inc ebp
call ebx
mov eax, dword [esp + 0x10]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esi + 0x2c], ecx
call ebx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
mov dword [esi + 0x30], ecx
mov edx, dword [esp + 0x14]
push eax
push edi
mov dword [esi + 0x34], edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x63d3d0
mov ecx, dword [esp + 0x15c]
mov dword [ecx + 0x240], ebp
mov ebp, ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 3
mov ecx, ebp
call fcn.0063cd90
pop edi
pop esi
mov dword [ebp + 0x23c], 1
pop ebp
pop ebx
add esp, 0x148
ret 4
Function at 0x63d4e0
Capabilities:
Get file size

Disassembly:
push ecx
push edi
lea eax, [esi + 0x18]
push eax
lea ecx, [esi + 0x11c]
push ecx
push str..SAVES
lea edx, [esp + 0x10]
push str._s_s_s
push edx
call fcn.00626a10
mov eax, dword [eax]
add esp, 0x14
push 0
push 0
push 3
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov eax, dword [esp + 4]
call fcn.00626990
cmp edi, 0xffffffff
jne 0x63d538
push 4
mov ecx, esi
call fcn.0063cd90
pop edi
pop ecx
ret
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 3
mov ecx, esi
mov ebx, eax
call fcn.0063cd90
push edi
mov dword [esi + 0x230], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
pop ecx
ret

Function at 0x63d570
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push edi
lea eax, [esi + 0x18]
push eax
lea ecx, [esi + 0x11c]
push ecx
push str..SAVES
lea edx, [esp + 0x10]
push str._s_s_s
push edx
call fcn.00626a10
mov eax, dword [eax]
add esp, 0x14
push 0
push 0
push 3
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov eax, dword [esp + 4]
call fcn.00626990
cmp edi, 0xffffffff
je 0x63d5fb
mov eax, dword [esi + 0x228]
push ebx
push 0
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esi + 0x224]
mov eax, dword [esi + 0x220]
push 0
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
pop ebx
jne 0x63d609
push 4
mov ecx, esi
call fcn.0063cd90
pop edi
add esp, 8
ret
push 3
mov ecx, esi
call fcn.0063cd90
pop edi
add esp, 8
ret

Function at 0x640a60
Capabilities:
Initialize winsock library

Disassembly:
xor eax, eax
sub esp, 0x190
mov dword [0x7ccbec], eax
mov dword [0x7ccbf4], eax
mov dword [0x7ccbe8], eax
mov dword [0x7ccbf0], eax
mov dword [0x7ccbf8], eax
lea eax, [esp]
push eax
push 0x101
mov dword [0x84dc78], 1
call dword [sym.imp.WSOCK32.dll_WSAStartup]
add esp, 0x190
ret

Function at 0x640c30
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x14
mov edx, dword [ebx]
push esi
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x24]
push 0
push edx
mov edx, dword [ecx + 0x30]
push eax
push edx
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WSOCK32.dll_recvfrom]
mov esi, eax
test esi, esi
jle 0x640cb0
mov eax, dword [esp + 0xa]
push ebp
push eax
call dword [sym.imp.WSOCK32.dll_ntohs]
mov ecx, dword [esp + 0x10]
push ecx
movzx ebp, ax
call dword [sym.imp.WSOCK32.dll_ntohl]
mov dword [edi], eax
mov eax, edi
mov dword [edi + 4], ebp
call fcn.006400a0
mov ecx, dword [0x7ccbf4]
mov eax, dword [0x7ccbf0]
inc ecx
add eax, esi
pop ebp
mov dword [ebx], esi
mov dword [0x7ccbf0], eax
mov dword [0x7ccbf4], ecx
mov eax, 1
pop esi
add esp, 0x14
ret
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov dword [ebx], 0
xor eax, eax
pop esi
add esp, 0x14
ret