joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414220
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 4], edi
shl eax, cl
cmp edx, eax
ja 0x41436c
mov ebx, dword [edi + 4]
lea eax, [edx - 1]
or eax, esi
mov dword [ebp - 8], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.00413bc0
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x414347
mov eax, ecx
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
movzx edx, byte [eax + 0xa]
imul esi, esi, 0x1000193
xor esi, edx
movzx edx, byte [eax + 0xb]
imul esi, esi, 0x1000193
xor esi, edx
imul edx, esi, 0x1000193
mov esi, dword [edi + 0x18]
and esi, edx
mov edx, dword [edi + 0xc]
lea ebx, [edx + esi*8]
mov esi, dword [ebx]
mov dword [ebp + 8], ebx
cmp esi, dword [ebp - 8]
jne 0x4142d4
mov dword [ebx], eax
mov dword [ebx + 4], eax
jmp 0x41433c
mov edx, dword [ebx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x41430b
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x414306
mov edi, dword [eax + 4]
mov ebx, dword [ebp - 0xc]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov ebx, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov dword [ebx + 4], eax
jmp 0x414339
cmp esi, edx
je 0x41431c
nop
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x414350
cmp esi, edx
jne 0x414310
mov ebx, dword [eax + 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov dword [edx + 4], edi
mov edx, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], esi
mov dword [edx], eax
mov edi, dword [ebp - 4]
mov eax, ecx
cmp ecx, dword [ebp - 8]
jne 0x414282
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [eax + 4]
mov ebx, dword [edx]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x414339
push str.invalid_hash_bucket_count
call fcn.0042a295
int3
Function at 0x418990
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f00d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x44c100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0042bd45
mov edi, eax
add esp, 4
test edi, edi
je 0x418a2d
push 1
mov dword [ebp - 4], 0
call fcn.0042a4b1
add esp, 4
mov dword [edi + 4], eax
jmp 0x418a2f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.004018f0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x418a8a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x418a8a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x418aa6
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x418ac9
cmp byte [ebp + 0xc], 0
je 0x418ab5
push esi
call fcn.0042a90e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x418ad5
mov esi, str.ios_base::badbit_set
jmp 0x418ae5
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.004041c0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00402500
push 0x447ab8
lea eax, [ebp - 0x28]
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x41f010
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x44c100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x44cf78], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x41f056
cmp edi, dword [0x44d398]
jne 0x41f051
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bc1d
mov esp, ebp
pop ebp
ret
call fcn.0041f4c0
call fcn.0041f240
test eax, eax
jne 0x41f06f
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bc1d
mov esp, ebp
pop ebp
ret
mov eax, dword [0x44cb5c]
push esi
test eax, eax
je 0x41f21c
cmp dword [0x44cf70], 0
je 0x41f21c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEngine
push eax
call esi
mov dword [0x44d39c], eax
test eax, eax
je 0x41f21c
push str.DestroyEngine
push dword [0x44cb5c]
call esi
mov dword [0x44d3a0], eax
test eax, eax
je 0x41f21c
push str.TranslatePair
push dword [0x44cb5c]
call esi
mov dword [0x44d3a4], eax
test eax, eax
je 0x41f21c
push str.FreeAtlasData
push dword [0x44cb5c]
call esi
mov dword [0x44d3b0], eax
test eax, eax
je 0x41f21c
push str.AtlInitEngineData
push dword [0x44cb5c]
call esi
mov dword [0x44d3a8], eax
test eax, eax
je 0x41f21c
push str.SetTransState
push dword [0x44cb5c]
call esi
mov dword [0x44d3ac], eax
test eax, eax
je 0x41f21c
push str.AwuWordDel
push dword [0x44cf70]
call esi
mov dword [0x44cb58], eax
test eax, eax
je 0x41f21c
lea ecx, [ebx + 0x20c]
lea edx, [ebp - 0x414]
sub edx, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x41f150
lea eax, [ebp - 0x414]
push 0x5c
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x41f17c
xor ecx, ecx
mov word [eax], cx
jmp 0x41f1a2
mov eax, dword [0x442b80]
movups xmm0, xmmword [str.Rule_Sets_]
mov dword [ebp - 0x404], eax
mov ax, word [0x442b84]
movups xmmword [ebp - 0x414], xmm0
mov word [ebp - 0x400], ax
push 0
push 0
push 0x410
lea eax, [ebp - 0x414]
push eax
push 0xffffffffffffffff
lea eax, [ebx + 4]
push eax
push 0
push 0x3a4
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x41f21c
push 0x44e358
push 0
push 0x44d3b8
push 2
push 0
call dword [0x44d3a8]
add esp, 0x14
test eax, eax
jne 0x41f21c
lea eax, [ebp - 0x414]
push eax
push 0
push edi
push 1
call dword [0x44d39c]
add esp, 0x10
cmp eax, 1
jne 0x41f21c
pop esi
mov dword [0x44d398], edi
pop edi
mov dword [0x44cf78], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bc1d
mov esp, ebp
pop ebp
ret
call fcn.0041f4c0
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.0042bc1d
mov esp, ebp
pop ebp
ret
Function at 0x428540
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x44c100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x428567
push 0x57
jmp 0x4285f3
push 0x1c
lea eax, [ebp - 0x60]
mov dword [ebp - 0x48], 0
push eax
xorps xmm0, xmm0
push esi
push edi
movups xmmword [ebp - 0x60], xmm0
movq qword [ebp - 0x50], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x4285f9
push 0
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4285f9
mov eax, 0x5a4d
cmp word [ebp - 0x44], ax
jne 0x4285ee
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x54]
ja 0x4285ee
cmp eax, 0x40
jb 0x4285ee
push 0
push 0xf8
push ebx
add eax, esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4285f9
cmp dword [ebx], 0x4550
jne 0x4285ee
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bc1d
mov esp, ebp
pop ebp
ret 0xc
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bc1d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x429030
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0x34]
test esi, esi
push edi
cmove esi, dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [ebp + 0x2c]
test edi, edi
jne 0x429055
xorps xmm0, xmm0
lea edi, [ebp - 0x10]
movups xmmword [ebp - 0x10], xmm0
mov eax, dword [ebp + 0x1c]
push edi
push dword [ebp + 0x28]
or eax, 4
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x429083
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x30
push ebx
mov ebx, dword [ebp + 0x30]
lea eax, [ebp + 0x34]
push 1
push eax
push dword [edi]
mov dword [ebp + 0x34], ebx
call fcn.004293b0
test eax, eax
jne 0x4290d5
push esi
lea eax, [ebp + 0x34]
mov dword [ebp + 0x34], ebx
push eax
push 1
push dword [edi + 8]
call fcn.00429110
test eax, eax
jne 0x4290d5
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x30
test byte [ebp + 0x1c], 4
jne 0x4290e4
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [ebp - 0x10]
cmp edi, eax
jne 0x4290fa
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x30
Function at 0x42ab88
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x42abaf
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x42abb2
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0042ab64
pop esi
leave
ret 8

Function at 0x42affe
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42b01d
mov byte [ebp - 8], 1
mov edx, ebx
jmp 0x42b054
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov esi, 0xb7
cmp edx, esi
jne 0x42b050
push 0xffffffffffffffff
push 3
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.0042b1a4
mov edx, eax
test edx, edx
jne 0x42b050
mov eax, dword [ebp - 0x18]
shr eax, 4
test al, 1
cmove edx, esi
mov byte [ebp - 8], bl
pop esi
mov eax, dword [ebp - 8]
pop ebx
leave
ret 4

Function at 0x42b9cd
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x42ba02
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x42b9ff
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x42ba0b
add edx, 0x28
cmp edx, esi
jne 0x42b9ed
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x42ba08

Function at 0x42c9f2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42ca31
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42ca31
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42ca31
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42ca31
cmp dword [ecx + 0x74], 0xe
jbe 0x42ca31
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42cf60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x44c100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x42cf87
mov ecx, 5
int 0x29
push 2
call fcn.0042ca96
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x42d092
test esi, esi
jne 0x42d092
push 2
call fcn.0042ca96
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042bc1d
mov esp, ebp
pop ebp
ret
Function at 0x438c80
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60000
jae 0x438caa
mov eax, 2
pop ebp
ret
push esi
call fcn.0042cdb0
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x70]
mov ecx, edx
and cl, 2
movzx ecx, cl
neg ecx
sbb ecx, ecx
inc eax
cmp eax, 3
ja case.default.0x438cca
jmp dword [eax*4 + 0x438d00]
or edx, 2
lea eax, [ecx + 2]
mov dword [esi + 0x70], edx
pop esi
pop ebp
ret
and edx, 0xfffffffd
mov dword [esi + 0x70], edx
lea eax, [ecx + 2]
pop esi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.0042cef0
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x438d10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x44c100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x438e0b
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x438e0b
xor ecx, ecx
mov al, byte [ecx + esi]
lea edx, [ecx + ecx]
test al, al
je 0x438d6a
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x438d48
jmp 0x438e0b
cmp edx, 0x200
jae 0x438e71
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x438e0b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x438e0a
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x438e0a
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x438e53
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x438df0
pop edi
mov eax, dword [0x44f960]
test eax, eax
jne 0x438e31
push 0x445378
call fcn.00439b80
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x438e2c
or eax, 0xffffffff
mov dword [0x44f960], eax
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x438e5f
push esi
push ebx
call ecx
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bc1d
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x438e0a
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bc1d
mov esp, ebp
pop ebp
ret
call fcn.0042beb4
int3

Function at 0x439170
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.004391a0
mov esi, dword [ebp + 8]
test al, al
je 0x43918e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.004391b0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4392e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43933c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43933c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43933c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43933c
cmp dword [ecx + 0x74], 0xe
jbe 0x43933c
cmp dword [ecx + 0xe8], 0
je 0x43933c
push dword [ebp + 8]
call fcn.004391b0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x44f96c
call fcn.00438f80
add esp, 8
cmp dword [ebp - 8], 0
jne 0x439371
push dword [ebp + 8]
call fcn.00439170
mov esp, ebp
pop ebp
ret

Function at 0x4393b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43940c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43940c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43940c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43940c
cmp dword [ecx + 0x74], 0xe
jbe 0x43940c
cmp dword [ecx + 0xe8], 0
je 0x43940c
push dword [ebp + 8]
call fcn.004391b0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x44f96c
call fcn.00438f80
add esp, 8
cmp dword [ebp - 8], 0
jne 0x439441
push dword [ebp + 8]
call fcn.00439170
mov esp, ebp
pop ebp
ret
Function at 0x4045d3
Capabilities:
Delete registry value

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0048bfd0
mov edx, dword [esp + 0x24]
lea ecx, [esp]
call fcn.00442000
mov edx, dword [esp + 0x28]
lea ecx, [esp + 4]
call fcn.00442000
mov dword [esp + 0xc], 0x20006
cmp dword [esp + 0x2c], 0
je 0x404617
mov ebx, dword [esp + 0xc]
or ebx, 0x100
mov dword [esp + 0xc], ebx
push edx
call fcn.0048be60
pop edx
push eax
push edx
call fcn.0048be60
pop edx
push eax
push 1
push dword [esp + 0xc]
call fcn.004896a0
call fcn.0048c030
mov edx, 0x5489ca
call fcn.00442330
mov ecx, eax
call fcn.00442340
je 0x40467d
push edx
call fcn.0048be60
pop edx
push eax
push edx
call fcn.0048be60
pop edx
push eax
push dword [esp + 8]
call fcn.00489710
mov ebx, eax
dec ebx
push ebx
push dword [esp + 0xc]
call fcn.00489740
lea eax, [esp + 4]
push eax
call fcn.0048bf00
push edx
call fcn.0048be60
pop edx
push eax
push edx
call fcn.0048be60
pop edx
push eax
push 1
push dword [esp + 0xc]
call fcn.00489740
call fcn.0048c030
mov edx, 0x5489ca
call fcn.00442330
mov ecx, eax
call fcn.00442340
je 0x4046e3
push edx
call fcn.0048be60
pop edx
push eax
push edx
call fcn.0048be60
pop edx
push eax
push dword [esp + 8]
call fcn.00489710
mov ebx, eax
dec ebx
push ebx
push dword [esp + 0xc]
call fcn.004896a0
lea eax, [esp + 4]
push eax
call fcn.0048bf00
mov ebx, dword [esp + 0x30]
and ebx, ebx
je 0x4046fe
push 0x5635f4
push 0x24
push dword [esp + 0x38]
call fcn.0048ad20
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
push 0
push dword [esp + 0xc]
push dword [esp + 0x30]
call sub.ADVAPI32.dll_RegOpenKeyExW
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x404769
mov ebx, dword [esp + 0x30]
and ebx, ebx
je 0x404755
push dword [esp + 8]
mov ebp, dword [esp + 0x34]
pop dword [ebp + 8]
push edx
call fcn.0048be60
pop edx
push eax
push dword [esp + 0xc]
call fcn.00405995
mov ebp, dword [esp + 0x34]
lea eax, [ebp + 0xc]
push eax
call fcn.0048bf00
cmp dword [esp + 0x10], 0
je 0x404765
push dword [esp + 0x10]
call sub.ADVAPI32.dll_RegCloseKey
xor eax, eax
jmp 0x4047c8
push dword [esp + 4]
push dword [esp + 0x14]
call sub.ADVAPI32.dll_RegDeleteValueW
mov dword [esp + 8], eax
push dword [esp + 0x10]
call sub.ADVAPI32.dll_RegCloseKey
cmp dword [esp + 8], 0
je 0x4047bf
mov ebx, dword [esp + 0x30]
and ebx, ebx
je 0x4047bb
push dword [esp + 8]
mov ebp, dword [esp + 0x34]
pop dword [ebp + 8]
push edx
call fcn.0048be60
pop edx
push eax
push dword [esp + 0xc]
call fcn.00405995
mov ebp, dword [esp + 0x34]
lea eax, [ebp + 0xc]
push eax
call fcn.0048bf00
xor eax, eax
jmp 0x4047c8
mov eax, 1
jmp 0x4047c8
push dword [esp]
call fcn.0048c060
push dword [esp + 4]
call fcn.0048c060
add esp, 0x14
pop ebx
pop ebp
ret 0x14