joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412cdd
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x412cf6
or eax, 0xffffffff
jmp 0x412d57
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x412d53
push 0x3d
push esi
call fcn.00409bed
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x412d53
cmp esi, eax
je 0x412d53
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x419470]
sete cl
cmp eax, dword [0x419474]
mov dword [ebp - 8], ecx
jne 0x412d39
mov edi, eax
call fcn.00412c7c
mov dword [0x419470], eax
cmp eax, ebx
jne 0x412d92
cmp dword [ebp + 0xc], ebx
je 0x412d5b
cmp dword [0x419478], ebx
je 0x412d5b
call fcn.004121a2
test eax, eax
je 0x412d92
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x412d64
xor eax, eax
jmp 0x412d56
push 4
call fcn.004099bd
cmp eax, ebx
pop ecx
mov dword [0x419470], eax
je 0x412d53
mov dword [eax], ebx
cmp dword [0x419478], ebx
jne 0x412d92
push 4
call fcn.004099bd
cmp eax, ebx
pop ecx
mov dword [0x419478], eax
je 0x412d53
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x419470]
call fcn.00412c2f
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x412df3
cmp dword [esi], ebx
je 0x412df3
lea esi, [esi + edi*4]
push dword [esi]
call fcn.004099cf
cmp dword [ebp - 8], ebx
pop ecx
jne 0x412dd6
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x412e34
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x412dcd
mov eax, edi
shl eax, 2
push eax
push dword [0x419470]
call fcn.00409a40
cmp eax, ebx
pop ecx
pop ecx
je 0x412e34
jmp 0x412e2f
cmp dword [ebp - 8], ebx
jne 0x412e9f
cmp edi, ebx
jge 0x412e02
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x419470]
call fcn.00409a40
cmp eax, ebx
pop ecx
pop ecx
je 0x412d53
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x419470], eax
cmp dword [ebp + 0xc], ebx
je 0x412e89
push dword [ebp - 4]
call fcn.004080a0
inc eax
inc eax
push eax
call fcn.004099bd
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x412e89
push dword [ebp - 4]
push esi
call fcn.00409da0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x412e82
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.004099cf
pop ecx
cmp dword [ebp - 8], ebx
je 0x412e97
push dword [ebp - 4]
call fcn.004099cf
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x412d56
push dword [ebp - 4]
call fcn.004099cf
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x412d60
Function at 0x10033b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10033b3f
pop dword [ebp - 0x1c]
mov eax, 0x29dd832c
add eax, 0xe625b813
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x1b8f8bc3
sub dword [ebp - 0x2c], 0xcd3d4678
mov dword [ebp - 0x28], 0x1b939ea1
add dword [ebp - 0x28], 0x169fada4
mov dword [ebp - 0x24], 0x2617f3a8
add dword [ebp - 0x24], 0x26345086
mov dword [ebp - 0x20], 0x273eea52
add dword [ebp - 0x20], 0xd8c115ae
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x270a9328
add eax, 0xe8f94d54
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x59c101dd
sub dword [ebp - 0x2c], 0xe54e9887
mov dword [ebp - 0x28], 0x78568073
add dword [ebp - 0x28], 0xc915e102
mov dword [ebp - 0x24], 0xa4ae5d8d
add dword [ebp - 0x24], 0xbec10edf
mov dword [ebp - 0x20], 0xcbfbf017
sub dword [ebp - 0x20], 0xcbfbf017
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xd7e1ddc2
add eax, 0x382202c2
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3e6a7
push 0
call eax
mov ecx, 0x4b2d
xor esi, esi
add esi, eax
mov edi, 0x3610eb05
sub edi, 0x2609d905
add edi, dword [ebp - 0x1c]
mov edx, 0xbfe0ded2
sub dword [ebp - 0xc], eax
mov ebx, dword [edi]
add dword [ebp - 0x14], edi
sub ebx, edx
sub dword [ebp - 0x14], 0x9aef1bea
mov dword [esi], ebx
xor dword [ebp - 8], ebx
add esi, 0xfe9ae2db
sub esi, 0xfe9ae2d7
add edi, 4
loop 0x10033c57
add eax, 0x11f87
xor ebx, ebx
add ebx, eax
add eax, 0x95d62f28
sub eax, 0x95d62f23
mov ecx, 0x10000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x41bb40
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x80
lea eax, [esp]
push esi
push eax
mov esi, ecx
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [esp + 0x88]
mov eax, dword [esi + 0x130]
lea ecx, [esp + 4]
push 1
push ecx
push 0x4c0c5c
push edx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x20
pop esi
cmp ecx, eax
sbb eax, eax
neg eax
add esp, 0x80
ret 4

Function at 0x41c790
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
xor al, al
push esi
test ebx, ebx
push edi
mov edx, ecx
jbe 0x41c7ef
xor ecx, ecx
mov cl, byte [edx + 0x204]
sub ecx, 0
je 0x41c7f5
dec ecx
je 0x41c7b8
dec ecx
je 0x41c7f5
pop edi
pop esi
pop ebx
ret 8
mov esi, dword [edx + 0x20c]
mov ecx, dword [edx + 0x210]
mov edi, dword [edx + 0x208]
add ecx, edi
lea edi, [esi + ebx]
cmp edi, ecx
jae 0x41c7ef
mov edi, dword [esp + 0x10]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [edx + 0x20c], ebx
mov al, 1
pop edi
pop esi
pop ebx
ret 8
mov edx, dword [edx + 0x200]
cmp edx, 0xffffffff
je 0x41c7ef
mov ecx, dword [esp + 0x10]
push ebx
push ecx
push edx
call fcn.0048cdfc
add esp, 0xc
cmp eax, ebx
je 0x41c7ed
push ebx
push str.ReadData:_failed_to_read_data__size:_d_
push 0
push 0x4c0c5c
call fcn.004240e0
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
ret 8

Function at 0x424050
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 0xc]
push esi
lea eax, [esp + 0x14]
push edi
mov edi, dword [esp + 0xc]
push eax
push ecx
push 0x4c2f7c
mov esi, edi
call fcn.0048d423
mov al, byte [edi]
add esp, 0xc
test al, al
je 0x424090
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x424075
cmp esi, edi
jbe 0x424090
cmp byte [esi], 0x5c
je 0x42408d
dec esi
cmp esi, edi
ja 0x424081
jmp 0x424090
lea edi, [esi + 1]
mov edx, dword [esp + 0x10]
push 0x4c2f7c
push edx
push edi
push str.__s__i__:__s_n
push 0x4c0f74
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x4c3364]
add esp, 0x14
push 0x1000
push str.FATAL_ERROR
push 0x4c0f74
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.0048d330
pop edi
pop esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x424160
Capabilities:
Print debug messages

Disassembly:
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push ecx
push 0x4c216c
call fcn.0048d423
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add esp, 0xc
push 0x4c216c
push edx
push eax
push str.__s__i__:__s_n
push 0x4c199c
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x4c199c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
ret
Function at 0x427c80
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea edx, [esp]
push esi
push eax
mov eax, dword [reloc.WSOCK32.dll_bind]
push edx
push 0
push 2
push 0
push str.Joymania
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x427cdf
mov edx, dword [esp + 0x14]
push edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
push 1
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 8
ret 8

Function at 0x427cf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push esi
push eax
push 0x20019
push 0
push ecx
mov ecx, dword [reloc.WSOCK32.dll_bind]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov dword [esp + 8], 1
test esi, esi
jne 0x427d64
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push 0x4c3568
push eax
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x427d59
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push 0x4c3568
push ecx
call fcn.0048b1d0
add esp, 0xc
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 0xc
ret 0xc

Function at 0x427d80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49cc46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
push eax
mov ebx, ecx
push 3
push ebp
mov dword [esp + 0x1c], ebx
call fcn.00429920
lea edi, [ebx + 0x15c]
mov dword [esp + 0x1c], 0
lea ecx, [edi + 0x1d0]
call fcn.0043d1d0
mov ecx, ebx
mov byte [esp + 0x1c], 1
mov dword [ebx], 0x49eb38
call fcn.00428560
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
test eax, eax
mov dword [ebx + 0x334], ecx
mov esi, 0x4adb30
je 0x427df5
mov esi, eax
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
fld dword [ebx + 0x16c]
call fcn.0048b340
fld dword [ebp + 0xc]
mov esi, eax
call fcn.0048b340
cdq
fld dword [ebx + 0x178]
idiv esi
mov edi, eax
imul edi, esi
call fcn.0048b340
add edi, eax
push ecx
mov dword [esp + 0x2c], edi
fild dword [esp + 0x2c]
fstp dword [esp]
fld dword [ebp + 8]
push ecx
lea ecx, [ebx + 0xc]
fstp dword [esp]
call fcn.00429860
fld dword [ebp + 0xc]
fld dword [ebx + 0x178]
fadd st(0), st(0)
fsubp st(1)
fdiv dword [ebx + 0x16c]
call fcn.0048b340
cmp eax, 0x64
mov dword [ebx + 0x31c], eax
jle 0x427e6e
mov dword [ebx + 0x31c], 0x64
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword [ebx + 0x328], 0xffffffff
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x42a0e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49ceef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push 0
mov esi, ecx
push 0
push 0
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], 0
call fcn.00429760
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x38], 1
test ecx, ecx
je 0x42a151
lea eax, [esp + 0x20]
push eax
call fcn.0042a0e0
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edx
call fcn.004297a0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov dword [esp + 4], eax
mov edx, eax
mov eax, ecx
mov dword [esp + 8], ecx
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.00429810
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
mov dword [esp + 8], ecx
mov eax, ecx
mov ecx, edx
push eax
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], edx
call fcn.00429860
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00429780
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.004297a0
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 4

Function at 0x42cad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x42cadb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
not eax
jl 0x42cbe2
push esi
mov esi, edi
shr esi, 3
mov edx, esi
neg edx
lea edi, [edi + edx*8]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4adf98]
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4adf98]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4adf98]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4adf98]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4adf98]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4adf98]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4adf98]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4adf98]
xor eax, edx
inc ecx
dec esi
jne 0x42cafd
pop esi
test edi, edi
je 0x42cc04
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4adf98]
xor eax, edx
inc ecx
dec edi
jne 0x42cbe6
pop edi
pop ebx
not eax
ret
Function at 0x42ddd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49d158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.0042e000
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x34]
push eax
call fcn.0043d9e0
mov ecx, dword [esp + 0x84]
xor esi, esi
mov dword [ebx], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], esi
mov dword [ebx + 4], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov word [esp + 0x30], si
call fcn.0043db50
lea ecx, [esp + 0x34]
mov word [esp + 0x22], ax
call fcn.0043db30
lea ecx, [esp + 0x34]
mov word [esp + 0x2e], ax
mov word [esp + 0x20], 1
call fcn.0043db30
mov di, ax
lea ecx, [esp + 0x34]
and edi, 0xffff
call fcn.0043db40
imul edi, eax
mov edx, dword [esp + 0x22]
lea ecx, [esp + 0x34]
and edx, 0xffff
imul edi, edx
shr edi, 3
mov dword [esp + 0x28], edi
call fcn.0043db40
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], eax
call fcn.0043db30
mov ecx, dword [esp + 0x22]
and eax, 0xffff
and ecx, 0xffff
imul eax, ecx
sar eax, 3
lea ecx, [esp + 0x34]
mov word [esp + 0x2c], ax
call fcn.0043db10
mov ecx, dword [esp + 0x20]
mov edx, eax
lea eax, [ebx + 0x10]
lea edi, [esp + 0x48]
mov dword [ebx + 0xc], edx
lea ebp, [ebx + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
push esi
push ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov cx, word [esp + 0x38]
mov word [eax + 0x10], cx
mov ecx, 9
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x58], edx
lea edx, [esp + 0x28]
mov dword [esp + 0x50], 0x24
mov ecx, dword [eax]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x50]
mov dword [esp + 0x54], 0x80c2
push edx
push eax
call dword [ecx + 0xc]
cmp eax, esi
jne 0x42df98
lea edx, [esp + 0x18]
push esi
push edx
lea edx, [esp + 0x1c]
mov eax, dword [ebp]
push edx
lea edx, [esp + 0x28]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x20]
push edx
mov edx, dword [ebx + 0xc]
push edx
push esi
push eax
call dword [ecx + 0x2c]
test eax, eax
jne 0x42dfb3
mov edi, dword [ebx + 0xc]
lea ecx, [esp + 0x34]
call fcn.0043db20
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x80]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebp, dword [ebp]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
mov eax, dword [ebp]
push ecx
push edx
push ebp
call dword [eax + 0x4c]
jmp 0x42dfb3
mov eax, dword [esp + 0x80]
push eax
push str.Failed_to_create_soundbuffer_for_wav:__s
push esi
push 0x4c0c5c
call fcn.00424050
add esp, 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], 0xffffffff
call fcn.0043daf0
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 0xc
Function at 0x447b29
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [eax], 0x20000000
mov dword [ebp - 4], edi
jne 0x447c70
push ebx
push esi
push 4
pop esi
add eax, esi
mov ecx, dword [eax]
cmp ecx, 0x40020000
jne 0x447bcf
add eax, esi
mov ecx, dword [eax]
xor edx, edx
cmp ecx, 0x40000001
je 0x447b79
cmp ecx, 0x40010001
je 0x447b79
cmp ecx, 0x40020001
je 0x447b79
cmp ecx, 0x40030001
jne 0x447b84
shr ecx, 0x10
and ecx, 0xf
inc ecx
mov edx, ecx
add eax, esi
cmp dword [eax], 0x40050002
jne 0x447b96
inc edx
mov dword [ebp - 4], 0x1000
add eax, esi
mov ecx, edx
sub ecx, edi
je 0x447bc9
dec ecx
je 0x447bc3
dec ecx
je 0x447bbd
dec ecx
je 0x447bb7
dec ecx
je 0x447bb1
dec ecx
jne 0x447bdc
or dword [ebp - 4], 0xe
jmp 0x447bdc
or dword [ebp - 4], 0xc
jmp 0x447bdc
or dword [ebp - 4], 0xa
jmp 0x447bdc
or dword [ebp - 4], 8
jmp 0x447bdc
or dword [ebp - 4], 6
jmp 0x447bdc
or dword [ebp - 4], 2
jmp 0x447bdc
cmp ecx, 0x40030000
jne 0x447bdc
mov dword [ebp - 4], esi
add eax, esi
cmp dword [eax], 0x40020003
push 0x10
pop ecx
jne 0x447bec
or dword [ebp - 4], ecx
add eax, esi
cmp dword [eax], 0x40000004
jne 0x447bfa
or dword [ebp - 4], 0x20
add eax, esi
cmp dword [eax], 0x40040005
jne 0x447c08
or dword [ebp - 4], 0x40
add eax, esi
cmp dword [eax], 0x40040006
jne 0x447c16
or byte [ebp - 4], 0x80
add eax, esi
push 7
pop esi
mov edx, dword [eax]
mov ebx, esi
or ebx, 0x40000000
cmp ebx, edx
jne 0x447c2b
push 3
jmp 0x447c56
mov ebx, esi
or ebx, 0x40010000
cmp ebx, edx
je 0x447c5c
mov ebx, esi
or ebx, 0x40020000
cmp ebx, edx
jne 0x447c48
xor edx, edx
inc edx
jmp 0x447c57
mov ebx, esi
or ebx, 0x40030000
cmp ebx, edx
jne 0x447c68
push 2
pop edx
shl edx, cl
or dword [ebp - 4], edx
add eax, 4
inc edi
inc ecx
inc ecx
inc esi
cmp ecx, 0x20
jb 0x447c19
shl edi, 8
or dword [ebp - 4], edi
pop esi
pop ebx
cmp dword [eax], 0xffffffff
pop edi
je 0x447c7d
mov eax, 0x8876086c
jmp 0x447c87
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
xor eax, eax
leave
ret 8
Function at 0x45ac10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x18], eax
jae 0x45ad31
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jae 0x45ad15
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 0xc], edi
shr edi, 2
and edi, esi
mov dword [ebp - 4], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 0xc]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp - 4]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 0xc]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x10]
add ecx, 8
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov esi, 0xffc03fc0
jne 0x45ac67
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], edx
jb 0x45ac45
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x45affd
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x105c]
push edi
mov edi, dword [esi + 0x1050]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x45b144
mov edx, 0xf81f
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x45b11f
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff07e0
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x1002]
mov ebp, eax
and ebp, 0xffff07e0
add ebp, ecx
mov ecx, edi
and ecx, 0xffff07e0
add ebp, ecx
mov ecx, esi
and ecx, 0xffff07e0
shr ebx, 2
lea ecx, [ecx + ebp + 0x40]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff07e0
lea eax, [eax + esi + 0x1002]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x45b066
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x45b03d
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x45b271
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x105c]
mov edx, dword [esi + 0x18]
push edi
mov edi, dword [esi + 0x1050]
imul ebp, edi
add ebp, edx
cmp edx, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebp
jae 0x45b3b7
mov eax, 0x83e0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
lea esi, [edx + esi*2]
mov dword [esp + 0x10], ebx
add edi, edx
cmp edx, esi
mov ebx, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x45b392
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx edx, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
and ebp, eax
mov ebx, edx
and ebx, eax
add ebx, ebp
mov ebp, edi
and ebp, eax
add ebx, ebp
mov dword [esp + 0x24], ecx
and ecx, 0x7c1f
mov ebp, esi
and ebp, eax
lea ebx, [ebx + ebp + 0x10040]
mov ebp, edx
and ebp, 0x7c1f
add ebp, ecx
mov ecx, edi
and ecx, 0x7c1f
add ebp, ecx
mov ecx, esi
and ecx, 0x7c1f
lea ecx, [ecx + ebp + 0x802]
shr ecx, 2
shr ebx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and ecx, eax
and edx, eax
add edx, ecx
and edi, eax
add edx, edi
mov edi, dword [esp + 0x1c]
and esi, eax
and ebx, 0xffff7c1f
lea ecx, [edx + esi + 0x10040]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [ecx], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x45b2da
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea edx, [edx + edi*2]
cmp edx, ebp
mov dword [esp + 0x20], edx
jb 0x45b2b1
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret