joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410290
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push ebx
sub esp, 0x20
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], esi
mov ecx, dword [0x521924]
mov dword [esp + 8], ecx
mov edx, dword [ebx + 0x58]
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.WSOCK32.DLL_recv
sub esp, 0x10
cmp eax, 0xffffffff
mov esi, eax
je 0x4103ae
xor edx, edx
test eax, eax
jle 0x4102e2
add dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x60]
lea eax, [ecx + eax]
cmp eax, dword [0x521924]
jle 0x4102eb
lea esp, [ebp - 8]
mov eax, edx
pop ebx
pop esi
pop ebp
ret
mov edx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x58]
mov dword [esp + 8], esi
add ecx, edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym._memcpy
add dword [ebx + 0x60], esi
jmp 0x410355
inc dword [ebx + 0x44]
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 8]
test eax, eax
je 0x4103c6
mov edx, dword [ebx + 0x60]
mov eax, dword [ebx + 0x5c]
cmp edx, eax
je 0x4103cd
sub edx, eax
mov dword [esp + 8], edx
mov ecx, dword [ebx + 0x54]
add eax, ecx
mov dword [esp + 4], eax
mov esi, dword [ebx + 0x54]
mov dword [esp], esi
call sym._memmove
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebx + 0x5c]
mov dword [ebx + 0x5c], 0
sub ecx, edx
mov dword [ebx + 0x60], ecx
mov eax, dword [ebx + 0x5c]
test eax, eax
jne 0x410397
cmp dword [ebx + 0x60], 9
jle 0x4103a0
mov eax, 0xa
lea ecx, [ebp - 0x18]
mov dword [esp + 8], eax
mov esi, dword [ebx + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], esi
call sym._memmove
cmp byte [ebp - 0x18], 0x58
jne 0x4103c6
movzx esi, byte [ebp - 0x12]
movzx ecx, word [ebp - 0x14]
shl esi, 0x10
lea edx, [ecx + esi + 0xa]
mov dword [ebx + 0x5c], edx
mov eax, edx
cmp dword [ebx + 0x60], eax
jge 0x410308
mov edx, 1
lea esp, [ebp - 8]
mov eax, edx
pop ebx
pop esi
pop ebp
ret
call sub.WSOCK32.DLL_WSAGetLastError
xor edx, edx
cmp eax, 0x2733
sete dl
lea esp, [ebp - 8]
mov eax, edx
pop ebx
pop esi
pop ebp
ret
xor edx, edx
jmp 0x4102e2
mov dword [ebx + 0x5c], 0
mov edx, 1
mov dword [ebx + 0x60], 0
jmp 0x4103a5
Function at 0x414f80
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xb4]
test eax, eax
jg 0x414fb4
jmp 0x41500e
add dword [ebx + 0x9c], eax
mov edx, dword [ebx + 0xb8]
add edx, eax
mov eax, dword [ebx + 0xb4]
cmp edx, eax
jge 0x414ff8
mov dword [ebx + 0xb8], edx
mov edx, dword [ebx + 0xb8]
sub eax, edx
cmp eax, 0x58c
jle 0x414fc8
mov eax, 0x58c
mov dword [esp + 8], eax
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebx + 0xb0]
add edx, ecx
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.WSOCK32.DLL_send
sub esp, 0x10
cmp eax, 0xffffffff
jne 0x414f96
mov ebx, dword [ebp - 4]
xor eax, eax
leave
ret
inc dword [ebx + 0x98]
xor eax, eax
xor edx, edx
mov dword [ebx + 0xb4], eax
mov dword [ebx + 0xb8], edx
mov ebx, dword [ebp - 4]
mov eax, 1
leave
ret

Function at 0x415020
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
push edi
mov eax, 0x4e
push esi
push ebx
sub esp, 0x7c
lea ebx, [ebp - 0x68]
mov dword [esp + 4], ecx
mov esi, dword [ebp + 8]
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._memset
cld
mov edi, dword [esi + 0x88]
xor eax, eax
mov ecx, 2
movzx edx, word [edi]
mov word [ebp - 0x68], dx
lea edx, [ebp - 0x78]
mov edi, edx
rep stosd dword es:[edi], eax
mov word [edi], 0
mov eax, 0xa
mov edi, 0x4e
mov byte [ebp - 0x78], 0x6c
mov byte [ebp - 0x77], 2
mov byte [ebp - 0x72], 0
mov word [ebp - 0x74], 0x4e
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0xb0]
mov dword [esp], ecx
call sym._memmove
mov edx, 0xa
mov dword [esi + 0xb4], edx
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov eax, dword [esi + 0xb4]
mov ebx, dword [esi + 0xb0]
add eax, ebx
mov dword [esp], eax
call sym._memmove
mov eax, dword [esi + 0xb4]
add eax, 0x4e
test eax, eax
mov dword [esi + 0xb4], eax
jg 0x4150f5
jmp 0x415152
add dword [esi + 0x9c], eax
mov edx, dword [esi + 0xb8]
add edx, eax
mov eax, dword [esi + 0xb4]
cmp edx, eax
jge 0x41513c
mov dword [esi + 0xb8], edx
mov edx, dword [esi + 0xb8]
sub eax, edx
cmp eax, 0x58c
jle 0x415109
mov eax, 0x58c
mov dword [esp + 8], eax
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov edi, dword [esi + 0xb0]
add edx, edi
mov dword [esp + 4], edx
mov ebx, dword [esi + 4]
mov dword [esp], ebx
call sub.WSOCK32.DLL_send
sub esp, 0x10
cmp eax, 0xffffffff
jne 0x4150d7
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
inc dword [esi + 0x98]
xor eax, eax
xor edx, edx
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], edx
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4167b0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov dword [esp], 0x7d0
jmp 0x4167ca
mov dword [esp], 0x3e8
call sub.KERNEL32.dll_Sleep
mov ecx, dword [ebx + 0x88]
sub esp, 4
movzx edx, word [ecx + 0x32]
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x88]
mov dword [esp], 0
add eax, 0x22
mov dword [esp + 4], eax
call sym.socket_createConnector_SO_PROCOTOL__char__unsigned_short_
cmp eax, 0xffffffff
je 0x4167c3
cmp word [ebx + 0xa], 0
mov dword [ebx + 4], eax
jne 0x416873
mov eax, dword [ebx + 0x88]
add eax, 0x22
mov dword [esp], eax
call sub.WSOCK32.DLL_gethostbyname
sub esp, 4
test eax, eax
je 0x416886
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov dword [esp + 8], ecx
lea edx, [ebp - 0x14]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym._memcpy
mov word [ebp - 0x18], 2
mov eax, dword [ebx + 0x88]
movzx ecx, word [eax + 0x32]
mov dword [esp], ecx
call sub.WSOCK32.DLL_htons
mov word [ebp - 0x16], ax
sub esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebx + 8], edx
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0xc], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebx + 0x14], edx
mov dword [esp], ebx
call method.c_SpipClient.SendLogin__
test al, al
je 0x41688b
mov byte [ebx + 0x86], 0
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp], ebx
call method.c_SpipClient.CloseSocket__
mov dword [esp], ebx
call method.c_SpipClient.ReConnect__
jmp 0x41687f
Function at 0x41b570
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], edi
xor edi, edi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym.os_access_char_const__int_
test eax, eax
js 0x41b5b0
mov eax, 1
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], ebx
mov esi, 0x5322b2
mov dword [esp + 4], esi
call sym.os_fopen_char_const__char_const_
mov esi, eax
xor eax, eax
test esi, esi
je 0x41b59f
cld
mov edi, dword [ebp - 0x10]
mov ecx, 6
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0x9b138076
mov dword [esp], 0
call sym._time
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41b686
mov edx, dword [ebp - 0x10]
mov ebx, 0x18
mov dword [edx + 8], eax
mov eax, 1
mov word [edx + 0x12], 0x88
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
call sym._fwrite
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 8]
mov ebx, ecx
shl ebx, 4
add ebx, ecx
shl ebx, 3
mov dword [esp], ebx
call sym.operator_new___unsigned_int_
mov dword [esp], eax
xor edx, edx
mov edi, eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym._memset
mov dword [esp + 0xc], esi
mov eax, 1
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
call sym._fwrite
mov dword [esp], esi
call sym._fclose
test edi, edi
je 0x41b59a
mov dword [esp], edi
call sym.operator_delete___void_
jmp 0x41b59a
mov eax, 0x12c
jmp 0x41b5fa
Function at 0x41b700
Capabilities:
Write file on windows

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
sub esp, 0xa8
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.os_access_char_const__int_
test eax, eax
js 0x41b740
mov eax, 1
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 8]
shl edx, 0xd
cmp edx, 0xffffff
ja 0x41b832
mov dword [esp], edi
mov ebx, 0x5322b2
mov dword [esp + 4], ebx
call sym.os_fopen_char_const__char_const_
mov dword [ebp - 0x8c], eax
mov edi, dword [ebp - 0x8c]
xor eax, eax
test edi, edi
je 0x41b72f
cld
mov ecx, 4
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [esi], 0x9b138076
mov dword [esp], 0
call sym._time
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x41b7a0
mov eax, 0x12c
mov dword [esi + 8], eax
mov edx, dword [ebp - 0x8c]
mov ebx, 1
mov dword [esi + 0xc], 0x2000
mov eax, 0x10
xor edi, edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._fwrite
mov ebx, dword [esi + 8]
shl ebx, 0xd
mov dword [esp], ebx
call sym.operator_new___unsigned_int_
mov dword [esp], eax
mov esi, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
call sym._memset
mov dword [esp + 4], ebx
mov ecx, dword [ebp - 0x8c]
mov edx, 1
mov dword [esp + 8], edx
mov dword [esp], esi
mov dword [esp + 0xc], ecx
call sym._fwrite
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call sym._fclose
test esi, esi
je 0x41b72a
mov dword [esp], esi
call sym.operator_delete___void_
jmp 0x41b72a
mov dword [esp + 8], edi
mov edx, 0x5322b5
lea ebx, [ebp - 0x88]
mov dword [esp + 4], edx
mov dword [esp], ebx
call sym._sprintf
mov dword [esp], ebx
xor eax, eax
mov ecx, 2
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call sym.OutLogMsg_char__int__int_
jmp 0x41b752
Function at 0x41b870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], edi
xor edi, edi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym.os_access_char_const__int_
test eax, eax
js 0x41b8b0
mov eax, 1
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], ebx
mov esi, 0x5322b2
mov dword [esp + 4], esi
call sym.os_fopen_char_const__char_const_
mov esi, eax
xor eax, eax
test esi, esi
je 0x41b89f
cld
mov edi, dword [ebp - 0x10]
mov ecx, 4
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0x9b138076
mov dword [esp], 0
call sym._time
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41b980
mov edi, dword [ebp - 0x10]
mov ebx, 0x10
mov dword [edi + 8], eax
mov eax, 1
mov dword [edi + 0xc], 0x1000
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
call sym._fwrite
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + 8]
shl ebx, 0xc
mov dword [esp], ebx
call sym.operator_new___unsigned_int_
mov dword [esp], eax
xor edx, edx
mov edi, eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym._memset
mov dword [esp + 0xc], esi
mov eax, 1
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
call sym._fwrite
mov dword [esp], esi
call sym._fclose
test edi, edi
je 0x41b89a
mov dword [esp], edi
call sym.operator_delete___void_
jmp 0x41b89a
mov eax, 0x12c
jmp 0x41b8fa

Function at 0x41b9e0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym.os_access_char_const__int_
test eax, eax
js 0x41ba56
mov dword [esp], ebx
mov esi, 0x5322d2
mov dword [esp + 4], esi
call sym.os_fopen_char_const__char_const_
test eax, eax
mov ebx, eax
je 0x41ba44
mov dword [esp + 0xc], eax
mov ecx, 1
mov eax, 0x2d24
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._fread
mov dword [esp], ebx
call sym._fclose
mov eax, 1
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], ebx
mov ecx, 0x5322b2
mov dword [esp + 4], ecx
call sym.os_fopen_char_const__char_const_
mov esi, eax
xor eax, eax
test esi, esi
je 0x41ba49
mov dword [edi], 0x9c138086
mov dword [esp], 0
call sym._time
mov dword [edi + 4], eax
xor ecx, ecx
lea eax, [edi + 0xc]
mov dword [edi + 8], 0
mov edx, 0x2d18
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._memset
mov dword [esp + 0xc], esi
mov edx, 1
mov eax, 0x2d24
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._fwrite
mov dword [esp], esi
call sym._fclose
jmp 0x41ba07
Function at 0x41bad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov edx, 0x5322b2
mov ebp, esp
push ebx
sub esp, 0x14
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.os_fopen_char_const__char_const_
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x41bb21
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp + 8]
mov edx, 1
mov dword [esp + 8], edx
mov eax, 0x2d24
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym._fwrite
mov dword [esp], ebx
call sym._fclose
mov eax, 1
add esp, 0x14
pop ebx
pop ebp
ret

Function at 0x41be50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 0xc]
mov edx, ebx
movzx esi, word [ebp + 0x10]
movsx eax, word [ecx + 0xa]
cmp esi, eax
jl 0x41be86
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ecx, esi
mov eax, dword [edx + 0xc]
shl ecx, 4
add ecx, esi
shl ecx, 2
mov ebx, ecx
mov dword [ebp - 0x1c], ecx
add ebx, eax
mov eax, dword [edi + 2]
movzx ecx, word [edi]
mov dword [ebx + 2], eax
mov edx, dword [edi + 6]
mov eax, dword [edi + 0xc]
mov word [ebx], cx
mov dword [ebx + 6], edx
mov dword [ebx + 0xc], eax
mov edx, dword [edi + 0x10]
movzx ecx, word [edi + 0xa]
mov dword [ebx + 0x10], edx
mov word [ebx + 0xa], cx
mov ecx, dword [edi + 0x14]
mov dword [ebx + 0x14], ecx
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x18], eax
mov edx, dword [edi + 0x1c]
mov dword [ebx + 0x1c], edx
mov ecx, dword [edi + 0x20]
mov dword [ebx + 0x20], ecx
mov eax, dword [edi + 0x24]
movzx ecx, byte [edi + 0x2c]
mov dword [ebx + 0x24], eax
mov edx, dword [edi + 0x28]
movzx eax, byte [edi + 0x2d]
mov byte [ebx + 0x2c], cl
lea ecx, [edi + 0x30]
mov dword [ebx + 0x28], edx
movzx edx, word [edi + 0x2e]
mov byte [ebx + 0x2d], al
lea eax, [ebx + 0x30]
mov word [ebx + 0x2e], dx
mov dword [esp + 4], ecx
mov dword [esp], eax
call method.MWORD.operator_MWORD_const_
lea edx, [edi + 0x34]
lea ecx, [ebx + 0x34]
mov dword [esp + 4], edx
mov dword [esp], ecx
call method.MWORD.operator_MWORD_const_
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x3c], edx
mov edx, dword [ebp - 0x1c]
mov edi, dword [eax + 0xc]
mov dword [ebx + 0x40], ecx
mov word [edx + edi], si
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x422af0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
mov edx, dword [esi]
test edx, edx
jne 0x422b17
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 8]
xor eax, eax
lea ebx, [esi + 0x416]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov edx, ecx
shl edx, 4
add edx, ecx
lea edi, [edx*8 + 0x18]
call sym.os_access_char_const__int_
test eax, eax
je 0x422b8c
mov dword [esp], ebx
mov eax, 0x532539
mov dword [esp + 4], eax
call sym._fopen
test eax, eax
mov ebx, eax
je 0x422b7a
mov dword [esp + 0xc], eax
mov edx, 1
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov edi, dword [esi]
mov dword [esp], edi
call sym._fwrite
mov dword [esp], ebx
call sym._fclose
mov ebx, dword [ebp - 0xc]
mov eax, 1
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], ebx
call sym._remove
jmp 0x422b40

Function at 0x422ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
mov eax, dword [esi]
test eax, eax
jne 0x422bc7
xor eax, eax
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
xor edx, edx
lea ebx, [esi + 0x416]
mov dword [esp + 4], edx
mov dword [esp], ebx
call sym.os_access_char_const__int_
test eax, eax
jne 0x422bb8
mov dword [esp], ebx
mov ecx, 0x53253c
mov dword [ebp - 0x10], 0
mov dword [esp + 4], ecx
call sym._fopen
test eax, eax
mov ebx, eax
je 0x422bb8
mov dword [esp], eax
mov ecx, 2
xor edi, edi
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
call sym._fseek
mov dword [esp], ebx
call sym._ftell
mov dword [esp], ebx
xor edx, edx
mov edi, eax
mov dword [esp + 8], edx
xor eax, eax
mov dword [esp + 4], eax
call sym._fseek
test edi, edi
jle 0x422c6f
mov dword [esp], edi
call sym.operator_new___unsigned_int_
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._memset
mov dword [esp + 0xc], ebx
mov eax, dword [ebp - 0x10]
mov edx, 1
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._fread
mov dword [esp], ebx
call sym._fclose
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x422bb8
mov edx, dword [ebp - 0x10]
mov edi, dword [esi]
mov ecx, dword [edx + 8]
mov ebx, dword [edi + 8]
mov edx, ecx
mov eax, ebx
shl eax, 4
shl edx, 4
add eax, ebx
add edx, ecx
lea eax, [eax*8 + 0x18]
lea edx, [edx*8 + 0x18]
cmp edx, eax
jle 0x422cc2
mov esi, dword [ebp - 0x10]
mov dword [esp], esi
call sym.operator_delete___void_
mov eax, 1
jmp 0x422bba
mov dword [esp], edi
mov ecx, dword [ebp - 0x10]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call sym._memmove
mov edi, dword [esi]
mov dword [edi + 8], ebx
jmp 0x422cad
Function at 0x422ea0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
lea ebx, [ebp - 0x5c]
mov dword [ebp - 8], esi
lea esi, [ebp - 0x18]
mov dword [ebp - 0x34], esp
mov dword [esp], ebx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x44], sym.___gxx_personality_sj0
mov dword [ebp - 0x40], 0x520308
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0x422fc0
call sym.__Unwind_SjLj_Register
mov edx, dword [ebp - 0x60]
mov ecx, dword [edx + 0x520]
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x28], ecx
mov dword [esp], ecx
call sub.KERNEL32.dll_EnterCriticalSection
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x60]
sub esp, 4
add eax, 0x16
mov dword [ebp - 0x64], eax
mov dword [esp], eax
call method.c_FileManager.CloseFile_char_
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx + 8]
mov dword [esp], eax
call method.c_FileManager.MulMapClose_DC_FILEMULMAP_
mov edx, dword [ebp - 0x64]
mov dword [esp], edx
call sym._remove
mov ebx, dword [ebp - 0x60]
add ebx, 0x116
mov dword [ebp - 0x68], ebx
mov dword [esp], ebx
call sym._remove
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
add esi, 0x216
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._rename
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x68]
add eax, 0x316
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._rename
mov edx, dword [ebp - 0x60]
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp], edx
call method.c_HisManage.Initial_int_
mov dword [ebp - 0x58], 0xffffffff
mov edx, dword [ebp - 0x28]
movzx ebx, al
mov dword [ebp - 0x6c], ebx
mov dword [esp], edx
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
lea ecx, [ebp - 0x5c]
mov dword [esp], ecx
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x423a00
Capabilities:
Decompress data using quicklz

Disassembly:
push ebp
mov ebp, esp
lea ecx, [ebp - 0x18]
push edi
push esi
lea esi, [ebp - 0x5c]
push ebx
sub esp, 0x7c
mov eax, dword [ebp + 0x10]
movzx edi, word [ebp + 0xc]
mov dword [ebp - 0x3c], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], edi
mov dword [esp], esi
mov dword [ebp - 0x44], sym.___gxx_personality_sj0
mov dword [ebp - 0x40], 0x52031a
mov dword [ebp - 0x38], 0x423baa
call sym.__Unwind_SjLj_Register
mov edx, dword [ebp - 0x64]
mov ebx, dword [edx + 0x520]
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x28], ebx
mov dword [esp], ebx
call sub.KERNEL32.dll_EnterCriticalSection
cld
mov edi, dword [ebp - 0x6c]
xor eax, eax
mov ecx, 8
sub esp, 4
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
mov edx, dword [ecx]
cmp eax, dword [edx + 0xc]
jae 0x423af2
mov esi, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x68]
shl esi, 4
add esi, ecx
lea ebx, [edx + esi*8 + 0x18]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x423ac0
mov edi, dword [ebp - 0x64]
dec eax
xor edx, edx
div dword [edi + 0xc]
cmp eax, 0x1d
mov edi, edx
ja 0x423ac0
mov ecx, dword [ebx + eax*4 + 0x10]
mov ebx, dword [ebp - 0x64]
mov eax, dword [ebx + 4]
cmp dword [eax + 8], ecx
ja 0x423b00
lea esi, [esi]
lea edi, [edi]
mov dword [ebp - 0x58], 0xffffffff
mov edi, dword [ebp - 0x28]
mov dword [esp], edi
call sub.KERNEL32.dll_LeaveCriticalSection
mov dword [ebp - 0x60], 0
sub esp, 4
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x60]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp - 0x28]
mov dword [esp], edx
jmp 0x423acd
mov ebx, dword [ebp - 0x64]
mov eax, ecx
and ecx, 0x7ff
shr eax, 0xb
shl ecx, 0xd
mov edx, dword [ebx + 8]
shl edi, 5
mov esi, dword [edx + eax*4 + 0x88]
mov edx, dword [ebp - 0x6c]
add ecx, esi
lea ebx, [ecx + edi + 0x10]
mov ecx, dword [ebx]
mov dword [ebp - 0x70], ebx
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov dword [edx], ecx
mov ecx, ebx
mov eax, dword [ecx + 0x10]
mov dword [edx + 4], edi
mov ebx, dword [ebx + 0xc]
mov edi, ecx
mov dword [edx + 8], esi
mov esi, edx
add edi, 0x14
mov dword [edx + 0xc], ebx
add esi, 0x14
mov dword [edx + 0x10], eax
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [ebp - 0x58], 1
call method.MWORD.operator_MWORD_const_
mov ecx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x6c]
add ecx, 0x18
mov dword [esp + 4], ecx
add edi, 0x18
mov dword [esp], edi
call method.MWORD.operator_MWORD_const_
mov ebx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebx + 0x1c]
mov dword [edx + 0x1c], eax
mov dword [esp], esi
mov dword [ebp - 0x58], 0xffffffff
call sub.KERNEL32.dll_LeaveCriticalSection
mov dword [ebp - 0x60], 1
sub esp, 4
jmp 0x423adc