joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10064b8b
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
push edi
mov dword [ebp - 0xc], ecx
push eax
xor ebx, ebx
xor edi, edi
call fcn.10031fe6
mov eax, dword [ebp - 8]
cmp dword [ebp + 0x10], ebx
pop ecx
mov dword [ebp - 4], eax
jle 0x10064c3e
jmp 0x10064bb9
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
sub ecx, eax
cmp ecx, dword [ebp + 0x14]
jg 0x10064c3e
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add eax, dword [ebp + 0x14]
push eax
push 0x10104054
push dword [ebp + 8]
call fcn.100644b4
test eax, eax
jl 0x10064c3e
mov eax, dword [ebp + 0x10]
push 0
sub eax, edi
push eax
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
push dword [ebp + 8]
call sub.WS2_32.dll_send
mov esi, eax
test esi, esi
jg 0x10064c29
call sub.WSOCK32.dll_WSAGetLastError
cmp esi, 0xffffffff
jne 0x10064c47
cmp eax, 0x2733
jne 0x10064c47
lea eax, [ebp - 4]
push eax
call fcn.10031fe6
mov eax, ebx
inc ebx
cmp eax, 0x64
pop ecx
jle 0x10064c35
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
jmp 0x10064c35
lea eax, [ebp - 4]
add edi, esi
push eax
call fcn.10031fe6
pop ecx
cmp edi, dword [ebp + 0x10]
jl 0x10064bb6
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10
push eax
call sub.WS2_32.dll_WSASetLastError
or eax, 0xffffffff
jmp 0x10064c40

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
push edi
mov dword [ebp - 0xc], ecx
push eax
xor ebx, ebx
xor esi, esi
call fcn.10031fe6
mov eax, dword [ebp - 8]
cmp dword [ebp + 0x10], ebx
pop ecx
mov dword [ebp - 4], eax
jle 0x10064d19
jmp 0x10064c80
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
sub ecx, eax
cmp ecx, dword [ebp + 0x14]
jg 0x10064d07
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add eax, dword [ebp + 0x14]
push eax
push 0x100fd1c8
push dword [ebp + 8]
call fcn.100644b4
test eax, eax
jl 0x10064d0e
mov eax, dword [ebp + 0x10]
push 0
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
push dword [ebp + 8]
call sub.WS2_32.dll_recv
mov edi, eax
test edi, edi
jg 0x10064cf0
call sub.WSOCK32.dll_WSAGetLastError
cmp edi, 0xffffffff
jne 0x10064d13
cmp eax, 0x2733
jne 0x10064d13
lea eax, [ebp - 4]
push eax
call fcn.10031fe6
mov eax, ebx
inc ebx
cmp eax, 0x64
pop ecx
jle 0x10064cfc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
jmp 0x10064cfc
lea eax, [ebp - 4]
add esi, edi
push eax
call fcn.10031fe6
pop ecx
cmp esi, dword [ebp + 0x10]
jl 0x10064c7d
jmp 0x10064d19
push 0x3e8
jmp 0x10064d14
call sub.WSOCK32.dll_WSAGetLastError
push eax
call sub.WS2_32.dll_WSASetLastError
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10064d22
Capabilities:
Resolve dns

Disassembly:
push dword [esp + 4]
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x10064d33
or eax, 0xffffffff
ret
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
movzx ecx, byte [eax + 3]
push ecx
movzx ecx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
push 0x10104058
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
xor eax, eax
ret
Function at 0x100650e4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea eax, [ebp - 0x14]
push edi
mov dword [ebp - 4], ecx
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
xor edi, edi
push edi
add eax, 0xffffff83
push dword [0x1010fba8]
cdq
push edi
sub eax, edx
push dword [0x1010fb94]
sar eax, 1
push 0x7d
push 0x190
push eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffe70
cdq
sub eax, edx
sar eax, 1
push eax
push 0x80c90000
push dword [ebp + 8]
push str.InputBox
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp eax, edi
mov dword [0x1010fb90], eax
jne 0x10065158
xor eax, eax
jmp 0x100652b1
push dword [ebp + 0xc]
push dword [0x1010fba4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [0x1010fb90]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
push dword [0x1010fb94]
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push dword [0x1010fb90]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x1010fb90]
call dword [sym.imp.USER32.dll_UpdateWindow]
push edi
push edi
lea eax, [ebp - 0x30]
push edi
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x100652ae
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
cmp dword [ebp - 0x2c], 0x100
jne 0x10065283
cmp dword [ebp - 0x28], 0x1b
jne 0x100651dc
push edi
push edi
push 2
push dword [0x1010fb90]
call ebx
mov dword [ebp + 8], edi
cmp dword [ebp - 0x28], 0xd
jne 0x10065239
push dword [0x1010fb98]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov eax, dword [ebp - 4]
inc esi
mov eax, dword [eax + 4]
cmp eax, edi
je 0x10065208
push eax
call fcn.100c0dc9
mov eax, dword [ebp - 4]
pop ecx
mov dword [eax + 4], edi
lea eax, [esi + esi]
push eax
call fcn.100c0da0
pop ecx
mov ecx, dword [ebp - 4]
push esi
push eax
mov dword [ecx + 4], eax
push dword [0x1010fb98]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
push edi
push 2
push dword [0x1010fb90]
call ebx
mov dword [ebp + 8], 1
cmp dword [ebp - 0x28], 9
jne 0x10065283
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
cmp esi, dword [0x1010fb98]
jne 0x1006525b
push dword [0x1010fb9c]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [0x1010fb9c]
jne 0x1006526f
push dword [0x1010fba0]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [0x1010fba0]
jne 0x10065283
push dword [0x1010fb98]
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
push edi
lea eax, [ebp - 0x30]
push edi
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x100651ba
pop esi
pop ebx
mov eax, dword [ebp + 8]
pop edi
leave
ret 8
Function at 0x1006b810
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3fb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x28], ecx
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x28]
call fcn.10065c38
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x10
call fcn.10068720
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x20
call fcn.10068720
mov byte [ebp - 4], 2
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x30
call fcn.10068720
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x44
call fcn.10068720
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x54
call fcn.10068720
mov byte [ebp - 4], 5
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x64
call fcn.10068720
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x28]
add ecx, 0x88
call fcn.10076080
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x100df728
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.XmlRpcClient_new_client:_host__s__port__d.
push 1
call fcn.1006d2eb
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x10
call fcn.1006d080
mov ecx, dword [ebp - 0x28]
add ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x30
call fcn.1006d060
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x40], eax
cmp dword [ebp + 0x10], 0
je 0x1006b926
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x20
call fcn.1006d080
jmp 0x1006b936
push str._RPC2
mov ecx, dword [ebp - 0x28]
add ecx, 0x20
call fcn.1006d080
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x7c], 0
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 0x7d], 0
mov edx, dword [ebp - 0x28]
mov byte [edx + 0xa8], 0
push 1
mov ecx, dword [ebp - 0x28]
call fcn.1006cd00
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1006b97c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d400b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x100df728
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x88
call fcn.100760c9
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.100026de
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.100026de
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100026de
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.100026de
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.100026de
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.100026de
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.10065c6a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1006df70
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
call fcn.1006df85
push 0
push 1
push 2
call sub.WSOCK32.dll_socket
pop ebp
ret

Function at 0x1006df85
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
xor eax, eax
mov al, byte [0x1010fbfc]
test eax, eax
jne 0x1006dfbd
mov word [ebp - 0x194], 2
lea ecx, [ebp - 0x190]
push ecx
mov dx, word [ebp - 0x194]
push edx
call sub.WSOCK32.dll_WSAStartup
mov byte [0x1010fbfc], 1
mov esp, ebp
pop ebp
ret

Function at 0x1006e115
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x10
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.10031000
add esp, 0xc
mov word [ebp - 0x18], 2
mov ecx, dword [ebp + 0xc]
call fcn.100087d2
push eax
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1006e14c
xor al, al
jmp 0x1006e1bb
mov ecx, dword [ebp - 8]
mov dx, word [ecx + 8]
mov word [ebp - 0x18], dx
mov eax, dword [ebp - 8]
movsx ecx, word [eax + 0xa]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.10030860
add esp, 0xc
mov ax, word [ebp + 0x10]
push eax
call sub.WSOCK32.dll_htons
mov word [ebp - 0x16], ax
push 0x10
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.WS2_32.dll_connect
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1006e1b1
call fcn.1006e1bf
and eax, 0xff
test eax, eax
jne 0x1006e1b1
mov dword [ebp - 0x1c], 0
jmp 0x1006e1b8
mov dword [ebp - 0x1c], 1
mov al, byte [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1006e1f6
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.10031830
mov dword [ebp - 8], 0x2000
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
mov ecx, dword [ebp - 4]
and ecx, 0xff
test ecx, ecx
jne 0x1006e2ec
mov edx, dword [ebp + 0x10]
xor eax, eax
mov al, byte [edx]
test eax, eax
jne 0x1006e2ec
push 0
push 0x1fff
lea ecx, [ebp - 0x2008]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.WS2_32.dll_recv
mov dword [ebp - 0x2010], eax
call fcn.1006e49a
mov dword [ebp - 0x200c], eax
cmp dword [ebp - 0x2010], 0
jle 0x1006e28b
mov eax, dword [ebp - 0x2010]
mov byte [ebp + eax - 0x2008], 0
mov ecx, dword [ebp - 0x2010]
push ecx
lea edx, [ebp - 0x2008]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.100087df
jmp 0x1006e2d1
cmp dword [ebp - 0x2010], 0
jne 0x1006e29c
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
jmp 0x1006e2d1
call fcn.1006e1bf
and eax, 0xff
test eax, eax
je 0x1006e2b0
mov byte [ebp - 4], 1
jmp 0x1006e2d1
mov ecx, dword [ebp - 0x200c]
push ecx
mov edx, dword [ebp - 0x2010]
push edx
push 0x10104fe0
push 5
call fcn.1006d2eb
add esp, 0x10
xor al, al
jmp 0x1006e2ee
mov eax, dword [ebp - 0x2010]
push eax
push 0x10105014
push 5
call fcn.1006d2eb
add esp, 0xc
jmp 0x1006e214
mov al, 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
call fcn.1006d0a0
mov ecx, dword [ebp + 0x10]
sub eax, dword [ecx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
call fcn.100087d2
mov edx, dword [ebp + 0x10]
add eax, dword [edx]
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0xc], 0
jle 0x1006e494
mov eax, dword [ebp - 4]
and eax, 0xff
test eax, eax
jne 0x1006e494
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.WS2_32.dll_send
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
push str.XmlRpcSocket::nbWrite:_send_write_returned__d.
push 5
call fcn.1006d2eb
add esp, 0xc
cmp dword [ebp - 0x10], 0
jle 0x1006e47a
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jmp 0x1006e492
call fcn.1006e1bf
and eax, 0xff
test eax, eax
je 0x1006e48e
mov byte [ebp - 4], 1
jmp 0x1006e492
xor al, al
jmp 0x1006e496
jmp 0x1006e418
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x1007ae40
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x100d4d70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x14], ebp
lea esi, [ebp + 0x10]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], esi
lea edi, [esi + 0x24]
mov dword [esp + 0x1c], edi
lea ebx, [edi + 0x24]
mov dword [esp + 0x20], ebx
lea eax, [ebx + 0x10]
mov dword [esp + 0x10], eax
lea ecx, [eax + 0x10]
mov byte [esp + 0x2c], 4
call fcn.10077a80
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x2c], 3
call fcn.10067610
mov ecx, ebx
mov byte [esp + 0x2c], 2
call fcn.10067610
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
lea ecx, [edi + 0x18]
push eax
push edx
mov byte [esp + 0x34], 5
call fcn.10069f10
mov ecx, edi
mov byte [esp + 0x2c], 1
call fcn.10067610
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov ebx, ecx
xor eax, eax
mov edi, edx
push edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov byte [esp + 0x30], 0
and ecx, 3
rep stosb byte es:[edi], al
call fcn.10032716
add esp, 4
mov ecx, esi
call fcn.10067610
mov ecx, ebp
mov dword [esp + 0x2c], 0xffffffff
call fcn.10067610
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x1007b370
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x100d4e18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
mov dl, byte [esp + 0x20]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov edi, ecx
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov byte [ebp + 8], dl
mov byte [ebp + 9], cl
mov dword [ebp], 0x100ded1c
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [ebp + 0xc], edx
mov dword [ebp], 0x100df660
mov eax, dword [edi + 4]
lea esi, [ebp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], esi
mov dword [esi + 4], eax
mov dl, byte [edi + 8]
mov byte [esi + 8], dl
mov al, byte [edi + 9]
mov byte [esi + 9], al
mov dword [esi], 0x100ded1c
mov dl, byte [edi + 0xc]
lea ebx, [esi + 0x18]
mov byte [esi + 0xc], dl
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x1c]
push ecx
push eax
mov ecx, ebx
mov byte [esp + 0x24], 1
mov dword [ebx + 4], eax
call fcn.10069e70
mov dword [ebx + 8], eax
mov ebx, dword [ebx + 4]
mov ecx, dword [edi + 0x20]
push ebx
push ecx
push ebx
push eax
call fcn.10068810
add esp, 0x10
mov dword [esi], 0x100df650
lea eax, [edi + 0x24]
lea ebx, [esi + 0x24]
push eax
mov ecx, ebx
mov byte [esp + 0x20], 2
mov dword [esp + 0x2c], ebx
call fcn.1006b690
lea edx, [edi + 0x30]
lea ecx, [ebx + 0xc]
push edx
mov byte [esp + 0x20], 3
call fcn.1006b590
mov dword [ebx], 0x100df650
lea eax, [edi + 0x48]
lea ecx, [ebx + 0x24]
push eax
mov byte [esp + 0x20], 4
call fcn.1007b5f0
mov dword [ebx], 0x100dfde4
mov byte [edi + 0x2d], 1
mov dword [esi], 0x100dfdf4
mov byte [edi + 9], 1
mov dword [ebp], 0x100dfe04
mov eax, ebp
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x1007c630
Capabilities:
Encrypt data using des
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
push 0
push 0x78
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], 0x78
call fcn.10069e70
mov esi, dword [esp + 0x2c]
lea edx, [eax + 0x38]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
lea edi, [edx + 0x38]
xor ecx, ecx
xor eax, eax
mov al, byte [ecx + str.91__]
dec eax
mov ebx, eax
and eax, 7
sar ebx, 3
mov bl, byte [ebx + esi]
test byte [eax*4 + 0x100dfe8c], bl
mov ebx, dword [esp + 0xc]
setne al
mov byte [ecx + ebx], al
inc ecx
cmp ecx, 0x38
jl 0x1007c667
push ebp
xor ebp, ebp
mov eax, edi
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
xor eax, eax
xor ebx, ebx
mov al, byte [ebp + 0x100dfe4c]
add eax, ecx
cmp ecx, 0x1c
setge bl
dec ebx
and ebx, 0xffffffe4
add ebx, 0x38
cmp eax, ebx
jl 0x1007c6be
add eax, 0xffffffe4
mov esi, dword [esp + 0x10]
inc ecx
cmp ecx, 0x38
mov al, byte [eax + esi]
mov byte [ecx + edx - 1], al
jl 0x1007c69e
mov ebx, dword [esp + 0x14]
xor ecx, ecx
xor eax, eax
mov al, byte [ecx + 0x100dfe5c]
cmp byte [eax + edx - 1], 0
je 0x1007c717
mov eax, 0x2aaaaaab
mov ebx, 6
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
lea esi, [edx + edi]
cdq
idiv ebx
mov al, byte [esi]
mov ebx, dword [esp + 0x14]
mov edx, dword [edx*4 + 0x100dfe8c]
sar edx, 2
or al, dl
mov edx, dword [esp + 0x18]
mov byte [esi], al
inc ecx
cmp ecx, 0x30
jl 0x1007c6d5
xor eax, eax
xor ecx, ecx
mov al, byte [edi + 2]
mov cl, byte [edi + 4]
mov ah, byte [edi]
shl eax, 8
or eax, ecx
xor ecx, ecx
mov cl, byte [edi + 6]
shl eax, 8
or eax, ecx
mov ecx, dword [ebx + 0x88]
mov dword [ecx + ebp*8], eax
xor eax, eax
mov ah, byte [edi + 1]
xor ecx, ecx
mov al, byte [edi + 3]
mov cl, byte [edi + 5]
shl eax, 8
or eax, ecx
xor ecx, ecx
mov cl, byte [edi + 7]
shl eax, 8
or eax, ecx
mov ecx, dword [ebx + 0x88]
mov dword [ecx + ebp*8 + 4], eax
inc ebp
cmp ebp, 0x10
jl 0x1007c695
mov eax, dword [esp + 0x2c]
pop ebp
cmp eax, 1
jne 0x1007c7b7
xor ecx, ecx
mov eax, 0x7c
mov edx, dword [ebx + 0x88]
sub eax, 8
mov edi, dword [eax + edx + 4]
mov esi, dword [ecx + edx]
mov dword [ecx + edx], edi
mov dword [eax + edx + 4], esi
mov edx, dword [ebx + 0x88]
add ecx, 8
cmp eax, 0x3c
mov edi, dword [eax + edx + 8]
mov esi, dword [ecx + edx - 4]
mov dword [ecx + edx - 4], edi
mov dword [eax + edx + 8], esi
jg 0x1007c782
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov esi, ecx
xor eax, eax
shr ecx, 2
mov edx, edi
rep stosd dword es:[edi], eax
mov ecx, esi
push edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.10032716
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8
Function at 0x1007c7f0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [ecx + 0x88]
push ebx
push ebp
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
push esi
push edi
mov esi, dword [eax]
add ecx, 8
mov edi, 8
mov ebx, dword [ecx - 8]
mov eax, esi
ror eax, 4
xor eax, ebx
add ecx, 0x10
mov ebx, eax
mov ebp, eax
shr ebx, 0x18
and ebx, 0x3f
shr ebp, 0x10
mov ebx, dword [ebx*4 + 0x100e00d4]
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x100e02d4]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
and eax, 0x3f
xor ebx, dword [ebp*4 + 0x100e04d4]
mov ebp, dword [eax*4 + 0x100e06d4]
mov eax, dword [ecx - 0x14]
xor ebx, ebp
xor eax, esi
xor edx, ebx
mov ebx, eax
shr ebx, 0x18
mov ebp, eax
and ebx, 0x3f
shr ebp, 0x10
mov ebx, dword [ebx*4 + 0x100e01d4]
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x100e03d4]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
and eax, 0x3f
xor ebx, dword [ebp*4 + 0x100e05d4]
mov ebp, dword [eax*4 + 0x100e07d4]
xor ebx, ebp
xor edx, ebx
mov ebx, dword [ecx - 0x10]
mov eax, edx
ror eax, 4
xor eax, ebx
mov ebx, eax
mov ebp, eax
shr ebx, 0x18
and ebx, 0x3f
shr ebp, 0x10
mov ebx, dword [ebx*4 + 0x100e00d4]
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x100e02d4]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
and eax, 0x3f
xor ebx, dword [ebp*4 + 0x100e04d4]
mov ebp, dword [eax*4 + 0x100e06d4]
mov eax, dword [ecx - 0xc]
xor ebx, ebp
xor eax, edx
xor esi, ebx
mov ebx, eax
shr ebx, 0x18
mov ebp, eax
and ebx, 0x3f
shr ebp, 0x10
mov ebx, dword [ebx*4 + 0x100e01d4]
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x100e03d4]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
and eax, 0x3f
xor ebx, dword [ebp*4 + 0x100e05d4]
mov ebp, dword [eax*4 + 0x100e07d4]
xor ebx, ebp
xor esi, ebx
dec edi
jne 0x1007c80e
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], edx
mov edx, dword [esp + 0x14]
mov dword [edx], esi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x1007e730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100d514e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x94]
mov dword [esp + 0x28], 2
test eax, eax
je 0x1007e818
mov edi, dword [esi + 0x74]
add edi, 4
dec eax
test eax, eax
mov dword [esi + 0x74], edi
mov ecx, edi
mov dword [esi + 0x94], eax
je 0x1007e786
cmp ecx, dword [esi + 0x70]
jne 0x1007e80a
mov eax, dword [esi + 0x78]
lea ecx, [eax + 4]
mov dword [esi + 0x78], ecx
mov eax, dword [eax]
push eax
call fcn.100c0dc9
mov eax, dword [esi + 0x94]
add esp, 4
test eax, eax
jne 0x1007e7ee
lea ecx, [esp + 0x10]
call fcn.100809a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x6c]
mov edi, dword [esp + 0x1c]
mov ebp, edx
mov edx, dword [esp + 0x18]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
lea ebp, [esi + 0x7c]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x8c]
push eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.100c0dc9
add esp, 4
jmp 0x1007e80a
mov eax, dword [esi + 0x78]
lea ebp, [esi + 0x6c]
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp], ecx
lea edi, [ecx + 0x1000]
mov dword [ebp + 4], edi
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x94]
test eax, eax
jne 0x1007e767
mov eax, dword [esi + 0x64]
mov byte [esp + 0x28], 1
test eax, eax
je 0x1007e8c9
mov edi, dword [esi + 0x44]
add edi, 8
dec eax
test eax, eax
mov dword [esi + 0x44], edi
mov ecx, edi
mov dword [esi + 0x64], eax
je 0x1007e840
cmp ecx, dword [esi + 0x40]
jne 0x1007e8be
mov eax, dword [esi + 0x48]
lea ecx, [eax + 4]
mov dword [esi + 0x48], ecx
mov eax, dword [eax]
push eax
call fcn.100c0dc9
mov eax, dword [esi + 0x64]
add esp, 4
test eax, eax
jne 0x1007e8a2
lea ecx, [esp + 0x10]
call fcn.100809a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x3c]
mov edi, dword [esp + 0x1c]
mov ebp, edx
mov edx, dword [esp + 0x18]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
lea ebp, [esi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x5c]
push eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.100c0dc9
add esp, 4
jmp 0x1007e8be
mov eax, dword [esi + 0x48]
lea ebp, [esi + 0x3c]
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp], ecx
lea edi, [ecx + 0x1000]
mov dword [ebp + 4], edi
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x1007e828
lea ecx, [esi + 0x10]
mov byte [esp + 0x28], 0
call fcn.1007cdd0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret