joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426204
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0043171a
mov edx, eax
test ebx, ebx
je 0x42622b
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x426236
movzx eax, word [eax]
jmp 0x42624d
xor ecx, ecx
test dl, dl
je 0x426260
jmp 0x4262f4
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov ecx, edi
mov byte [ebp - 0x10], dl
call dword [section..00cfg]
mov ecx, ebx
call edi
mov dl, byte [ebp - 0x10]
xor edi, edi
cmp ax, 0xffff
sete al
je 0x42625a
mov edi, ebx
mov ecx, edi
cmp dl, al
je 0x4262da
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
mov dword [ebp - 0x10], ecx
je 0x426272
movzx edi, word [eax]
jmp 0x426285
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
mov edi, eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [section..00cfg]
movzx eax, di
mov ecx, ebx
push eax
push 8
call esi
test al, al
je 0x4262d4
mov esi, dword [ebp + 8]
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
mov ebx, dword [ebp - 0x10]
je 0x4262be
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x426211
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
jmp 0x42620e
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0043171a
mov ebx, eax
test edi, edi
je 0x4262fd
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x426303
movzx eax, word [eax]
jmp 0x426314
mov ecx, esi
call fcn.0043171a
mov ebx, eax
test bl, bl
jne 0x42631f
jmp 0x426325
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
cmp ax, 0xffff
sete al
xor bl, al
jne 0x426325
mov eax, dword [ebp + 0x10]
or byte [eax], 2
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x434ee6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push 8
call fcn.004729fc
add esp, 4
mov dword [eax], ebx
mov dword [eax + 4], edi
xor ecx, ecx
push ecx
push ecx
push eax
push 0x434f30
push ecx
push ecx
call fcn.0047f0fa
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x434f25
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x4352a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x4be624]
test ebx, ebx
jne 0x435340
push 0x28
call fcn.004729fc
add esp, 4
mov esi, eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [eax + 8], 0
push 0xc
call fcn.004729fc
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x43534a
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [esi + 0x10], ecx
mov eax, esi
add eax, 0x1c
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], 1
mov dword [0x4be624], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x435365
mov edi, eax
push eax
call fcn.0048b4b9
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00435370
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x23
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.00414a00
int3
Function at 0x435370
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x4b9014]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x20]
push 3
push ecx
push eax
push edx
call fcn.00442700
add esp, 0x10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4354c3
mov esi, dword [ebp - 0x20]
mov dword [edi], esi
mov dword [edi + 4], eax
mov dword [ebp - 0x14], 0
push 0x800
push 0
push str.api_ms_win_downlevel_shell32_l1_1_0.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp - 0x30], eax
je 0x4353f0
push 0x4acc76
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x435400
mov ecx, eax
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
jmp 0x4353fb
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x24], eax
jmp 0x435407
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
test esi, esi
je 0x435477
mov dword [ebp - 0x2c], edi
shl esi, 2
cmp esi, 0x55555555
jae 0x435517
lea edi, [esi + esi*2]
push edi
call fcn.004729fc
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], eax
add eax, edi
mov dword [ebp - 0x18], eax
xor edi, edi
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x4354fc
mov ecx, ebx
mov eax, dword [ebp - 0x24]
push dword [eax + edi]
call fcn.00417a14
add ebx, 0xc
add edi, 4
cmp esi, edi
jne 0x435450
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp - 0x2c]
jmp 0x435480
xor ebx, ebx
mov dword [ebp - 0x28], 0
mov ecx, edi
lea eax, [ebp - 0x20]
push eax
call fcn.00435100
mov dword [edi], 0
mov dword [edi + 4], 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4354af
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x4354c3
cmp ebx, edi
jne 0x4354e6
push edi
call fcn.00472a2c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00473933
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ebx, esi
cmp esi, edi
je 0x4354ba
lea esi, [ebx - 0xc]
cmp byte [ebx - 1], 0
jns 0x4354e0
push dword [ebx - 0xc]
call fcn.00472a2c
add esp, 4
jmp 0x4354e0
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x23
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.00414a00
call fcn.00484160
int3
Function at 0x4361b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [ebp - 0x2c], edx
mov eax, dword [0x4b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, byte [0x4be62c]
and eax, 1
neg eax
cmp eax, 0xfffffffd
je 0x4362ab
mov edi, ecx
xor esi, esi
jmp 0x43620d
cmp byte [ebp - 0x24], 0
js 0x436290
inc esi
movzx eax, byte [0x4be62c]
xor eax, 3
cmp esi, eax
jae 0x4362ab
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x1c]
push dword [esi*8 + 0x4acc04]
push dword [esi*8 + 0x4acc00]
call fcn.00413a44
movzx edx, byte [ebp - 0x11]
test dl, dl
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
cmovs edx, eax
cmp edx, dword [ebp - 0x2c]
ja 0x4361f0
test edx, edx
je 0x4362a0
cmp byte [ebp - 0x24], 0
lea eax, [ebp - 0x1c]
cmovs eax, dword [ebp - 0x20]
xor ebx, ebx
nop word cs:[eax + eax]
movzx ecx, word [edi + ebx*2]
cmp cx, word [eax + ebx*2]
jne 0x4361f0
inc ebx
cmp edx, ebx
jne 0x436270
jmp 0x4362a0
push dword [ebp - 0x20]
call fcn.00472a2c
add esp, 4
jmp 0x4361fa
mov eax, dword [ebp - 0x24]
test al, al
js 0x4362af
mov esi, eax
jmp 0x4362bd
xor esi, esi
jmp 0x4362bd
push dword [ebp - 0x20]
call fcn.00472a2c
add esp, 4
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00473933
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4390e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov eax, dword [0x4b9014]
xor eax, ebp
mov dword [esp + 0xa8], eax
test ecx, ecx
je 0x4391b4
mov ebx, edx
push 0
push 0
push ecx
mov esi, ecx
call fcn.00488dea
add esp, 0xc
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
lea edi, [esp + 0x20]
push 0x48
push str....._base_files_file_util.cc
push str.ReadStreamToSpanWithMaxSize
push edi
call fcn.00439710
add esp, 0x10
lea ecx, [esp + 0x60]
push 0
push edi
call fcn.004402a0
pxor xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0x50], 0
mov dword [esp], esi
push esi
call fcn.00482622
add esp, 4
push eax
call fcn.0048267a
add esp, 4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x4391bb
mov eax, dword [esp + 0x44]
xor ecx, ecx
mov edx, eax
neg edx
sbb ecx, dword [esp + 0x40]
mov edi, 0xffff
cmovl edi, eax
jmp 0x4391c0
xor ebx, ebx
jmp 0x4392cf
mov edi, 0xffff
cmp edi, ebx
mov dword [esp + 0xc], ebx
cmovae edi, ebx
inc edi
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
call dword [section..00cfg]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edi
push eax
push edx
mov dword [esp + 0x14], ecx
call ecx
add esp, 0xc
xor ebx, ebx
mov eax, dword [esp + 0x1c]
nop word [eax + eax]
mov ecx, dword [esp]
add eax, ebx
push ecx
push edi
push 1
push eax
call fcn.00488be7
add esp, 0x10
test eax, eax
je 0x439290
mov esi, eax
mov eax, dword [esp + 0xc]
sub eax, ebx
cmp eax, esi
jb 0x439286
add esi, ebx
push dword [esp]
call fcn.0048877e
add esp, 4
test eax, eax
jne 0x43928e
test ebx, ebx
mov eax, 0x10000
cmove edi, eax
lea ebx, [esi + edi]
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
call dword [section..00cfg]
mov eax, dword [esp + 0x5c]
push ebx
push eax
lea eax, [esp + 0x18]
push eax
call ecx
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov ebx, esi
jmp 0x439210
xor esi, esi
mov ebx, dword [esp + 0xc]
jmp 0x4392a2
mov ebx, esi
push dword [esp]
call fcn.004887aa
add esp, 4
test eax, eax
sete al
mov esi, eax
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
call dword [section..00cfg]
mov eax, dword [esp + 0x5c]
push ebx
push eax
lea eax, [esp + 0x18]
push eax
call ecx
add esp, 0xc
lea ecx, [esp + 0x60]
call fcn.00440320
mov ebx, esi
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.00473933
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x439750
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov dword [0x4be630], eax
call fcn.00439820
mov eax, dword [esi]
mov dword [0x4bab20], eax
test al, 1
jne 0x439774
mov al, 1
pop esi
pop ebp
ret
mov eax, dword [0x4be648]
test eax, eax
je 0x4397a1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4be648], 0
mov ecx, dword [0x4be634]
test ecx, ecx
jne 0x4397d0
and byte [0x4bab20], 0xfe
jmp 0x4397ab
mov ecx, dword [0x4be634]
test ecx, ecx
jne 0x4397d0
push 0xc
call fcn.004729fc
add esp, 4
mov ecx, eax
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [0x4be634], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4397fe
push eax
call fcn.0043320e
cmp dword [esi + 0xc], 0
jne 0x4397f7
mov eax, dword [0x4be634]
cmp byte [eax + 0xb], 0
jns 0x4397f0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
jmp fcn.00439930
push str.string::assign_received_nullptr
push str.__s___nullptr
push 0xa70
push str....._buildtools_third_partylibc_trunkinclude_string
push str._s:_d:_assertion__s_failed:__s
call fcn.00414a00
int3
Function at 0x441270
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x4b9014]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov ebx, esp
push 0x1c9
push str....._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.00439710
add esp, 0x10
lea esi, [esp + 0x10]
mov ecx, esi
push 0
push ebx
call fcn.004402a0
cmp byte [edi + 0xb], 0
jns 0x4412d6
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov ecx, esi
call fcn.00440320
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00473933
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x441300
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x4b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.00475f90
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xfffffefc
cmp esi, 0xfffffefd
jb 0x441388
push ebx
call fcn.0048b4b9
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.00437cd0
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.00438b90
mov ecx, dword [ebp + 8]
push ebx
call fcn.00437dc0
mov ecx, ebx
call fcn.00437d80
mov ecx, edi
call fcn.00437d80
cmp esi, 0xfffffefd
setae bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00473933
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4413b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x4b9014]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.00475f90
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x4acf00]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x441418
cmp word [ebp - 0x214], 0
je 0x441418
push edi
call fcn.0048b4b9
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00437cd0
jmp 0x441471
mov dword [ebp - 0x220], 0xffffffff
mov dword [ebp - 0x21c], 0xffffffff
mov dword [ebp - 0x218], 0xffffffff
lea edi, [ebp - 0x220]
mov ecx, edi
call fcn.00437c80
push edi
call fcn.00441300
add esp, 4
mov ecx, esi
test al, al
je 0x44145a
push edi
call fcn.00437ca0
jmp 0x441466
push 3
push 0x4acf52
call fcn.00437cd0
lea ecx, [ebp - 0x220]
call fcn.00437d80
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00473933
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
Function at 0x4415d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x270
mov eax, dword [0x4b9014]
xor eax, ebp
mov dword [esp + 0x268], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x250], xmm0
movdqa xmmword [esp + 0x240], xmm0
movdqa xmmword [esp + 0x230], xmm0
movdqa xmmword [esp + 0x220], xmm0
lea ebx, [esp + 0x18]
push 0x3c3
push str....._base_files_file_util_win.cc
push 0x4acf63
push ebx
call fcn.00439710
add esp, 0x10
lea ecx, [esp + 0x220]
push 0
push ebx
call fcn.004402a0
lea eax, [esp + 0x1a]
push 0x206
push 0xff
push eax
call fcn.00475f90
add esp, 0xc
mov word [esp + 0x18], 0
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
add esi, 0xfffffefb
cmp esi, 0xfffffefc
jb 0x4416b1
push ebx
call fcn.0048b4b9
add esp, 4
mov edi, esp
mov ecx, edi
push eax
push ebx
call fcn.00437cd0
lea ebx, [esp + 0xc]
mov ecx, edi
push ebx
call fcn.00438b90
mov ecx, dword [ebp + 8]
push ebx
call fcn.00437dc0
mov ecx, ebx
call fcn.00437d80
mov ecx, edi
call fcn.00437d80
cmp esi, 0xfffffefc
setae bl
lea ecx, [esp + 0x220]
call fcn.00440320
mov ecx, dword [esp + 0x268]
xor ecx, ebp
call fcn.00473933
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4422c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x442310
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jb 0x4422fa
call fcn.00439740
push dword [esi]
call fcn.0044aa00
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x442309
mov dword [esi], ebx
call fcn.00439740
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x442327
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3

Function at 0x442380
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x4b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x4423a6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4423a8
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4423c8
cmp byte [ebp + 0xc], 0
je 0x442418
cmp byte [esi + 4], 0
je 0x44240a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x44240c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x4423dc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4423de
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4423f5
xor ebx, ebx
jmp 0x442486
mov dword [ebp - 0x14], 0xffffffff
cmp byte [esi + 4], 0
je 0x442446
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x442448
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 4], 0
je 0x442426
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x442428
mov eax, dword [esi]
push eax
call fcn.00452890
add esp, 4
mov ecx, dword [0x4c9130]
mov bl, 1
test ecx, ecx
je 0x442486
push edi
push eax
call fcn.0044d400
jmp 0x442486
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x44245a
mov edi, dword [ebp - 0x14]
cmp byte [esi + 4], 0
je 0x442468
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x44246a
mov eax, dword [esi]
push eax
call fcn.00452890
add esp, 4
mov ecx, dword [0x4c9130]
test ecx, ecx
je 0x442484
push edi
push eax
call fcn.0044d400
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00473933
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x442e50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [0x4b9014]
xor edx, ebp
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x14]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
push edx
push esi
push edi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x442eb8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x442eb8
cmp dword [ebp - 0x14], 4
jne 0x442eb8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00473933
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8

Function at 0x442ed0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.00473d50
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x4b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x810]
push 0x800
push 0xff
push ebx
call fcn.00475f90
add esp, 0xc
mov dword [ebp - 0x1014], 1
mov dword [ebp - 0x1018], 0x800
lea eax, [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
push eax
push ebx
push ecx
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x442fa6
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 2
je 0x442f59
mov edi, 0x3f4
cmp eax, 1
jne 0x442fa6
mov ecx, esi
push ebx
jmp 0x442f9f
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.00475f90
add esp, 0xc
push 0x400
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x442fa6
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
call fcn.0043320e
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00473933
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x442fc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 8]
mov edx, dword [0x4b9014]
xor edx, ebp
mov dword [ebp - 8], edx
lea edx, [ebp + 0xc]
push 4
push edx
push 4
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00473933
mov eax, esi
add esp, 4
pop esi
pop ebp
ret 8
Function at 0x4437a0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x4b9014]
xor eax, ebp
mov dword [esp + 0x40], eax
movsd xmm1, qword [0x4be6c8]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x44391c
jp 0x44391c
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call esi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x4be6d8]
mov ecx, dword [0x4bcce8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x443941
mov eax, dword [0x4be6e8]
mov ecx, dword [0x4bcce8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44397a
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
lea ebx, [esp + 0x38]
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub esi, dword [0x4be6e0]
sbb edi, dword [0x4be6e4]
movd xmm0, edi
movd xmm1, esi
punpckldq xmm1, xmm0
movq qword [esp + 0x28], xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
fild qword [esp + 0x38]
fstp qword [esp + 0x30]
divsd xmm0, qword [esp + 0x30]
pxor xmm1, xmm1
movsd xmm2, qword [0x4ad058]
ucomisd xmm2, xmm0
ja 0x44391c
mov eax, dword [esp + 8]
sub eax, dword [0x4be6d0]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x4be6d4]
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x4ad030]
subpd xmm2, xmmword [0x4ad040]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x4be6c8], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x40]
xor ecx, ebp
call fcn.00473933
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4be6d8
call fcn.00472aa7
add esp, 4
cmp dword [0x4be6d8], 0xffffffff
jne 0x443812
rdtsc
mov dword [0x4be6d0], eax
mov dword [0x4be6d4], edx
push 0x4be6d8
call fcn.00472b1d
add esp, 4
jmp 0x443812
push 0x4be6e8
call fcn.00472aa7
add esp, 4
cmp dword [0x4be6e8], 0xffffffff
jne 0x443833
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [0x4be6e4], ecx
mov dword [0x4be6e0], eax
push 0x4be6e8
call fcn.00472b1d
add esp, 4
jmp 0x443833