joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10083085
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008d38c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10073e8c
mov dword [ebp - 0x14], eax
cmp dword [0x1067ac4c], esi
jne 0x10083178
push 0x800
push esi
push 0x10007a1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10083105
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10083258
push esi
push esi
push 0x10007a1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10083258
push 0x10007a34
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10083258
push eax
call ebx
push 0x10007a40
push edi
mov dword [0x1067ac4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007a50
push edi
mov dword [0x1067ac50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007a64
push edi
mov dword [0x1067ac54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067ac5c], eax
test eax, eax
je 0x10083175
push 0x10007a80
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067ac58], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1008319d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10083190
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x100831b2
push 4
pop eax
jmp 0x1008325a
cmp dword [ebp - 0x14], esi
je 0x100831b2
push dword [0x1067ac4c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10083197
mov eax, dword [0x1067ac58]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10083210
cmp dword [0x1067ac5c], edi
je 0x10083210
push eax
call ebx
push dword [0x1067ac5c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10083210
test eax, eax
je 0x10083210
call ecx
test eax, eax
je 0x10083205
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10083205
test byte [ebp - 8], 1
jne 0x10083210
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10083240
mov eax, dword [0x1067ac50]
cmp eax, edi
je 0x1008323d
push eax
call ebx
test eax, eax
je 0x1008323d
call eax
mov esi, eax
test esi, esi
je 0x1008323d
mov eax, dword [0x1067ac54]
cmp eax, edi
je 0x1008323d
push eax
call ebx
test eax, eax
je 0x1008323d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067ac4c]
call ebx
test eax, eax
je 0x10083258
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1008325a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x46c498
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46c524
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x46c53c
lea eax, [ebp - 8]
mov edx, esi
call fcn.00404c6c
push dword [ebp - 8]
push 0x46c53c
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404d88
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, 0xff
call fcn.00404ca4
xor edx, edx
mov dl, byte [ebx]
dec edx
sub edx, 2
jl 0x46c4ff
inc edx
lea eax, [ebx + 2]
mov cl, byte [eax]
xor cl, 0x55
mov byte [eax], cl
inc eax
dec edx
jne 0x46c4f4
dec byte [ebx + 1]
xor eax, eax
mov al, byte [ebx]
dec byte [ebx + eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c52b
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a2c
ret
Function at 0x48fac0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x59000]
mov dword [edi + 0x720c0], 0x97e9dd90
push edi
or ebp, 0xffffffff
jmp 0x48faea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48faf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fae0
mov eax, 1
add ebx, ebx
jne 0x48fb03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48fb14
jne 0x48fb33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fb33
dec eax
add ebx, ebx
jne 0x48fb20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48faf8
add ebx, ebx
jne 0x48fb2f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48fb85
xor ecx, ecx
sub eax, 3
jb 0x48fb4b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48fbba
sar eax, 1
mov ebp, eax
jmp 0x48fb56
add ebx, ebx
jne 0x48fb56
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fb24
inc ecx
add ebx, ebx
jne 0x48fb64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fb24
add ebx, ebx
jne 0x48fb71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48fb66
jne 0x48fb82
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48fb66
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48fba4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48fb96
jmp 0x48fae6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48fba4
add edi, ecx
jmp 0x48fae6
pop esi
mov edi, esi
mov ecx, 0x3761
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48fbc2
cmp byte [edi], 0x14
jne 0x48fbc2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x48fbc7
lea edi, [esi + 0x8c000]
mov eax, dword [edi]
or eax, eax
je 0x48fc36
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9007c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x90158]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48fbf4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9015c]
or eax, eax
je 0x48fc30
mov dword [ebx], eax
add ebx, 4
jmp 0x48fc11
call dword [esi + 0x9016c]
mov ebp, dword [esi + 0x90160]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x48fc6a
sub esp, 0xffffff80
jmp fcn.004723c0
Function at 0x401bd1
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x44cc84
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x472550]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472550]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
mov ebp, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor ebx, ebx
push ebx
push ebx
call edi
mov esi, eax
xor eax, eax
test esi, esi
je 0x401dd2
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
mov edx, esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x2a8], ebx
call fcn.004017c0
mov ebx, eax
push ebx
push esi
mov dword [esp + 0x20], ebx
call edi
test eax, eax
jne 0x401c60
xor edi, edi
mov esi, edi
jmp 0x401dc4
xor eax, eax
push 0x206
push eax
mov word [esp + 0x9c], ax
lea eax, [esp + 0x9e]
push eax
call fcn.0041ff10
lea esi, [ebp + 4]
add esp, 0xc
mov ebp, dword [esi + 4]
mov edi, dword [esi]
cmp edi, ebp
je 0x401ca0
push 0x30
pop ebx
mov ecx, edi
call fcn.00401dfa
add edi, ebx
cmp edi, ebp
jne 0x401c8f
mov ebx, dword [esp + 0x18]
mov eax, dword [esi]
xor edi, edi
mov dword [esi + 4], eax
cmp word [ebx], di
je 0x401dc1
mov ebp, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
xor eax, eax
mov word [ebx + 4], ax
push 0x104
lea eax, [esp + 0x98]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea eax, [esp + 0x94]
push eax
call ebp
push ebx
call ebp
push ebx
lea ecx, [esp + 0x50]
call fcn.00401447
mov byte [esp + 0x2a8], 1
xor eax, eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
call fcn.004013cc
lea eax, [esp + 0x4c]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x68]
call fcn.0040414f
pop ecx
mov edi, eax
mov byte [esp + 0x2a8], 3
mov ecx, dword [esi + 4]
cmp edi, ecx
jae 0x401d5b
cmp dword [esi], edi
ja 0x401d5b
sub edi, dword [esi]
push 0x30
mov eax, edi
cdq
pop edi
idiv edi
mov edi, eax
cmp ecx, dword [esi + 8]
jne 0x401d54
push ecx
mov ecx, esi
call fcn.004029e8
imul edi, edi, 0x30
add edi, dword [esi]
jmp 0x401d68
cmp ecx, dword [esi + 8]
jne 0x401d68
push ecx
mov ecx, esi
call fcn.004029e8
push edi
push dword [esi + 4]
call fcn.004044a2
push 0x30
pop eax
add dword [esi + 4], eax
xor edi, edi
push edi
push 1
lea ecx, [esp + 0x84]
call fcn.00401629
push edi
push 1
lea ecx, [esp + 0x6c]
call fcn.00401629
push edi
push 1
lea ecx, [esp + 0x24]
call fcn.00401629
xor eax, eax
push eax
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x2b0], al
call fcn.00401629
add ebx, 8
cmp word [ebx], di
jne 0x401cb6
xor esi, esi
inc esi
push edi
push 1
lea ecx, [esp + 0x3c]
call fcn.00401629
mov eax, esi
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.0041effa
add esp, 0x298
ret
Function at 0x401e16
Capabilities:
Acquire debug privileges
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44cb68
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x472550]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x472550]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
test edi, edi
jne 0x401e74
xor eax, eax
inc eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0041effa
mov esp, ebp
pop ebp
ret
push edi
push 0x401fec
call dword [sym.imp.USER32.dll_EnumWindows]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
xor edx, edx
inc edx
mov ecx, str.SeDebugPrivilege
mov dword [esp + 0x70], ebx
call fcn.004019d0
push edi
push ebx
push 0x100001
mov byte [esp + 0x7c], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x401f3b
cmp esi, 0xffffffff
je 0x401f3b
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xbb8
push esi
call ebx
test eax, eax
je 0x401f46
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x401f1e
push edi
lea eax, [esp + 0x4c]
push str.TerminateProcess_pid:_u_failed
push eax
call fcn.004041b7
add esp, 0xc
push eax
mov byte [esp + 0x74], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0xc
lea ecx, [esp + 0x38]
call fcn.00401864
push 0x46ed88
lea eax, [esp + 0x28]
push eax
call fcn.004212a7
push 0xbb8
push esi
call ebx
neg eax
lea ecx, [esp + 0x14]
sbb esi, esi
call fcn.0040284c
lea eax, [esi + 1]
jmp 0x401e56
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x401f54
lea ecx, [esp + 0x14]
call fcn.0040284c
jmp 0x401e53
push eax
push edi
lea eax, [esp + 0x50]
push str.OpenProcess_pid:_u_failed__err:_u
push eax
call fcn.004041b7
add esp, 0x10
push eax
sub esp, 0xc
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 2
call fcn.00401924
push 0x46ed88
lea eax, [esp + 0x28]
jmp 0x401f18

Function at 0x402060
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x472550]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x402081
mov eax, dword [esi]
jmp 0x402083
mov eax, esi
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004013cc
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.0041effa
leave
ret 4

Function at 0x404df5
Capabilities:
Set registry value

Disassembly:
cmp dword [esp + 8], 0
push edi
mov edi, ecx
jne 0x404e04
push 0xd
pop eax
jmp 0x404e2a
push dword [esp + 0xc]
call fcn.0041fcf4
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [esp + 0x10]
push 1
push 0
push dword [esp + 0x18]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
ret 0xc
Function at 0x4050ba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x405111
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405102
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x4050fe
cmp esi, ecx
jae 0x405102
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x4050ee
cmp esi, ecx
jb 0x405106
xor eax, eax
jmp 0x405110
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x40631b
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x40
mov eax, dword [0x472550]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
push ebx
push ebp
mov dword [esp + 0x14], eax
xor eax, eax
push esi
push edi
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov byte [esp + 0x20], al
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea edi, [esp + 0x21]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
lea eax, [esp + 0x24]
push eax
mov ebp, ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor edi, edi
push edi
push edi
push 1
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [esp + 0x20]
push esi
mov edx, ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], eax
call fcn.0043f19f
cmp dword [eax + 0x14], 8
pop ecx
jb 0x4063a7
mov eax, dword [eax]
push eax
push edi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp dword [ebp], eax
je 0x4063d3
cmp dword [ebp], edi
je 0x4063c7
cmp dword [ebp], 0xffffffff
je 0x4063c7
mov dword [ebp], edi
test eax, eax
je 0x4063d3
cmp eax, 0xffffffff
je 0x4063d3
mov dword [ebp], eax
push edi
push 1
lea ecx, [esp + 0x3c]
call fcn.00401629
cmp dword [ebp], edi
je 0x40640d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40640d
push edi
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x406409
push 1
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
xor eax, eax
jmp 0x406410
xor eax, eax
inc eax
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041effa
add esp, 0x40
ret 0xc
Function at 0x40793e
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
xor edx, edx
push esi
push edi
inc edx
mov ebx, ecx
call fcn.004067aa
mov esi, dword [eax]
mov edi, dword [ebp + 8]
push 3
pop edx
mov ecx, ebx
call fcn.004067aa
mov edx, dword [esi + edi*4 + 0xc]
mov ecx, dword [eax]
dec dword [edx + 4]
mov dword [ebp + 8], ecx
jne 0x407982
lea eax, [edx + 8]
cmp dword [edx], eax
jne 0x407982
push 0
push 0x18
mov ecx, ebx
call fcn.00412065
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov eax, dword [ecx + eax*4 + 0xc]
mov dword [esi + edi*4 + 0xc], eax
inc dword [eax + 4]
mov ecx, dword [esi + edi*4 + 0xc]
lea eax, [ecx + 8]
cmp dword [ecx], eax
je 0x4079a2
mov dword [ecx + 0xc], 1
mov edx, dword [esi + edi*4 + 0xc]
mov ecx, dword [edx]
test byte [ecx + 8], 0x40
je 0x4079c0
lea eax, [edx + 8]
cmp ecx, eax
jne 0x4079c0
pop edi
pop esi
mov ecx, ebx
pop ebx
pop ebp
jmp fcn.0040fb3e
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40ce3c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
cmp dword [esi + 0xc], ebx
jne 0x40ce64
mov ecx, dword [edi + 0x48]
cmp ecx, edx
je 0x40ce64
mov edx, esi
call fcn.0040cc23
jmp 0x40ce76
xor edx, edx
push esi
inc edx
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], bl
call fcn.0040cbe9
pop ecx
mov eax, dword [edi + 0x24]
push esi
push 4
pop edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.0040cbe9
mov eax, dword [edi + 0x28]
pop ecx
push esi
push 4
pop edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.0040cbe9
pop ecx
movzx ecx, byte [edi + 6]
mov edx, esi
call fcn.0040cc0d
movzx ecx, byte [edi + 7]
mov edx, esi
call fcn.0040cc0d
movzx ecx, byte [edi + 8]
mov edx, esi
call fcn.0040cc0d
mov eax, dword [edi + 0x14]
push esi
push 4
pop edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.0040cbe9
mov edx, dword [edi + 0x14]
pop ecx
mov ecx, dword [edi + 0x30]
push esi
shl edx, 2
call fcn.0040cbe9
pop ecx
mov edx, esi
mov ecx, edi
call fcn.0040cc99
mov eax, dword [edi + 0xc]
push esi
push 4
pop edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call fcn.0040cbe9
pop ecx
cmp dword [esp + 0x10], ebx
jle 0x40cf35
mov eax, dword [edi + 0x40]
mov edx, esi
movzx ecx, byte [eax + ebx*8 + 4]
call fcn.0040cc0d
mov eax, dword [edi + 0x40]
mov edx, esi
movzx ecx, byte [eax + ebx*8 + 5]
call fcn.0040cc0d
inc ebx
cmp ebx, dword [esp + 0x10]
jl 0x40cf0e
xor ebx, ebx
mov eax, dword [edi + 0x1c]
push esi
push 4
pop edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call fcn.0040cbe9
cmp dword [esp + 0x14], 0
pop ecx
jle 0x40cf6c
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x48]
mov ecx, dword [ecx + ebx*4]
push esi
call fcn.0040ce3c
inc ebx
pop ecx
cmp ebx, dword [esp + 0x10]
jl 0x40cf55
mov edx, esi
mov ecx, edi
call fcn.0040cd3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e4fd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], edi
call fcn.00423018
mov eax, dword [eax]
xor esi, esi
movsx eax, byte [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
xorps xmm1, xmm1
mov dword [eax], edi
movzx eax, byte [edi]
mov dword [ebp - 0x18], esi
test byte [eax + 0x456219], 8
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], esi
je 0x40e549
inc edi
movzx eax, byte [edi]
test byte [eax + 0x456219], 8
jne 0x40e539
mov dword [ebp - 8], edi
lea ecx, [ebp - 8]
call fcn.0040e4e2
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], eax
cmp byte [edx], 0x30
jne 0x40e67c
mov cl, byte [edx + 1]
cmp cl, 0x78
je 0x40e571
cmp cl, 0x58
jne 0x40e67c
mov eax, dword [ebp - 0x14]
add edx, 2
mov cl, byte [edx]
movsx edi, cl
cmp edi, eax
jne 0x40e58f
cmp dword [ebp - 0x10], 0
jne 0x40e5e0
mov dword [ebp - 0x10], 1
jmp 0x40e5dd
movzx eax, cl
test byte [eax + 0x456219], 0x10
je 0x40e5e0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40e5ac
cmp cl, 0x30
jne 0x40e5ac
inc dword [ebp - 0x1c]
jmp 0x40e5d3
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x1e
jg 0x40e5d2
mov ecx, edi
call fcn.0040e4ce
mulsd xmm1, qword [0x4587b0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
jmp 0x40e5d3
inc esi
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
je 0x40e5dd
dec esi
inc edx
jmp 0x40e577
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push 0
mov dword [ebp - 0xc], esi
pop esi
add eax, ecx
je 0x40e67c
mov eax, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
mov edi, eax
mov al, byte [edx]
shl edi, 2
cmp al, 0x70
je 0x40e60b
cmp al, 0x50
jne 0x40e654
inc edx
lea ecx, [ebp - 8]
mov dword [ebp - 8], edx
call fcn.0040e4e2
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov al, byte [edx]
movzx ecx, al
test byte [ecx + 0x456219], 2
je 0x40e67c
imul esi, esi, 0xa
movsx eax, al
add eax, 0xffffffd0
add esi, eax
inc edx
movzx eax, byte [edx]
test byte [eax + 0x456219], 2
mov al, byte [edx]
jne 0x40e62b
cmp dword [ebp - 0x1c], 0
je 0x40e64d
neg esi
mov eax, dword [ebp - 0x20]
add edi, esi
mov dword [eax], edx
cmp dword [ebp - 0x24], 0
je 0x40e662
xorpd xmm1, xmmword [0x458800]
push edi
push ecx
push ecx
movsd qword [esp], xmm1
call fcn.00422e30
fstp qword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x28]
add esp, 0xc
jmp 0x40e67f
xorps xmm0, xmm0
pop edi
pop esi
leave
ret

Function at 0x40fb15
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x10]
cmp byte [eax + 0x3d], 1
ja 0x40fb2c
mov edx, dword [ebp + 8]
mov ecx, eax
pop ebp
jmp fcn.0040fb8a
mov cl, byte [eax + 0x3c]
mov al, byte [edx + 5]
and cl, 3
and al, 0xf8
or cl, al
mov byte [edx + 5], cl
pop ebp
ret

Function at 0x40fb3e
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx]
cmp byte [ecx + 0x3d], 1
mov edx, dword [eax]
ja 0x40fb55
test byte [edx + 5], 3
jne fcn.0040fb8a
ret
Function at 0x40fb8a
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
mov esi, edx
push edi
and byte [esi + 5], 0xfc
movzx eax, byte [esi + 4]
mov edi, ecx
jmp 0x40fc00
je 0x40fc34
sub eax, 4
je 0x40fc24
dec eax
je 0x40fc1c
dec eax
je 0x40fc14
dec eax
jne 0x40fc4a
mov edx, dword [esi + 8]
test edx, edx
je 0x40fbcf
test byte [edx + 5], 3
je 0x40fbcf
mov ecx, edi
call fcn.0040fb8a
or byte [esi + 5], 4
mov eax, dword [esi + 0xc]
add eax, 0x18
add dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0xc], eax
movzx eax, byte [esi + 6]
test al, 0x40
je 0x40fc4a
mov al, byte [ecx + 5]
test al, 3
je 0x40fc4a
and al, 0xfc
mov byte [ecx + 5], al
movzx eax, byte [ecx + 4]
mov esi, ecx
cmp eax, 8
jle 0x40fba3
cmp eax, 9
je 0x40fc41
cmp eax, 0x14
je 0x40fc3c
cmp eax, 0x26
jne 0x40fc4a
mov eax, dword [edi + 0x4c]
mov dword [esi + 8], eax
jmp 0x40fc47
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x1c], eax
jmp 0x40fc47
movzx eax, byte [esi + 7]
or byte [esi + 5], 4
add eax, 0x11
add dword [edi + 0x10], eax
jmp 0x40fc4a
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x28], eax
jmp 0x40fc47
mov eax, dword [esi + 0xc]
jmp 0x40fc28
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov dword [edi + 0x4c], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x418489
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.00431d30
mov eax, dword [0x472550]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x1010], 0
push esi
push edi
lea eax, [ebp - 0x1008]
mov edi, 0x1000
mov esi, edx
mov dword [ebp - 0x100c], ecx
mov dword [ebp - 0x1018], eax
mov dword [ebp - 0x1014], edi
mov edx, edi
lea ecx, [ebp - 0x1018]
call fcn.0040841c
push esi
push edi
push 1
push eax
call fcn.00422239
add dword [ebp - 0x1010], eax
add esp, 0x10
cmp eax, edi
je 0x4184c8
lea ecx, [ebp - 0x1018]
call fcn.004084be
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041effa
leave
ret

Function at 0x418505
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00431d30
mov eax, dword [0x472550]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x1014], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [ebp - 0x1010], ecx
lea eax, [ebp - 0x100c]
mov edx, esi
lea ecx, [ebp - 0x101c]
mov dword [ebp - 0x101c], eax
mov dword [ebp - 0x1018], 0x1000
call fcn.0040841c
push edi
push esi
push 1
push eax
call fcn.00422239
mov esi, eax
add dword [ebp - 0x1014], esi
add esp, 0x10
lea ecx, [ebp - 0x101c]
call fcn.004084be
mov ecx, dword [ebp - 8]
xor eax, eax
cmp eax, esi
sbb eax, eax
pop edi
xor ecx, ebp
neg eax
pop esi
call fcn.0041effa
leave
ret