joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4031d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push section..rdata
push 0x404828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x40e5d0], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x40e5cc], ecx
shl ecx, 8
add ecx, edx
mov dword [0x40e5c8], ecx
shr eax, 0x10
mov dword [0x40e5c4], eax
call fcn.004046b0
test eax, eax
jne 0x40323a
push 0x1c
call fcn.004033a0
add esp, 4
mov dword [ebp - 4], 0
call fcn.00404480
call fcn.00404470
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40eb04], eax
call fcn.00403e10
mov dword [0x40e5ac], eax
test eax, eax
je 0x40326d
mov eax, dword [0x40eb04]
test eax, eax
jne 0x403277
push 0xffffffffffffffff
call fcn.00403400
add esp, 4
call fcn.00403960
call fcn.00403870
call fcn.004033d0
mov esi, dword [0x40eb04]
mov dword [ebp - 0x64], esi
cmp byte [esi], 0x22
jne 0x403356
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
cmp al, 0x22
je 0x4032be
test al, al
je 0x4032be
and eax, 0xff
push eax
call fcn.004037c0
add esp, 4
test eax, eax
je 0x403298
inc esi
mov dword [ebp - 0x64], esi
jmp 0x403298
cmp byte [esi], 0x22
jne 0x4032c7
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
test al, al
je 0x4032d7
cmp al, 0x20
ja 0x4032d7
inc esi
mov dword [ebp - 0x64], esi
jmp 0x4032c7
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x4032f8
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x4032fd
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.0040105a
mov dword [ebp - 0x60], eax
push eax
call fcn.00403400
jmp 0x40333b
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x4032c7
inc esi
mov dword [ebp - 0x64], esi
jmp 0x403356

Function at 0x4033a0
Capabilities:
Terminate process

Disassembly:
cmp dword [0x40e5b4], 1
jne 0x4033ae
call fcn.00404900
mov eax, dword [esp + 4]
push eax
call fcn.00404940
add esp, 4
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x403460
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x40e600]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x40347f
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x40e5fc], 1
mov byte [0x40e5f8], bl
jne 0x4034d9
mov ecx, dword [0x40eafc]
test ecx, ecx
je 0x4034c7
mov esi, dword [0x40eaec]
sub esi, 4
cmp esi, ecx
jb 0x4034c7
mov eax, dword [esi]
test eax, eax
je 0x4034c0
call eax
mov ecx, dword [0x40eafc]
sub esi, 4
cmp esi, ecx
jae 0x4034b2
push 0x40a514
push 0x40a410
call fcn.00403510
add esp, 8
push 0x40a71c
push 0x40a618
call fcn.00403510
add esp, 8
test ebx, ebx
jne 0x403500
push ebp
mov dword [0x40e600], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret

Function at 0x403e10
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x40e710]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x403e52
call edi
mov esi, eax
test esi, esi
je 0x403e3c
mov eax, 1
jmp 0x403e4d
call ebp
mov ebx, eax
test ebx, ebx
je 0x403f5f
mov eax, 2
mov dword [0x40e710], eax
cmp eax, 1
jne 0x403ef2
test esi, esi
jne 0x403e6b
call edi
mov esi, eax
test esi, esi
je 0x403f5f
cmp word [esi], 0
mov eax, esi
je 0x403e85
add eax, 2
cmp word [eax], 0
jne 0x403e73
add eax, 2
cmp word [eax], 0
jne 0x403e73
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x403ee4
push edi
call fcn.00404ba0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x403ee4
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x403ed6
push ebx
call fcn.00404b50
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x403f5f
test ebx, ebx
jne 0x403f03
call ebp
mov ebx, eax
test ebx, ebx
je 0x403f5f
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x403f1b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403f0b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403f0b
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.00404ba0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x403f3d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x404940
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x40ad28
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x404964
add eax, 8
inc ebp
cmp eax, 0x40adb8
jb 0x404955
cmp ecx, dword [ebp*8 + 0x40ad28]
jne 0x404b0b
mov eax, dword [0x40e5b4]
cmp eax, 1
je 0x404acd
test eax, eax
jne 0x404990
cmp dword [0x40ab84], 1
je 0x404acd
cmp ecx, 0xfc
je 0x404b0b
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4049cb
mov ecx, 5
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x404a14
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x4092e0
add ebx, ecx
push ebx
call fcn.00405e70
add esp, 0xc
mov ecx, 6
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4092c0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Microsoft_Visual_C_Runtime_Library
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x40ad2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x40e9a0]
test eax, eax
je 0x404ade
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x404ae8
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x40ad2c]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x414570
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x534090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x41462c
cmp byte [esi + 0x3d], 0
je 0x41462c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x41461a
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x4145e2
sub eax, 1
je 0x4145e6
sub eax, 2
jne 0x41461a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb63e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x414603
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004d4b21
add esp, 0x10
cmp edi, eax
jne 0x41461a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb63e
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb63e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004cb63e
mov esp, ebp
pop ebp
ret

Function at 0x414730
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f66e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x534090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], 0x513ff8
call fcn.004cb682
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004b53f3
mov dword [esi + 4], eax
lea ebx, [edi + 4]
mov eax, dword [ebp - 0x10]
lea edx, [edi + 8]
mov dword [ebp - 0x14], ebx
lea ecx, [eax + 0x18]
mov ebx, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x10]
mov dword [edi + 0x34], esi
add edi, 0x14
mov dword [ebx], 0x514058
lea esi, [eax + 0x24]
mov byte [ebx + 0x48], 0
add eax, 0x28
mov byte [ebx + 0x3d], 0
mov ebx, dword [ebp - 0x14]
mov dword [edx + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x2c], esi
mov ebx, dword [ebp - 0x14]
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [ecx], 0
mov ecx, dword [0x538dc4]
mov dword [eax], 0
mov eax, dword [0x538dc0]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [esi], 0
mov dword [edx + 0x40], eax
mov eax, edx
mov dword [edx + 0x4c], 0
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a760
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f707c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x534090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x41a814
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.004159f0
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 0xd], 1
call fcn.0041b930
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x41a858
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x432540
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x43256b
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x432554
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret

Function at 0x433630
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8490
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x534090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
lea esi, [edi + 4]
mov dword [edi], 0
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x1c], eax
mov edx, str.BDREINIT
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x20], eax
mov dword [edi + 0x28], 0x12c
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0x538e40
call fcn.00435310
mov dword [ebp - 0x30], eax
cmp esi, eax
je 0x433740
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x433714
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x433707
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433798
mov eax, edx
push ecx
push eax
call fcn.004cb66f
mov eax, dword [ebp - 0x30]
add esp, 8
xor ecx, ecx
mov word [esi], cx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x433776
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43376c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433798
push edx
push ecx
call fcn.004cb66f
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cb63e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.004d05ef
int3
Function at 0x434210
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
mov edi, dword [eax]
mov dword [ebp - 8], esi
nop dword [eax + eax]
mov eax, dword [0x538ef0]
cmp eax, dword [edi + 4]
jg 0x43431a
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x43425c
mov ecx, esi
call fcn.00435140
test al, al
jne 0x434230
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x434274
push eax
push ecx
push 1
push dword [ebp + 8]
call fcn.004d4b21
add esp, 0x10
jmp 0x434285
push dword [ebp + 8]
push 0x5141c8
push eax
call fcn.004341e0
add esp, 0xc
cmp dword [0x538efc], 0
mov ecx, eax
jl 0x4342ee
jg 0x43429b
cmp dword [0x538ef8], 0
jb 0x4342ee
lea eax, [esi + 0x28]
mov dword [ebp + 0xc], eax
mov eax, ecx
mov esi, dword [ebp + 0xc]
cdq
mov ebx, eax
mov dword [ebp - 4], edx
mov dword [ebp + 8], ebx
nop
mov eax, dword [esi]
add ebx, eax
mov edi, dword [esi + 4]
mov edx, edi
mov ecx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
adc ecx, edi
lock cmpxchg8b qword [esi]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp eax, ecx
jne 0x4342b0
cmp edx, edi
jne 0x4342b0
mov esi, dword [ebp - 8]
cmp edi, dword [0x538efc]
jl 0x4342ec
jg 0x4342e8
cmp ecx, dword [0x538ef8]
jb 0x4342ec
mov bl, 1
jmp 0x4342ee
xor bl, bl
lea edx, [esi + 0x30]
mov eax, 1
lock xadd dword [edx], eax
inc eax
cmp eax, 1
jne 0x43430f
xor ecx, ecx
xchg dword [edx], ecx
push dword [esi + 0x1c]
call fcn.004d520d
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x538ef0
call fcn.004cb7e5
add esp, 4
cmp dword [0x538ef0], 0xffffffff
jne 0x434241
mov eax, dword [esi + 0x34]
push 0x538ef0
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [0x538ef8], ecx
mov dword [0x538efc], eax
call fcn.004cb79b
add esp, 4
jmp 0x434241

Function at 0x434de0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [edx + 4]
push edi
mov edi, ecx
test esi, esi
je 0x434e23
cmp dword [esi], 0
je 0x434e23
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x538f20]
cmp eax, dword [ecx + 4]
jg 0x434e28
mov cl, byte [edi]
mov eax, edi
test cl, cl
je 0x434e1e
mov dl, byte [0x538f24]
xor cl, dl
mov byte [eax], cl
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x434e13
sub eax, edi
pop edi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
push 0x538f20
call fcn.004cb7e5
add esp, 4
cmp dword [0x538f20], 0xffffffff
jne 0x434e05
mov al, byte [esi + 1]
sub al, byte [esi + 3]
sub al, byte [esi + 2]
add al, byte [esi]
push 0x538f20
mov byte [0x538f24], al
call fcn.004cb79b
add esp, 4
jmp 0x434e05
Function at 0x436b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ecx]
mov dword [ebp - 8], ecx
push ebx
push esi
mov ebx, dword [eax]
mov dword [ebp - 4], ebx
push edi
cmp edx, 8
jne 0x436ba4
cmp dword [ecx + 8], 2
je 0x436ba4
or ebx, 2
mov dword [ebp - 4], ebx
mov esi, dword [ecx + 4]
mov edi, dword [ebp + 8]
test esi, esi
je 0x436bfe
cmp dword [esi], 0
je 0x436bfe
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x538ee8]
cmp eax, dword [ecx + 4]
jg 0x436ccc
movzx ecx, word [edi]
mov esi, edi
mov edx, edi
test cx, cx
je 0x436bf8
mov bl, byte [0x538eec]
nop
add esi, 2
lea edx, [edx + 1]
xor cl, bl
mov byte [edx - 1], cl
movzx eax, word [esi]
mov cl, al
test ax, ax
jne 0x436be0
mov ebx, dword [ebp - 4]
sub esi, edi
sar esi, 1
jmp 0x436c00
xor esi, esi
test bl, 1
je 0x436c0c
push edi
call dword [0x504044]
test bl, 2
je 0x436c2b
test esi, esi
je 0x436c21
mov ecx, dword [ebp - 8]
push esi
push edi
call fcn.00434360
jmp 0x436c2b
push ecx
mov ecx, dword [ebp - 8]
push edi
call fcn.00436890
test bl, 4
je 0x436cba
mov esi, dword [0x53916c]
mov edx, dword [esi]
cmp edx, 0xffffffff
jne 0x436c8a
call dword [0x504060]
mov ecx, dword [esi + 4]
add ecx, 0x2710
cmp eax, ecx
jbe 0x436cba
mov edx, dword [esi]
cmp edx, 0xffffffff
jne 0x436c8a
push 0
push 0x80
push 3
push 0
push 7
push 0xc0000000
push str..GlobalProcmonDebugLogger
call dword [0x504050]
mov dword [esi], eax
call dword [0x504060]
mov edx, dword [esi]
mov dword [esi + 4], eax
cmp edx, 0xffffffff
je 0x436cba
mov ecx, edi
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436c90
push 0
sub ecx, esi
lea eax, [ebp - 8]
push eax
push 0
sar ecx, 1
push 0
lea eax, [ecx + ecx]
push eax
push edi
push 0x95358204
push edx
call dword [0x50405c]
test bl, 8
je 0x436cc5
push edi
call fcn.00436a00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x538ee8
call fcn.004cb7e5
add esp, 4
cmp dword [0x538ee8], 0xffffffff
jne 0x436bcc
mov al, byte [esi + 1]
sub al, byte [esi + 3]
sub al, byte [esi + 2]
add al, byte [esi]
push 0x538ee8
mov byte [0x538eec], al
call fcn.004cb79b
add esp, 4
jmp 0x436bcc
Function at 0x445e10
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
ret
Function at 0x447d30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f937d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x534090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x515d2c
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.004325a0
mov eax, dword [ebp + 8]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x3c], 0
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
call fcn.004380d0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
movzx eax, ax
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0
test ebx, ebx
je 0x447df0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
test eax, eax
je 0x447ded
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp + 8]
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], ax
jne 0x447e0a
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.00432b60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x447e20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f93a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x534090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x515cec
call fcn.004cb682
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004b53f3
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret