joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57e9e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x20]
mov eax, esi
lea edx, [esp + 0x28]
sub eax, 4
mov ecx, ebx
push 0
push edx
sbb ecx, 0
push eax
push edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
call ebp
cmp eax, 0xffffffff
jne 0x57ea29
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x57eb0a
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push edi
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x57eb0a
cmp dword [esp + 0x20], 4
jne 0x57eb0a
lea edx, [esp + 0x10]
push edx
call fcn.005a0610
add esp, 4
test eax, eax
jbe 0x57eb0a
mov edx, 0xfffffffc
xor ecx, ecx
sub edx, eax
mov eax, 0xffffffff
sbb eax, ecx
add esi, edx
adc ebx, eax
js 0x57eb0a
jg 0x57ea8e
test esi, esi
jbe 0x57eb0a
lea ecx, [esp + 0x28]
push 0
push ecx
push esi
push edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
call ebp
cmp eax, 0xffffffff
jne 0x57eab0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x57eb0a
lea edx, [esp + 0x20]
push 0
push edx
lea eax, [esp + 0x18]
push 0xc
push eax
push edi
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x57ead8
cmp dword [esp + 0x20], 0xc
jne 0x57eb0a
lea ecx, [esp + 0x14]
push ecx
call fcn.005a05e0
movsx edx, byte [esp + 0x1b]
shl edx, 0x18
add esp, 4
or eax, edx
je 0x57e9f9
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, 1
pop ebx
add esp, 0xc
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 0x10
Function at 0x591cd0
Capabilities:
Access peb ldr_data
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x62cec8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, 0xf0
push ebx
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
xor eax, eax
mov dword [esp + 0xc], eax
push esi
mov dword [esp + 0x14], eax
mov esi, ecx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0xc]
push edi
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x3220]
lea edx, [esp + 0x14]
push ecx
xor ebx, ebx
push edx
push eax
mov byte [esp + 0x30], 0xef
mov byte [esp + 0x34], 0xff
mov byte [esp + 0x35], 0xff
mov byte [esp + 0x36], 0xff
mov byte [esp + 0x37], 0xff
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0xa0
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], 2
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov dword [esp + 0x1c], 0x10
call sub.WS2_32.dll_getsockname
cmp eax, ebx
je 0x591d95
call sub.WS2_32.dll_WSAGetLastError
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
mov ecx, dword [0x6cd768]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x16]
mov dword [esp + 0x40], ebx
push edx
call sub.WS2_32.dll_ntohs
mov ecx, dword [esp + 0x1b]
mov edx, dword [esp + 0x1a]
and eax, 0xffff
and ecx, 0xff
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x21]
push ecx
mov ecx, dword [esp + 0x24]
and edx, 0xff
and eax, 0xff
push edx
and ecx, 0xff
push eax
push ecx
lea edx, [esp + 0x24]
push str._d._d._d._d_s_ld
push edx
call fcn.005fc86b
mov eax, dword [esp + 0x2c]
add esp, 0x20
lea ecx, [esp + 0x24]
push eax
push 0x14
push ecx
push 2
mov ecx, esi
call fcn.005916f0
mov edi, eax
cmp edi, ebx
je 0x591e37
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.00603a3c
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
push 0x18
lea ecx, [esi + 0x3214]
call fcn.0059db90
mov ecx, esi
call fcn.0054f6f0
lea ecx, [esp + 0xc]
mov dword [esi + 0x8c], 4
mov dword [esp + 0x40], 0xffffffff
call fcn.00603a3c
mov ecx, dword [esp + 0x38]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x5932d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [ecx + 0x31e8]
push esi
push edi
test ebx, ebx
mov dword [esp + 0x10], ecx
jne 0x5932ed
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
cmp ebx, 0x186a0
jbe 0x5932fa
mov ebx, 0x186a0
mov eax, dword [ecx + 0xb0]
push 0
push 0
push 3
mov ecx, dword [eax + 0x30]
push 0
push 3
push bind
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x59333a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x5933c0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xc
ret
push ebx
call fcn.005ffe3f
mov esi, eax
add esp, 4
test esi, esi
jne 0x59335c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 0x753b
pop ebx
add esp, 0xc
ret
push ebp
lea edx, [esp + 0x10]
push 0
push edx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
pop ebp
je 0x5933aa
cmp dword [esp + 0xc], ebx
jne 0x5933aa
mov ecx, dword [esp + 0x10]
push ebx
push esi
call fcn.00593450
push esi
mov edi, eax
call fcn.005ffe68
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret
push esi
call fcn.005ffe68
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x5933c0
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x595f20
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov esi, dword [ebp + 0x31e8]
cmp esi, 0x186a0
jbe 0x595f3c
mov esi, 0x186a0
mov eax, dword [ebp + 0xb0]
push 0
push 0
push 3
mov ecx, dword [eax + 0x30]
push 0
push 3
push bind
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x595f7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x59602f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
push esi
call fcn.005ffe3f
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x595fa4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0x753b
pop ebx
add esp, 0xc
ret 4
lea edx, [esp + 0x14]
push 0
push edx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x596019
cmp dword [esp + 0x14], esi
jne 0x596019
mov edi, dword [ebp + 0x326c]
mov ecx, esi
mov esi, ebx
xor eax, eax
mov edx, dword [esp + 0x20]
push ebx
repe cmpsb byte [esi], byte es:[edi]
setne cl
mov byte [edx], cl
call fcn.005ffe68
mov eax, dword [ebp + 0x326c]
push eax
call fcn.005ffe68
add esp, 8
mov dword [ebp + 0x326c], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
push ebx
call fcn.005ffe68
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
jne 0x59602f
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x598d30
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esi + 0x100], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], 0
cmp dword [esi + 0x68], 0xffffffff
jne 0x598d70
mov eax, dword [esi + 0x6c]
test eax, eax
jne 0x598d70
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x598d70
xor eax, eax
pop esi
ret 4
mov edx, dword [esp + 8]
push 1
push 0
push 0
push edx
call fcn.005e9a70
mov ecx, dword [esi + 0x68]
add ecx, eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x6c]
adc eax, edx
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
or eax, dword [esi + 0x6c]
jne 0x598d9e
xor eax, eax
pop esi
ret 4
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov eax, 1
pop esi
ret 4
Function at 0x59aa90
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x59ab5a
mov ecx, dword [esi + 0x38]
push ebx
push 3
lea edi, [eax + ecx - 4]
call sub.WS2_32.dll_htonl
mov dword [edi], eax
mov ebx, dword [esi + 0xf0]
push 0x3e8
mov dl, byte [ebx + 8]
neg dl
sbb edx, edx
and edx, 8
mov edi, edx
call sub.WS2_32.dll_htonl
test edi, edi
mov dword [ebx + edi + 0x14], eax
je 0x59ab08
mov eax, dword [esi + 0xf0]
push ebp
lea ebp, [edi + eax + 0x18]
mov eax, dword [esp + 0x20]
push eax
call sub.WS2_32.dll_htonl
mov ebx, eax
xor eax, eax
push eax
xor edi, edi
call sub.WS2_32.dll_htonl
xor ecx, ecx
or edi, eax
or ebx, ecx
mov dword [ebp], edi
mov dword [ebp + 4], ebx
pop ebp
jmp 0x59ab1d
mov edx, dword [esp + 0x1c]
mov edi, dword [esi + 0xf0]
push edx
add edi, 0x18
call sub.WS2_32.dll_htonl
mov dword [edi], eax
mov edi, dword [esi + 0x38]
mov ecx, dword [esi + 0xf0]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push 0
push eax
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
pop ebx
je 0x59ab5a
mov ecx, dword [esp + 8]
cmp edi, ecx
jne 0x59ab5a
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
add edx, ecx
mov dword [eax], edx
mov ecx, dword [eax + 4]
adc ecx, 0
mov dword [eax + 4], ecx
pop edi
pop esi
pop ecx
ret 0xc

Function at 0x59ab60
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push eax
call sub.WS2_32.dll_htonl
mov ecx, dword [str.moov]
lea edx, [esp + 0x10]
mov dword [esp], eax
push 0
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x10]
push edx
lea eax, [esp + 8]
push 8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x59abaa
cmp dword [esp + 0x10], 8
jne 0x59abaa
mov eax, 1
add esp, 8
ret 8
xor eax, eax
add esp, 8
ret 8
Function at 0x59abc0
Capabilities:
Read file via mapping

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push 0
push 0
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x59abe6
pop ebx
pop ecx
ret 0x14
push esi
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], 1
lea ecx, [edi + 4]
push ecx
push 0
push 0
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x59ac83
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x24]
test ebx, ebx
jl 0x59ac54
jg 0x59ac1f
cmp ebp, 0xffffffff
jbe 0x59ac54
add ebp, 8
push 1
adc ebx, 0
call sub.WS2_32.dll_htonl
mov dword [edi + esi - 8], eax
mov edx, dword [str.mdat]
mov eax, ebx
push ebx
sar eax, 0x1f
mov dword [edi + esi - 4], edx
call sub.WS2_32.dll_htonl
push ebp
mov dword [edi + esi], eax
call sub.WS2_32.dll_htonl
mov dword [edi + esi + 4], eax
jmp 0x59ac5d
push ebp
call sub.WS2_32.dll_htonl
mov dword [edi + esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret 0x14

Function at 0x59aca0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
push esi
push edi
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 8]
push 0x20
rep stosd dword es:[edi], eax
call sub.WS2_32.dll_htonl
mov ecx, dword [0x6c3f28]
mov edx, dword [str.isomiso2avc1mp41]
mov dword [esp + 8], eax
mov eax, dword [str.ftypisom]
mov dword [esp + 0xc], eax
mov eax, dword [0x6c3f14]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x6c3f18]
mov dword [esp + 0x18], edx
mov edx, dword [0x6c3f1c]
push 8
mov byte [esp + 0x1a], 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call sub.WS2_32.dll_htonl
mov esi, dword [esp + 0x44]
mov ecx, dword [str.mdat]
mov dword [esp + 0x28], eax
mov eax, dword [str.free]
push 0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
push esi
lea edx, [esp + 0x10]
push 0x30
push edx
push eax
mov dword [esp + 0x48], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x59ad5a
cmp dword [esi], 0x30
jne 0x59ad5a
mov eax, dword [esp + 0x40]
pop edi
pop esi
mov dword [eax], 0x28
mov dword [eax + 4], 0
mov eax, 1
add esp, 0x30
ret 0xc
pop edi
xor eax, eax
pop esi
add esp, 0x30
ret 0xc
Function at 0x59ad70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
push esi
mov esi, ecx
push edi
mov ecx, 9
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
push 0x24
call sub.WS2_32.dll_htonl
mov dword [esp + 0xc], eax
mov eax, dword [str.edts]
push 0x1c
mov dword [esp + 0x14], eax
call sub.WS2_32.dll_htonl
mov ecx, dword [str.elst]
push 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call sub.WS2_32.dll_htonl
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x78]
push eax
call sub.WS2_32.dll_htonl
push 1
mov dword [esp + 0x28], eax
call sub.WS2_32.dll_htonl
mov esi, dword [esi + 0xcc]
mov dword [esp + 0x2a], eax
push esi
call sub.WS2_32.dll_htonl
mov ecx, dword [esp + 0x34]
lea edx, [esp + 8]
mov dword [esp + 0x28], eax
push 0
push edx
lea eax, [esp + 0x14]
push 0x24
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
add esp, 0x28
ret 4
Function at 0x59d4c0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x62d700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], 0x6339c0
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x6cd768]
lea edi, [esi + 0x18]
mov dword [esp + 0x28], ebx
mov dword [edi], eax
mov ecx, dword [0x6cd768]
mov dword [esi + 0x1c], ecx
mov edx, dword [0x6cd768]
mov dword [esi + 0x20], edx
mov eax, dword [0x6cd768]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x6cd768]
mov dword [esi + 0x30], ecx
lea ebp, [esi + 0x34]
lea edx, [ebp + 4]
mov dword [ebp], ebx
mov dword [ebp + 8], ebx
mov word [edx], bx
mov ecx, dword [0x6cd768]
lea eax, [esi + 0x40]
mov dword [eax], ecx
mov edx, dword [esp + 0x30]
mov byte [esp + 0x28], 7
push edx
push 0x6a10a0
push eax
mov dword [esi], 0x63f1b0
call fcn.005fc86b
mov eax, dword [esp + 0x40]
add esp, 0xc
push eax
push 0x6a10a0
push edi
call fcn.005fc86b
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, ebx
je 0x59d58d
push eax
lea eax, [esi + 0x1c]
push 0x6a10a0
push eax
call fcn.005fc86b
add esp, 0xc
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x59d5a7
push eax
lea eax, [esi + 0x20]
push 0x6a10a0
push eax
call fcn.005fc86b
add esp, 0xc
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push eax
lea eax, [esi + 0x2c]
push 0x6a10a0
push eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
call fcn.005fc86b
mov edx, dword [esp + 0x58]
add esp, 0xc
cmp edx, ebx
je 0x59d5f3
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x59d5f3
push edx
lea eax, [esi + 0x30]
push 0x6a10a0
push eax
call fcn.005fc86b
add esp, 0xc
mov edi, dword [esp + 0x50]
cmp edi, ebx
je 0x59d6c0
push edi
call fcn.005e71bf
add esp, 4
test eax, eax
je 0x59d6c0
cmp dword [ebp], ebx
je 0x59d67c
push edi
call fcn.005e71bf
add esp, 4
test eax, eax
je 0x59d67c
mov eax, dword [ebp]
cmp eax, edi
ja 0x59d67c
push eax
call fcn.005e71bf
mov ecx, dword [ebp]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, edi
jb 0x59d67c
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], bx
call fcn.00402410
mov eax, dword [esp + 0x14]
mov byte [esp + 0x28], 8
cmp eax, ebx
jne 0x59d664
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call fcn.00402410
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 7
call fcn.00401070
jmp 0x59d6c0
mov ecx, ebp
call fcn.00401070
push edi
call fcn.005e71bf
add esp, 4
test eax, eax
je 0x59d6c0
push edi
call fcn.005e71bf
lea eax, [eax + eax + 2]
push eax
call fcn.005ffe3f
add esp, 8
cmp eax, ebx
mov dword [ebp], eax
je 0x59d6c0
push edi
call fcn.005e71bf
mov ecx, dword [ebp]
push edi
push ecx
mov dword [ebp + 8], eax
call fcn.005e7389
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x24
Function at 0x59d700
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x62d770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x63f1b0
mov dword [esp + 0x10], 7
call fcn.0059d7d0
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 6
call fcn.00603a3c
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 5
call fcn.00401070
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.00603a3c
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 3
call fcn.00603a3c
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 2
call fcn.00603a3c
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 1
call fcn.00603a3c
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 0
call fcn.00603a3c
add esi, 4
mov dword [esp + 4], esi
mov dword [esi], method.CCommandLineInfo.virtual_0
mov eax, dword [esi + 4]
mov dword [esp + 0x10], 8
test eax, eax
je 0x59d7bd
mov ecx, dword [esi + 8]
push ecx
push eax
call fcn.005fc8f8
mov edx, dword [esi + 4]
push edx
call fcn.005ffe68
add esp, 4
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x59ee10
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [esi]
mov edi, dword [esi + 0x8c]
mov dword [ebp - 4], ebx
call dword [eax + 0x20]
mov eax, dword [esi + 0x31dc]
cmp dword [eax + 0x134], 2
jne 0x59ee7f
cmp dword [esi + 0x54], ebx
jl 0x59ee7f
jg 0x59ee5e
cmp dword [esi + 0x50], ebx
jbe 0x59ee7f
mov dword [esi + 0x8c], 7
mov dword [esi + 0x84], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x18
je 0x59ee89
cmp edi, 0x15
jne 0x59ee6e
cmp dword [esi + 0xd0], ebx
je 0x59ee6e
cmp dword [eax + 0x140], 0x757b
jne 0x59ee6e
mov ecx, esi
call fcn.005a5a80
cmp eax, ebx
je 0x59ef96
push str.OneKeyFrameBack_failed__Erase_outfile_n
mov ecx, esi
call fcn.0054d2a0
mov ecx, dword [esi + 0x90]
lea eax, [ebp - 0x28]
mov edx, dword [ecx + 0x60]
push edx
push str._dkf
push eax
call fcn.005e7bd3
mov edx, dword [esi + 0x31dc]
add esp, 0xc
lea ecx, [ebp - 0x28]
mov eax, dword [edx + 0x104]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esi + 0x90]
mov edx, dword [ecx + 0x10]
lea ecx, [esi + 0x10]
push edx
call fcn.00555c00
mov ecx, dword [esi + 0x90]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x6c], ebx
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
fild qword [ebp - 0x18]
cmp eax, ebx
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd8], ebx
fstp qword [esi + 0x31e0]
jne 0x59ef59
mov eax, dword [esi + 0x31dc]
cmp ecx, dword [eax + 0xb0]
jne 0x59ef59
push str.This_is_first_part__n
mov ecx, esi
call fcn.0054d2a0
mov byte [esi + 0x31f1], 1
mov byte [esi + 0x31f3], bl
jmp 0x59ef60
mov byte [esi + 0x31f3], 1
mov byte [esi + 0x31f5], bl
mov byte [esi + 0x31f6], bl
mov dword [esi + 0x4a18], ebx
mov dword [esi + 0x4a1c], ebx
mov byte [esi + 0x31ed], bl
mov byte [esi + 0x31ec], bl
mov dword [esi + 0x3228], ebx
mov byte [esi + 0x31f9], bl
mov byte [esi + 0x31f8], bl
mov ecx, esi
mov byte [esi + 0xcd], 1
call fcn.00551540
mov edx, dword [esi]
lea eax, [esi + 0x31d8]
push eax
mov ecx, esi
call dword [edx + 0x18]
cmp eax, ebx
je 0x59ee6e
mov ecx, dword [esi + 0x31dc]
cmp eax, 0x7569
mov dword [ecx + 0x140], eax
jne 0x59ee6e
mov ecx, dword [esi + 0x31dc]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59f000
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d838
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
call fcn.005a0930
mov eax, dword [esi + 0x3208]
mov byte [esi + 0x31ed], bl
cmp eax, ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0x49e4], ebx
mov byte [esi + 0x31f9], bl
mov byte [esi + 0xcd], bl
jne 0x59f06b
push 0x601
call fcn.005ffe3f
add esp, 4
mov dword [esi + 0x3208], eax
mov eax, dword [esi + 0x3208]
cmp eax, ebx
jne 0x59f08b
mov eax, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [eax], 3
lea eax, [ebp - 0x24]
push eax
call fcn.005e8b67
mov ecx, dword [ebp - 0x24]
add esp, 4
push ecx
call sub.WS2_32.dll_htonl
mov edx, dword [esi + 0x3208]
mov edi, 9
mov dword [edx + 1], eax
mov eax, dword [esi + 0x3208]
add eax, 5
mov dword [eax], ebx
cmp edi, 0x600
jg 0x59f0e4
call fcn.005e983a
and eax, 0x800000ff
jns 0x59f0d7
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [esi + 0x3208]
inc edi
mov byte [ecx + edi - 1], al
jmp 0x59f0bc
mov edx, dword [esi + 0xb0]
cmp dword [edx + 0x24], 5
jne 0x59f10a
mov eax, dword [esi + 0x3208]
push 0x601
push eax
push str.send
mov ecx, esi
call fcn.005a0050
jmp 0x59f130
mov ecx, dword [esi + 0x3208]
mov edx, dword [esi + 0x31d8]
push str.send_handshake
push ebx
push 0x601
push ecx
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054d360
mov edi, eax
mov eax, dword [0x6cd768]
mov dword [ebp - 0x14], eax
push edi
lea ecx, [ebp - 0x14]
push str.sending_handshake__res___ld_n
push ecx
mov byte [ebp - 4], 1
call fcn.005fc86b
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov ecx, esi
push edx
call fcn.0054d2a0
mov ecx, esi
mov dword [esi + 0x320c], ebx
mov dword [esi + 0x3210], ebx
mov byte [esi + 0x31ee], bl
mov byte [esi + 0x31ef], bl
call fcn.0054f6f0
lea ecx, [ebp - 0x14]
mov dword [esi + 0x8c], 0x14
mov byte [ebp - 4], bl
call fcn.00603a3c
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret