joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414550
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 0x414572
mov esi, dword [0x54ed40]
add esi, 0xdc
jmp 0x414587
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 0x4145a0
mov cl, byte [esi + 0x18]
test cl, cl
jne 0x41465e
mov byte [esp + 4], 0x30
jmp 0x414758
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 0x414702
mov ecx, 0x1eb
call fcn.00410d00
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.00410d00
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.00410d00
add esp, 0x18
add bl, 0x30
jmp 0x414752
add bl, 0x30
cmp cx, di
jl 0x414745
mov ecx, 0x1f2
call fcn.00410d00
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.00410d00
add esp, 0x10
jmp 0x414752
mov ecx, 0x1f9
call fcn.00410d00
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.00410d00
add esp, 8
pop esi
pop ecx
ret
Function at 0x41ae50
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push esi
push 0x4ddb94
push ecx
call fcn.00489507
mov esi, eax
add esp, 8
test esi, esi
jne 0x41ae6f
xor al, al
pop esi
add esp, 0x18
ret
push esi
push 0x16
lea eax, [esp + 0xc]
push 1
push eax
call fcn.0048a775
push esi
call fcn.00489248
push 0x15
lea eax, [esp + 0x1c]
push str.Extended_Instrument:
push eax
call fcn.0048f320
add esp, 0x20
test eax, eax
je 0x41aec9
lea ecx, [esp + 4]
mov edx, str.GF1PATCH110
mov esi, 0x12
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x41ae68
add ecx, 4
add edx, 4
sub esi, 4
jae 0x41aeb0
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x41ae68
mov al, 1
pop esi
add esp, 0x18
ret
Function at 0x428090
Capabilities:
Enumerate pe sections

Disassembly:
push 0
push 0x10
push 0x35
mov edx, 0x5c
xor ecx, ecx
call fcn.00411920
mov edx, 0x5c
push 0
push 0x10
push 0x77
lea ecx, [edx - 0x27]
call fcn.00411920
mov edx, 0x5c
push 0
push 0x10
push 0x77
lea ecx, [edx + 0x50]
call fcn.00411920
push 0
push 0x41
push 0x35
mov edx, 0x6c
xor ecx, ecx
call fcn.00411920
mov edx, 0x6c
push 0
push 0x41
push 0x77
lea ecx, [edx - 0x37]
call fcn.00411920
mov edx, 0x6c
push 0
push 0x41
push 0x77
lea ecx, [edx + 0x40]
call fcn.00411920
add esp, 0x48
mov edx, 0x5f
push str.Transp.
push 8
push ecx
lea ecx, [edx - 0x5b]
call fcn.004111b0
add esp, 0xc
mov edx, 0x5f
push str.Current_instrument
push 8
push ecx
lea ecx, [edx - 0x25]
call fcn.004111b0
add esp, 0xc
mov edx, 0x5f
push str.All_instruments
push 8
push ecx
lea ecx, [edx + 0x5d]
call fcn.004111b0
add esp, 0xc
mov edx, 0x72
push str.Track
push 8
push ecx
lea ecx, [edx - 0x6e]
call fcn.004111b0
add esp, 0xc
mov edx, 0x81
push str.Pattern
push 8
push ecx
lea ecx, [edx - 0x7d]
call fcn.004111b0
add esp, 0xc
mov edx, 0x90
push str.Song
push 8
push ecx
mov ecx, 4
call fcn.004111b0
add esp, 0xc
push str.Block
push 8
push ecx
mov edx, 0x9f
mov ecx, 4
call fcn.004111b0
add esp, 0xc
mov byte [0x4e9cb6], 1
mov ecx, 0x4e9c98
call fcn.0042dba0
mov ecx, 0x4e9cc0
mov byte [0x4e9cde], 1
call fcn.0042dba0
mov ecx, 0x4e9ce8
mov byte [0x4e9d06], 1
call fcn.0042dba0
mov ecx, 0x4e9d10
mov byte [0x4e9d2e], 1
call fcn.0042dba0
mov ecx, 0x4e9d38
mov byte [0x4e9d56], 1
call fcn.0042dba0
mov ecx, 0x4e9d60
mov byte [0x4e9d7e], 1
call fcn.0042dba0
mov ecx, 0x4e9d88
mov byte [0x4e9da6], 1
call fcn.0042dba0
mov ecx, 0x4e9db0
mov byte [0x4e9dce], 1
call fcn.0042dba0
mov ecx, 0x4e9dd8
mov byte [0x4e9df6], 1
call fcn.0042dba0
mov ecx, 0x4e9e00
mov byte [0x4e9e1e], 1
call fcn.0042dba0
mov ecx, 0x4e9e28
mov byte [0x4e9e46], 1
call fcn.0042dba0
mov ecx, 0x4e9e50
mov byte [0x4e9e6e], 1
call fcn.0042dba0
mov ecx, 0x4e9e78
mov byte [0x4e9e96], 1
call fcn.0042dba0
mov ecx, 0x4e9ea0
mov byte [0x4e9ebe], 1
call fcn.0042dba0
mov ecx, 0x4e9ec8
mov byte [0x4e9ee6], 1
call fcn.0042dba0
mov ecx, 0x4e9ef0
mov byte [0x4e9f0e], 1
call fcn.0042dba0
mov ecx, 0x4e9f18
mov byte [0x4e9f36], 1
call fcn.0042dba0
mov ecx, 0x4e9f40
mov byte [0x4e9f5e], 1
call fcn.0042dba0
mov ecx, 0x4e9f68
mov byte [0x4e9f86], 1
call fcn.0042dba0
mov ecx, 0x4e9f90
mov byte [0x4e9fae], 1
call fcn.0042dba0
mov ecx, 0x4e9fb8
mov byte [0x4e9fd6], 1
call fcn.0042dba0
mov ecx, 0x4e9fe0
mov byte [0x4e9ffe], 1
call fcn.0042dba0
mov ecx, 0x4ea008
mov byte [0x4ea026], 1
call fcn.0042dba0
mov ecx, 0x4ea030
mov byte [0x4ea04e], 1
call fcn.0042dba0
mov ecx, 0x4ea058
mov byte [0x4ea076], 1
call fcn.0042dba0
mov byte [0x4ea09e], 1
mov ecx, 0x4ea080
call fcn.0042dba0
mov ecx, 0x4ea0a8
mov byte [0x4ea0c6], 1
call fcn.0042dba0
mov ecx, 0x4ea0d0
mov byte [0x4ea0ee], 1
call fcn.0042dba0
mov ecx, 0x4ea0f8
mov byte [0x4ea116], 1
call fcn.0042dba0
mov ecx, 0x4ea120
mov byte [0x4ea13e], 1
call fcn.0042dba0
mov ecx, 0x4ea148
mov byte [0x4ea166], 1
call fcn.0042dba0
mov byte [0x4ea18e], 1
mov ecx, 0x4ea170
jmp fcn.0042dba0
Function at 0x42c730
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 0x42c974
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 0x42c972
movsx eax, word [0x550b42]
cmp eax, edi
jl 0x42c972
movsx eax, word [0x550b44]
cmp eax, ecx
jg 0x42c972
movsx eax, word [0x550b46]
cmp eax, ebp
jl 0x42c972
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 + 0x4bf344]
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 0x42c85a
sub eax, ebp
imul eax, esi
mov esi, ecx
add eax, ecx
cmp eax, ecx
cmovge esi, eax
jmp 0x42c87f
cmp eax, ebx
jne 0x42c868
movzx esi, word [edx*2 + 0x4bf346]
jmp 0x42c87f
movsx eax, word [0x550b44]
sub eax, ebx
dec eax
imul eax, esi
movzx esi, word [edx*2 + 0x4bf348]
add esi, eax
movsx eax, word [0x550b46]
dec eax
cmp eax, ebx
jge 0x42c89d
movsx edx, word [0x550b46]
sub edx, ebp
imul edx, dword [esp + 0x14]
add edx, ecx
jmp 0x42c8eb
movsx eax, word [0x550b46]
dec eax
cmp eax, ebx
jne 0x42c8b6
movzx edx, word [edx*2 + 0x4bf346]
add edx, 0xb
jmp 0x42c8eb
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + 0xc]
imul ecx, dword [esp + 0x14]
movzx eax, word [edx*2 + 0x4bf348]
add ecx, eax
movsx eax, word [0x550b46]
movzx edx, word [edx*2 + 0x4bf348]
sub eax, ebx
dec eax
imul eax, dword [esp + 0x14]
add edx, eax
cmp edx, ecx
cmovg edx, ecx
cmp byte [0x552503], 0
je 0x42c927
cmp byte [0x54e63d], 0
je 0x42c927
mov ecx, dword [esp + 0x20]
movzx eax, word [ecx]
dec eax
cmp esi, eax
je 0x42c912
movzx eax, word [ecx + 2]
dec eax
cmp esi, eax
jne 0x42c913
inc esi
cmp edx, 0x180
mov eax, 0x17f
cmovne eax, edx
mov edx, eax
cmp esi, edx
jge 0x42c972
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 0x42c972
xor eax, eax
test edi, edi
jle 0x42c967
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 0x42c950
add esi, 0x9e0
sub edx, 1
jne 0x42c943
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x438320
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp byte [0x54e63c], 0
push esi
push edi
je 0x4383d2
cmp dword [0x5375f4], 0
je 0x4383d2
mov ecx, dword [0x4edf3c]
mov esi, dword [0x4edf40]
test ecx, ecx
jne 0x438355
test esi, esi
je 0x4383d2
call fcn.00437c30
mov edi, eax
cmp edi, 0x278
jge 0x4383d2
mov ecx, esi
call fcn.00437c30
mov esi, eax
test esi, esi
js 0x4383d2
cmp edi, 0x277
jle 0x438380
mov edi, 0x277
jmp 0x438387
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 0x4383c7
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 0x4383b0
add edx, 0x9e0
sub edi, 1
jne 0x4383a6
pop edi
pop esi
pop ecx
ret
Function at 0x4387e0
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 0x4388de
movaps xmm1, xmmword [0x4e2d80]
mov ecx, edx
movaps xmm3, xmmword [0x4e2d50]
xorps xmm2, xmm2
shr ecx, 4
test ecx, ecx
je 0x438892
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 0x438821
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 0x4388c0
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 0x438897
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 0x438a20
cmp edx, 0x20
jb 0x4389c6
cmp dword [0x4ed0fc], 2
jl 0x4389c6
movaps xmm2, xmmword [0x4e2cf0]
mov ecx, edx
movaps xmm1, xmmword [0x4e2d50]
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 0x438922
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 0x438a20
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 0x4389d0
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 0x43ca60
Capabilities:
Encode data using xor

Disassembly:
cmp ecx, 0x277
ja 0x43cab6
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 0x43ca80
ret
Function at 0x43d140
Capabilities:
Enumerate pe sections

Disassembly:
push 0
push 0x2c
push 0x9e
mov edx, 0x5c
xor ecx, ecx
call fcn.00411920
push 0
push 0x25
push 0x9e
mov edx, 0x88
xor ecx, ecx
call fcn.00411920
mov edx, 0x5c
push 0
push 0x51
push 0x85
lea ecx, [edx + 0x42]
call fcn.00411920
add esp, 0x24
mov edx, 0x60
push str.Rng.:
push 8
push ecx
lea ecx, [edx - 0x5c]
call fcn.004111b0
add esp, 0xc
mov edx, 0x5f
push 0x2d
push 8
push ecx
lea ecx, [edx - 4]
call fcn.00410e80
add esp, 0xc
mov edx, 0x6e
push str.Range_size
push 8
push ecx
lea ecx, [edx - 0x6a]
call fcn.004111b0
add esp, 0xc
mov edx, 0x7c
push str.Copy_buf._size
push 8
push ecx
lea ecx, [edx - 0x78]
call fcn.004111b0
add esp, 0xc
mov edx, 0x60
push str.Src.instr.
push 8
push ecx
lea ecx, [edx + 0x42]
call fcn.004111b0
add esp, 0xc
mov edx, 0x60
push str.smp.
push 8
push ecx
mov ecx, 0xf5
call fcn.004111b0
add esp, 0xc
mov edx, 0x6d
push str.Dest.instr.
push 8
push ecx
lea ecx, [edx + 0x35]
call fcn.004111b0
add esp, 0xc
mov edx, 0x6d
push str.smp.
push 8
push ecx
mov ecx, 0xf5
call fcn.004111b0
add esp, 0xc
mov byte [0x4ea5ee], 1
mov ecx, 0x4ea5d0
call fcn.0042dba0
mov ecx, 0x4ea5f8
mov byte [0x4ea616], 1
call fcn.0042dba0
mov ecx, 0x4ea620
mov byte [0x4ea63e], 1
call fcn.0042dba0
mov ecx, 0x4ea648
mov byte [0x4ea666], 1
call fcn.0042dba0
mov ecx, 0x4ea670
mov byte [0x4ea68e], 1
call fcn.0042dba0
mov ecx, 0x4ea698
mov byte [0x4ea6b6], 1
call fcn.0042dba0
mov ecx, 0x4ea6c0
mov byte [0x4ea6de], 1
call fcn.0042dba0
mov ecx, 0x4ea6e8
mov byte [0x4ea706], 1
call fcn.0042dba0
mov ecx, 0x4ea710
mov byte [0x4ea72e], 1
call fcn.0042dba0
mov ecx, 0x4ea738
mov byte [0x4ea756], 1
call fcn.0042dba0
mov ecx, 0x4ea760
mov byte [0x4ea77e], 1
call fcn.0042dba0
mov byte [0x4ea7a6], 1
mov ecx, 0x4ea788
jmp fcn.0042dba0
Function at 0x43e870
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 0x43e9cb
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 0x43e90e
mov ecx, dword [0x4edf3c]
lea eax, [edi + 8]
mov ebp, dword [0x4edf40]
cmp ecx, eax
jg 0x43e9c8
cmp ebp, edi
jl 0x43e9c8
cmp ecx, edi
jle 0x43e8d8
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 0x43e9c8
test edi, edi
js 0x43e9c8
test edx, edx
js 0x43e9c8
cmp edx, 8
jge 0x43e9c8
mov eax, dword [esp + 0x14]
push 0x4e0a98
push eax
call fcn.00489507
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x43e9c8
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.0048a035
add esp, 0xc
test bl, bl
je 0x43e975
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.0048a33c
add esp, 0x10
push ebp
call fcn.00489248
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
test esi, esi
jle 0x43e9bf
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 0x43e9a5
xor al, 0x80
mov byte [esp + 0x20], al
push ebp
push 1
lea eax, [esp + 0x28]
push 1
push eax
call fcn.0048a33c
add esp, 0x10
add edi, 2
sub esi, 1
jne 0x43e990
push ebp
call fcn.00489248
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x43e9d0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, ecx
push edi
push 1
push 4
push edx
call fcn.0048a33c
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.0048a33c
add esp, 0x20
pop edi
pop esi
ret

Function at 0x43ea20
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.0048a33c
add esp, 0x10
pop esi
pop ecx
ret

Function at 0x43ea60
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
push esi
push dword [esp + 0xc]
push 1
push edx
call fcn.0048a33c
add esp, 0x10
test byte [esp + 8], 1
je 0x43ea85
push esi
push 0
call fcn.004890c7
add esp, 8
pop esi
ret
Function at 0x43f550
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
movzx eax, cx
push edi
imul edi, eax, 0x2c
add edi, 0x4ec010
cmp byte [edi + 0x10], 0
je 0x43f6e2
movzx eax, word [edi + 0x20]
movzx edx, word [edi + 0x22]
mov dword [esp + 0x10], eax
movzx eax, word [edi + 0x24]
mov dword [esp + 8], eax
movzx eax, word [edi + 0x26]
mov dword [esp + 4], eax
movzx eax, word [edi + 2]
imul ecx, eax, 0x278
movzx eax, word [edi]
push ebx
movzx ebx, word [edi + 6]
push ebp
movzx ebp, word [edi + 4]
add ecx, eax
mov eax, dword [0x54e3ac]
shl ebp, 2
mov dword [esp + 0x14], edx
push esi
lea esi, [eax + ecx*4]
test ebx, ebx
je 0x43f5ce
push ebp
push 0
push esi
call fcn.00484630
add esp, 0xc
add esi, 0x9e0
sub ebx, 1
jne 0x43f5b3
mov edx, dword [esp + 0x18]
cmp byte [edi + 9], 1
jne 0x43f5f3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push 1
push dword [esp + 0x14]
push eax
call fcn.00411760
add esp, 0xc
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, ebx
mov ebp, dword [esp + 0x1c]
mov ecx, ebp
push 6
push dword [esp + 0x14]
push esi
call fcn.00411760
movzx eax, bx
add esp, 0xc
imul edx, eax, 0x278
movzx ecx, bp
mov dword [esp + 0x18], ecx
add edx, ecx
shl edx, 2
cmp byte [edi + 0x11], 0
jne 0x43f6b4
add edx, dword [0x54e3ac]
lea ecx, [esi - 1]
movzx edi, cx
mov dword [esp + 0x1c], edi
test edi, edi
je 0x43f654
mov eax, dword [0x54e3dc]
mov ecx, edi
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
lea edx, [ebx + 1]
push 0xb
mov ecx, ebp
lea eax, [esi - 2]
push eax
call fcn.00411880
lea eax, [esi - 1]
add esp, 8
add eax, ebx
movzx edx, ax
imul esi, edx, 0x278
mov edx, dword [0x54e3ac]
add esi, dword [esp + 0x18]
lea edx, [edx + esi*4]
test edi, edi
je 0x43f695
mov eax, dword [0x54e3d8]
mov ecx, edi
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
mov edx, ebx
push 0xa
push dword [esp + 0x14]
dec ecx
add ecx, ebp
call fcn.00411880
add esp, 8
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret
mov edi, dword [0x54e3ac]
movzx ecx, si
add edi, edx
test ecx, ecx
je 0x43f6ca
mov eax, dword [0x54e3d8]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
lea edx, [ebx + 1]
dec eax
mov ecx, ebp
push 0xa
push eax
call fcn.00411880
add esp, 8
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret

Function at 0x43fc70
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, 1
movzx eax, si
imul eax, eax, 0x2c
cmp edx, ecx
cmovae ecx, edx
xor bl, bl
mov edx, dword [eax + 0x4ec024]
mov dword [eax + 0x4ec02c], ecx
cmp edx, ecx
jb 0x43fca1
lea edx, [ecx - 1]
mov bl, 1
mov dword [eax + 0x4ec024], edx
cmp dword [eax + 0x4ec028], 0
jbe 0x43fcba
mov ecx, esi
test bl, bl
je 0x43fcbd
push 0
call fcn.0043fbd0
add esp, 4
pop esi
pop ebx
ret
call fcn.0043f6f0
mov ecx, esi
pop esi
pop ebx
jmp fcn.0043f550
Function at 0x43ff90
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
mov bp, word [0x550b6a]
push esi
movsx eax, bp
imul esi, eax, 0x2c
push edi
add esi, 0x4ec010
cmp byte [esi + 0x10], 0
je 0x440137
cmp byte [esi + 8], 0
jne 0x4400b1
mov edi, dword [0x550b80]
cmp edi, dword [0x550ba0]
je 0x440137
movzx eax, word [esi]
movzx ebx, word [esi + 4]
movsd xmm2, qword [0x4e2ad0]
mov ecx, ebx
mov dword [0x550ba0], edi
sub edi, eax
sub edi, dword [0x550bac]
cmp byte [esi + 9], 0
jne 0x440026
movzx edx, word [esi + 0x24]
movd xmm1, ecx
mov eax, edx
sub ecx, edx
cvtdq2pd xmm1, xmm1
movd xmm0, ecx
mov ecx, ebx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
addsd xmm1, xmm2
cvttsd2si edi, xmm1
jmp 0x44002a
movzx eax, word [esi + 0x24]
movzx ecx, cx
movzx eax, ax
cmp edi, ecx
jle 0x440038
mov edi, ecx
jmp 0x44003f
xor edx, edx
test edi, edi
cmovs edi, edx
movzx edx, word [esi + 0x28]
movzx eax, ax
sub edx, eax
movd xmm0, edi
mov eax, 1
add edx, ecx
cmp edx, eax
push eax
cmovl edx, eax
mov eax, dword [esi + 0x1c]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4e2ce0]
mulsd xmm1, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
addsd xmm1, xmm2
cvttsd2si edx, xmm1
mov cx, bp
call fcn.0043fbd0
mov cx, word [0x550b6a]
add esp, 4
cmp cx, 0xffff
je 0x440137
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.0043f550
mov edx, dword [0x550b84]
cmp edx, dword [0x550ba8]
je 0x440137
movzx eax, word [esi + 2]
movzx edi, word [esi + 6]
mov dword [0x550ba8], edx
sub edx, eax
sub edx, dword [0x550bb0]
cmp edx, edi
jle 0x4400dd
mov edx, edi
jmp 0x4400e4
xor eax, eax
test edx, edx
cmovs edx, eax
movzx eax, word [esi + 0x26]
movzx ecx, word [esi + 0x28]
sub ecx, eax
movd xmm0, edx
mov eax, 1
add ecx, edi
cmp ecx, eax
push eax
cmovl ecx, eax
mov eax, dword [esi + 0x1c]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4e2ce0]
mulsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
addsd xmm1, qword [0x4e2ad0]
jmp 0x440088
pop edi
pop esi
pop ebp
pop ebx
ret