joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41eb6d
Capabilities:
Create process on windows

Disassembly:
push 0x6c
mov eax, 0x467bba
call fcn.00463b20
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004068d0
push eax
lea ecx, [ebp - 0x10]
call fcn.00405f99
mov dword [ebp - 4], 1
lea eax, [ebp - 0x78]
push 0x44
pop esi
push esi
push ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00441660
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x78], esi
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x41ebf3
push eax
lea eax, [ebp - 0x10]
push str.dummy__s
push eax
call fcn.00406215
mov esi, dword [ebp - 0x10]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x41ebec
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00406462
mov esi, dword [ebp - 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x18], esi
jmp 0x41ebf6
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
push eax
push dword [edi]
push str.Executing__s_with_args__s
call fcn.0041b909
mov eax, dword [ebp - 0x1c]
add esp, 0xc
test eax, eax
jne 0x41ec2b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
jmp 0x41ec6c
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
cmp dword [ebp - 0x14], 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x70], str.WinSta0Default
push eax
push ebx
push dword [ebp - 0x14]
mov ecx, 0x408
push 8
pop eax
cmovne eax, ecx
mov ecx, dword [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
push dword [edi]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x41ec78
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [ebp - 0x18], 0
je 0x41ec87
push ecx
lea ecx, [ebp - 0x10]
call fcn.00405ee3
test ebx, ebx
je 0x41ec9a
mov eax, dword [ebp + 8]
push ebx
push dword [eax]
push dword [edi]
push str.Unable_to_execute__s__s_gle_u
jmp 0x41ecd1
cmp byte [ebp + 0xc], 0
jne 0x41ecd9
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x24]
test ecx, ecx
je 0x41ecc4
mov dword [ecx], eax
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push dword [edi]
push str._s__s_exitcode_u
call fcn.0041b909
add esp, 0x10
cmp dword [ebp - 0x14], 0
je 0x41ece8
push dword [ebp - 0x14]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp dword [ebp - 0x34], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41ecf9
push dword [ebp - 0x34]
call edi
cmp dword [ebp - 0x30], 0
je 0x41ed04
push dword [ebp - 0x30]
call edi
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00406985
mov eax, ebx
call fcn.00463ae9
ret
Function at 0x41f25a
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], ecx
xor ecx, ecx
push ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
push ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push 0x41ed7b
push ecx
push ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0x15
call fcn.00454eff
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x41f2b1
mov esi, 0x235
jmp 0x41f2ed
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41f2d3
cmp eax, 0x102
je 0x41f2cc
mov esi, 0x22a
jmp 0x41f2d6
mov esi, 0x5b4
jmp 0x41f2da
mov esi, dword [ebp - 4]
test eax, eax
je 0x41f2e6
push 0xdeadbeef
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x41f38b
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x14], edx
mov ebx, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], esi
push edi
mov edi, esi
test ebx, ebx
je 0x41f45d
cmp word [ebx], si
je 0x41f45d
test edx, edx
je 0x41f45d
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x41f3de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x41f46b
push eax
call fcn.00445d23
mov edi, eax
pop ecx
test edi, edi
jne 0x41f3f0
push 8
pop esi
jmp 0x41f46b
push dword [ebp - 4]
push esi
push edi
call fcn.00441660
add esp, 0xc
push edi
push dword [ebp - 4]
push esi
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x41f417
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x41f460
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x47aca0
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x41f436
mov esi, 0x490
jmp 0x41f460
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov ax, word [ecx + 0xa]
mov word [edx], ax
mov ax, word [ecx + 8]
mov word [edx + 2], ax
mov ax, word [ecx + 0xe]
mov word [edx + 4], ax
mov ax, word [ecx + 0xc]
mov word [edx + 6], ax
jmp 0x41f460
push 0x57
pop esi
test edi, edi
je 0x41f46b
push edi
call fcn.00445d2e
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41f472
Capabilities:
Get geographical location

Disassembly:
push 0x120
mov eax, 0x467d03
call fcn.00463b54
mov eax, ecx
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x12c], eax
push 0x47a544
mov dword [ebp - 0x128], ebx
call fcn.0040769d
mov dword [ebp - 4], ebx
xor esi, esi
inc esi
mov dword [ebp - 0x128], esi
call fcn.004068d0
push eax
lea ecx, [ebp - 0x11c]
call fcn.00405f99
mov dword [ebp - 4], 2
lea eax, [ebp - 0x118]
push ebx
mov ecx, 0x4000
push eax
mov dword [ebp - 0x118], ecx
push ecx
lea ecx, [ebp - 0x11c]
call fcn.00405ea7
push eax
push str.http:__ip_info.ff.avast.com_v2_info
push 5
mov edx, esi
pop ecx
call fcn.00431ec4
mov edi, dword [ebp - 0x11c]
lea ecx, [ebp - 0x11c]
add esp, 0x10
test eax, eax
je 0x41f51b
push ebx
call fcn.00405f03
jmp 0x41f677
push dword [ebp - 0x118]
call fcn.00405f03
call fcn.004068d0
push eax
lea ecx, [ebp - 0x118]
call fcn.00405f99
mov byte [ebp - 4], 3
mov eax, str.country_:_
test eax, 0xffff0000
jne 0x41f564
movzx esi, ax
mov ecx, esi
call fcn.00407f3b
test eax, eax
je 0x41f570
push esi
push eax
lea ecx, [ebp - 0x118]
call fcn.00420030
jmp 0x41f570
push eax
lea ecx, [ebp - 0x118]
call fcn.00405d20
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x118]
test esi, esi
je 0x41f66b
cmp dword [edi - 0xc], 0
jl 0x41f66b
push esi
push edi
call fcn.004557dd
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x41f66b
sub ebx, edi
cmp ebx, 0xffffffff
je 0x41f66b
add ebx, dword [esi - 0xc]
js 0x41f5cc
cmp ebx, dword [edi - 0xc]
jg 0x41f5cc
lea eax, [ebx + edi]
push 0x47b6bc
push eax
call fcn.004557dd
pop ecx
pop ecx
test eax, eax
je 0x41f5d4
sub eax, edi
jmp 0x41f5cf
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x41f5d9
jmp 0x41f66b
sub eax, ebx
lea ecx, [ebp - 0x11c]
push eax
push ebx
lea eax, [ebp - 0x124]
push eax
call fcn.0041fd75
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x110]
mov eax, dword [eax]
push 3
mov dword [ebp - 0x114], ecx
lea ecx, [ebp - 0x114]
push eax
call fcn.0041ff75
mov byte [ebp - 4], 8
push dword [ebp - 0x114]
mov ebx, dword [ebp - 0x120]
mov ecx, ebx
call fcn.004082bc
mov byte [ebp - 4], 7
lea eax, [ebp - 0x110]
cmp dword [ebp - 0x114], eax
je 0x41f644
push dword [ebp - 0x114]
call fcn.00445d2e
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x124]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov ecx, ebx
call fcn.00418638
mov byte [ebp - 4], 2
lea ecx, [esi - 0x10]
call fcn.00406985
jmp 0x41f67d
mov byte [ebp - 4], 2
lea ecx, [esi - 0x10]
call fcn.00406985
mov ebx, dword [ebp - 0x120]
and dword [ebp - 4], 0
lea ecx, [edi - 0x10]
call fcn.00406985
mov eax, ebx
call fcn.00463afe
ret
Function at 0x426057
Capabilities:
Set registry value

Disassembly:
push 0x30
mov eax, 0x46897a
call fcn.00463b54
lea eax, [ebp - 0x2c]
xor esi, esi
push eax
push str.UpdateLastAppliedPatch
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], esi
call fcn.0041bb53
mov dword [ebp - 4], esi
lea eax, [ebp - 0x30]
push eax
mov eax, dword [0x48bd80]
or eax, 0x2001b
mov dword [ebp - 0x30], esi
push eax
push esi
push dword [0x48bd7c]
push dword [0x48bd78]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4260ec
push eax
push str.Unable_to_open_product_registry_key_gle_u
call fcn.0041b909
push 0xa
push 0xc
lea eax, [ebp - 0x28]
push eax
push dword [0x48bd40]
call fcn.00455a7b
add esp, 0x18
test eax, eax
jne 0x426110
push dword [0x48bcf4]
lea eax, [ebp - 0x28]
push eax
push str.LastAppliedPatchId
push str.Config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 0x2c], esi
jmp 0x426110
push 4
push 0x48bd40
push 4
push esi
push str.LastAppliedPatchId
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0041bbc1
mov eax, esi
call fcn.00463afe
ret
Function at 0x427e42
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468f38
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push esi
mov eax, dword [0x48a024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xb
lea ecx, [esi + 0x68]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xb
call fcn.00419497
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x60]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xa
call fcn.00409ebb
mov byte [ebp - 4], 9
lea ecx, [esi + 0x58]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 9
call fcn.00419497
mov byte [ebp - 4], 8
lea ecx, [esi + 0x50]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 8
call fcn.0040aa22
mov byte [ebp - 4], 7
lea ecx, [esi + 0x48]
call fcn.0042ffba
mov byte [ebp - 4], 6
lea ecx, [esi + 0x40]
call fcn.0042fdc7
mov byte [ebp - 4], 5
lea ecx, [esi + 0x38]
call fcn.0042fd4c
mov byte [ebp - 4], 4
lea ecx, [esi + 0x30]
call fcn.0042f877
mov byte [ebp - 4], 3
lea ecx, [esi + 0x28]
call fcn.0042fb8e
mov byte [ebp - 4], 2
lea ecx, [esi + 0x20]
call fcn.0042f983
mov byte [ebp - 4], 1
lea ecx, [esi + 0x18]
call fcn.0042f877
mov byte [ebp - 4], 0
lea ecx, [esi + 8]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.00406985
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
mov dword [ebp - 0x14], ecx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.00406985
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x430d64
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x466c01
call fcn.00463b20
lea eax, [ebp - 0x1c]
xor edi, edi
push eax
push str.ReloadVersions
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edi
call fcn.0041bb53
mov dword [ebp - 4], edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x48bd80]
or eax, 0x20019
push eax
push edi
push dword [0x48bd7c]
push dword [0x48bd78]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x430dc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_open_product_registry_key__gle_u
call fcn.0041b909
pop ecx
pop ecx
jmp 0x430e22
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push 4
pop ebx
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push eax
push edi
push edi
push dword [0x48bde0]
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x430df9
mov eax, dword [ebp - 0x18]
mov dword [0x48bdc8], eax
mov dword [0x48bdd8], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push dword [0x48bde4]
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x430e22
mov eax, dword [ebp - 0x18]
mov dword [0x48bdcc], eax
mov dword [0x48bddc], eax
cmp dword [ebp - 0x10], 0
je 0x430e31
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0041bbc1
mov eax, esi
call fcn.00463ae9
ret
Function at 0x432816
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
lea edi, [esi + 4]
mov dword [esi + 8], eax
mov dword [edi], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
push str.kernel32.dll
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x4328e5
push str.GetSystemWow64DirectoryW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsWow64Process
push ebx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsWow64Process2
push ebx
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
test eax, eax
je 0x4328e5
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 4]
test eax, eax
je 0x4328e5
cmp dword [edi], 0
je 0x4328e5
push str.Wow64EnableWow64FsRedirection
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64DisableWow64FsRedirection
push ebx
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64RevertWow64FsRedirection
push ebx
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x14], ecx
je 0x4328e3
cmp dword [esi + 0x18], ecx
je 0x4328e3
test eax, eax
je 0x4328e3
cmp dword [esi], ecx
jne 0x4328e5
mov dword [edi], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x434c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
movzx esi, word [edx]
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, esi
xor eax, 0x7f0
shr esi, 4
shr eax, 4
mov dword [ebp - 8], ebx
mov ecx, dword [edi + esi*4]
mov eax, dword [edi + eax*4]
mov dword [ebp - 4], eax
movzx eax, word [edx + 0x10]
mov esi, dword [ebp - 4]
shr eax, 4
mov dword [ebp - 0x18], ecx
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x434c9c
mov esi, edx
mov dword [ebp - 0xc], eax
add ebx, 4
push edi
push ebx
push ecx
push esi
call fcn.004389d0
push edi
lea eax, [ebx + 0x20]
push eax
push dword [ebp - 0x14]
lea eax, [esi + 0x10]
push eax
call fcn.004389d0
mov ecx, dword [ebp - 0x18]
add esp, 0x20
add ebx, 0x440
add esi, 0x20
sub dword [ebp - 0xc], 1
jne 0x434c64
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
cmp ebx, 0x10
jbe 0x434d79
mov eax, dword [ebp - 8]
add ebx, 0xfffffff1
add eax, 0x44
shr ebx, 1
mov dword [ebp - 0x14], eax
movzx eax, word [edx + 0x10]
xor eax, 0x7f0
shr eax, 4
add esi, dword [edi + eax*4]
lea eax, [ebx + 0x180]
mov dword [ebp - 4], esi
lea eax, [edx + eax*2]
dec ebx
sub eax, 2
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 0x80]
mov ebx, dword [ebp + 8]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + eax*2 + 0x200]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
add esi, dword [edi + ecx*4]
cmp eax, 2
jae 0x434ce3
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
movzx ecx, word [eax]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [edx + ebx*8], eax
mov eax, dword [edi + ecx*4]
add eax, esi
mov esi, dword [ebp - 4]
mov dword [edx + ebx*8 + 4], eax
mov eax, dword [ebp - 0xc]
test ebx, ebx
jne 0x434cd0
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
lea ebx, [eax*4 - 0x40]
mov eax, dword [ebp - 0x10]
cmp eax, 1
jbe 0x434d79
lea esi, [ecx + 0x484]
lea edi, [eax - 1]
nop dword [eax]
push ebx
push edx
push esi
call fcn.004422a0
mov edx, dword [ebp - 0x14]
add esp, 0xc
add esi, 0x440
sub edi, 1
jne 0x434d60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
or ecx, 0x100
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
shr ecx, 1
and esi, 1
neg esi
shr esi, 4
movzx edx, word [ebx + ecx*2]
and esi, 0x7f
shr edx, 4
xor edx, esi
add eax, dword [edi + edx*4]
cmp ecx, 2
jae 0x437027
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x437050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, 0x100
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
or ecx, esi
add edi, edi
mov edx, esi
and edx, edi
mov eax, ecx
add edx, esi
shr eax, 8
add eax, edx
mov edx, dword [ebp + 8]
movzx edx, word [edx + eax*2]
mov eax, ecx
shr eax, 7
add ecx, ecx
and eax, 1
shr edx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor edx, eax
mov eax, dword [ebp + 0x14]
add ebx, dword [eax + edx*4]
mov edx, ecx
xor edx, edi
not edx
and esi, edx
cmp ecx, 0x10000
jb 0x437065
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x438150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
movaps xmm0, xmmword [0x46b4d0]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x400
push edi
mov edi, 0xc
mov dword [esi + 0x2c], 0
lea edx, [esi + 0x1e54]
mov dword [esi + 0x44], 1
mov dword [esi + 0x40], 1
mov dword [esi + 0x3c], 1
mov dword [esi + 0x38], 1
mov eax, dword [esi + 0x78]
mov dword [esi + 0x70], eax
lea eax, [esi + 0x201c]
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
movups xmmword [esi + 0x1e1c], xmm0
movups xmmword [esi + 0x1e2c], xmm0
nop word [eax + eax]
mov ecx, 0x10
nop word [eax + eax]
mov word [eax - 0x180], bx
mov word [eax], bx
add eax, 2
sub ecx, 1
jne 0x438210
mov word [edx - 0x18], bx
mov word [edx], bx
mov word [edx + 0x18], bx
mov word [edx + 0x30], bx
add edx, 2
sub edi, 1
jne 0x438200
mov eax, 0x4000400
lea edi, [esi + 0x219c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
lea edi, [esi + 0x239c]
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x94]
mov eax, 0x300
add ecx, dword [esi + 0x98]
shl eax, cl
test eax, eax
je 0x438282
mov edi, dword [esi + 0x50]
mov ecx, eax
shr ecx, 1
mov eax, 0x4000400
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, 0x4000400
lea edi, [esi + 0x249c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
lea edi, [esi + 0x269c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esi + 0x289c]
rep stosd dword es:[edi], eax
lea edi, [esi + 0x2a9c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [esi + 0x1c], 0
lea eax, [esi + 0xbca4]
mov dword [esi + 0x18], 0
mov ecx, 0x800
mov dword [eax], 0x40000000
lea eax, [eax + 0x20]
sub ecx, 1
jne 0x4382d4
mov dword [esi + 0x34], ecx
mov eax, 1
mov ecx, dword [esi + 0x9c]
mov edx, 0x100
shl eax, cl
mov ecx, dword [esi + 0x94]
dec eax
mov dword [esi + 0x4c], eax
mov eax, edx
shr eax, cl
mov ecx, dword [esi + 0x98]
shl edx, cl
sub edx, eax
pop edi
mov dword [esi + 0x48], edx
pop esi
pop ebx
pop ebp
ret

Function at 0x4389d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ebx, ebx
mov edx, dword [ebp + 8]
mov edi, ebx
shr edi, 1
mov esi, ebx
shr esi, 2
mov eax, edi
and eax, 1
neg eax
shr eax, 4
movzx ecx, word [edx + esi*2 + 4]
and eax, 0x7f
shr ecx, 4
neg esi
xor ecx, eax
and esi, 0x7f0
movzx eax, word [edx + 2]
xor esi, eax
mov eax, dword [ebp + 0x14]
shr esi, 4
mov edx, dword [eax + ecx*4]
add edx, dword [eax + esi*4]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
add edx, dword [ebp + 0xc]
movzx ecx, word [eax + edi*2 + 8]
mov edi, dword [ebp + 0x10]
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [esi + eax*4]
add eax, edx
mov dword [edi + ebx*4], eax
mov eax, dword [esi + ecx*4]
add eax, edx
mov dword [edi + ebx*4 + 4], eax
add ebx, 2
cmp ebx, 8
jb 0x4389d8
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x439a70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push esi
mov dword [eax + 0x34], 0
lea esi, [eax + 0x60]
mov word [eax + 0x1e], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x468], 0xffffffff
mov dword [eax + 0x46c], 0xffffffff
mov dword [eax + 0x30], 0x20
mov byte [eax + 0x1d], 1
mov dword [eax + 0x48], 4
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x439ab6
pop esi
pop ebp
ret

Function at 0x43b7d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.00454eff
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x43b7fb
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret