joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b5b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x2638]
push esi
lea ecx, [ebp - 0x14]
push ecx
push edx
lea esi, [eax + 0x2ddc]
push esi
push eax
mov dword [ebp - 0x14], 0x65746e49
mov dword [ebp - 0x10], 0x74656e72
mov dword [ebp - 0xc], 0x64616552
mov dword [ebp - 8], 0x656c6946
mov byte [ebp - 4], 0
call fcn.0041bb10
mov esi, dword [esi]
add esp, 0x10
test esi, esi
je 0x41b612
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
call esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41b620
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x2638]
push esi
lea ecx, [ebp - 0x14]
push ecx
push edx
lea esi, [eax + 0x2de0]
push esi
push eax
mov dword [ebp - 0x14], 0x65746e49
mov dword [ebp - 0x10], 0x74656e72
mov dword [ebp - 0xc], 0x736f6c43
mov dword [ebp - 8], 0x6e614865
mov dword [ebp - 4], 0x656c64
call fcn.0041bb10
mov esi, dword [esi]
add esp, 0x10
test esi, esi
je 0x41b679
mov eax, dword [ebp + 0xc]
push eax
call esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41bf10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 4]
test edi, edi
je 0x41bf76
cmp dword [esi + 0x18], 0
je 0x41bf91
lea ecx, [ecx]
mov edx, dword [esi + 0x30]
push edi
push edx
call fcn.0041d930
add esp, 8
test eax, eax
jne 0x41bf6e
mov esi, dword [esi]
cmp dword [esi + 0x18], eax
jne 0x41bf50
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x41bf91
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41bf91
cmp eax, ecx
je 0x41bf6e
mov esi, dword [esi]
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x41bf84
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41bfa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 4]
test edi, edi
je 0x41bff8
cmp dword [esi + 0x18], 0
je 0x41bff8
lea ecx, [ecx]
mov edx, dword [esi + 0x30]
push edi
push edx
call fcn.0041d930
add esp, 8
test eax, eax
jne 0x41c000
mov esi, dword [esi]
cmp dword [esi + 0x18], eax
jne 0x41bfe0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 4]
test edi, edi
je 0x41c068
cmp dword [esi + 0x18], 0
je 0x41c068
lea ecx, [ecx]
mov edx, dword [esi + 0x30]
push edi
push edx
call fcn.0041d930
add esp, 8
test eax, eax
jne 0x41c070
mov esi, dword [esi]
cmp dword [esi + 0x18], eax
jne 0x41c050
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x30]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41c120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
xor ecx, ecx
test edx, edx
je 0x41c164
cmp dword [eax + 0x18], 0
je 0x41c164
mov eax, dword [eax]
inc ecx
cmp ecx, edx
jb 0x41c157
mov esp, ebp
pop ebp
ret

Function at 0x41c170
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
push edi
push 0x103
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.0041ca30
add esp, 0xc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
cmp dword [esi + 0x18], 0
je 0x41c1fb
mov edi, dword [ebp + 8]
lea esp, [esp]
mov eax, dword [esi + 0x30]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0041d050
lea edx, [ebp - 0x10c]
push edx
push edi
call fcn.00416080
add esp, 0x10
test eax, eax
jne 0x41c203
mov esi, dword [esi]
cmp dword [esi + 0x18], eax
jne 0x41c1d0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41c6e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x41c6ee
xor eax, eax
pop ebp
ret
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41c6ea
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x41c6ea
mov edx, dword [ebp + 8]
push esi
mov dword [edx], eax
mov esi, dword [eax + 0x3c]
add esi, eax
mov dword [edx + 4], esi
mov ecx, dword [ecx + eax + 0x78]
add ecx, eax
mov dword [edx + 8], ecx
mov eax, 1
pop esi
pop ebp
ret
Function at 0x41c760
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x41c784
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x41c784
mov ebx, dword [edi + 0x3c]
add ebx, edi
cmp dword [ebx], 0x4550
je 0x41c78c
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x50]
mov eax, dword [ebp + 8]
push esi
inc edx
push edx
push eax
call fcn.0041cb60
mov ecx, dword [ebx + 0x50]
mov esi, eax
push ecx
push esi
call fcn.0041c9e0
mov edx, dword [ebx + 0x54]
push edx
push edi
push esi
call fcn.0041c9b0
xor edx, edx
xor eax, eax
add esp, 0x1c
mov dword [ebp - 4], edx
cmp ax, word [ebx + 6]
jae 0x41c81e
mov dword [ebp + 0xc], edx
jmp 0x41c7c9
xor edx, edx
mov ecx, dword [edi + 0x3c]
add ecx, dword [ebp + 0xc]
lea eax, [ecx + esi + 0xf8]
mov ecx, dword [eax + 0x10]
cmp ecx, edx
jne 0x41c7e0
mov dword [eax + 0x14], edx
mov edx, dword [eax + 8]
cmp ecx, edx
jbe 0x41c7f6
push edx
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add edx, edi
push edx
add eax, esi
push eax
jmp 0x41c803
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 0x14]
add ecx, edi
push ecx
add edx, esi
push edx
call fcn.0041c9b0
mov eax, dword [ebp - 4]
movzx ecx, word [ebx + 6]
add dword [ebp + 0xc], 0x28
inc eax
add esp, 0xc
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x41c7c7
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c830
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x41c850
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x41c850
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x41c854
xor eax, eax
pop ebp
ret
mov eax, dword [eax + ecx + 0x2c]
add eax, ecx
pop ebp
ret

Function at 0x41c8d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x41c8f0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41c8f0
mov edx, dword [eax + 0x3c]
cmp dword [eax + edx], 0x4550
je 0x41c8f4
xor eax, eax
pop ebp
ret
mov eax, dword [eax + edx + 0x28]
test eax, eax
je 0x41c8f0
add eax, dword [ebp + 0xc]
pop ebp
ret
Function at 0x41d610
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
cmp esi, 0x5d
jae 0x41d84c
push ebx
push edi
push 0x773
push eax
mov byte [ebp - 0x1c], al
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov dword [ebp - 7], eax
mov word [ebp - 3], ax
mov byte [ebp - 1], al
lea eax, [ebp - 0x793]
mov cl, 0xe7
push eax
mov dword [ebp - 0x20], 0x6c6c642e
mov dword [ebp - 0x820], 0xbee14005
mov dword [ebp - 0x81c], 0xc8066c2a
mov dword [ebp - 0x818], 0xccdfc1a9
mov dword [ebp - 0x814], 0xe245063a
mov dword [ebp - 0x810], 0x3ad226d0
mov dword [ebp - 0x80c], 0x8450707
mov dword [ebp - 0x808], 0xe0c8cb23
mov dword [ebp - 0x804], 0x4337a708
mov dword [ebp - 0x800], 0x57e44962
mov dword [ebp - 0x7fc], 0xa6aa08e7
mov dword [ebp - 0x7f8], 0x6525dcb0
mov dword [ebp - 0x7f4], 0x7b08e760
mov dword [ebp - 0x7f0], 0x1eb386be
mov dword [ebp - 0x7ec], 0x8e7a01f
mov dword [ebp - 0x7e8], 0xefa2d823
mov dword [ebp - 0x7e4], 0xe7a01f26
mov dword [ebp - 0x7e0], 0xa8fc2209
mov dword [ebp - 0x7dc], 0x4f1cc7ee
mov dword [ebp - 0x7d8], 0xef094116
mov dword [ebp - 0x7d4], 0x8ca89392
mov dword [ebp - 0x7d0], 0x4157a323
mov dword [ebp - 0x7cc], 0x9f8f1d09
mov dword [ebp - 0x7c8], 0xa3269dc3
mov dword [ebp - 0x7c4], 0x74094157
mov dword [ebp - 0x7c0], 0x507d60c3
mov dword [ebp - 0x7bc], 0x41107c91
mov dword [ebp - 0x7b8], 0x6357590b
mov dword [ebp - 0x7b4], 0x1deab58a
mov dword [ebp - 0x7b0], 0xf708ac79
mov dword [ebp - 0x7ac], 0x73ade308
mov dword [ebp - 0x7a8], 0xa1651ec6
mov dword [ebp - 0x7a4], 0xca3d06e7
mov dword [ebp - 0x7a0], 0x3ad226c4
mov dword [ebp - 0x79c], 0xb2fc3308
mov dword [ebp - 0x798], 0x615506cf
mov byte [ebp - 0x794], cl
call fcn.0041ca30
add esp, 0xc
lea eax, [ebp - 0x820]
test esi, esi
je 0x41d7dc
dec esi
movzx ecx, byte [eax]
lea eax, [eax + ecx + 1]
jne 0x41d7d2
lea esi, [eax + 1]
movzx eax, byte [eax]
lea edx, [ebp - 0x20]
push edx
push eax
push esi
call fcn.0040ab80
xor eax, eax
add esp, 0xc
cmp byte [esi], al
je 0x41d7fd
inc eax
cmp byte [esi + eax], 0
jne 0x41d7f6
mov ebx, dword [ebp + 8]
inc eax
push eax
push esi
push ebx
call fcn.0041c9b0
add esp, 0xc
xor edi, edi
cmp byte [ebx], 0
je 0x41d81a
inc edi
cmp byte [edi + ebx], 0
jne 0x41d813
xor esi, esi
cmp byte [ebp - 0x20], 0
je 0x41d82a
inc esi
cmp byte [ebp + esi - 0x20], 0
jne 0x41d822
test esi, esi
je 0x41d83f
push esi
lea ecx, [ebp - 0x20]
lea eax, [edi + ebx]
push ecx
push eax
call fcn.0041ca00
add esp, 0xc
add esi, edi
pop edi
mov byte [esi + ebx], 0
mov eax, 1
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b133
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x439008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x40b1de
push 0x4069b4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x40b178
push 0x4069c8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40b1de
push esi
push 0x406a20
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x40b192
push 0x406a30
jmp 0x40b1d7
push dword [0x448cbc]
push 0x406934
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x406a88
lea eax, [ebp - 0x194]
mov ecx, esi
push eax
call dword [0x44a2fc]
call esi
add esp, 0x1c
test eax, eax
jns 0x40b1ca
push 0x406ba8
jmp 0x40b1d7
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00414880
leave
ret 4

Function at 0x40b233
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push 0x14
mov eax, 0x42e6cc
call fcn.00414931
mov ebx, ecx
and dword [ebp - 4], 0
cmp dword [ebx], 0
je 0x40ad29
mov eax, 0x8000ffff
jmp 0x40ad91
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x28]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x44a2fc]
lea ecx, [ebx + 0x28]
call esi
call fcn.0040a9c6
xor ecx, ecx
mov dword [ebp - 0x1c], 0x406cc8
lea eax, [ebx + 0x10]
mov dword [ebp - 0x18], ecx
push eax
push ecx
push ecx
xor edx, edx
lea eax, [ebp - 0x1c]
push eax
inc edx
push edx
push 0x406c20
push ecx
push 0x40b110
mov dword [ebx], edx
call dword [sym.imp.ADVAPI32.dll_RegisterTraceGuidsW]
test eax, eax
je 0x40ad82
jle 0x40ad91
movzx eax, ax
or eax, 0x80070000
jmp 0x40ad91
xor eax, eax
jmp 0x40ad91
call fcn.00414896
ret
xor eax, eax
inc eax
lock xadd dword [0x449b84], eax
inc eax
cmp eax, 1
jne 0x40b27d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x448cbc], eax
cmp eax, 0xffffffff
jne 0x40b25b
mov edx, 0x406920
jmp 0x40b26d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x40b273
mov edx, 0x40695c
push ecx
call fcn.0040b133
mov ecx, 0x448cc8
jmp 0x40ad0b
xor eax, eax
ret

Function at 0x40b2db
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push esi
push edi
mov edi, dword [0x448cbc]
mov esi, ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x40b309
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push edi
push 0x406974
call fcn.0040b130
add esp, 0x10
pop edi
xor eax, eax
pop esi
ret
Function at 0x40c6a9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 8], ebx
test eax, eax
jne 0x40c6c2
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
or dword [esi + 4], 0xffffffff
lea edi, [esi + 0x2c]
push dword [0x448cbc]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x28], eax
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 0x3c], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x40c720
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40c720
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
call fcn.0040b2db
test eax, eax
js 0x40c730
mov dword [esi + 0x3c], edi
jmp 0x40c733
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x40c73d
mov eax, dword [edi + 0x20]
inc eax
jmp 0x40c73f
mov eax, ebx
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x28]
cmp eax, 0xff
jne 0x40c74f
add eax, 0xffffffa1
push ebx
push eax
push 0x407088
mov ecx, esi
call fcn.0040ca8f
lea ecx, [ebp + 0xc]
call fcn.0040c413
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x5c
Function at 0x40c881
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x439008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x449b84]
neg eax
push esi
mov esi, ecx
sbb eax, eax
and eax, dword [0x448cec]
cmp eax, dword [esi + 4]
je 0x40c9a4
mov dword [esi + 4], eax
mov eax, dword [0x449b84]
test eax, eax
je 0x40c8e7
mov edx, dword [esi + 0x18]
lea eax, [ebp - 0x80c]
mov ecx, dword [esi + 0x1c]
and dword [ebp - 0x80c], 0
push eax
call fcn.0040aa02
test eax, eax
je 0x40c8e2
mov eax, dword [ebp - 0x80c]
jmp 0x40c91b
mov eax, dword [0x449b84]
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x40c8f5
call fcn.0040c86d
jmp 0x40c91b
test eax, eax
je 0x40c919
cmp dword [0x448cc8], 0
je 0x40c919
cmp dword [0x448ccc], 0
je 0x40c919
cmp dword [0x448cc0], 0
je 0x40c919
xor eax, eax
inc eax
jmp 0x40c91b
xor eax, eax
mov dword [esi], eax
mov eax, dword [0x448cc4]
cmp eax, dword [esi + 4]
je 0x40c9a4
push 0x800
lea eax, [ebp - 0x808]
push 0
push eax
call sub.msvcrt.dll_memset
pop ecx
pop ecx
lea eax, [ebp - 0x808]
push eax
call fcn.0040ce0b
push dword [esi + 4]
lea eax, [ebp - 0x808]
push dword [0x448cc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x407120
push 0x78
push 0x4071c8
sub esp, 0x58
mov ecx, esp
push ecx
push 0xb
push 0x24f
push 0x4071e8
push 0x406f18
push 0x406f28
call fcn.0040c36c
push esi
call fcn.0040cb8d
mov eax, dword [esi + 4]
add esp, 0x7c
mov dword [0x448cc4], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00414880
leave
ret
Function at 0x40eb5e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x60
mov eax, 0x42e9b8
call fcn.004148c8
mov esi, ecx
sub esp, 0x58
mov ecx, esp
push ecx
push 0xb
push 0x1f8
push 0x407c30
push 0x407b3c
push 0x407b50
call fcn.0040c36c
xor ebx, ebx
lea ecx, [ebp - 0x6c]
push ebx
call fcn.0040c6a9
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
push ebx
push 0x406c30
mov dword [edi], ebx
push dword [esi + 8]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
cmp edx, 2
je 0x40ec17
test edx, edx
je 0x40ebd5
cmp edx, 0xea
jne 0x40eca6
push 4
pop eax
cmp dword [ebp - 0x18], eax
je 0x40ec1a
push 0x406c30
push dword [esi + 0x10]
push 0x407cd0
sub esp, 0x58
mov ecx, esp
push ecx
push 0xb
push 0x21e
push 0x407c30
push 0x407b3c
push 0x407b50
call fcn.0040c36c
lea eax, [ebp - 0x6c]
push eax
call fcn.0040d68c
add esp, 0x68
push ebx
jmp 0x40ec8a
cmp dword [ebp - 0x14], eax
jne 0x40ecfa
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], ebx
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], ebx
push eax
push ebx
mov ebx, 0x406c30
push ebx
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
je 0x40ec83
push dword [ebp - 0x1c]
lea ecx, [esi + 0xc]
push dword [ebp - 0x20]
push ebx
call fcn.0040e2e0
push eax
push dword [esi + 8]
push 0x407c68
test edx, edx
jle 0x40ec73
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push ecx
push 0xb
push 0x23a
jmp 0x40ecdd
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
push 1
lea ecx, [ebp - 0x6c]
call fcn.0040e9a9
lea ecx, [ebp - 0x6c]
mov bl, al
call fcn.0040c76e
mov al, bl
call fcn.00414896
ret 0xc
push dword [ebp - 0x14]
lea ecx, [esi + 0xc]
push dword [ebp - 0x18]
push 0x406c30
call fcn.0040e2e0
push eax
push dword [esi + 8]
push 0x407c68
test edx, edx
jle 0x40eccf
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push ecx
push 0xb
push 0x217
push 0x407c30
push 0x407b3c
push 0x407b50
call fcn.0040c36c
lea eax, [ebp - 0x6c]
push eax
call fcn.0040d4af
push 0x406c30
lea ecx, [esi + 0xc]
call fcn.0040e2e0
push eax
push dword [esi + 8]
push dword [ebp - 0x14]
push 0x407d90
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push ecx
push 0xb
push 0x22b
push 0x407c30
push 0x407b3c
push 0x407b50
call fcn.0040c36c
lea eax, [ebp - 0x6c]
push eax
call fcn.0040d4af
int3
Function at 0x40ee55
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x42e9db
call fcn.004148c8
mov esi, ecx
sub esp, 0x58
mov ebx, 0x408048
mov ecx, esp
push ecx
push 0xb
pop edi
push edi
push 0x3bb
push ebx
push 0x407b3c
push 0x407b50
call fcn.0040c36c
push 0
lea ecx, [ebp - 0x64]
call fcn.0040c6a9
and dword [ebp - 4], 0
mov ecx, esi
call fcn.0040effd
push 4
pop ecx
cmp dword [esi + 0xc], ecx
jne 0x40ef52
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jne 0x40ef81
mov eax, dword [esi + 0x18]
xor edx, edx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edx
push eax
push edx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], ecx
push eax
push dword [esi + 0x14]
push dword [esi + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edx, eax
test edx, edx
je 0x40ef16
cmp edx, 0x103
jne 0x40efb2
push dword [esi + 4]
push dword [esi + 8]
push 0x407ef0
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push ecx
push edi
push 0x3e3
jmp 0x40ef99
mov eax, dword [ebp - 0x18]
cmp eax, dword [esi + 0xc]
je 0x40ef3a
push dword [esi + 0xc]
push eax
push 0x408130
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push ecx
push edi
push 0x3dd
jmp 0x40ef99
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
lea ecx, [ebp - 0x64]
call fcn.0040c76e
call fcn.00414896
ret 4
push 0x4080b0
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push ecx
push edi
push 0x3c1
push ebx
push 0x407b3c
push 0x407b50
call fcn.0040c36c
lea eax, [ebp - 0x64]
push eax
call fcn.0040d4af
push ecx
push eax
push 0x408200
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push ecx
push edi
push 0x3c6
push ebx
push 0x407b3c
push 0x407b50
call fcn.0040c36c
lea eax, [ebp - 0x64]
push eax
call fcn.0040d4af
push dword [ebp - 0x14]
lea ecx, [esi + 0x10]
call fcn.0040e2e0
push eax
push dword [esi + 8]
push dword [esi]
push 0x4081c0
test edx, edx
jle 0x40efd5
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push ecx
push edi
push 0x3e5
push ebx
push 0x407b3c
push 0x407b50
call fcn.0040c36c
lea eax, [ebp - 0x64]
push eax
call fcn.0040d4af
int3
Function at 0x40effd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x4c
mov eax, 0x42e9fe
call fcn.004148c8
mov esi, ecx
sub esp, 0x58
mov ebx, 0x408268
mov ecx, esp
push ecx
push 0xb
push 0x45e
push ebx
push 0x407b3c
push 0x407b50
call fcn.0040c36c
push 0
lea ecx, [ebp - 0x58]
call fcn.0040c6a9
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp byte [esi + 0x21], cl
je 0x40f095
cmp dword [esi + 0x14], ecx
je 0x40f095
cmp byte [esi + 0x20], cl
je 0x40f059
lea ecx, [ebp - 0x58]
call fcn.0040c76e
call fcn.00414896
ret
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x10], eax
lea eax, [esi + 0x1c]
push eax
push ecx
lea eax, [esi + 0xc]
push eax
push ecx
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x14]
push dword [esi + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edx, eax
test edx, edx
je 0x40f08f
cmp edx, 0x103
je 0x40f10f
jmp 0x40f0c5
mov byte [esi + 0x20], 1
jmp 0x40f04b
push 0x407e98
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push ecx
push 0xb
push 0x462
push ebx
push 0x407b3c
push 0x407b50
call fcn.0040c36c
lea eax, [ebp - 0x58]
push eax
call fcn.0040d4af
push dword [ebp - 0x10]
lea ecx, [esi + 0x10]
call fcn.0040e2e0
push eax
push dword [esi + 8]
push dword [esi]
push 0x4081c0
test edx, edx
jle 0x40f0e8
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push ecx
push 0xb
push 0x47a
push ebx
push 0x407b3c
push 0x407b50
call fcn.0040c36c
lea eax, [ebp - 0x58]
push eax
call fcn.0040d4af
push dword [esi + 4]
push dword [esi + 8]
push 0x407ef0
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push ecx
push 0xb
push 0x47e
push ebx
push 0x407b3c
push 0x407b50
call fcn.0040c36c
lea eax, [ebp - 0x58]
push eax
call fcn.0040d4af
int3

Function at 0x412d6b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x60
mov eax, 0x42f023
call fcn.004148fb
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x6c]
push 0
call fcn.00408dfb
and dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
push esi
call fcn.00409c89
test al, al
jne 0x412daa
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x412e02
lea eax, [ebp - 0x6c]
push eax
call fcn.0041522b
lea ecx, [ebp - 0x6c]
call fcn.00409789
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x58], esi
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040b41d
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
call fcn.00412d30
mov ecx, eax
call fcn.00418861
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040b613
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x6c]
call fcn.00409088
call fcn.004148aa
ret 4
push 0x4017f0
lea ecx, [ebp - 0x2c]
call fcn.0040b41d
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x54]
call fcn.0040fd79
push 0x43410c
lea eax, [ebp - 0x54]
push eax
call sub.msvcrt.dll__CxxThrowException
int3