joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e024
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp dword [0x497220], ebx
jne 0x43e05a
push 0x497204
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x497220], 1
push 0x497204
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x49721c]
mov edi, eax
cmp eax, ebx
je 0x43e0be
cmp dword [ebp - 4], ebx
jne 0x43e1fe
xor eax, eax
inc eax
lea ecx, [edi + 0x114]
cmp esi, dword [ecx]
je 0x43e091
inc eax
add ecx, 4
cmp eax, 0x40
jl 0x43e082
jmp 0x43e0af
push dword [ebp + 0xc]
lea esi, [edi + eax*4 + 0x210]
push dword [ebp + 8]
call fcn.0043de79
mov esi, dword [ebp - 0xc]
pop ecx
pop ecx
mov dword [ebp - 4], 1
mov edi, dword [edi]
cmp edi, ebx
jne 0x43e070
cmp dword [ebp - 4], ebx
jne 0x43e1fe
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push ebx
push 0x100000
lea eax, [ebp - 8]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x43e1fe
mov edi, dword [0x49721c]
jmp 0x43e0fe
cmp dword [edi + 0xc], 0x3f
jl 0x43e198
mov edi, dword [edi]
cmp edi, ebx
jne 0x43e0f2
push 0x310
push 8
push dword [0x49676c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, ebx
je 0x43e1f5
push ebx
push 1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [edi + 8], eax
cmp eax, ebx
je 0x43e1e7
push ebx
push ebx
push edi
push 0x43deca
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x114], esi
push 0x1000
lea esi, [edi + 0x214]
push ebx
mov dword [edi + 0x14], eax
mov dword [esi], ebx
mov dword [edi + 0xc], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x43e1de
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043de79
mov eax, dword [0x49721c]
pop ecx
pop ecx
mov dword [edi + 4], ebx
mov dword [edi], eax
cmp eax, ebx
je 0x43e190
mov dword [eax + 4], edi
mov dword [0x49721c], edi
jmp 0x43e1fe
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 8]
push dword [ebp + 0xc]
mov dword [edi + eax*4 + 0x10], ecx
mov eax, dword [edi + 0xc]
push dword [ebp + 8]
mov dword [edi + eax*4 + 0x110], esi
mov eax, dword [edi + 0xc]
mov dword [edi + eax*4 + 0x210], ebx
mov eax, dword [edi + 0xc]
lea esi, [edi + eax*4 + 0x210]
call fcn.0043de79
inc dword [edi + 0xc]
pop ecx
pop ecx
push ebx
push 1
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x43e1fe
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push dword [0x49676c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x497204
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x43f58c
Capabilities:
Set thread local storage value

Disassembly:
push esi
push 0x158
push 8
push dword [0x49676c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push dword [0x4975cc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esp + 8]
mov dword [0x4975d0], esi
and dword [esi + 0x88], 0
or dword [esi + 0x8c], 0xffffffff
or dword [esi + 0x90], 0xffffffff
push esi
mov dword [esi + 0x84], 0xffffff
mov dword [esi + 0x6c], 2
mov dword [esi + 0x70], 0x3f
call fcn.00445611
mov dword [esi + 0x58], 0x43f50b
mov dword [esi + 0x5c], 0x43f54a
mov dword [esi + 0x10], fcn.0043e6a9
mov dword [esi + 0x30], 0x43e82e
mov dword [esi + 0x64], 0x43e937
mov dword [esi + 0x60], 0x43e984
mov dword [esi + 0x34], 0x43f0aa
mov dword [esi + 0x24], 0x43ef49
mov dword [esi + 0x28], 0x43ef72
mov dword [esi + 0x2c], 0x43ef9d
mov dword [esi + 0x44], 0x43f39b
mov eax, esi
pop esi
ret 4

Function at 0x440a74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x1c], 0
mov ecx, dword [esi + 0xb4]
mov dword [ebp - 4], ecx
je 0x440ae9
imul ecx, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x14]
add eax, dword [ebp + 8]
push ebx
lea edx, [eax + edx*4]
push edi
mov eax, dword [esi + 0xac]
imul eax, dword [ebp + 0x10]
add eax, dword [esi + 0xa8]
mov edi, edx
add eax, ecx
cmp dword [ebp + 0x18], 0
jle 0x440ad8
mov ebx, dword [ebp + 0x18]
mov dword [ebp + 0x14], ebx
mov bl, byte [edi + 2]
xor byte [eax + 2], bl
mov bl, byte [edi + 1]
xor byte [eax + 1], bl
mov bl, byte [edi]
xor byte [eax], bl
add eax, dword [ebp - 4]
add edi, 4
dec dword [ebp + 0x14]
jne 0x440abd
dec dword [ebp + 0x1c]
add edx, dword [ebp + 0xc]
inc dword [ebp + 0x10]
cmp dword [ebp + 0x1c], 0
jne 0x440a9d
pop edi
pop ebx
leave
ret 0x18

Function at 0x4418ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x20], 0
mov edx, dword [esi + 0xb4]
je 0x44192e
push ebx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x14]
mov ecx, edx
imul ecx, dword [ebp + 0x10]
mov dword [ebp + 0x10], edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x18]
add edi, dword [ebp + 8]
add eax, edi
mov edi, eax
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0xac]
imul eax, dword [ebp + 0x10]
add eax, dword [esi + 0xa8]
add eax, ecx
cmp dword [ebp + 0x1c], 0
jle 0x441917
mov ebx, dword [ebp + 0x1c]
mov dword [ebp + 0x14], ebx
mov bl, byte [edi + 2]
xor byte [eax + 2], bl
mov bl, byte [edi + 1]
xor byte [eax + 1], bl
mov bl, byte [edi]
xor byte [eax], bl
add edi, 3
add eax, edx
dec dword [ebp + 0x14]
jne 0x4418fd
mov edi, dword [ebp + 0x18]
add edi, dword [ebp + 0xc]
dec dword [ebp + 0x20]
inc dword [ebp + 0x10]
cmp dword [ebp + 0x20], 0
mov dword [ebp + 0x18], edi
jne 0x4418df
pop edi
pop ebx
pop ebp
ret 0x1c
Function at 0x441988
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
imul eax, eax, 3
cmp dword [ebp + 0x1c], 0
mov dword [ebp - 4], eax
je 0x441a22
mov eax, dword [ebp + 0x14]
imul ecx, ecx, 3
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
imul eax, dword [ebp + 0x18]
add eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, edx
imul esi, esi, 3
add ecx, eax
push edi
mov edi, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xac]
imul ecx, dword [ebp + 0x14]
add ecx, dword [eax + 0xa8]
mov edx, dword [ebp - 4]
add ecx, esi
test edx, edx
jle 0x441a0a
mov eax, 0xff
sub eax, dword [ebp + 0x20]
mov dword [ebp + 0x18], edx
mov dword [ebp - 8], eax
movzx eax, byte [ecx]
movzx edx, byte [edi]
imul eax, dword [ebp - 8]
imul edx, dword [ebp + 0x20]
add eax, edx
cdq
mov ebx, 0xff
idiv ebx
inc edi
mov byte [ecx], al
inc ecx
dec dword [ebp + 0x18]
jne 0x4419e9
mov edi, dword [ebp + 0xc]
add edi, dword [ebp + 0x10]
dec dword [ebp + 0x1c]
inc dword [ebp + 0x14]
cmp dword [ebp + 0x1c], 0
mov dword [ebp + 0xc], edi
jne 0x4419bf
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x403350
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423c9b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42b1a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040452b
push 4
mov dword [ebp - 4], 0
call fcn.0040500c
mov edi, eax
add esp, 4
test edi, edi
je 0x4033cc
call fcn.00403f70
mov dword [edi], eax
call fcn.00403cab
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004041c3
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4033c2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004041eb
jmp 0x4033ce
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40490e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b1a0]
jne 0x404918
repz ret
jmp fcn.00408281
Function at 0x41922d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409fe6
and dword [ebp - 4], 0
cmp dword [0x4fad48], 0
mov ebx, eax
jne 0x4192de
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41938f
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41938f
push eax
call fcn.00409f74
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4fad48], eax
call esi
push eax
call fcn.00409f74
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4fad4c], eax
call esi
push eax
call fcn.00409f74
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4fad50], eax
call esi
push eax
call fcn.00409f74
pop ecx
mov dword [0x4fad58], eax
test eax, eax
je 0x4192de
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00409f74
pop ecx
mov dword [0x4fad54], eax
mov eax, dword [0x4fad54]
cmp eax, ebx
je 0x419336
cmp dword [0x4fad58], ebx
je 0x419336
push eax
call fcn.00409fef
push dword [0x4fad58]
mov esi, eax
call fcn.00409fef
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x419336
test edi, edi
je 0x419336
call esi
test eax, eax
je 0x41932d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41932d
test byte [ebp - 0xc], 1
jne 0x419336
or dword [ebp + 0x10], 0x200000
jmp 0x41936f
mov eax, dword [0x4fad4c]
cmp eax, ebx
je 0x41936f
push eax
call fcn.00409fef
pop ecx
test eax, eax
je 0x41936f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41936f
mov eax, dword [0x4fad50]
cmp eax, ebx
je 0x41936f
push eax
call fcn.00409fef
pop ecx
test eax, eax
je 0x41936f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4fad48]
call fcn.00409fef
pop ecx
test eax, eax
je 0x41938f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x419391
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41c8c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x42b1a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp edi, 0x520
jne 0x41c8e5
mov dword [0x45c0ff0], 0xa09d51f6
xor edx, edx
xor eax, eax
cmp edi, edx
jle 0x41c932
mov ecx, dword [0x45c0c4c]
push ebx
imul ecx, ecx, 0x343fd
mov dword [0x45c0c4c], ecx
mov dword [ebp - 0x808], edx
add dword [ebp - 0x808], 0x269ec3
mov ecx, dword [0x45c0c4c]
add ecx, dword [ebp - 0x808]
inc eax
mov dword [0x45c0c4c], ecx
mov bl, byte [0x45c0c4e]
xor byte [esi + eax - 1], bl
cmp eax, edi
jl 0x41c8f4
pop ebx
cmp edi, 0xd95
jne 0x41c94c
push edx
lea eax, [ebp - 0x804]
push eax
push edx
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.DLL_LCMapStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040490e
mov esp, ebp
pop ebp
ret
Function at 0x41ccb0
Capabilities:
Get geographical location
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8b4
mov eax, dword [0x42b1a0]
xor eax, esp
mov dword [esp + 0x8b0], eax
push ebx
push esi
mov eax, 0x4fae20
push edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ccd5
sub eax, edx
cmp eax, 0xb05b7
jne 0x41cd94
cmp dword [0x45c0ff4], 0x212
jne 0x41cd01
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_OpenFileMappingA]
cmp dword [0x45c0ff4], 0x3d3
jne 0x41cd21
push 0
lea eax, [esp + 0xbc]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
push 4
push str.duku
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], 0
mov byte [esp + 0xa8], 0
call fcn.00402fd0
lea ecx, [esp + 0x10]
push ecx
call fcn.004021d0
lea ecx, [esp + 0x64]
call fcn.00402270
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x68], vtable.std::ios_base.0
call fcn.00403b8c
add esp, 4
cmp dword [esp + 0xb4], 0x10
jb 0x41cd94
mov eax, dword [esp + 0xa0]
push eax
call fcn.00404e8d
add esp, 4
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteAtom]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov eax, dword [0x45c0ff4]
xor esi, esi
cmp eax, 0x976
jne 0x41cdbb
push 0
call edi
push 0
call ebx
mov eax, dword [0x45c0ff4]
cmp eax, 0xcd2
jne 0x41cdd1
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_SetSystemTimeAdjustment]
mov eax, dword [0x45c0ff4]
cmp esi, 0x21e49f
jle 0x41cde6
cmp dword [esp + 0x9c], 0x7239c9ee
jne 0x41ce48
inc esi
cmp esi, 0x38f964ff
jl 0x41cda7
xor esi, esi
cmp eax, 0xd47
jne 0x41ce13
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
push esi
push esi
push ecx
lea edx, [esp + 0xc4]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileExW]
call fcn.0041c9c0
cmp dword [0x45c0ff4], 0x5aa
jne 0x41ce2f
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_MoveFileWithProgressA]
mov ecx, dword [esp + 0x8bc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040490e
mov esp, ebp
pop ebp
ret 0x10
xor esi, esi
mov dword [0x45c0c50], esi
mov dword [0x45c0c54], esi
cmp eax, 0x801
jne 0x41cdf1
mov dword [0x45c0fe8], esi
jmp 0x41ce13
Function at 0x10044476
Capabilities:
Encode data using xor

Disassembly:
call 0x100443ef
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 0x1004441f
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 0x1004443b
xor edx, 0
jmp 0x10044446
xor edx, edx
jmp 0x1004445d
jmp 0x10044469
xor eax, eax
push 0x8427d7c0
call 0x10044476
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100444b2
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 0x1004448b
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 0x100444c9
add eax, 0
jno 0x100444ce
add esi, 0
ret 0x10

Function at 0x10045237
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 0x10045259
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 0x100453fb
cmp edi, dword [ebp + 0x10]
jb 0x100453fb
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.10044d23
inc edi
jmp 0x100452e2
jmp 0x100452ef
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10044d23
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10044d23
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 0x10045343
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 0x10045327
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.10045371
add dword [eax], 0x39
jle 0x1004534d
sub al, 0xf5
mov ch, al
call fcn.10045386
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1004705e
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 0x10047074
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 0x10047085
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100470c6
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 0x10049432
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 0x1004937b
add ebx, 0
push ecx
call 0x10049390
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, 0x6dce71ec
sub ebx, dword [0x6dd06a2b]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6dd06a1b
call fcn.10044e5a
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.10044368
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100494ee
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100494ee
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 0x100494a5
mov eax, 1
lock xchg dword [0x6dd06a27], eax
push 0x3dd1fc71
call 0x10049432
push esi
add esp, 8
cmp eax, 0
jne 0x1004941b
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x10049441
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10049456
cmp ecx, edx
cmp eax, 0
je 0x1004947b
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 0x10049465
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.10049494
dec eax
loope 0x10049497
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6dd06a27], 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 0x100494cb
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100494e0
jmp 0x100494eb
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100493d9
Function at 0x10050553
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 0x10050829
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6dcf369f
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6dcea665
push 0xffffffffffffffff
call fcn.10047753
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 0x100505bd
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100505d5
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 0x1005081d
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100507f1
Function at 0x10060023
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10060045
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10060045
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10060045
ret
cmp word [ebx + 4], 0x14c
jne 0x10060045
test word [ebx + 0x16], 2
je 0x10060045
test word [ebx + 0x16], 0x100
je 0x10060045
cmp word [ebx + 0x18], 0x10b
jne 0x10060045
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10060045
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100600d1
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10060065
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10046fb0
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10060045
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x100600d1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10060045
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10060045
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10060045
ret
cmp word [ebx + 4], 0x14c
jne 0x10060045
test word [ebx + 0x16], 2
je 0x10060045
test word [ebx + 0x16], 0x100
je 0x10060045
cmp word [ebx + 0x18], 0x10b
jne 0x10060045
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10060045
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100600d1
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10060065
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10046fb0
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10060045
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8