joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473ac0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov byte [ebp - 1], 0
mov byte [ebp - 2], 0
mov dword [ebp - 8], 0
movzx eax, byte [ebp + 0x14]
movzx ecx, byte [ebp + 0xc]
add ecx, 6
cmp eax, ecx
jge 0x473af9
or al, 0xff
jmp 0x473c16
mov dword [ebp - 8], 0
jmp 0x473b0b
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
movzx eax, byte [ebp + 0x14]
cmp dword [ebp - 8], eax
jge 0x473b1f
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 8]
mov byte [ecx], 0
jmp 0x473b02
movzx edx, byte [ebp - 1]
mov eax, dword [ebp + 0x10]
mov byte [eax + edx], 0x60
mov cl, byte [ebp - 1]
add cl, 1
mov byte [ebp - 1], cl
movzx edx, byte [ebp + 0xc]
add edx, 2
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 0x10]
mov byte [ecx + eax], dl
mov dl, byte [ebp - 1]
add dl, 1
mov byte [ebp - 1], dl
movzx eax, word [0x510b60]
sar eax, 8
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 0x10]
mov byte [edx + ecx], al
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 0x10]
mov al, byte [0x510b60]
mov byte [edx + ecx], al
mov cl, byte [ebp - 1]
add cl, 1
mov byte [ebp - 1], cl
mov dword [ebp - 8], 0
jmp 0x473b93
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
movzx eax, byte [ebp + 0xc]
cmp dword [ebp - 8], eax
jge 0x473bb8
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov dl, byte [edx]
mov byte [eax + ecx], dl
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
jmp 0x473b8a
mov byte [ebp - 2], 0
mov dword [ebp - 8], 0
jmp 0x473bce
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
movzx edx, byte [ebp - 1]
cmp dword [ebp - 8], edx
jge 0x473beb
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 2]
xor edx, ecx
mov byte [ebp - 2], dl
jmp 0x473bc5
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 0x10]
mov dl, byte [ebp - 2]
mov byte [ecx + eax], dl
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 0x10]
mov byte [edx + ecx], 3
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x480dd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
push 0x509a34
mov eax, dword [str.ScheduleTable.dat]
push eax
call fcn.004943f0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x480e20
push str.The_file_ScheduleTable.dat_was_not_opened_n
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x480e80
mov dword [ebp - 8], 0
jmp 0x480e32
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
movsx edx, word [0x511766]
cmp dword [ebp - 8], edx
jge 0x480e63
mov eax, dword [ebp - 8]
shl eax, 4
add eax, dword [0x51176c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x10
mov edx, dword [ebp - 0xc]
push edx
call fcn.00493d00
add esp, 0x10
jmp 0x480e29
mov eax, dword [ebp - 4]
push eax
call fcn.00493af0
add esp, 4
mov ecx, dword [str.ScheduleTable.dat]
push ecx
call fcn.004307b0
add esp, 4
xor eax, eax
add esp, 0xc
cmp ebp, esp
call fcn.00492430
mov esp, ebp
pop ebp
ret

Function at 0x480e90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 0xd], 0
push 0x509a68
mov eax, dword [str.ScheduleTable.dat]
push eax
call fcn.004943f0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x480eea
push str.The_file_ScheduleTable.dat_was_not_opened__n
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x480f71
mov ecx, 0x40
mov word [0x511766], cx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.00494fe0
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x480f18
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
movsx ecx, word [0x511766]
cmp dword [ebp - 8], ecx
jge 0x480f63
mov edx, dword [ebp - 4]
push edx
push 1
push 0x10
mov eax, dword [ebp - 8]
shl eax, 4
add eax, dword [0x51176c]
push eax
call fcn.00494bc0
add esp, 0x10
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
cmp ecx, 1
je 0x480f61
mov edx, dword [ebp - 8]
add edx, 1
push edx
push str.Error:_
call fcn.0048c1d0
add esp, 8
jmp 0x480f0f
mov eax, dword [ebp - 4]
push eax
call fcn.00493af0
add esp, 4
xor eax, eax
add esp, 0x10
cmp ebp, esp
call fcn.00492430
mov esp, ebp
pop ebp
ret
Function at 0x4815d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push edi
lea edi, [ebp - 0x60]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x50beb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0x509db0
mov eax, dword [str.DayPlanTable.dat]
push eax
call fcn.004943f0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x48162f
push str.The_file_DayPlanTable.dat_was_not_opened__n
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x4817b3
mov ecx, 1
mov word [0x511750], cx
mov edx, 0x20
mov word [0x511752], dx
mov eax, 1
mov word [0x511754], ax
mov ecx, 0x10
mov word [0x511756], cx
mov edx, 1
mov word [0x511778], dx
mov eax, 0x20
mov word [0x51177a], ax
mov ecx, 1
mov word [0x51177c], cx
mov edx, 0x10
mov word [0x51177e], dx
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.00494fe0
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x4816af
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
movsx edx, word [0x511752]
cmp dword [ebp - 8], edx
jge 0x4817a5
mov dword [ebp - 0xc], 0
jmp 0x4816d1
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x10
jge 0x4817a0
mov ecx, dword [ebp - 0x14]
push ecx
push 1
push 0xc
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp - 0xc]
imul edx, edx, 0xc
add edx, dword [0x511758]
push edx
call fcn.00494bc0
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
push 1
push 0x20
lea ecx, [ebp - 0x58]
push ecx
call fcn.00494bc0
add esp, 0x10
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp - 0xc]
imul edx, edx, 0xc
mov eax, dword [0x511758]
mov cl, byte [eax + edx + 8]
mov byte [ebp - 0x5d], cl
movzx edx, byte [ebp - 0x5d]
test edx, edx
jle 0x481782
movzx eax, byte [ebp - 0x5d]
shl eax, 1
push eax
call fcn.00493ac0
add esp, 4
mov ecx, dword [ebp - 8]
shl ecx, 4
add ecx, dword [ebp - 0xc]
imul ecx, ecx, 0xc
mov edx, dword [0x511758]
mov dword [edx + ecx + 4], eax
movzx eax, byte [ebp - 0x5d]
shl eax, 1
push eax
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp - 0xc]
imul edx, edx, 0xc
mov eax, dword [0x511758]
mov ecx, dword [eax + edx + 4]
push ecx
call fcn.004952a0
add esp, 0xc
jmp 0x48179b
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp - 0xc]
imul edx, edx, 0xc
mov eax, dword [0x511758]
mov dword [eax + edx + 4], 0
jmp 0x4816c8
jmp 0x4816a6
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00493af0
add esp, 4
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4817e0]
call fcn.00492460
pop eax
pop edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004932b0
add esp, 0x60
cmp ebp, esp
call fcn.00492430
mov esp, ebp
pop ebp
ret
Function at 0x485c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
push 0x50a5e4
push 0x50a5e8
call fcn.004943f0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x485c62
push str.The_file_XIOTable.dat_not_opened_n
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x485cbc
mov dword [ebp - 4], 0
jmp 0x485c74
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x48
jge 0x485c9f
mov ecx, dword [ebp - 4]
imul ecx, ecx, 6
add ecx, dword [0x5121d0]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
push edx
push 6
push 1
mov eax, dword [ebp - 0xc]
push eax
call fcn.00493d00
add esp, 0x10
jmp 0x485c6b
mov ecx, dword [ebp - 8]
push ecx
call fcn.00493af0
add esp, 4
mov edx, dword [0x50a5b4]
push edx
call fcn.004307b0
add esp, 4
xor eax, eax
add esp, 0x10
cmp ebp, esp
call fcn.00492430
mov esp, ebp
pop ebp
ret

Function at 0x485cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0x50a61c
push str.XIOTable.dat
call fcn.004943f0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x485d29
push str.The_file_XIOTable.dat_was_not_opened__n
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x485d68
mov dword [ebp - 4], 0
jmp 0x485d3b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x48
jge 0x485d66
mov ecx, dword [ebp - 4]
imul ecx, ecx, 6
add ecx, dword [0x5121d0]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
push edx
push 6
push 1
mov eax, dword [ebp - 0xc]
push eax
call fcn.00494bc0
add esp, 0x10
jmp 0x485d32
xor eax, eax
add esp, 0x10
cmp ebp, esp
call fcn.00492430
mov esp, ebp
pop ebp
ret
Function at 0x486190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x18
push 0
push 0x618a80
call fcn.00493230
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x4861d5
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x48
jge 0x4862af
mov ecx, dword [ebp - 4]
imul ecx, ecx, 6
mov edx, dword [0x5121d0]
movzx eax, byte [edx + ecx + 1]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0x30
jge 0x48627f
cmp dword [ebp - 8], 0x30
jg 0x486209
cmp dword [ebp - 8], 0
jg 0x48621e
mov ecx, dword [ebp - 4]
imul ecx, ecx, 6
mov edx, dword [0x5121d0]
mov byte [edx + ecx + 3], 0
jmp 0x4861cc
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x5121df]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x618a9f]
xor ecx, eax
je 0x48626b
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x5121df]
cmp edx, 1
jne 0x48626b
mov eax, dword [ebp - 4]
imul eax, eax, 6
mov ecx, dword [0x5121d0]
mov byte [ecx + eax + 3], 1
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
push str.IO_recv_data__d__d_n
call fcn.0048c1d0
add esp, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov al, byte [edx + 0x618a9f]
mov byte [ecx + 0x5121df], al
jmp 0x4862aa
cmp dword [ebp - 8], 0x18
jg 0x48628b
cmp dword [ebp - 8], 0
jg 0x486292
jmp 0x4861cc
mov ecx, dword [ebp - 4]
imul ecx, ecx, 6
mov edx, dword [ebp - 8]
mov eax, dword [0x5121d0]
mov cl, byte [eax + ecx + 3]
mov byte [edx + 0x618a7f], cl
jmp 0x4861cc
call fcn.00486000
add esp, 8
cmp ebp, esp
call fcn.00492430
mov esp, ebp
pop ebp
ret
Function at 0x486dd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push edi
lea edi, [ebp - 0x28]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x50beb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
push 0x50a7c8
push str.XPhaseTable.dat
call fcn.004943f0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x486e27
push str.The_file_XPhaseTable.dat_was_not_opened__n
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x486fbe
push 2
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00494fe0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00494c20
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x486e6d
mov edx, dword [ebp - 0x10]
push edx
call fcn.00493af0
add esp, 4
push 0x50a808
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x486fbe
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00494fe0
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x486e8f
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
movsx edx, word [0x618a6a]
cmp dword [ebp - 8], edx
jge 0x486fb0
mov dword [ebp - 0xc], 0
jmp 0x486eb1
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
movsx ecx, word [0x618a6e]
cmp dword [ebp - 0xc], ecx
jge 0x486fab
mov edx, dword [ebp - 0x10]
push edx
push 1
push 0x24
movsx eax, word [0x618a6e]
imul eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
imul eax, eax, 0x24
add eax, dword [0x618a70]
push eax
call fcn.00494bc0
add esp, 0x10
push 8
push 0
lea ecx, [ebp - 0x20]
push ecx
call fcn.00493230
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
push 1
push 8
lea eax, [ebp - 0x20]
push eax
call fcn.00494bc0
add esp, 0x10
movsx ecx, word [0x618a6e]
imul ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x24
mov edx, dword [0x618a70]
movsx eax, word [edx + ecx + 0x20]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x486f87
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00493ac0
add esp, 4
movsx edx, word [0x618a6e]
imul edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
imul edx, edx, 0x24
mov ecx, dword [0x618a70]
mov dword [ecx + edx + 0x1c], eax
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x20]
push eax
movsx ecx, word [0x618a6e]
imul ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x24
mov edx, dword [0x618a70]
mov eax, dword [edx + ecx + 0x1c]
push eax
call fcn.004952a0
add esp, 0xc
jmp 0x486fa6
movsx ecx, word [0x618a6e]
imul ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x24
mov edx, dword [0x618a70]
mov dword [edx + ecx + 0x1c], 0
jmp 0x486ea8
jmp 0x486e86
mov eax, dword [ebp - 0x10]
push eax
call fcn.00493af0
add esp, 4
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x486fe8]
call fcn.00492460
pop eax
pop edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004932b0
add esp, 0x28
cmp ebp, esp
call fcn.00492430
mov esp, ebp
pop ebp
ret
Function at 0x488570
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x50beb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
push 0x50aba0
push str.XRing.dat
call fcn.004943f0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4885dc
push str.The_file_XRingTable.dat_was_not_opened__n
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x48878f
push 2
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.00494fe0
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00494c20
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x488622
mov edx, dword [ebp - 0x14]
push edx
call fcn.00493af0
add esp, 4
push str.The_file_XPhaseTable.dat_is_empty_n
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x48878f
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.00494fe0
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x488644
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
movsx edx, word [0x618a4a]
cmp dword [ebp - 8], edx
jge 0x48878d
mov dword [ebp - 0xc], 0
jmp 0x488666
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
movsx ecx, word [0x618a4e]
cmp dword [ebp - 0xc], ecx
jge 0x488788
mov edx, dword [ebp - 0x14]
push edx
push 1
push 2
movsx eax, word [0x618a4e]
imul eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
imul eax, eax, 0xc
add eax, dword [0x618a50]
push eax
call fcn.00494bc0
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
push 1
push 2
movsx edx, word [0x618a4e]
imul edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
imul edx, edx, 0xc
mov eax, dword [0x618a50]
lea ecx, [eax + edx + 8]
push ecx
call fcn.00494bc0
add esp, 0x10
movsx edx, word [0x618a4e]
imul edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
imul edx, edx, 0xc
mov eax, dword [0x618a50]
movsx ecx, word [eax + edx + 8]
mov dword [ebp - 0x10], ecx
push 0x10
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.00493230
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
push 1
push 0x10
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00494bc0
add esp, 0x10
cmp dword [ebp - 0x10], 0
jle 0x488765
mov edx, dword [ebp - 0x10]
push edx
call fcn.00493ac0
add esp, 4
movsx ecx, word [0x618a4e]
imul ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
imul ecx, ecx, 0xc
mov edx, dword [0x618a50]
mov dword [edx + ecx + 4], eax
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
push ecx
movsx edx, word [0x618a4e]
imul edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
imul edx, edx, 0xc
mov eax, dword [0x618a50]
mov ecx, dword [eax + edx + 4]
push ecx
call fcn.004952a0
add esp, 0xc
jmp 0x488783
movsx edx, word [0x618a4e]
imul edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
imul edx, edx, 0xc
mov eax, dword [0x618a50]
mov dword [eax + edx + 4], 0
jmp 0x48865d
jmp 0x48863b
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4887bc]
call fcn.00492460
pop eax
pop edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004932b0
add esp, 0x30
cmp ebp, esp
call fcn.00492430
mov esp, ebp
pop ebp
ret
Function at 0x48b500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
push 0x50afb8
push str.XSplitTable.dat
call fcn.004943f0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x48b55b
push str.The_file_XSplitTable.dat_was_not_opened__n
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x48b64d
push 2
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00494fe0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00494c20
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x48b5a1
mov edx, dword [ebp - 0x10]
push edx
call fcn.00493af0
add esp, 4
push str.The_file_XSplitTable.dat_is_empty_n
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x48b64d
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00494fe0
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x48b5c3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
movsx edx, word [0x618a2a]
cmp dword [ebp - 4], edx
jge 0x48b63f
mov dword [ebp - 8], 0
jmp 0x48b5e1
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
movsx ecx, word [0x618a2e]
cmp dword [ebp - 8], ecx
jge 0x48b63a
mov edx, dword [ebp - 0x10]
push edx
push 1
push 5
movsx eax, word [0x618a2e]
imul eax, dword [ebp - 4]
add eax, dword [ebp - 8]
imul eax, eax, 5
add eax, dword [0x618a30]
push eax
call fcn.00494bc0
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x48b638
push 0x50b020
call fcn.0048c1d0
add esp, 4
push str.ERROR:_XSplitTable
call fcn.0048c1d0
add esp, 4
jmp 0x48b5d8
jmp 0x48b5ba
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00493af0
add esp, 4
xor eax, eax
add esp, 0x18
cmp ebp, esp
call fcn.00492430
mov esp, ebp
pop ebp
ret

Function at 0x48efe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], 0
jge 0x48f013
or eax, 0xffffffff
jmp 0x48f04c
mov esi, esp
push 0
lea ecx, [ebp - 8]
push ecx
movsx edx, word [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.00492430
mov word [ebp - 0x10], ax
movsx edx, word [ebp - 0x10]
test edx, edx
je 0x48f049
mov ax, word [ebp - 8]
jmp 0x48f04c
or eax, 0xffffffff
push edx
mov ecx, ebp
push eax
lea edx, [0x48f06c]
call fcn.00492460
pop eax
pop edx
pop esi
add esp, 0x14
cmp ebp, esp
call fcn.00492430
mov esp, ebp
pop ebp
ret
Function at 0x48f090
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
lea edi, [ebp - 0x34]
mov ecx, 0xd
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jge 0x48f0c0
or eax, 0xffffffff
jmp 0x48f133
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov esi, esp
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
cmp esi, esp
call fcn.00492430
cmp dword [ebp - 0x24], 0
jne 0x48f0eb
xor eax, eax
jmp 0x48f133
movsx ecx, word [ebp + 0x10]
cmp dword [ebp - 0x24], ecx
jbe 0x48f0fb
movsx edx, word [ebp + 0x10]
mov dword [ebp - 0x24], edx
mov esi, esp
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.00492430
mov word [ebp - 0x30], ax
movsx ecx, word [ebp - 0x30]
test ecx, ecx
je 0x48f130
mov ax, word [ebp - 0x14]
jmp 0x48f133
or eax, 0xffffffff
push edx
mov ecx, ebp
push eax
lea edx, [0x48f154]
call fcn.00492460
pop eax
pop edx
pop edi
pop esi
add esp, 0x34
cmp ebp, esp
call fcn.00492430
mov esp, ebp
pop ebp
ret

Function at 0x48f1a0
Capabilities:
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
push edi
lea edi, [ebp - 0x1c4]
mov ecx, 0x71
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x50beb0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x198]
push eax
push 2
call sub.WS2_32.dll_WSAStartup
mov ecx, 2
mov word [ebp - 0x1b0], cx
movzx edx, word [ebp + 8]
push edx
call sub.WS2_32.dll_htons
mov word [ebp - 0x1ae], ax
push 0
call sub.WS2_32.dll_htonl
mov dword [ebp - 0x1ac], eax
push 8
push 0
lea eax, [ebp - 0x1a8]
push eax
call fcn.00493230
add esp, 0xc
push 0
push 2
push 2
call sub.WS2_32.dll_socket
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0xffffffff
jne 0x48f230
or eax, 0xffffffff
jmp 0x48f277
push 0x10
lea ecx, [ebp - 0x1b0]
push ecx
mov edx, dword [ebp - 0x1b8]
push edx
call sub.WS2_32.dll_bind
cmp eax, 0xffffffff
jne 0x48f24f
or eax, 0xffffffff
jmp 0x48f277
mov dword [ebp - 0x1c0], 1
lea eax, [ebp - 0x1c0]
push eax
push 0x8004667e
mov ecx, dword [ebp - 0x1b8]
push ecx
call sub.WS2_32.dll_ioctlsocket
mov eax, dword [ebp - 0x1b8]
push edx
mov ecx, ebp
push eax
lea edx, [0x48f2a4]
call fcn.00492460
pop eax
pop edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004932b0
add esp, 0x1c4
cmp ebp, esp
call fcn.00492430
mov esp, ebp
pop ebp
ret