joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001d410
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [esp + 0x10]
mov al, byte [ebx + 0x2d]
push esi
mov esi, dword [esp + 0x10]
push edi
test al, al
je 0x1001d495
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x1001d441
cmp dword [ebx + 0x40], ebp
jae 0x1001d441
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebx + 0x3c], 0
mov eax, dword [ebx + 0x3c]
test eax, eax
jne 0x1001d45b
lea eax, [ebp + ebp]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], ebp
mov edi, dword [ebx + 0x3c]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
test ebp, ebp
jbe 0x1001d492
lea edi, [ebx + 0x30]
mov eax, dword [ebx + 0x3c]
mov cl, byte [esi + eax]
push ecx
push edi
call fcn.1001d0f0
mov edx, dword [ebx + 0x3c]
add esp, 8
mov byte [esi + edx], al
inc esi
cmp esi, ebp
jb 0x1001d477
mov esi, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x1001d4dd
mov eax, dword [ebx + 0x24]
mov edi, dword [ebx + 0x28]
lea ecx, [eax + ebp]
cmp ecx, edi
jb 0x1001d4b9
pop edi
pop esi
mov dword [ebx + 0x14], 0x30000
pop ebp
xor eax, eax
pop ebx
ret 8
mov ecx, ebp
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x24]
pop edi
add eax, ebp
pop esi
mov dword [ebx + 0x24], eax
mov eax, ebp
pop ebp
pop ebx
ret 8
mov eax, dword [ebx + 4]
test eax, eax
je 0x1001d4ff
lea ecx, [esp + 0x14]
push 0
push ecx
push ebp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
ret 8
pop edi
pop esi
mov dword [ebx + 0x14], 0x1000000
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x1001d890
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x1001d903
mov eax, dword [ebx + 0x80]
mov ebp, dword [ebx + 0x7c]
cmp eax, ebp
jae 0x1001d954
mov ecx, dword [esp + 0x14]
sub ebp, eax
cmp ebp, ecx
jbe 0x1001d8b9
mov ebp, ecx
mov ecx, ebp
lea esi, [eax + edx]
mov eax, dword [esp + 0x10]
mov edx, ecx
push edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x6c]
add edx, ebp
add ecx, ebp
push eax
mov dword [ebx + 0x80], edx
mov dword [ebx + 0x68], ecx
call fcn.1001cf30
add esp, 0xc
mov dword [ebx + 0x6c], eax
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x1001d94d
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push ecx
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001d954
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x68]
add ecx, eax
push eax
mov eax, dword [ebx + 0x6c]
push esi
push eax
mov dword [ebx + 0x68], ecx
call fcn.1001cf30
add esp, 0xc
mov dword [ebx + 0x6c], eax
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
ret 8
mov dword [ebx + 0x14], 0x1000000
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x1001e5e0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x18]
push edi
push eax
xor edi, edi
push 0x8004667e
push ebx
mov dword [esp + 0x28], edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test esi, esi
jle 0x1001e625
mov ebp, dword [esp + 0x18]
push 0
lea ecx, [edi + ebp]
push esi
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x1001e625
sub esi, eax
add edi, eax
test esi, esi
jg 0x1001e60b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1001e630
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov eax, 0x2104
call fcn.100243d0
mov eax, dword [esp + 0x2108]
push ebx
push ebp
push esi
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
push edi
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [0x10033188]
test al, al
je 0x1001e752
mov edi, dword [sym.imp.WS2_32.dll_recv]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 1
xor eax, eax
lea ecx, [esp + 0x14]
cmp dword [ecx], ebx
je 0x1001e697
inc eax
add ecx, 4
cmp eax, 1
jb 0x1001e68a
cmp eax, 1
jne 0x1001e6a8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 2
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
push 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x1001e752
lea ecx, [esp + 0x10]
push ecx
push ebp
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1001e704
push 0
lea edx, [esp + 0x118]
push 0x2000
push edx
push ebp
call edi
mov esi, eax
test esi, esi
jle 0x1001e752
lea eax, [esp + 0x114]
push esi
push eax
push ebx
call fcn.1001e5e0
add esp, 0xc
test eax, eax
je 0x1001e752
cmp eax, esi
jne 0x1001e752
lea ecx, [esp + 0x10]
push ecx
push ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1001e745
push 0
lea edx, [esp + 0x118]
push 0x2000
push edx
push ebx
call edi
mov esi, eax
test esi, esi
jle 0x1001e752
lea eax, [esp + 0x114]
push esi
push eax
push ebp
call fcn.1001e5e0
add esp, 0xc
test eax, eax
je 0x1001e752
cmp eax, esi
jne 0x1001e752
mov al, byte [0x10033188]
test al, al
jne 0x1001e678
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
push ebp
call esi
push ebx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2104
ret 4

Function at 0x1001e770
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1001e78e
xor eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov word [esp + 8], 2
mov dword [esp + 0xc], eax
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1001e7ce
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x1001e8a0
Capabilities:
Create thread
Receive data
Receive data on socket

Disassembly:
mov eax, 0x1038
call fcn.100243d0
push ebx
push ebp
push esi
push edi
mov ecx, 0x40c
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x18], 0x100282ec
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1054]
lea ecx, [esp + 0x1c]
push eax
push 0x1002da0c
push 0x20
push ecx
call sub.MSVCRT.dll__snprintf
mov eax, dword [esp + 0x1060]
mov ecx, dword [esp + 0x105c]
mov dx, word [esp + 0x1068]
push eax
push ecx
mov word [esp + 0x54], dx
call fcn.1001e7e0
mov edi, eax
add esp, 0x18
test edi, edi
jbe 0x1001e9bf
mov al, byte [0x10033188]
mov dword [esp + 0x40], edi
test al, al
je 0x1001e9bf
mov ebx, dword [sym.imp.WS2_32.dll_recv]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea edx, [esp + 0x16]
push 2
push edx
push edi
call ebx
test eax, eax
jle 0x1001e9bf
mov edx, dword [0x10032184]
mov eax, dword [esp + 0x44]
inc edx
cmp eax, 0x800
mov dword [0x10032184], edx
jge 0x1001e96d
mov cx, word [esp + 0x12]
inc eax
mov dword [esp + 0x44], eax
mov word [esp + eax*2 + 0x48], cx
mov edx, dword [0x1003318c]
lea eax, [esp + 0x18]
inc edx
mov dword [0x1003318c], edx
lea edx, [esp + 0x14]
push edx
push 0
push eax
push 0x1001e800
push 0
push 0
call esi
mov ecx, dword [0x1003318c]
test eax, eax
mov dword [ecx*4 + 0x10032188], eax
je 0x1001e9a7
push eax
call ebp
jmp 0x1001e9b2
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [0x10033188]
test al, al
jne 0x1001e936
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1038
ret 0x10

Function at 0x1001e9e0
Capabilities:
Terminate thread

Disassembly:
sub esp, 0x80
mov byte [0x10033188], 0
push esi
push edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x10032180]
test eax, eax
je 0x1001ea43
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [0x10032180]
lea ecx, [esp + 8]
push eax
push str.nsocket_di:_d
push ecx
call esi
mov edx, dword [0x10032180]
add esp, 0xc
mov eax, dword [edx*4 + 0x10031180]
cmp eax, 0xffffffff
je 0x1001ea36
push eax
call edi
mov eax, dword [0x10032180]
dec eax
mov dword [0x10032180], eax
jne 0x1001ea0c
mov eax, dword [0x1003318c]
test eax, eax
je 0x1001ea82
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1003318c]
mov eax, dword [eax*4 + 0x10032188]
cmp eax, 0xffffffff
je 0x1001ea75
push 0
push eax
call esi
push 0x10032188
call edi
mov eax, dword [0x1003318c]
dec eax
mov dword [0x1003318c], eax
jne 0x1001ea58
pop edi
mov dword [0x1003318c], 0
mov dword [0x10032180], 0
mov byte [0x10033188], 1
pop esi
add esp, 0x80
ret
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4077a8
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c55c
mov eax, esi
mov edx, 8
test al, 1
je 0x4077c4
shr eax, 1
xor eax, 0xedb88320
jmp 0x4077c6
shr eax, 1
dec edx
jne 0x4077b7
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4077b0
pop esi
ret

Function at 0x4077dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c558], 0
jne 0x4077ff
call fcn.004077a8
push 1
push 0x40c558
call fcn.004043fc
mov eax, edi
test esi, esi
je 0x40782a
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x407805
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x10004cd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x10004d02
lea esp, [esp]
test cl, 3
je 0x10004d02
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x913a460]
add ecx, 1
sub esi, 1
jne 0x10004ce0
cmp esi, 0x20
push ebx
push edi
jb 0x10004eec
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x913a860]
xor edx, dword [ebx*4 + 0x913ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x913a460]
add ecx, 4
xor edx, dword [eax*4 + 0x913b060]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x913a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x913ac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x913a460]
add ecx, 4
xor eax, dword [edx*4 + 0x913b060]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x913a860]
xor edx, dword [ebx*4 + 0x913ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x913a460]
xor edx, dword [eax*4 + 0x913b060]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x913a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x913ac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x913a460]
xor eax, dword [edx*4 + 0x913b060]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x913a860]
xor edx, dword [ebx*4 + 0x913ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x913a460]
xor edx, dword [eax*4 + 0x913b060]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x913a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x913ac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x913a460]
and edx, 0xff
xor eax, dword [edx*4 + 0x913b060]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x913a860]
xor edx, dword [ebx*4 + 0x913ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x913a460]
add ecx, 4
xor edx, dword [eax*4 + 0x913b060]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x913a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x913ac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x913a460]
and edx, 0xff
xor eax, dword [edx*4 + 0x913b060]
sub edi, 1
jne 0x10004d12
cmp esi, 4
jb 0x10004f39
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x913a860]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x913ac60]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x913a460]
and eax, 0xff
xor edi, dword [eax*4 + 0x913b060]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x10004ef6
test esi, esi
pop edi
pop ebx
je 0x10004f5d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x913a460]
add ecx, 1
sub esi, 1
jne 0x10004f40
not eax
pop esi
ret
Function at 0x10003019
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x34]
mov eax, edx
push esi
push edi
push dword [esp + 0x44]
mov dword [esp + 0x24], eax
push dword [esp + 0x44]
push ebp
push dword [esp + 0x44]
push eax
push ecx
call fcn.100062b2
mov dword [esp + 0x34], 0x5def
add esp, 0x18
shr dword [esp + 0x1c], 1
xor esi, esi
xor dword [esp + 0x1c], 0x5dd0
mov dword [esp + 0x18], 0xf0b4
imul eax, dword [esp + 0x18], 0xe
mov dword [esp + 0x18], eax
xor dword [esp + 0x18], 0xd66cf
mov dword [esp + 0x10], 0xb053
add dword [esp + 0x10], 0xffff54e4
add dword [esp + 0x10], 0xf3bd
imul eax, dword [esp + 0x10], 0x5d
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x5a3f9a
mov dword [esp + 0x14], 0xa973
or dword [esp + 0x14], 0x9bbe193b
shl dword [esp + 0x14], 5
xor dword [esp + 0x14], 0x77d704af
mov dword [esp + 0x3c], 0x17c7
add dword [esp + 0x3c], 0xffff9154
add dword [esp + 0x3c], 0xc048
imul eax, dword [esp + 0x3c], 0x3a
mov dword [esp + 0x3c], eax
xor dword [esp + 0x3c], 0x17e06e
mov eax, dword [ebp + 0x3c]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov ebx, dword [eax + ebp + 0x78]
add ebx, ebp
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
add eax, ebp
mov dword [esp + 0x2c], eax
add ecx, ebp
mov eax, dword [ebx + 0x24]
add eax, ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jmp 0x1000313a
push dword [esp + 0x14]
mov ecx, dword [ecx + edi*4]
push dword [esp + 0x14]
add ecx, ebp
push dword [esp + 0x20]
mov edx, dword [esp + 0x28]
call fcn.10011aae
xor eax, 0x165fe069
add esp, 0xc
cmp eax, dword [esp + 0x20]
je 0x10003141
mov ecx, dword [esp + 0x24]
inc edi
cmp edi, dword [ebx + 0x18]
jb 0x1000310d
jmp 0x1000316d
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
movzx eax, word [eax + edi*2]
mov esi, dword [esi + eax*4]
add esi, ebp
cmp esi, ebx
jb 0x1000316d
mov eax, dword [esp + 0x30]
mov eax, dword [eax + ebp + 0x7c]
add eax, ebx
cmp esi, eax
jae 0x1000316d
mov ecx, esi
call fcn.1001d2ad
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x100062b3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
push edi
push dword [esp + 0x34]
push ebx
push dword [esp + 0x34]
push edx
push ecx
call fcn.100062b2
mov dword [esp + 0x44], 0xbb3c
add esp, 0x14
add dword [esp + 0x30], 0xffff0478
xor edx, edx
shl dword [esp + 0x30], 0xb
add dword [esp + 0x30], 0xfffffb27
xor dword [esp + 0x30], 0xfdfd9b26
mov dword [esp + 0x18], 0x694e
shr dword [esp + 0x18], 5
add dword [esp + 0x18], 0xffffd888
shl dword [esp + 0x18], 0xe
xor dword [esp + 0x18], 0xf6f4b2b2
mov dword [esp + 0x24], 0xcfd5
mov eax, dword [esp + 0x24]
push 0x77
pop ecx
div ecx
mov dword [esp + 0x24], eax
xor dword [esp + 0x24], 0x7af6
mov dword [esp + 0x14], 0x3853
add dword [esp + 0x14], 0x2f57
shl dword [esp + 0x14], 0xc
shl dword [esp + 0x14], 3
xor dword [esp + 0x14], 0x33d5042f
mov dword [esp + 0x10], 0x48cf
shr dword [esp + 0x10], 4
add dword [esp + 0x10], 0xa5d7
xor dword [esp + 0x10], 0x227c1387
xor dword [esp + 0x10], 0x227cf043
mov dword [esp + 0x20], 0x820c
imul eax, dword [esp + 0x20], 0x4e
mov dword [esp + 0x20], eax
imul eax, dword [esp + 0x20], 0x1d
mov dword [esp + 0x20], eax
xor dword [esp + 0x20], 0x47d7705
mov dword [esp + 0x1c], 0x55c9
add dword [esp + 0x1c], 0xffff6fb2
shl dword [esp + 0x1c], 9
xor dword [esp + 0x1c], 0xff8ad068
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x30]
add eax, ebx
mov edx, dword [eax + ecx*8 + 0x78]
test edx, edx
je 0x10006447
cmp dword [eax + ecx*8 + 0x7c], 0
je 0x10006447
lea esi, [edx + ebx]
jmp 0x10006440
push dword [esp + 0x10]
lea ecx, [eax + ebx]
push dword [esp + 0x18]
push dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
call fcn.100199f5
mov edx, eax
add esp, 0xc
mov dword [esp + 0x30], edx
test edx, edx
je 0x10006452
mov edi, dword [esi]
mov ebp, dword [esi + 0x10]
add edi, ebx
add ebp, ebx
jmp 0x10006437
jns 0x10006411
movzx ecx, ax
jmp 0x10006416
lea ecx, [ebx + 2]
add ecx, eax
push edx
push dword [esp + 0x20]
mov edx, dword [esp + 0x28]
call fcn.1000d9d0
pop ecx
pop ecx
test eax, eax
je 0x10006452
mov edx, dword [esp + 0x30]
add edi, 4
mov dword [ebp], eax
add ebp, 4
mov eax, dword [edi]
test eax, eax
jne 0x1000640a
add esi, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x100063da
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
xor eax, eax
jmp 0x1000644a
Function at 0x10007ff9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push ecx
call fcn.100062b2
and dword [ebp - 4], 0
add esp, 0x14
mov dword [ebp - 0xc], 0x1719e3
mov dword [ebp - 8], 0x68569d
mov dword [ebp + 0x10], 0x815c
add dword [ebp + 0x10], 0x61bd
xor dword [ebp + 0x10], 0xe212
cmp dword [eax + 4], 0x40
jae 0x10008044
xor eax, eax
jmp 0x1000806d
mov ecx, dword [eax]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10008040
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10008040
movzx edx, word [eax + 0x18]
mov ecx, dword [ebp + 0x10]
push esi
xor esi, esi
cmp edx, ecx
cmovne eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10009ffa
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, 0x100013fc
push eax
push edi
push edx
push ecx
call fcn.100062b2
push edi
push eax
call fcn.100062b2
mov dword [esp + 0x24], 0x6e57
or dword [esp + 0x24], 0xf95e9146
shr dword [esp + 0x24], 2
shr dword [esp + 0x24], 0xf
xor dword [esp + 0x24], 0xe5
mov dword [esp + 0x28], 0x1db4
imul eax, dword [esp + 0x28], 0x16
mov dword [esp + 0x28], eax
add dword [esp + 0x28], 0xa158
xor dword [esp + 0x28], 0x32d03
mov eax, dword [0x100013fc]
mov ebp, dword [0x10001400]
xor ebp, eax
mov dword [esp + 0x2c], eax
mov eax, ebp
mov ecx, ebp
and eax, 0xfffffffc
mov esi, ebp
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add esp, 0x14
mov ecx, esi
call fcn.100163e8
mov dword [esp + 0x10], eax
pop ecx
test eax, eax
je 0x1000a0e5
shr esi, 2
mov edx, 0x10001404
push ebx
xor ebx, ebx
and dword [esp + 0x14], ebx
lea ecx, [esi*4 + 0x10001404]
mov esi, ecx
sub esi, edx
add esi, 3
shr esi, 2
cmp ecx, edx
cmovb esi, dword [esp + 0x14]
test esi, esi
je 0x1000a0de
mov ecx, eax
sub ecx, edx
mov eax, dword [edx]
xor eax, dword [esp + 0x18]
inc ebx
mov dword [ecx + edx], eax
lea edx, [edx + 4]
cmp ebx, esi
jb 0x1000a0c9
mov eax, dword [esp + 0x10]
pop ebx
test edi, edi
je 0x1000a0e5
mov dword [edi], ebp
pop edi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x1000d2ef
Capabilities:
Hash data using murmur3

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
push dword [esp + 0x54]
mov ebp, edx
mov ebx, ecx
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push ebp
push ebx
call fcn.100062b2
mov dword [esp + 0x3c], 0x6ec3
add esp, 0x1c
shl dword [esp + 0x20], 2
xor edx, edx
shr dword [esp + 0x20], 0xd
xor edi, edi
xor dword [esp + 0x20], 0x124
mov ecx, 0x2e625de7
mov dword [esp + 0x2c], 0xd76a
mov eax, dword [esp + 0x2c]
push 5
pop esi
div esi
mov dword [esp + 0x2c], eax
xor dword [esp + 0x2c], 0x55da
mov dword [esp + 0x10], 0x58a7
add dword [esp + 0x10], 0x6c8
shl dword [esp + 0x10], 0xb
shl dword [esp + 0x10], 9
xor dword [esp + 0x10], 0xf6f0317b
mov dword [esp + 0x1c], 0x5d19
imul eax, dword [esp + 0x1c], 0x6c
mov dword [esp + 0x1c], eax
add dword [esp + 0x1c], 0xb738
xor dword [esp + 0x1c], 0x27d757
mov dword [esp + 0x28], 0x73a3
add dword [esp + 0x28], 0x4f0f
xor dword [esp + 0x28], 0xed3d
mov dword [esp + 0x14], 0x403e
xor dword [esp + 0x14], 0xd0448639
add dword [esp + 0x14], 0xffffdeb2
shl dword [esp + 0x14], 4
xor dword [esp + 0x14], 0x44a6664
mov dword [esp + 0x30], 0x1c10
imul eax, dword [esp + 0x30], 0x51
mov dword [esp + 0x30], eax
xor dword [esp + 0x30], 0x8f1ff
mov dword [esp + 0x3c], 0x63b7
shl dword [esp + 0x3c], 0x10
xor dword [esp + 0x3c], 0x63b7360b
mov dword [esp + 0x24], 0x3e7f
xor dword [esp + 0x24], 0x7d4cf8f0
imul eax, dword [esp + 0x24], 0x2c
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
xor dword [esp + 0x24], 0x89322d32
mov dword [esp + 0x18], 0xdd6b
add dword [esp + 0x18], 0xfc8c
shr dword [esp + 0x18], 0x10
shl dword [esp + 0x18], 9
xor dword [esp + 0x18], 0x558e
mov dword [esp + 0x38], 0x49f9
add dword [esp + 0x38], 0xfffff29f
xor dword [esp + 0x38], 0xd42
mov dword [esp + 0x34], 0x318
shr dword [esp + 0x34], 0xc
xor dword [esp + 0x34], 0x321b
cmp ecx, 0xc7aef4e
je 0x1000d51d
cmp ecx, 0x1f37240b
je 0x1000d4e2
cmp ecx, 0x2e625de7
je 0x1000d4db
cmp ecx, 0x32a206ac
jne 0x1000d543
push ebp
push dword [esp + 0x38]
push dword [esp + 0x40]
push ecx
push dword [esp + 0x28]
push dword [esp + 0x60]
push esi
push dword [esp + 0x6c]
push dword [esp + 0x44]
push edi
push ecx
mov ecx, dword [esp + 0x68]
call fcn.1000a600
add esp, 0x2c
test ebx, ebx
je 0x1000d4d1
mov dword [ebx], esi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov ecx, 0x1f37240b
jmp 0x1000d47a
push ebp
push dword [esp + 0x2c]
push dword [esp + 0x24]
push ecx
push dword [esp + 0x20]
push dword [esp + 0x60]
push 0
push dword [esp + 0x6c]
push dword [esp + 0x4c]
push 0
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.1000a600
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x1000d4d1
mov ecx, 0xc7aef4e
jmp 0x1000d47a
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.100163e8
mov edi, eax
pop ecx
test edi, edi
je 0x1000d53e
mov ecx, 0x32a206ac
jmp 0x1000d47a
mov ecx, 0x3ab8f213
cmp ecx, 0x3ab8f213
jne 0x1000d47a
jmp 0x1000d4d1