joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407c8b
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x6b83d5
call fcn.006b6d3c
sub esp, 0x18
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [esi + 0x7b], 0
jne 0x407ca5
sub eax, dword [esi + 0x400]
cmp eax, 0x64
jb 0x407d06
movss xmm2, dword [esi + 0x24]
lea edx, [esi + 0x60]
push ebx
lea ecx, [ebp - 0x24]
call fcn.0043c5fc
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0xbc]
push str.bootstrap_text
call fcn.0040959f
lea ecx, [eax + 0x80]
call fcn.004037b9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004063c5
cmp byte [esi + 0x7b], bl
je 0x407ceb
mov byte [esi + 0x7b], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push ebx
push dword [esi + 0x3dc]
mov dword [esi + 0x400], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov ecx, dword [esi + 0xbc]
push str.bootstrap_progress
call fcn.0040959f
movss xmm0, dword [esi + 0x24]
mov ecx, eax
cvtps2pd xmm0, xmm0
movsd qword [eax + 0x68], xmm0
call fcn.005014d5
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x409ff0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6b8348
call fcn.006b6d3c
push ebx
push esi
push edi
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0053b6c1
mov esi, eax
xor ebx, ebx
push 1
mov dword [ebp - 4], ebx
call fcn.00527861
mov dword [esi + 4], eax
lea eax, [edi + 4]
mov dword [edi + 0xc], eax
lea eax, [edi + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
pop ecx
mov dword [edi + 0x34], esi
pop ecx
lea ecx, [edi + 8]
mov dword [edi + 0x10], ecx
mov dword [ecx], ebx
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ebx
mov eax, dword [edi + 0x30]
mov dword [eax], ebx
mov eax, dword [edi + 0xc]
mov dword [eax], ebx
mov eax, dword [edi + 0x1c]
mov dword [eax], ebx
mov eax, dword [edi + 0x2c]
mov dword [eax], ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41192d
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x411944
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

Function at 0x412d15
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x412d5d
lea edx, [esi + 8]
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x412d25
jmp 0x412d6a
cmp dword [esi], 0x4e0
jb 0x412d6a
call fcn.00412e34
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret

Function at 0x412e34
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x412e46
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd4c]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x412e8b
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], 0
pop esi
pop ebx
ret

Function at 0x41317c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
sub esi, edx
push edi
xor edi, edi
cmp edx, dword [ebp + 0xc]
cmova esi, eax
test esi, esi
je 0x4131ac
movzx eax, byte [edx]
xor eax, dword [ecx]
imul eax, eax, 0x1000193
inc edx
inc edi
mov dword [ecx], eax
cmp edi, esi
jne 0x413197
jmp 0x4131ae
mov eax, dword [ecx]
pop edi
pop esi
pop ebp
ret 8
Function at 0x41708a
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov edx, ecx
xor ebx, ebx
mov dword [ebp - 4], edx
mov esi, edi
cmp dword [edi + 0x14], 0x10
jb 0x4170a5
mov esi, dword [edi]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x4170af
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
add eax, ecx
cmp esi, eax
je 0x4170f4
mov al, byte [esi]
push edx
mov byte [ebp + 8], al
call fcn.004091ed
pop ecx
push dword [ebp + 8]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18]
mov edx, dword [ebp - 4]
movsx eax, al
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, ebx
rol eax, 0xd
imul ebx, eax, 5
sub ebx, 0x19ab949c
inc esi
jmp 0x4170a5
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x41ac49
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x6b98f4
call fcn.006b6d3c
sub esp, 0x38
push ebx
push esi
push edi
xor eax, eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], eax
mov esi, edx
mov dword [ebp - 0x10], eax
push 3
push 0x783964
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], al
call fcn.00406551
xor ebx, ebx
lea eax, [ebp - 0x2c]
inc ebx
mov ecx, edi
push eax
mov dword [ebp - 4], ebx
call fcn.0042ebc1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 0
call fcn.004063c5
mov ecx, esi
call fcn.00426f99
push eax
lea ecx, [edi + 0x18]
call fcn.00403790
mov ecx, esi
call fcn.00426a9a
push eax
lea ecx, [edi + 0x64]
call fcn.00403790
call fcn.00413269
lea eax, [ebp - 0x44]
push eax
call fcn.004131f8
push eax
lea ecx, [edi + 0x30]
call fcn.004037b9
lea ecx, [ebp - 0x44]
call fcn.004063c5
mov ecx, esi
call fcn.00426bdc
mov ecx, 0xc45
mov byte [edi + 0x94], 0
cmp eax, ecx
cmovl eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x60], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4280ef
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x6baeb1
call fcn.006b6d3c
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, str.Agent._d__
mov dword [ebp - 0x10], edi
xor ebx, ebx
push ecx
mov dword [edi], eax
lea esi, [edi + 0x14]
mov dword [edi + 4], eax
mov ecx, esi
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
lea eax, [ebp + 0x10]
push eax
mov dword [ebp - 0x14], esi
push ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [ebp + 0x10], ebx
call fcn.0042837e
mov dword [esi + 0xc], ebx
push ebx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0040b996
push 0x24
mov dword [ebp - 4], 1
call fcn.0053b6c1
mov dword [ebp + 0x10], eax
pop ecx
mov ecx, 0x100
mov dword [eax + 4], 0x14
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], vtable.std::_Root_node.0
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x34], ecx
mov dword [edi + 0x30], eax
mov dword [edi + 0x38], 4
mov dword [edi + 0x40], ecx
mov ecx, edi
mov dword [edi + 0x3c], eax
mov dword [edi + 0x50], 0x8775dfb
call fcn.0042840d
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x4288ed
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x428a41
mov edx, 0x10000000
cmp eax, 0x7c
je 0x428a41
cmp eax, 0x29
jne 0x42892a
cmp dword [esi + 0x10], 0
jne 0x428a41
cmp eax, eax
jne 0x42892a
test dword [esi + 0x50], edx
je 0x428a47
cmp eax, 0x2e
jne 0x428945
push 5
lea ecx, [esi + 0x24]
call fcn.00428b21
mov ecx, esi
call fcn.004288c5
jmp 0x428a2b
cmp eax, 0x5c
jne 0x428997
mov ecx, esi
call fcn.004288c5
test byte [esi + 0x50], 0x80
je 0x42898b
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x428974
push 4
lea ecx, [esi + 0x24]
call fcn.00428b21
mov ecx, esi
call fcn.004288c5
jmp 0x428a32
cmp al, 0x42
jne 0x42898b
push 4
lea ecx, [esi + 0x24]
call fcn.00428b21
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x428968
mov ecx, esi
call fcn.00429199
jmp 0x428a2b
cmp eax, 0x5b
jne 0x4289b7
mov ecx, esi
call fcn.004288c5
mov ecx, esi
call fcn.0042914d
cmp dword [esi + 0x4c], 0x5d
je 0x428939
push 4
jmp 0x428a49
cmp eax, 0x28
jne 0x4289d4
mov ecx, esi
call fcn.004288c5
mov ecx, esi
call fcn.0042927a
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x428a47
jmp 0x428a20
cmp eax, 0x5e
jne 0x4289dd
push 2
jmp 0x428960
cmp eax, 0x24
jne 0x4289e9
push 3
jmp 0x428960
cmp eax, 0x2a
je 0x428a3d
cmp eax, 0x2b
je 0x428a3d
cmp eax, 0x3f
je 0x428a3d
cmp eax, 0x7b
je 0x428a3d
cmp eax, 0x7d
jne 0x428a07
test dword [esi + 0x50], edx
je 0x428a39
cmp eax, 0x5d
jne 0x428a11
test dword [esi + 0x50], edx
je 0x4289b0
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00429459
mov bl, 1
mov ecx, esi
call fcn.004288c5
test bl, bl
je 0x428a32
mov ecx, esi
call fcn.0042937f
mov cl, 1
jmp 0x4288f4
push 6
jmp 0x428a49
push 0xa
jmp 0x428a49
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.00428401
int3
Function at 0x42bf01
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x6bb1b1
call fcn.006b6d3c
sub esp, 0xec
push esi
push edi
push ecx
push dword [0x80b5b8]
lea ecx, [ebp - 0x24]
call fcn.0042c09a
and dword [ebp - 4], 0
mov eax, dword [0x80b4d0]
and dword [ebp - 0x10], 0
mov esi, dword [eax + 8]
add esi, eax
cmp dword [0x80b5b8], 0
jbe 0x42bf9d
mov edi, dword [ebp - 0x24]
push ecx
push ecx
lea ecx, [ebp - 0xf8]
call fcn.004111ad
push ecx
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 1
call fcn.0042c0f2
mov edx, esi
mov ecx, eax
call fcn.0040e4fc
push edi
lea ecx, [ebp - 0xf8]
call fcn.0042c13c
mov ecx, esi
call fcn.0046ad4b
inc eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf8]
add esi, eax
call fcn.004100e8
mov eax, dword [ebp - 0x10]
add edi, 2
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [0x80b5b8]
jb 0x42bf40
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov dword [ebp - 0x28], eax
and eax, 0x3ff
and dword [ebp - 0x38], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 2
mov edi, dword [0x80b558]
mov esi, dword [edi]
jmp 0x42c044
mov ecx, dword [esi + 0x20]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x30], ecx
cmp byte [ecx + 0xe], 0
movzx edx, byte [ecx + 0xd]
jbe 0x42c042
mov eax, dword [ebp - 0x24]
lea edx, [eax + edx*2]
mov dword [ebp - 0x18], edx
movzx eax, word [edx]
cmp ax, word [ebp - 0x28]
je 0x42c087
mov dword [ebp - 0x14], 0x400
cmp ax, word [ebp - 0x14]
jae 0x42c030
cmp ax, word [ebp - 0x2c]
jne 0x42c030
lea edx, [ecx + 4]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42c016
sub ecx, dword [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.00406551
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
inc dword [ebp - 0x10]
add edx, 2
movzx eax, byte [ecx + 0xe]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x10], eax
jb 0x42bfeb
mov esi, dword [esi]
cmp esi, edi
jne 0x42bfce
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x48]
push eax
call fcn.00406357
lea ecx, [ebp - 0x48]
call fcn.004063c5
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x42c074
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
and ecx, 0xfffffffe
push ecx
push eax
call fcn.004064ba
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
lea eax, [ecx + 4]
mov ecx, dword [ebp + 8]
push eax
call fcn.004065bb
jmp 0x42c054
Function at 0x42e242
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
push 3
mov ebx, ecx
xor edx, edx
pop ecx
lea eax, [edi + 2]
div ecx
shl eax, 2
cmp dword [esi], eax
jae 0x42e267
xor al, al
jmp 0x42e391
push 3
xor ecx, ecx
pop eax
mov dword [esi], ecx
cmp edi, eax
jb 0x42e2fe
push 3
mov eax, edi
xor edx, edx
pop ecx
div ecx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
movzx edx, byte [eax]
movzx ecx, byte [eax + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
or edx, ecx
mov ecx, dword [esi]
mov eax, edx
shr eax, 0x12
push 3
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + ecx], al
mov eax, edx
inc dword [esi]
mov ecx, dword [esi]
shr eax, 0xc
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
mov eax, edx
inc dword [esi]
and edx, 0x3f
mov ecx, dword [esi]
shr eax, 6
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
inc dword [esi]
mov ecx, dword [esi]
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
pop edx
sub edi, edx
mov byte [ecx + ebx], al
mov ecx, dword [esi]
mov eax, dword [ebp + 8]
inc ecx
add eax, edx
mov dword [esi], ecx
sub dword [ebp + 0xc], 1
mov dword [ebp + 8], eax
jne 0x42e285
jmp 0x42e301
mov eax, dword [ebp + 8]
sub edi, 1
je 0x42e356
sub edi, 1
jne 0x42e38f
movzx edx, byte [eax]
movzx eax, byte [eax + 1]
shl edx, 8
or edx, eax
shl edx, 8
mov eax, edx
shr eax, 0x12
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
mov eax, edx
inc dword [esi]
mov ecx, dword [esi]
shr eax, 0xc
and eax, 0x3f
shr edx, 6
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
inc dword [esi]
and edx, 0x3f
mov ecx, dword [esi]
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
jmp 0x42e385
movzx edx, byte [eax]
shl edx, 0x10
mov eax, edx
shr edx, 0xc
shr eax, 0x12
and edx, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
inc dword [esi]
mov ecx, dword [esi]
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
inc dword [esi]
mov eax, dword [esi]
mov byte [eax + ebx], 0x3d
inc dword [esi]
mov eax, dword [esi]
mov byte [eax + ebx], 0x3d
inc dword [esi]
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42eebd
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x6bb428
call fcn.006b6d3c
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push esi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
call fcn.00405c65
lea eax, [esi + 0x18]
mov dword [ebp - 4], ebx
lea ecx, [edi + 0x18]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00405c65
lea eax, [esi + 0x30]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x30]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00405c65
lea eax, [esi + 0x48]
mov byte [ebp - 4], 2
lea ecx, [edi + 0x48]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00405c65
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
lea eax, [esi + 0x64]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00405c65
lea ecx, [edi + 0x7c]
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
mov dword [ecx + 0x10], ebx
push eax
mov dword [ecx + 0x14], ebx
call fcn.00405c65
mov al, byte [esi + 0x94]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x94], al
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x435dc6
Capabilities:
Get file version info

Disassembly:
mov eax, 0x6bbd34
call fcn.006b6d3c
sub esp, 0x26c
xor eax, eax
push ebx
push esi
push edi
mov ebx, edx
mov esi, ecx
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00464c7f
cmp eax, 1
je 0x435df6
xor al, al
jmp 0x435ea7
push esi
lea ecx, [ebp - 0x278]
call fcn.0046aea9
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x274]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x435e20
xor esi, esi
jmp 0x435e29
push edi
call fcn.0053b995
pop ecx
mov esi, eax
push esi
push edi
push 0
push dword [ebp - 0x274]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x435e7e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x786618
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x435e7e
cmp dword [ebp - 0x10], 0x34
jb 0x435e7e
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + 0xa]
mov dword [ebx], eax
movzx eax, word [ecx + 8]
mov dword [ebx + 4], eax
movzx eax, word [ecx + 0xe]
mov dword [ebx + 8], eax
movzx eax, word [ecx + 0xc]
mov dword [ebx + 0xc], eax
xor ebx, ebx
inc ebx
jmp 0x435e80
xor bl, bl
test esi, esi
je 0x435e8b
push esi
call fcn.0053b990
pop ecx
lea eax, [ebp - 0x270]
cmp dword [ebp - 0x274], eax
je 0x435ea5
push dword [ebp - 0x274]
call fcn.0053b990
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4396c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
lea ecx, [eax - 1]
push edi
mov edi, edx
mov dword [ebp - 0xc], ecx
sar ecx, 1
mov esi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], ecx
cmp edi, ecx
jge 0x439725
add esi, esi
lea ecx, [esi + 2]
shl ecx, 5
add ecx, ebx
lea eax, [ecx - 0x20]
push eax
push ecx
call fcn.0043963a
movzx eax, al
xor eax, 1
shl edi, 5
inc eax
add esi, eax
mov eax, esi
shl eax, 5
lea ecx, [ebx + edi]
add eax, ebx
push eax
call fcn.004394ca
mov ecx, dword [ebp - 8]
mov edi, esi
cmp esi, ecx
jl 0x4396e9
mov eax, dword [ebp + 8]
cmp esi, ecx
jne 0x439744
test al, 1
jne 0x439744
shl eax, 5
shl edi, 5
add eax, 0xffffffe0
add eax, ebx
push eax
lea ecx, [ebx + edi]
call fcn.004394ca
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 4], edi
jge 0x43977a
push dword [ebp + 0xc]
lea esi, [edi - 1]
sar esi, 1
mov eax, esi
shl eax, 5
add eax, ebx
push eax
mov dword [ebp + 8], eax
call fcn.0043963a
test al, al
je 0x43977a
push dword [ebp + 8]
shl edi, 5
lea ecx, [ebx + edi]
call fcn.004394ca
mov edi, esi
cmp dword [ebp - 4], esi
jl 0x439749
push dword [ebp + 0xc]
shl edi, 5
lea ecx, [ebx + edi]
call fcn.004394ca
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43a106
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x43a12d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00408db6
jmp 0x43a1e2
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x43a14f
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x43a151
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x43a1d6
jg 0x43a166
test esi, esi
je 0x43a1d6
test ecx, ecx
jl 0x43a1af
jg 0x43a170
test eax, eax
je 0x43a1af
cmp edi, ecx
jg 0x43a184
jl 0x43a17a
cmp esi, eax
jae 0x43a184
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.00552b30
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x43a1b2
mov edx, dword [ebp + 8]
test edi, edi
jl 0x43a1d6
jg 0x43a1bc
test esi, esi
je 0x43a1d6
cmp dword [ebx + 0x4c], 0
je 0x43a1d6
push dword [ebx + 0x4c]
push esi
push 1
push edx
call fcn.00567889
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43a1eb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x43a212
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00408e92
jmp 0x43a2e1
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x43a234
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x43a236
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x43a2d5
jg 0x43a253
test esi, esi
je 0x43a2d5
test ecx, ecx
jl 0x43a2a0
jg 0x43a25d
test eax, eax
je 0x43a2a0
cmp ebx, ecx
jg 0x43a271
jl 0x43a267
cmp esi, eax
jae 0x43a271
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.00552b30
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x43a2a7
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x43a2d5
jg 0x43a2b1
test esi, esi
je 0x43a2d5
cmp dword [edi + 0x4c], 0
je 0x43a2d5
mov ecx, edi
call fcn.0043a733
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.005682bd
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc