joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59a046
Capabilities:
Print debug messages

Disassembly:
push str.Clean_Up_Done.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x20]
cmp dword [eax*4 + 0x64a46c], 0
je 0x59a098
mov dword [ebp - 0x40], 0
jmp 0x59a070
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x40]
cmp eax, dword [edx*4 + 0x64a48c]
jae 0x59a098
push 0
push 0
push 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx*4 + 0x64a46c]
push edx
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
jmp 0x59a067
mov eax, dword [ebp - 0x20]
cmp dword [eax*4 + 0x64a46c], 0
je 0x59a0c4
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx*4 + 0x64a46c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov dword [eax*4 + 0x64a46c], 0
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov ecx, dword [ebp + 8]
mov dword [ecx*4 + 0x633a3c], eax
mov edx, dword [ebp + 8]
cmp dword [edx*4 + 0x633a3c], 0xffffffff
jne 0x59a12c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.WSASocket___failed_with_error__d
push 0
call fcn.0059bdc0
add esp, 0xc
xor eax, eax
jmp 0x59a1d4
mov eax, 2
mov word [ebp - 0x14], ax
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx*4 + 0x64a49c]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x633a3c]
push edx
call dword [sym.imp.WS2_32.dll_bind]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x59a199
push str.bind_error_:_eCS_cant_be_launched_twice
call fcn.0059bb80
add esp, 4
push 0
push 0
push 0x10
mov eax, dword [0x64a228]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
jmp 0x59a1d4
push 5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x633a3c]
push edx
call dword [sym.imp.WS2_32.dll_listen]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x59a1cf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.listen___failed_with_error__d
push 0
call fcn.0059bdc0
add esp, 0xc
xor eax, eax
jmp 0x59a1d4
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x59a2c0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x2000
call fcn.00526c94
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [0x64a4ac], ecx
call fcn.00595450
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x59a7d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push str.gObjServerClean___...
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.0059a1e0
mov dword [ebp - 4], 0
jmp 0x59a7f8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x2710
jge 0x59a831
imul ecx, dword [ebp - 4], 0x4c
mov edx, dword [0x64a4ec]
cmp dword [edx + ecx + 0x1c], 0
je 0x59a82f
imul eax, dword [ebp - 4], 0x4c
mov ecx, dword [0x64a4ec]
mov edx, dword [ecx + eax + 0x1c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00526c8f
add esp, 4
jmp 0x59a7ef
mov dword [ebp - 8], 0
jmp 0x59a843
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x64
jge 0x59a878
imul edx, dword [ebp - 8], 0x38
mov eax, dword [0x64a534]
cmp dword [eax + edx + 0x20], 0
je 0x59a876
imul ecx, dword [ebp - 8], 0x38
mov edx, dword [0x64a534]
mov eax, dword [edx + ecx + 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00526c8f
add esp, 4
jmp 0x59a83a
cmp dword [0x64a534], 0
je 0x59a896
mov edx, dword [0x64a534]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00526c8f
add esp, 4
cmp dword [0x64a4ec], 0
je 0x59a8b4
mov ecx, dword [0x64a4ec]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00526c8f
add esp, 4
cmp dword [0x64a4e4], 0
je 0x59a8d1
mov eax, dword [0x64a4e4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00526c8f
add esp, 4
cmp dword [0x64a4e8], 0
je 0x59a8ef
mov edx, dword [0x64a4e8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00526c8f
add esp, 4
cmp dword [0x64a530], 0
je 0x59a90d
mov ecx, dword [0x64a530]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.00526c8f
add esp, 4
cmp dword [0x64a508], 0
je 0x59a92a
mov eax, dword [0x64a508]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00526c8f
add esp, 4
cmp dword [0x64a4f8], 0
je 0x59a948
mov edx, dword [0x64a4f8]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00526c8f
add esp, 4
cmp dword [0x64a50c], 0
je 0x59a95e
mov ecx, dword [0x64a50c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.gObjServerClean___done.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret
Function at 0x74006149
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x7404aef4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x10c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push eax
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x7400631a
xor ecx, ecx
lea eax, [ebp - 0x110]
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x7400630e
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x7400630e
mov dword [esi], eax
shl eax, 5
push eax
push ebx
call sym.d3dim.dll_D3DMalloc
test eax, eax
je 0x740061e0
xor eax, eax
mov dword [ebx], eax
mov dword [esi], eax
mov dword [ebp - 0x110], eax
jmp 0x740061e2
mov eax, dword [esi]
push edi
shl eax, 5
push eax
push 0
push dword [ebx]
call sub.msvcrt.dll_memset
xor edi, edi
add esp, 0xc
cmp dword [ebp - 0x110], edi
jbe 0x7400630d
xor esi, esi
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x118], 0x80
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x84]
push eax
push edi
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x740062fd
and dword [ebp - 0x114], eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x740062fd
mov byte [ebp - 0x88], al
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x11c], 0x80
push eax
lea eax, [ebp - 0x120]
push eax
push 0
push 0x7400250c
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x740062f1
mov ecx, dword [ebx]
lea eax, [ecx + 0x1c]
add eax, esi
push eax
lea eax, [ecx + 0x18]
add eax, esi
push eax
lea eax, [ecx + 0x14]
add eax, esi
push eax
lea eax, [ecx + 0x10]
add eax, esi
push eax
lea eax, [ecx + 0xc]
add eax, esi
push eax
lea eax, [ecx + 8]
add eax, esi
push eax
lea eax, [ecx + 4]
add eax, esi
push eax
lea eax, [ebp - 0x108]
push 0x74002514
push eax
call dword [sym.imp.msvcrt.dll_sscanf_s]
add esp, 0x24
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
add esi, 0x20
cmp edi, dword [ebp - 0x110]
jb 0x74006203
pop edi
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.740409a0
leave
ret
Function at 0x74011970
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x7400249c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x740119df
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x74002848
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x740119d6
cmp dword [ebp - 0xc], 4
jne 0x740119d6
cmp dword [ebp - 0x10], eax
je 0x740119d6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [0x7404c5b0], 0
xor eax, eax
leave
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x7404c5b0]
test eax, eax
jns 0x740119f5
push 3
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
mov dword [0x7404c5b0], eax
leave
ret

Function at 0x740119fd
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push esi
push 4
pop esi
mov dword [ebp - 8], esi
sub eax, 0
je 0x74011adb
sub eax, 1
jne 0x74011adb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov dword [0x7404cb90], 0x50
call fcn.74011970
test eax, eax
je 0x74011a4d
mov eax, dword [0x7404cb90]
lea ecx, [eax + eax]
mov dword [0x7404cb90], ecx
jmp 0x74011a53
mov ecx, dword [0x7404cb90]
lea eax, [ecx + ecx]
mov dword [0x7404cb88], ecx
mov dword [0x7404cb98], eax
imul eax, ecx, 0x28
mov dword [0x7404cb8c], eax
lea eax, [ebp - 4]
push eax
push 0x7400249c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x74011acc
lea eax, [ebp - 8]
push eax
push 0x7404cb94
lea eax, [ebp - 0xc]
push eax
push 0
push 0x74002854
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x74011ab7
cmp dword [ebp - 0xc], esi
jne 0x74011ab7
mov eax, dword [0x7404cb94]
cmp eax, esi
jb 0x74011ab7
cmp eax, 0x80
jbe 0x74011ac1
mov dword [0x7404cb94], 0x18
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x74011ad6
mov dword [0x7404cb94], 0x18
call fcn.74011ae9
xor eax, eax
inc eax
pop esi
leave
ret 0xc
Function at 0x74011ae9
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x7404aef4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, 0x104
lea ecx, [ebp - 0x108]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x74011b24
sub ecx, edx
lea eax, [ecx - 1]
test eax, eax
js 0x74011b43
cmp byte [ebp + eax - 0x108], 0x5c
je 0x74011b43
sub eax, 1
jns 0x74011b34
lea ecx, [ebp - 0x20c]
mov edx, ecx
sub eax, edx
lea edx, [ebp - 0x107]
add edx, eax
lea eax, [esi + 0x7ffffefa]
test eax, eax
je 0x74011b73
mov al, byte [edx + ecx]
test al, al
je 0x74011b6e
mov byte [ecx], al
inc ecx
sub esi, 1
jne 0x74011b55
test esi, esi
jne 0x74011b73
dec ecx
lea eax, [ebp - 0x210]
mov byte [ecx], 0
push eax
push 0x74002860
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
pop esi
test eax, eax
jne 0x74011bd0
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x74011b9b
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x74002894
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.740409a0
leave
ret
Function at 0x74015fbb
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x7404df1c]
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
test eax, eax
je 0x74015ff7
push eax
push 1
lea eax, [ebp - 4]
push 4
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
push dword [0x7404df1c]
lea eax, [ebp - 8]
push 1
push 4
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x20
leave
ret

Function at 0x74015fff
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x7404df1c]
test eax, eax
je 0x74016016
push eax
push edx
push 1
push ecx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
ret
Function at 0x7401ab70
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
lea ecx, [ebx + 0xe28]
call fcn.7402d7b8
test eax, eax
jne 0x7401ace8
push esi
push 0xdde
xor esi, esi
push esi
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
xor eax, eax
mov ecx, ebx
mov word [ebx + 0xdde], ax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.7401aa51
test eax, eax
jne 0x7401ace7
mov eax, dword [ebp + 0x10]
mov edx, 0x1c4
push edi
mov dword [ebx + 0xdaa], eax
lea edi, [ebx + 0x10a0]
push 8
mov dword [ebx + 0xe40], ebx
xor eax, eax
pop ecx
mov dword [ebx + 0x10c0], 0x10c4
rep stosd dword es:[edi], eax
or dword [ebx + 0xe18], 0xffffffff
mov ecx, ebx
call fcn.7401c5fa
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0xd02], eax
lea eax, [ebp - 4]
push eax
push 0x7400249c
mov dword [ebx + 0xde0], 0x7401e920
mov dword [ebx + 0xde4], 0x7401e420
mov dword [ebx + 0xde8], 0x7401e500
mov dword [ebx + 0xdec], 0x7401e260
mov dword [ebx + 0xdf0], 0x7401e2f0
mov dword [ebx + 0xdf4], 0x7401e310
mov dword [ebx + 0xdf8], 0x7401e2a0
mov dword [ebx + 0xdfc], 0x74007260
push 0x80000002
mov dword [ebx + 0xdae], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x7401ace4
push 4
pop edi
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0x74002c44
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x7401ac9f
cmp dword [ebp - 0xc], edi
jne 0x7401ac9f
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x74002c58
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x7401acdb
cmp dword [ebp - 0xc], edi
jne 0x7401acdb
cmp dword [ebp - 0x10], eax
jne 0x7401acd5
or dword [ebx + 0xdae], 0xffffffff
jmp 0x7401acdb
mov dword [ebx + 0xdae], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x7401f25a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x7400249c
push 0x80000002
mov esi, edx
mov dword [ebp - 4], edi
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x7401f2b4
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x7401f2b0
cmp dword [ebp - 8], ebx
jne 0x7401f2b0
inc edi
mov eax, edi
jmp 0x7401f2b6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x74040bb0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x74040bee
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x74040be6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x74040bf0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x74040bd6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x74040cd0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x74040d01
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x74040d01
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x74040d01
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x7405628f
Capabilities:
Encode data using xor

Disassembly:
call 0x74056208
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x74056238
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x74056254
xor edx, 0
jmp 0x7405625f
xor edx, edx
jmp 0x74056276
jmp 0x74056282
xor eax, eax
push 0x8427d7c0
call 0x7405628f
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x740562cb
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x740562a4
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x740562e2
add eax, 0
jno 0x740562e7
add esi, 0
ret 0x10
Function at 0x74057050
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x74057072
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x74057214
cmp edi, dword [ebp + 0x10]
jb 0x74057214
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.74056b3c
inc edi
jmp 0x740570fb
jmp 0x74057108
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.74056b3c
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.74056b3c
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x7405715c
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x74057140
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.7405718a
add dword [eax], 0x39
jle 0x74057166
sub al, 0xf5
mov ch, al
call fcn.7405719f
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x74058e77
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x74058e8d
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x74058e9e
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.74058edf
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x7405b24b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x7405b194
add ebx, 0
push ecx
call 0x7405b1a9
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x100a6057
sub ebx, dword [0x100c5896]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x100c5886
call fcn.74056c73
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.74056181
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x7405b307
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7405b307
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x7405b2be
mov eax, 1
lock xchg dword [0x100c5892], eax
push 0x3dd1fc71
call 0x7405b24b
push esi
add esp, 8
cmp eax, 0
jne 0x7405b234
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x7405b25a
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x7405b26f
cmp ecx, edx
cmp eax, 0
je 0x7405b294
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x7405b27e
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7405b2ad
dec eax
loope 0x7405b2b0
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x100c5892], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x7405b2e4
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x7405b2f9
jmp 0x7405b304
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x7405b1f2
Function at 0x7406236c
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x74062642
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x100b250a
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x100a94d0
push 0xffffffffffffffff
call fcn.7405956c
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x740623d6
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.740623ee
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x74062636
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x7406260a