joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4825e6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc00
lea eax, [ebp - 0x400]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00482553
add esp, 8
push 0x4dc004
lea edx, [ebp - 0x400]
push edx
push 0x4dc010
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0x800]
push ecx
push 0x400
lea edx, [ebp - 0xc00]
push edx
push 0x4dc018
push str.LicType
push 0x4dc024
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x4dc02c
lea eax, [ebp - 0xc00]
push eax
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push eax
call fcn.004a547c
add esp, 8
test eax, eax
jne 0x482679
mov dword [0x50694c], 2
jmp 0x482683
mov dword [0x50694c], 1
lea ecx, [ebp - 0x800]
push ecx
push 0
push str.NetType
push str.LockSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x506904], eax
lea edx, [ebp - 0x800]
push edx
push 0x40
push 0x506908
push str.127.0.0.1
push 0x4dc04c
push 0x4dc050
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x800]
push eax
push 0x1f40
push str.Port
push str.ServerInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x506948], eax
mov eax, dword [0x50694c]
mov esp, ebp
pop ebp
ret

Function at 0x4890ef
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push esi
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x274], 0x4dc1a8
lea eax, [ebp - 0x130]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], 0xc8
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x268], ecx
mov dword [ebp - 4], 0xc8
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x268]
push eax
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x278]
push eax
mov ecx, dword [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp dword [ebp - 0x278], 0
jne 0x48918a
mov dword [ebp - 0x278], 0x3c1a3dec
mov ecx, dword [ebp - 0x278]
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp + 8]
mov word [edx], cx
mov eax, dword [ebp + 0xc]
mov cx, word [ebp - 0x278]
mov word [eax], cx
mov edx, dword [ebp + 8]
xor eax, eax
mov ax, word [edx]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ax, word [edx]
cdq
mov esi, 3
idiv esi
add ecx, eax
mov eax, dword [ebp + 0x10]
mov word [eax], cx
mov ecx, dword [ebp + 8]
mov dx, word [ecx]
xor dx, 0xa4b3
mov eax, dword [ebp + 8]
mov word [eax], dx
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx]
xor dx, 0x1e3f
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4982b0
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a8af2
push eax
mov al, byte [0x4dc8c1]
mov dword fs:[0], esp
sub esp, 0x1a0
test al, al
je 0x4984c4
mov eax, dword [esp + 0x1b0]
mov byte [0x4dc8c1], 0
test eax, eax
mov byte [0x4dc8c0], 1
je 0x4982fc
push eax
mov ecx, 0x507da0
call fcn.004a4cf0
mov eax, dword [esp + 0x1b4]
test eax, eax
je 0x49830c
mov dword [0x507da4], eax
lea ecx, [esp]
call fcn.004a4816
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x1a8], 0
test eax, eax
je 0x49832e
push eax
jmp 0x498333
push 0x4dc8dc
lea ecx, [esp + 4]
call fcn.004a4cf0
lea ecx, [esp + 0xc]
call fcn.004a4816
lea eax, [esp + 4]
push 0x1e
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1b0], 1
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac], 2
call fcn.004a4d20
lea ecx, [esp + 4]
mov byte [esp + 0x1a8], 1
call sub.MFC42.DLL_CString::CString
push str.__NCB_080529_1120
lea ecx, [esp + 4]
call fcn.004a4cf0
lea ecx, [esp + 8]
call fcn.004a4816
lea ecx, [esp + 4]
push 0x11
push ecx
lea ecx, [esp + 8]
mov byte [esp + 0x1b0], 3
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1ac], 4
call fcn.004a4d20
lea ecx, [esp + 4]
mov byte [esp + 0x1a8], 3
call sub.MFC42.DLL_CString::CString
push 0x4dc8c4
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 8]
push eax
push ecx
call sub.MFC42.DLL_operator_1
push eax
mov ecx, 0x507d9c
mov byte [esp + 0x1ac], 5
call fcn.004a4d20
lea ecx, [esp + 4]
mov byte [esp + 0x1a8], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x1a8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1a8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov dword [esp + 0x1a8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x507da4]
test eax, eax
je 0x4984a3
mov edx, dword [0x507da0]
mov eax, dword [edx - 8]
test eax, eax
je 0x4984a3
lea eax, [esp + 0x10]
push eax
push 4
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x49847c
mov byte [0x4dc8c0], 0
call fcn.0049c3f0
mov cl, byte [0x4dc8c0]
test cl, cl
jne 0x4984d0
or eax, 0xffffffff
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
add esp, 0x1ac
ret
mov byte [0x4dc8c0], 0
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
add esp, 0x1ac
ret
mov al, byte [0x4dc8c0]
neg al
sbb eax, eax
neg eax
dec eax
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
add esp, 0x1ac
ret
Function at 0x49cfb0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
mov dword [esi], 0x4b3d3c
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0xc]
push 0xc8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x49cfe3
mov edx, dword [esi + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 8]
push ecx
call edi
mov edx, dword [esi + 4]
push edx
call edi
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
pop esi
ret

Function at 0x49d1f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8e18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
or eax, 0xffffffff
push esi
mov dword [esp + 0x14], eax
push edi
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x30]
mov edi, ecx
mov byte [esp + 0x10], al
mov byte [esp + 0x11], 0
mov byte [esp + 0x1c], al
mov byte [esp + 0x1d], 0
call dword [sym.imp.MSVCRT.dll__getpid]
mov word [esp + 0x1e], ax
call dword [sym.imp.MSVCRT.dll_rand]
lea esi, [edi + 0x14]
mov dword [esp + 0x18], eax
test esi, esi
mov dword [esp + 8], 0x4b3d58
mov dword [esp + 0xc], esi
je 0x49d25f
lea ecx, [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0xc]
lea ecx, [edi + 4]
lea edx, [esp + 0x10]
mov dword [esp + 0x28], 0
push edx
push 1
push eax
call fcn.0049d5f0
test esi, esi
je 0x49d288
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x20]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x4a2070
Capabilities:
Get disk information

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push eax
xor ebp, ebp
call fcn.004a2250
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4a2098
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
pop ecx
ret
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx]
lea eax, [edx*4 + 4]
push eax
call fcn.004a5488
mov esi, dword [esp + 0x20]
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi], edi
jne 0x4a20c2
pop edi
pop esi
mov dword [ebx], eax
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [ebx]
xor eax, eax
push 0x8000
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.004a5488
add esp, 4
mov ebx, eax
mov ecx, 0x2000
xor eax, eax
mov edi, ebx
push 0x8000
push ebx
push eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jne 0x4a2125
mov eax, dword [esp + 0x20]
push ebx
mov dword [eax], 0
call fcn.004a5482
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0x8000]
cmp eax, ecx
jae 0x4a222b
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4a2227
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push edx
call fcn.004a5650
add esp, 0xc
test eax, eax
jne 0x4a2206
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 8
push ecx
call fcn.004a5488
mov ecx, dword [esi]
mov edi, ebx
add esp, 4
mov dword [ecx + ebp*4], eax
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi]
repne scasb al, byte es:[edi]
mov edi, dword [edx + ebp*4]
not ecx
add ecx, 3
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi]
mov edi, ebx
not ecx
mov edx, dword [eax + ebp*4]
add ecx, 3
mov dword [edx], ecx
mov eax, dword [esi]
mov edx, dword [str.._]
mov ecx, dword [eax + ebp*4]
add ecx, 4
mov dword [ecx], edx
mov al, byte [0x4e85f4]
mov byte [ecx + 4], al
mov ecx, dword [esi]
xor eax, eax
mov edx, dword [ecx + ebp*4]
or ecx, 0xffffffff
add edx, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
add eax, 0x8000
lea ebx, [ebx + ecx + 1]
cmp ebx, eax
jb 0x4a2137
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push eax
mov dword [ecx], ebp
call fcn.004a5482
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4a3130
Capabilities:
Get hostname

Disassembly:
mov eax, dword [ecx + 0x10]
push esi
lea esi, [ecx + 0x10]
push edi
test eax, eax
jne 0x4a3159
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
inc eax
pop edi
neg eax
sbb eax, eax
pop esi
neg eax
dec eax
ret 8
call fcn.004a3480
push eax
push 4
push esi
call fcn.004a41c0
add esp, 0xc
test eax, eax
je 0x4a31e6
mov esi, dword [eax]
test esi, esi
je 0x4a31e6
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
dec ecx
cmp ecx, eax
jb 0x4a31c0
test eax, eax
jbe 0x4a31aa
mov edx, dword [esp + 0xc]
lea ecx, [eax - 1]
push ebx
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
pop ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [edx + eax - 1], 0
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 0x27
pop edi
mov eax, 0xfffffffe
pop esi
ret 8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret 8
pop edi
or eax, 0xffffffff
pop esi
ret 8

Function at 0x4a3800
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4a382f
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
pop esi
ret

Function at 0x4a3860
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x4a388f
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
pop esi
ret

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

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x4a3904
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
pop esi
ret

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

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x4a3944
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
pop esi
ret
Function at 0x4a3950
Capabilities:
Set socket configuration

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
cmp ecx, 0xffff
jne 0x4a3974
cmp eax, 4
jne 0x4a3968
xor eax, eax
ret
cmp eax, 0x400
jne 0x4a3974
mov eax, 4
mov edx, dword [esp + 0x14]
push esi
push edi
push edx
mov edx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x18]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a39bb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [sym.imp.MSVCRT.dll__errno]
mov esi, eax
call edi
mov dword [eax], esi
or esi, 0xffffffff
call edi
cmp dword [eax], 0x273d
jne 0x4a39bb
call edi
mov dword [eax], 0x59
mov eax, esi
pop edi
pop esi
ret

Function at 0x4a41a0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
ret

Function at 0x4a4230
Capabilities:
Get socket status

Disassembly:
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x4a423c
xor eax, eax
jmp 0x4a4241
call fcn.004a33e0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_select]
ret
Function at 0x40da90
Capabilities:
Parse credit card information

Disassembly:
mov eax, 0x2010
call fcn.00426e10
mov eax, dword [esp + 0x201c]
push ebx
mov ebx, dword [esp + 0x201c]
push ebp
xor ebp, ebp
or ecx, 0xffffffff
push esi
push edi
mov word [esp + 0x18], cx
cmp dword [eax + 8], ebp
jbe 0x40daee
xor edi, edi
lea ecx, [ecx]
mov ecx, dword [eax + 4]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x40dae8
movzx eax, word [esi + 8]
cmp ax, 0x3f
jle 0x40dbaf
push esi
call fcn.00413549
mov eax, dword [esp + 0x2030]
add esp, 4
inc edi
cmp edi, dword [eax + 8]
jb 0x40dac0
mov dword [eax + 8], ebp
cmp word [ebx], bp
je 0x40dc69
lea ebx, [ebx]
cmp ax, 0x30
jl 0x40dad8
mov eax, dword [esi]
test eax, eax
je 0x40dad8
mov ecx, dword [eax + 0xc]
dec dword [ecx]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
cmp dword [edx], ebp
je 0x42b86c
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00413549
add esp, 4
jmp 0x40dad8
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push ecx
call fcn.00413549
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
push eax
call fcn.00413549
add esp, 8
jmp 0x40dbd7
Function at 0x410e80
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi + 0x58]
cmp dword [esi + 0x5c], eax
je 0x410e95
mov ecx, dword [esi + 0x5c]
movzx eax, byte [ecx + esi + 0x14]
inc ecx
mov dword [esi + 0x5c], ecx
ret
cmp eax, 4
push edi
jle 0x410f0c
mov edi, 4
mov eax, 4
sub eax, edi
push eax
lea ecx, [edi + esi + 0x10]
push ecx
lea edx, [esi + 0x10]
push edx
call fcn.00416a60
mov eax, dword [esi + 0x58]
sub eax, edi
mov edx, esi
push edi
lea ecx, [eax + esi + 0x14]
sub edx, edi
push ecx
add edx, 0x14
push edx
call fcn.00413560
mov eax, dword [esi + 4]
push eax
push 0x40
lea ecx, [esi + 0x14]
push 1
push ecx
mov dword [esi + 0x54], edi
call fcn.00416817
add esp, 0x28
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
pop edi
test eax, eax
jne 0x410e88
mov edx, dword [esi + 4]
push edx
call fcn.00416834
add esp, 4
test eax, eax
je 0x42a718
or eax, 0xffffffff
ret
mov edi, eax
jmp 0x410ea0
mov eax, dword [esi + 4]
push eax
call fcn.00416868
add esp, 4
test eax, eax
jne 0x410f08
ret

Function at 0x410f10
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
call fcn.00410e80
cmp eax, 0xffffffff
je 0x41100c
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
xor ebx, ebx
lea edi, [ebx + 1]
call fcn.00410de0
mov edi, dword [esp + 0x18]
dec edi
test edi, edi
jle 0x410f86
jmp 0x410f40
mov eax, dword [esi + 0x58]
cmp dword [esi + 0x5c], eax
je 0x410f93
mov ecx, dword [esi + 0x5c]
movzx eax, byte [ecx + esi + 0x14]
inc ecx
mov dword [esi + 0x5c], ecx
cmp eax, 0xd
je 0x410f78
cmp eax, 0xffffffff
je 0x410f86
cmp eax, 0xa
je 0x410f86
mov byte [ebx + ebp], al
inc ebx
cmp ebx, edi
jl 0x410f40
pop edi
mov byte [ebx + ebp], 0
pop ebp
pop ebx
mov al, 1
pop esi
ret 8
call fcn.00410e80
cmp eax, 0xa
jne 0x42a763
pop edi
mov byte [ebx + ebp], 0
pop ebp
pop ebx
mov al, 1
pop esi
ret 8
cmp eax, 4
jle 0x42a72d
mov dword [esp + 0x14], 4
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x10]
mov edx, 4
sub edx, eax
push edx
add eax, ecx
push eax
push ecx
call fcn.00416a60
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x58]
mov ecx, esi
sub ecx, eax
lea ecx, [ecx + edx + 0x14]
push eax
mov edx, esi
sub edx, eax
push ecx
add edx, 0x14
push edx
call fcn.00413560
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x2c]
push ecx
push 0x40
lea edx, [esi + 0x14]
push 1
push edx
mov dword [esi + 0x54], eax
call fcn.00416817
add esp, 0x28
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
test eax, eax
jne 0x410f48
jmp 0x42a736
xor al, al
pop esi
ret 8
mov dword [esp + 0x14], eax
jmp 0x410fa8
mov eax, dword [esi + 4]
push eax
call fcn.00416834
add esp, 4
test eax, eax
jne 0x410f86
mov ecx, dword [esi + 4]
push ecx
call fcn.00416868
add esp, 4
test eax, eax
jne 0x410f86
jmp 0x410f63
cmp eax, 0xffffffff
je 0x410f86
mov edi, 1
call fcn.00410de0
jmp 0x410f86
Function at 0x4115c0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esi]
sub esp, 8
test al, 3
jne 0x42a80f
add esp, 8
ret
test al, 1
je 0x42a831
mov ecx, dword [esi + 4]
lea eax, [esp]
push eax
push ecx
call fcn.00416232
mov edx, dword [esp + 8]
add esp, 8
or edx, dword [esp + 4]
jne 0x4115cd
mov eax, dword [esi]
test al, 0x20
je 0x42a857
mov eax, dword [esi + 4]
push eax
push 2
push 1
push 0x480a0c
call fcn.00416402
mov dword [esi + 0xc], 1
add esp, 0x10
add esp, 8
ret
test al, 0x40
je 0x42a87b
mov ecx, dword [esi + 4]
push ecx
push 2
push 1
push 0x481d60
call fcn.00416402
mov dword [esi + 0xc], 2
add esp, 0x10
add esp, 8
ret
test al, al
jns 0x4115cd
mov edx, dword [esi + 4]
push edx
push 3
push 1
push 0x481d64
call fcn.00416402
mov dword [esi + 0xc], 4
add esp, 0x10
add esp, 8
ret

Function at 0x411610
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov eax, dword [ebp]
mov dword [ebp + 0xc], 0
mov byte [ebp + 8], 0
test al, 0x14
jne 0x411696
test al, al
js 0x42a77b
test al, 0x20
jne 0x42a787
test al, 0x40
jne 0x42a793
mov eax, dword [esp + 0xc]
push 0x481d68
push eax
call fcn.0041610c
add esp, 8
test eax, eax
je 0x411696
push esi
push edi
mov esi, eax
push esi
push 3
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.00416817
push esi
mov edi, eax
call fcn.004164fb
mov al, byte [esp + 0x24]
add esp, 0x14
cmp edi, 2
jb 0x41168c
cmp al, 0xff
je 0x42a79f
cmp al, 0xfe
je 0x42a7ba
cmp al, 0xef
je 0x42a7d5
pop edi
pop esi
pop ebp
ret 8
mov dword [ebp + 0xc], 4
jmp 0x41163f
mov dword [ebp + 0xc], 1
jmp 0x41163f
mov dword [ebp + 0xc], 2
jmp 0x41163f
cmp byte [esp + 0x11], 0xfe
jne 0x41168c
mov dword [ebp + 0xc], 1
mov byte [ebp + 8], 1
jmp 0x411694
cmp byte [esp + 0x11], 0xff
jne 0x41168c
mov dword [ebp + 0xc], 2
mov byte [ebp + 8], 1
jmp 0x411694
cmp edi, 3
jb 0x411694
cmp byte [esp + 0x11], 0xbb
jne 0x411694
cmp byte [esp + 0x12], 0xbf
jne 0x411694
mov dword [ebp + 0xc], 4
mov byte [ebp + 8], 1
jmp 0x411694
Function at 0x4116a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
push esi
push 0x47f878
or eax, 0xffffffff
call fcn.00412040
mov esi, eax
add esp, 4
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00415840
push esi
call fcn.00413549
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.00411910
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.00411750
xor eax, eax
mov dword [edi + 8], 0
xor ecx, ecx
movzx edx, byte [esp + eax + 0x18]
inc eax
add ecx, edx
cmp eax, 0x10
jl 0x4116f8
mov eax, dword [ebp + 8]
push 0x481d68
push eax
mov dword [edi + 8], ecx
call fcn.0041610c
add esp, 8
mov dword [edi], eax
test eax, eax
je 0x42c84f
push edi
call fcn.004120b0
test eax, eax
je 0x42c859
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.004164fb
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x411740
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00416817
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044c1da
xor eax, eax
mov dword [edi + 8], 0
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x42c889
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00417932
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x411740

Function at 0x411910
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00414f50
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret