joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cb30
Capabilities:
Get common file path

Disassembly:
push ecx
cmp byte [0x4ecae6], 0
je 0x40cb8e
mov eax, dword [0x4f676c]
cmp word [eax], 0
je 0x40cb57
push eax
call fcn.0048b4a0
add esp, 4
test eax, eax
je 0x40cb74
mov eax, dword [0x4f676c]
push eax
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push dword [0x4f676c]
call fcn.0048b4a0
add esp, 4
push 0x104
push dword [0x4f676c]
call fcn.0048ad9e
add esp, 8
mov byte [0x4ecae6], 0
cmp byte [0x54e623], 0
je 0x40cb9c
call fcn.00428bb0
call fcn.00412560
mov word [0x54e629], 0x100
call fcn.004123c0
call fcn.0040c820
cmp byte [0x54e4ed], 0
je 0x40cbc9
mov byte [0x54e4ed], 0
call fcn.0040c150
pop ecx
ret
Function at 0x40fe70
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x4c
push esi
push edi
lea eax, [esp + 8]
mov word [esp + 8], 0x1e02
push eax
push dword [0x54e460]
mov edi, edx
mov byte [esp + 0x12], 2
mov esi, ecx
call dword [sym.imp.SDL2.dll_SDL_GetWindowWMInfo]
add esp, 8
test eax, eax
je 0x410050
mov eax, dword [esp + 0x10]
push str.LocalFT2CloneHwnd
push 0
push 0xf001f
mov dword [0x54e428], eax
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov ecx, eax
mov dword [0x50ade4], ecx
test ecx, ecx
jne 0x40ff25
push str.LocalFT2CloneHwnd
push 4
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0x50ade8], eax
test eax, eax
je 0x410040
push 4
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x50ade0], eax
test eax, eax
je 0x410040
mov ecx, dword [0x54e428]
push eax
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [0x50ade0], 0
jmp 0x410040
cmp esi, 2
jl 0x410040
mov eax, dword [edi + 4]
cmp byte [eax], 0
je 0x410040
mov esi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 4
push 0
push 0
push 0xf001f
push ecx
call esi
mov dword [0x50ade0], eax
test eax, eax
je 0x41002a
mov ecx, dword [eax]
push eax
mov dword [0x50adec], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [0x50ade4]
mov dword [0x50ade0], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.LocalFT2CloneFilename
push 0x20a
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [0x50ade4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0x50ade4], eax
test eax, eax
je 0x410022
push 0x20a
push 0
push 0
push 0xf001f
push eax
call esi
mov esi, eax
mov dword [0x50ade0], esi
test esi, esi
je 0x410022
mov ecx, dword [edi + 4]
mov edx, esi
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x40ffd0
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0
push 0
push 0x401
push dword [0x50adec]
mov dword [0x50ade0], 0
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x50
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x50ade4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x50ade4], 0
mov al, 1
pop edi
pop esi
add esp, 0x4c
ret
push dword [0x50ade4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x50ade4], 0
push 1
push 0x201
call dword [sym.imp.SDL2.dll_SDL_EventState]
add esp, 8
pop edi
xor al, al
pop esi
add esp, 0x4c
ret
Function at 0x4144c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
movzx eax, byte [0x54e52a]
push esi
mov ecx, dword [eax*4 + 0x54ed40]
test ecx, ecx
jne 0x4144e2
mov esi, dword [0x54ed40]
add esi, 0xdc
jmp 0x4144f7
movzx eax, byte [0x54e52c]
lea esi, [ecx + 0xdc]
imul eax, eax, 0xd8
add esi, eax
mov eax, dword [0x54e3ac]
mov edx, 8
mov ecx, dword [0x54e3c0]
add eax, 0x7f00c
nop dword [eax]
mov dword [eax], ecx
lea eax, [eax + 0x9e0]
mov dword [eax - 0x9dc], ecx
mov dword [eax - 0x9d8], ecx
mov dword [eax - 0x9d4], ecx
mov dword [eax - 0x9d0], ecx
mov dword [eax - 0x9cc], ecx
mov dword [eax - 0x9c8], ecx
mov dword [eax - 0x9c4], ecx
mov dword [eax - 0x9c0], ecx
mov dword [eax - 0x9bc], ecx
mov dword [eax - 0x9b8], ecx
mov dword [eax - 0x9b4], ecx
mov dword [eax - 0x9b0], ecx
mov dword [eax - 0x9ac], ecx
mov dword [eax - 0x9a8], ecx
mov dword [eax - 0x9a4], ecx
mov dword [eax - 0x9a0], ecx
mov dword [eax - 0x99c], ecx
mov dword [eax - 0x998], ecx
mov dword [eax - 0x994], ecx
mov dword [eax - 0x990], ecx
mov dword [eax - 0x98c], ecx
mov dword [eax - 0x988], ecx
mov dword [eax - 0x984], ecx
mov dword [eax - 0x980], ecx
mov dword [eax - 0x97c], ecx
mov dword [eax - 0x978], ecx
sub edx, 1
jne 0x414510
mov cl, byte [esi + 0x18]
test cl, cl
jne 0x4145ce
mov byte [esp + 4], 0x30
jmp 0x4146c8
mov al, cl
sar al, 7
and al, 2
add al, 0x2b
mov byte [esp + 4], al
movsx eax, cl
cdq
xor eax, edx
sub eax, edx
movzx ecx, ax
push ebx
movsx esi, cx
push edi
mov eax, esi
mov edi, 0xa
cdq
idiv edi
push dword [esp + 0xc]
mov ebx, edx
mov edx, 0xcd
push 5
cmp cx, 0x64
jl 0x414672
mov ecx, 0x1eb
call fcn.00410c40
mov eax, 0x51eb851f
mov ecx, 0x1f2
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
idiv edi
add dl, 0x30
movzx eax, dl
mov edx, 0xcd
push eax
push 5
call fcn.00410c40
mov eax, 0x66666667
mov ecx, 0x1f9
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
idiv edi
add dl, 0x30
movzx eax, dl
mov edx, 0xcd
push eax
push 5
call fcn.00410c40
add esp, 0x18
add bl, 0x30
jmp 0x4146c2
add bl, 0x30
cmp cx, di
jl 0x4146b5
mov ecx, 0x1f2
call fcn.00410c40
mov eax, 0x66666667
mov ecx, 0x1f9
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
idiv edi
add dl, 0x30
movzx eax, dl
mov edx, 0xcd
push eax
push 5
call fcn.00410c40
add esp, 0x10
jmp 0x4146c2
mov ecx, 0x1f9
call fcn.00410c40
add esp, 8
pop edi
mov byte [esp + 8], bl
pop ebx
push dword [esp + 4]
mov edx, 0xcd
mov ecx, 0x200
push 5
call fcn.00410c40
add esp, 8
pop esi
pop ecx
ret
Function at 0x41adb0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push esi
push 0x4ddb84
push ecx
call fcn.004891f7
mov esi, eax
add esp, 8
test esi, esi
jne 0x41adcf
xor al, al
pop esi
add esp, 0x18
ret
push esi
push 0x16
lea eax, [esp + 0xc]
push 1
push eax
call fcn.0048a465
push esi
call fcn.00488f38
push 0x15
lea eax, [esp + 0x1c]
push str.Extended_Instrument:
push eax
call fcn.0048f010
add esp, 0x20
test eax, eax
je 0x41ae29
lea ecx, [esp + 4]
mov edx, str.GF1PATCH110
mov esi, 0x12
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x41adc8
add ecx, 4
add edx, 4
sub esi, 4
jae 0x41ae10
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x41adc8
mov al, 1
pop esi
add esp, 0x18
ret
Function at 0x427e80
Capabilities:
Enumerate pe sections

Disassembly:
push 0
push 0x10
push 0x35
mov edx, 0x5c
xor ecx, ecx
call fcn.00411860
mov edx, 0x5c
push 0
push 0x10
push 0x77
lea ecx, [edx - 0x27]
call fcn.00411860
mov edx, 0x5c
push 0
push 0x10
push 0x77
lea ecx, [edx + 0x50]
call fcn.00411860
push 0
push 0x41
push 0x35
mov edx, 0x6c
xor ecx, ecx
call fcn.00411860
mov edx, 0x6c
push 0
push 0x41
push 0x77
lea ecx, [edx - 0x37]
call fcn.00411860
mov edx, 0x6c
push 0
push 0x41
push 0x77
lea ecx, [edx + 0x40]
call fcn.00411860
add esp, 0x48
mov edx, 0x5f
push str.Transp.
push 8
push ecx
lea ecx, [edx - 0x5b]
call fcn.004110f0
add esp, 0xc
mov edx, 0x5f
push str.Current_instrument
push 8
push ecx
lea ecx, [edx - 0x25]
call fcn.004110f0
add esp, 0xc
mov edx, 0x5f
push str.All_instruments
push 8
push ecx
lea ecx, [edx + 0x5d]
call fcn.004110f0
add esp, 0xc
mov edx, 0x72
push str.Track
push 8
push ecx
lea ecx, [edx - 0x6e]
call fcn.004110f0
add esp, 0xc
mov edx, 0x81
push str.Pattern
push 8
push ecx
lea ecx, [edx - 0x7d]
call fcn.004110f0
add esp, 0xc
mov edx, 0x90
push str.Song
push 8
push ecx
mov ecx, 4
call fcn.004110f0
add esp, 0xc
push str.Block
push 8
push ecx
mov edx, 0x9f
mov ecx, 4
call fcn.004110f0
add esp, 0xc
mov byte [0x4e9cb6], 1
mov ecx, 0x4e9c98
call fcn.0042d9a0
mov ecx, 0x4e9cc0
mov byte [0x4e9cde], 1
call fcn.0042d9a0
mov ecx, 0x4e9ce8
mov byte [0x4e9d06], 1
call fcn.0042d9a0
mov ecx, 0x4e9d10
mov byte [0x4e9d2e], 1
call fcn.0042d9a0
mov ecx, 0x4e9d38
mov byte [0x4e9d56], 1
call fcn.0042d9a0
mov ecx, 0x4e9d60
mov byte [0x4e9d7e], 1
call fcn.0042d9a0
mov ecx, 0x4e9d88
mov byte [0x4e9da6], 1
call fcn.0042d9a0
mov ecx, 0x4e9db0
mov byte [0x4e9dce], 1
call fcn.0042d9a0
mov ecx, 0x4e9dd8
mov byte [0x4e9df6], 1
call fcn.0042d9a0
mov ecx, 0x4e9e00
mov byte [0x4e9e1e], 1
call fcn.0042d9a0
mov ecx, 0x4e9e28
mov byte [0x4e9e46], 1
call fcn.0042d9a0
mov ecx, 0x4e9e50
mov byte [0x4e9e6e], 1
call fcn.0042d9a0
mov ecx, 0x4e9e78
mov byte [0x4e9e96], 1
call fcn.0042d9a0
mov ecx, 0x4e9ea0
mov byte [0x4e9ebe], 1
call fcn.0042d9a0
mov ecx, 0x4e9ec8
mov byte [0x4e9ee6], 1
call fcn.0042d9a0
mov ecx, 0x4e9ef0
mov byte [0x4e9f0e], 1
call fcn.0042d9a0
mov ecx, 0x4e9f18
mov byte [0x4e9f36], 1
call fcn.0042d9a0
mov ecx, 0x4e9f40
mov byte [0x4e9f5e], 1
call fcn.0042d9a0
mov ecx, 0x4e9f68
mov byte [0x4e9f86], 1
call fcn.0042d9a0
mov ecx, 0x4e9f90
mov byte [0x4e9fae], 1
call fcn.0042d9a0
mov ecx, 0x4e9fb8
mov byte [0x4e9fd6], 1
call fcn.0042d9a0
mov ecx, 0x4e9fe0
mov byte [0x4e9ffe], 1
call fcn.0042d9a0
mov ecx, 0x4ea008
mov byte [0x4ea026], 1
call fcn.0042d9a0
mov ecx, 0x4ea030
mov byte [0x4ea04e], 1
call fcn.0042d9a0
mov ecx, 0x4ea058
mov byte [0x4ea076], 1
call fcn.0042d9a0
mov byte [0x4ea09e], 1
mov ecx, 0x4ea080
call fcn.0042d9a0
mov ecx, 0x4ea0a8
mov byte [0x4ea0c6], 1
call fcn.0042d9a0
mov ecx, 0x4ea0d0
mov byte [0x4ea0ee], 1
call fcn.0042d9a0
mov ecx, 0x4ea0f8
mov byte [0x4ea116], 1
call fcn.0042d9a0
mov ecx, 0x4ea120
mov byte [0x4ea13e], 1
call fcn.0042d9a0
mov ecx, 0x4ea148
mov byte [0x4ea166], 1
call fcn.0042d9a0
mov byte [0x4ea18e], 1
mov ecx, 0x4ea170
jmp fcn.0042d9a0
Function at 0x42c530
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov ax, word [0x550b46]
push ebx
mov ebx, ecx
push esi
mov esi, edx
mov dword [esp + 0xc], esi
cmp word [0x550b44], ax
jg 0x42c774
mov ecx, dword [esp + 0x18]
movzx edx, byte [0x54e644]
push ebp
push edi
movzx eax, word [ecx + 0xa]
dec edx
movzx edi, byte [0x54e643]
mov ebp, ebx
movzx ecx, word [ecx + 0xc]
sub ebp, eax
movsx eax, word [0x550b40]
add edx, edi
add ecx, ebx
cmp eax, edx
jg 0x42c772
movsx eax, word [0x550b42]
cmp eax, edi
jl 0x42c772
movsx eax, word [0x550b44]
cmp eax, ecx
jg 0x42c772
movsx eax, word [0x550b46]
cmp eax, ebp
jl 0x42c772
movzx eax, byte [0x54e63d]
movzx ecx, byte [0x552503]
lea ecx, [eax + ecx*2]
movzx eax, byte [0x54e623]
lea eax, [eax + ecx*2]
lea edx, [eax + eax*2]
movzx eax, word [edx*2 + 0x4bf334]
mov dword [esp + 0x10], eax
movzx eax, word [0x550b40]
movsx ecx, ax
movzx eax, byte [0x54e643]
sub ecx, eax
movzx eax, word [0x54e646]
imul eax, ecx
mov ecx, 0x20
add eax, 0x20
cmp eax, ecx
cmovge ecx, eax
movzx eax, word [0x550b42]
movsx edi, ax
movzx eax, byte [0x54e643]
sub edi, eax
mov dword [esp + 0x18], ecx
movzx eax, word [0x54e646]
inc edi
mov ecx, dword [esp + 0x10]
imul edi, eax
mov eax, 0x260
add edi, 0x18
cmp edi, eax
cmovg edi, eax
movsx eax, word [0x550b44]
cmp eax, ebx
movsx eax, word [0x550b44]
jge 0x42c65a
sub eax, ebp
imul eax, esi
mov esi, ecx
add eax, ecx
cmp eax, ecx
cmovge esi, eax
jmp 0x42c67f
cmp eax, ebx
jne 0x42c668
movzx esi, word [edx*2 + 0x4bf336]
jmp 0x42c67f
movsx eax, word [0x550b44]
sub eax, ebx
dec eax
imul eax, esi
movzx esi, word [edx*2 + 0x4bf338]
add esi, eax
movsx eax, word [0x550b46]
dec eax
cmp eax, ebx
jge 0x42c69d
movsx edx, word [0x550b46]
sub edx, ebp
imul edx, dword [esp + 0x14]
add edx, ecx
jmp 0x42c6eb
movsx eax, word [0x550b46]
dec eax
cmp eax, ebx
jne 0x42c6b6
movzx edx, word [edx*2 + 0x4bf336]
add edx, 0xb
jmp 0x42c6eb
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + 0xc]
imul ecx, dword [esp + 0x14]
movzx eax, word [edx*2 + 0x4bf338]
add ecx, eax
movsx eax, word [0x550b46]
movzx edx, word [edx*2 + 0x4bf338]
sub eax, ebx
dec eax
imul eax, dword [esp + 0x14]
add edx, eax
cmp edx, ecx
cmovg edx, ecx
cmp byte [0x552503], 0
je 0x42c727
cmp byte [0x54e63d], 0
je 0x42c727
mov ecx, dword [esp + 0x20]
movzx eax, word [ecx]
dec eax
cmp esi, eax
je 0x42c712
movzx eax, word [ecx + 2]
dec eax
cmp esi, eax
jne 0x42c713
inc esi
cmp edx, 0x180
mov eax, 0x17f
cmovne eax, edx
mov edx, eax
cmp esi, edx
jge 0x42c772
mov eax, dword [0x54e3ac]
sub edx, esi
sub edi, dword [esp + 0x18]
imul ecx, esi, 0x278
add ecx, dword [esp + 0x18]
lea esi, [eax + ecx*4]
test edx, edx
jle 0x42c772
xor eax, eax
test edi, edi
jle 0x42c767
nop dword [eax]
movzx ecx, byte [esi + eax*4 + 3]
xor ecx, 2
mov ecx, dword [ecx*4 + 0x54e3b0]
mov dword [esi + eax*4], ecx
inc eax
cmp eax, edi
jl 0x42c750
add esi, 0x9e0
sub edx, 1
jne 0x42c743
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x4380f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp byte [0x54e63c], 0
push esi
push edi
je 0x4381a2
cmp dword [0x5375f4], 0
je 0x4381a2
mov ecx, dword [0x4edf3c]
mov esi, dword [0x4edf40]
test ecx, ecx
jne 0x438125
test esi, esi
je 0x4381a2
call fcn.00437a00
mov edi, eax
cmp edi, 0x278
jge 0x4381a2
mov ecx, esi
call fcn.00437a00
mov esi, eax
test esi, esi
js 0x4381a2
cmp edi, 0x277
jle 0x438150
mov edi, 0x277
jmp 0x438157
xor eax, eax
test edi, edi
cmovs edi, eax
mov eax, 0x277
cmp esi, eax
cmovg esi, eax
mov eax, dword [0x54e3ac]
sub esi, edi
inc esi
add eax, 0x6b640
lea edx, [eax + edi*4]
mov edi, 0x9a
xor eax, eax
test esi, esi
jle 0x438197
nop dword [eax]
movzx ecx, byte [edx + eax*4 + 3]
xor ecx, 2
mov ecx, dword [ecx*4 + 0x54e3b0]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, esi
jl 0x438180
add edx, 0x9e0
sub edi, 1
jne 0x438176
pop edi
pop esi
pop ecx
ret
Function at 0x4385b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
cmp byte [0x54e4b5], 0
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
je 0x4386ae
movaps xmm1, xmmword [0x4e2d40]
mov ecx, edx
movaps xmm3, xmmword [0x4e2d10]
xorps xmm2, xmm2
shr ecx, 4
test ecx, ecx
je 0x438662
mov eax, ecx
mov esi, edi
shl eax, 4
add edi, eax
mov eax, esi
add esi, 0x10
movups xmm0, xmmword [eax]
pxor xmm0, xmm3
pminub xmm1, xmm0
pmaxub xmm2, xmm0
sub ecx, 1
jne 0x4385f1
movaps xmm0, xmm1
punpckhqdq xmm0, xmm1
pminub xmm1, xmm0
movaps xmm0, xmm2
punpckhqdq xmm0, xmm2
pmaxub xmm2, xmm0
pshufd xmm0, xmm1, 0x55
pminub xmm1, xmm0
pshufd xmm0, xmm2, 0x55
pmaxub xmm2, xmm0
movaps xmm0, xmm1
psrad xmm0, 0x10
pminub xmm1, xmm0
movaps xmm0, xmm2
psrad xmm0, 0x10
pmaxub xmm2, xmm0
movaps xmm0, xmm1
psraw xmm0, 8
pminub xmm1, xmm0
movaps xmm0, xmm2
psraw xmm0, 8
pmaxub xmm2, xmm0
test dl, 0xf
je 0x438690
mov al, byte [edi]
lea edi, [edi + 1]
xor al, 0x80
dec edx
movsx eax, al
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pminub xmm1, xmm0
pmaxub xmm2, xmm0
test dl, 0xf
jne 0x438667
mov eax, dword [ebp + 8]
movd edx, xmm2
movd ecx, xmm1
xor dl, 0x80
xor cl, 0x80
mov byte [eax], cl
mov eax, dword [ebp + 0xc]
mov byte [eax], dl
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov cl, 0x80
mov byte [esp + 0xc], 0x7f
xor eax, eax
mov dword [esp + 0x10], ecx
test edx, edx
je 0x4387f0
cmp edx, 0x20
jb 0x438796
cmp dword [0x4ed0fc], 2
jl 0x438796
movaps xmm2, xmmword [0x4e2cb0]
mov ecx, edx
movaps xmm1, xmmword [0x4e2d10]
and ecx, 0xffffffe0
movaps xmm3, xmm2
movaps xmm4, xmm1
movups xmm0, xmmword [edi + eax]
pminsb xmm2, xmm0
pmaxsb xmm1, xmm0
movups xmm0, xmmword [edi + eax + 0x10]
add eax, 0x20
pminsb xmm3, xmm0
pmaxsb xmm4, xmm0
cmp eax, ecx
jb 0x4386f2
pmaxsb xmm1, xmm4
movaps xmm0, xmm1
psrldq xmm0, 8
pmaxsb xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
pmaxsb xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 2
pmaxsb xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 1
pmaxsb xmm1, xmm0
pminsb xmm2, xmm3
movaps xmm0, xmm2
movd ecx, xmm1
psrldq xmm0, 8
pminsb xmm2, xmm0
movups xmm0, xmm2
mov dword [esp + 0x10], ecx
psrldq xmm0, 4
pminsb xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
pminsb xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
pminsb xmm2, xmm0
movd dword [esp + 0xc], xmm2
cmp eax, edx
jae 0x4387f0
nop word [eax + eax]
mov dl, byte [eax + edi]
cmp dl, byte [esp + 0xc]
movzx ecx, dl
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
movzx ecx, cl
cmovge esi, ecx
cmp dl, byte [esp + 0x10]
movzx ecx, dl
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
movzx ecx, cl
cmovle edx, ecx
mov dword [esp + 0x14], esi
inc eax
mov byte [esp + 0x10], dl
mov ecx, esi
mov byte [esp + 0xc], cl
cmp eax, dword [esp + 0x1c]
jb 0x4387a0
mov byte [esp + 0xc], cl
mov cl, dl
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0xc]
pop edi
pop esi
mov byte [eax], dl
mov eax, dword [ebp + 0xc]
mov byte [eax], cl
mov esp, ebp
pop ebp
ret
Function at 0x43c800
Capabilities:
Encode data using xor

Disassembly:
cmp ecx, 0x277
ja 0x43c856
mov eax, dword [0x54e3ac]
mov edx, 0x4d
lea eax, [eax + ecx*4]
add eax, 0x6b640
nop word [eax + eax]
movzx ecx, byte [eax + 3]
lea eax, [eax + 0x13c0]
xor ecx, 1
mov ecx, dword [ecx*4 + 0x54e3b0]
mov dword [eax - 0x13c0], ecx
movzx ecx, byte [eax - 0x9dd]
xor ecx, 1
mov ecx, dword [ecx*4 + 0x54e3b0]
mov dword [eax - 0x9e0], ecx
sub edx, 1
jne 0x43c820
ret
Function at 0x43cee0
Capabilities:
Enumerate pe sections

Disassembly:
push 0
push 0x2c
push 0x9e
mov edx, 0x5c
xor ecx, ecx
call fcn.00411860
push 0
push 0x25
push 0x9e
mov edx, 0x88
xor ecx, ecx
call fcn.00411860
mov edx, 0x5c
push 0
push 0x51
push 0x85
lea ecx, [edx + 0x42]
call fcn.00411860
add esp, 0x24
mov edx, 0x60
push str.Rng.:
push 8
push ecx
lea ecx, [edx - 0x5c]
call fcn.004110f0
add esp, 0xc
mov edx, 0x5f
push 0x2d
push 8
push ecx
lea ecx, [edx - 4]
call fcn.00410dc0
add esp, 0xc
mov edx, 0x6e
push str.Range_size
push 8
push ecx
lea ecx, [edx - 0x6a]
call fcn.004110f0
add esp, 0xc
mov edx, 0x7c
push str.Copy_buf._size
push 8
push ecx
lea ecx, [edx - 0x78]
call fcn.004110f0
add esp, 0xc
mov edx, 0x60
push str.Src.instr.
push 8
push ecx
lea ecx, [edx + 0x42]
call fcn.004110f0
add esp, 0xc
mov edx, 0x60
push str.smp.
push 8
push ecx
mov ecx, 0xf5
call fcn.004110f0
add esp, 0xc
mov edx, 0x6d
push str.Dest.instr.
push 8
push ecx
lea ecx, [edx + 0x35]
call fcn.004110f0
add esp, 0xc
mov edx, 0x6d
push str.smp.
push 8
push ecx
mov ecx, 0xf5
call fcn.004110f0
add esp, 0xc
mov byte [0x4ea5ee], 1
mov ecx, 0x4ea5d0
call fcn.0042d9a0
mov ecx, 0x4ea5f8
mov byte [0x4ea616], 1
call fcn.0042d9a0
mov ecx, 0x4ea620
mov byte [0x4ea63e], 1
call fcn.0042d9a0
mov ecx, 0x4ea648
mov byte [0x4ea666], 1
call fcn.0042d9a0
mov ecx, 0x4ea670
mov byte [0x4ea68e], 1
call fcn.0042d9a0
mov ecx, 0x4ea698
mov byte [0x4ea6b6], 1
call fcn.0042d9a0
mov ecx, 0x4ea6c0
mov byte [0x4ea6de], 1
call fcn.0042d9a0
mov ecx, 0x4ea6e8
mov byte [0x4ea706], 1
call fcn.0042d9a0
mov ecx, 0x4ea710
mov byte [0x4ea72e], 1
call fcn.0042d9a0
mov ecx, 0x4ea738
mov byte [0x4ea756], 1
call fcn.0042d9a0
mov ecx, 0x4ea760
mov byte [0x4ea77e], 1
call fcn.0042d9a0
mov byte [0x4ea7a6], 1
mov ecx, 0x4ea788
jmp fcn.0042d9a0
Function at 0x43e610
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
mov eax, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
cmp byte [ebx + 0x17], 0
je 0x43e76b
xor edx, edx
push ebp
push esi
push edi
lea esi, [edx + 8]
mov edi, dword [ebx + 0xd4]
mov dword [esp + 0x10], edx
cmp byte [0x51d9c6], dl
je 0x43e6ae
mov ecx, dword [0x4edf3c]
lea eax, [edi + 8]
mov ebp, dword [0x4edf40]
cmp ecx, eax
jg 0x43e768
cmp ebp, edi
jl 0x43e768
cmp ecx, edi
jle 0x43e678
mov edx, ecx
mov esi, edi
sub edx, edi
sub esi, ecx
mov dword [esp + 0x10], edx
add esi, 8
sub edi, ecx
mov ecx, ebp
sub ecx, edi
lea eax, [esi + edi]
cmp eax, ebp
cmovle ecx, esi
mov esi, ecx
cmp esi, 8
ja 0x43e768
test edi, edi
js 0x43e768
test edx, edx
js 0x43e768
cmp edx, 8
jge 0x43e768
mov eax, dword [esp + 0x14]
push 0x4e0a38
push eax
call fcn.004891f7
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x43e768
mov bl, byte [ebx + 0x25]
lea ecx, [edi + edi]
and bl, 0x10
push 0
cmove ecx, edi
add ecx, dword [esp + 0x1c]
push ecx
push ebp
call fcn.00489d25
add esp, 0xc
test bl, bl
je 0x43e715
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
add ecx, 0x94
push ebp
push esi
push 2
lea eax, [ecx + eax*2]
push eax
call fcn.0048a02c
add esp, 0x10
push ebp
call fcn.00488f38
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
test esi, esi
jle 0x43e75f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
lea edi, [eax + 0x4a]
lea edi, [ecx + edi*2]
nop word [eax + eax]
cmp byte [0x54e552], 2
mov al, byte [edi]
mov byte [esp + 0x20], al
jne 0x43e745
xor al, 0x80
mov byte [esp + 0x20], al
push ebp
push 1
lea eax, [esp + 0x28]
push 1
push eax
call fcn.0048a02c
add esp, 0x10
add edi, 2
sub esi, 1
jne 0x43e730
push ebp
call fcn.00488f38
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x43e770
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, ecx
push edi
push 1
push 4
push edx
call fcn.0048a02c
mov edx, dword [esp + 0x1c]
mov esi, edx
mov eax, edx
and esi, 0xff00
shl eax, 0x10
or esi, eax
mov eax, edx
and eax, 0xff0000
shr edx, 0x10
or eax, edx
shl esi, 8
push edi
shr eax, 8
or esi, eax
lea eax, [esp + 0x20]
push 1
push 4
push eax
mov dword [esp + 0x2c], esi
call fcn.0048a02c
add esp, 0x20
pop edi
pop esi
ret

Function at 0x43e7c0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, edx
mov eax, edx
shl eax, 0x10
and esi, 0xff00
or esi, eax
mov eax, edx
and eax, 0xff0000
shr edx, 0x10
or eax, edx
shl esi, 8
push ecx
shr eax, 8
or esi, eax
lea eax, [esp + 8]
push 1
push 4
push eax
mov dword [esp + 0x14], esi
call fcn.0048a02c
add esp, 0x10
pop esi
pop ecx
ret

Function at 0x43e800
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
push esi
push dword [esp + 0xc]
push 1
push edx
call fcn.0048a02c
add esp, 0x10
test byte [esp + 8], 1
je 0x43e825
push esi
push 0
call fcn.00488db7
add esp, 8
pop esi
ret