joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423fe5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x424013
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x42401a
cmp ebx, dword [eax + 4]
jae 0x42401a
xor eax, eax
jmp 0x42420a
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x42402b
xor eax, eax
inc eax
jmp 0x424209
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x424041
cmp ecx, edx
jae 0x424186
cmp dword [eax + 4], 0
je 0x42404a
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x424032
cmp dword [ebp + 8], 0
je 0x42406c
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x424186
cmp eax, esi
jae 0x424186
mov eax, dword [0x4345d0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x424091
cmp dword [esi*4 + 0x4345d8], edi
je 0x42418a
inc esi
cmp esi, eax
jl 0x42407f
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x424206
cmp dword [ebp - 8], 0x1000000
jne 0x424206
test byte [ebp - 0xc], 0xcc
je 0x42410f
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x424206
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x424206
cmp word [eax + 0x18], 0x10b
jne 0x424206
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x424206
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x42410f
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x42410f
test byte [ecx + 0x27], 0x80
jne 0x424186
push 1
push 0x434618
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x424023
mov ecx, dword [0x4345d0]
test ecx, ecx
mov edx, ecx
jle 0x424143
lea eax, [ecx*4 + 0x4345d4]
cmp dword [eax], edi
je 0x424143
dec edx
sub eax, 4
test edx, edx
jg 0x424137
test edx, edx
jne 0x424174
push 0xf
pop ebx
cmp ecx, ebx
jg 0x424150
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x424168
lea eax, [edx*4 + 0x4345d8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x424156
cmp ecx, 0x10
jge 0x424174
inc ecx
mov dword [0x4345d0], ecx
push 0
push 0x434618
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x424023
xor eax, eax
jmp 0x424209
test esi, esi
jle 0x424023
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x434618
call ebx
test eax, eax
jne 0x424023
cmp dword [esi*4 + 0x4345d8], edi
je 0x4241e0
mov eax, dword [0x4345d0]
lea esi, [eax - 1]
test esi, esi
jl 0x4241ce
cmp dword [esi*4 + 0x4345d8], edi
je 0x4241ca
dec esi
jns 0x4241be
test esi, esi
jge 0x4241de
cmp eax, 0x10
jge 0x4241d9
inc eax
mov dword [0x4345d0], eax
lea esi, [eax - 1]
jmp 0x4241e0
je 0x4241f8
xor ecx, ecx
test esi, esi
jl 0x4241f8
lea eax, [ecx*4 + 0x4345d8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4241e6
push 0
push 0x434618
call ebx
jmp 0x424023
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4244cf
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x4348a0]
push edi
jae 0x4246a4
mov eax, esi
sar eax, 5
lea edi, [eax*4 + 0x4348c0]
mov eax, dword [edi]
and esi, 0x1f
shl esi, 3
add eax, esi
mov dl, byte [eax + 4]
test dl, 1
je 0x4246a4
and dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
je 0x42457a
test dl, 2
jne 0x42457a
test dl, 0x48
je 0x424544
cmp byte [eax + 5], 0xa
je 0x424544
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea ecx, [ebx + 1]
mov dword [ebp - 0xc], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push ecx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42458d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
cmp eax, ecx
jne 0x424575
mov dword [0x434288], ecx
jmp 0x4246ab
cmp eax, 0x6d
jne 0x424581
xor eax, eax
jmp 0x4246b8
push eax
call fcn.00420f36
pop ecx
jmp 0x4246b5
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi]
add dword [ebp - 0xc], eax
test byte [ecx + esi + 4], 0x80
je 0x42469f
test eax, eax
je 0x4245b4
cmp byte [ebx], 0xa
jne 0x4245b4
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x4245bd
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
add ecx, eax
cmp eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jae 0x424699
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 0x1a
je 0x424689
cmp al, 0xd
je 0x4245ef
mov byte [ebx], al
inc ebx
inc dword [ebp - 8]
jmp 0x42467b
dec ecx
cmp dword [ebp - 8], ecx
jae 0x424609
mov eax, dword [ebp - 8]
inc eax
cmp byte [eax], 0xa
jne 0x424604
add dword [ebp - 8], 2
jmp 0x42465d
mov dword [ebp - 8], eax
jmp 0x424677
inc dword [ebp - 8]
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x424631
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x424677
cmp dword [ebp - 0x10], 0
je 0x424677
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x424652
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x42465d
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x42467a
cmp ebx, dword [ebp + 0xc]
jne 0x424662
cmp byte [ebp - 1], 0xa
jne 0x424662
mov byte [ebx], 0xa
jmp 0x42467a
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041fc5f
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x42467b
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], ecx
jb 0x4245d3
jmp 0x424699
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x424699
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
jmp 0x4246b8
and dword [0x434288], 0
mov dword [0x434284], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425b46
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x42eb48
call fcn.0041e890
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x43464c], edi
jne 0x425b8a
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x425b75
mov dword [0x43464c], ebx
jmp 0x425b8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x425b8a
mov dword [0x43464c], 2
mov eax, dword [0x43464c]
cmp eax, ebx
jne 0x425baa
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x425c6d
cmp eax, 2
je 0x425bb3
cmp eax, edi
jne 0x425bdb
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x425bc6
mov eax, dword [0x43447c]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x425be2
xor eax, eax
jmp 0x425c6d
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.0041c610
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x425c15
cmp esi, edi
jne 0x425c2b
push dword [ebp - 0x20]
call fcn.0041c7e8
pop ecx
mov esi, eax
cmp esi, edi
je 0x425bdb
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x425c5e
cmp dword [ebp + 0x14], edi
jne 0x425c48
push edi
push edi
jmp 0x425c4e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x425c6a
push esi
call fcn.0041b6ef
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.0041e8cb
ret
Function at 0x425c76
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x42eb58
call fcn.0041e890
xor esi, esi
cmp dword [0x434650], esi
jne 0x425cba
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x425ca5
mov dword [0x434650], edi
jmp 0x425cba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x425cba
mov dword [0x434650], 2
mov eax, dword [0x434650]
cmp eax, 2
je 0x425d9b
cmp eax, esi
je 0x425d9b
cmp eax, 1
jne 0x425cff
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x425ce8
mov eax, dword [0x43447c]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x425d06
xor eax, eax
jmp 0x425dad
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.0041c610
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x425d3c
cmp edi, esi
jne 0x425d57
lea eax, [ebx + ebx]
push eax
call fcn.0041c7e8
pop ecx
mov edi, eax
cmp edi, esi
je 0x425cff
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x425d8a
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x425d74
push esi
push esi
jmp 0x425d7a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x425d96
push edi
call fcn.0041b6ef
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x425dad
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.0041e8cb
ret
Function at 0x426d7b
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x426d94
or eax, 0xffffffff
jmp 0x426df5
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x426df1
push 0x3d
push esi
call fcn.00425962
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x426df1
cmp esi, eax
je 0x426df1
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x4342b0]
sete cl
cmp eax, dword [0x4342b4]
mov dword [ebp - 8], ecx
jne 0x426dd7
mov edi, eax
call fcn.00426d1a
mov dword [0x4342b0], eax
cmp eax, ebx
jne 0x426e30
cmp dword [ebp + 0xc], ebx
je 0x426df9
cmp dword [0x4342b8], ebx
je 0x426df9
call fcn.00425a5e
test eax, eax
je 0x426e30
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x426e02
xor eax, eax
jmp 0x426df4
push 4
call fcn.0041c7e8
cmp eax, ebx
pop ecx
mov dword [0x4342b0], eax
je 0x426df1
mov dword [eax], ebx
cmp dword [0x4342b8], ebx
jne 0x426e30
push 4
call fcn.0041c7e8
cmp eax, ebx
pop ecx
mov dword [0x4342b8], eax
je 0x426df1
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x4342b0]
call fcn.00426ccd
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x426e91
cmp dword [esi], ebx
je 0x426e91
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0041b6ef
cmp dword [ebp - 8], ebx
pop ecx
jne 0x426e74
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x426ed2
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x426e6b
mov eax, edi
shl eax, 2
push eax
push dword [0x4342b0]
call fcn.0042047c
cmp eax, ebx
pop ecx
pop ecx
je 0x426ed2
jmp 0x426ecd
cmp dword [ebp - 8], ebx
jne 0x426f3d
cmp edi, ebx
jge 0x426ea0
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4342b0]
call fcn.0042047c
cmp eax, ebx
pop ecx
pop ecx
je 0x426df1
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x4342b0], eax
cmp dword [ebp + 0xc], ebx
je 0x426f27
push dword [ebp - 4]
call fcn.0041c820
inc eax
inc eax
push eax
call fcn.0041c7e8
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x426f27
push dword [ebp - 4]
push esi
call fcn.0041e4d0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x426f20
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0041b6ef
pop ecx
cmp dword [ebp - 8], ebx
je 0x426f35
push dword [ebp - 4]
call fcn.0041b6ef
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x426df4
push dword [ebp - 4]
call fcn.0041b6ef
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x426dfe
Function at 0x42706e
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041c610
mov eax, dword [0x4332fc]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x4348a0]
mov dword [ebp - 4], eax
jae 0x4271b1
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x4348c0]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x4271b1
push 1
push esi
push ebx
call fcn.0041fc5f
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x4271bb
push 2
push esi
push ebx
call fcn.0041fc5f
add esp, 0xc
cmp eax, 0xffffffff
je 0x4271bb
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x42715b
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00421a00
push 0x8000
push ebx
call fcn.004271f5
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x42711a
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.0041f658
add esp, 0xc
cmp eax, 0xffffffff
je 0x427138
sub edi, eax
test edi, edi
jg 0x42710f
jmp 0x42714e
cmp dword [0x434288], 5
jne 0x42714b
mov dword [0x434284], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.004271f5
pop ecx
pop ecx
jmp 0x42719b
jge 0x42719b
push 0
push dword [ebp + 0xc]
push ebx
call fcn.0041fc5f
push ebx
call fcn.00424493
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x42719b
mov dword [0x434284], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x434288], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.0041fc5f
add esp, 0xc
mov eax, esi
pop edi
jmp 0x4271be
mov dword [0x434284], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0041b6dc
leave
ret
Function at 0x29a6e3d0
Capabilities:
Hash data with md5

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x70
push ebx
push ebp
mov ebp, dword [ecx + 0x30]
xor ebx, ebx
cmp ebp, ebx
push esi
push edi
lea eax, [esp + 0x10]
jle 0x29a6e401
lea esi, [ecx + 0x20]
mov edi, eax
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + ebp + 0x10]
mov byte [eax], dl
mov ecx, edx
inc eax
sar ecx, 8
mov byte [eax], cl
inc eax
sar edx, 0x10
mov byte [eax], dl
inc eax
mov byte [eax], bl
mov byte [eax + 1], bl
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
lea edx, [ebp + 5]
push eax
lea ebx, [esp + 0x2c]
mov dword [esp + 0x34], 0x67452301
mov dword [esp + 0x38], 0xefcdab89
mov dword [esp + 0x3c], 0x98badcfe
mov dword [esp + 0x40], 0x10325476
call fcn.29aa5ff0
add esp, 4
lea edi, [esp + 0x10]
mov esi, ebx
call fcn.29aa60c0
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx + 0x30]
cmp eax, 0xb
mov ebx, edi
lea esi, [ecx + 0x34]
jle 0x29a6e486
push 0x10
call fcn.29aa6160
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
add eax, 5
push eax
call fcn.29aa6160
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
Function at 0x29a791e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x29b27ff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 8]
push ebp
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xc]
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0x24], ecx
push eax
xor eax, eax
lea ebx, [esp + 0x14]
mov ecx, esi
mov dword [esp + 0x2c], edx
call fcn.29a7a8b0
mov edi, dword [esp + 0xc]
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x30], edi
mov edx, dword [ecx + 0xc]
mov ebp, dword [ecx + 4]
mov eax, edx
sub eax, ebp
cmp eax, edi
jle 0x29a7927d
mov ebx, dword [esi + 0x14]
sub ebx, 2
je 0x29a79257
sub ebx, 2
jne 0x29a7928f
sub edx, edi
mov dword [ecx + 4], edx
jmp 0x29a7928f
mov ebp, dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, dword [esi + 0x18]
push 2
push 1
push eax
call ebp
push 2
push 1
push edi
mov dword [esp + 0x1c], eax
call ebp
mov ecx, dword [esp + 0x10]
sub ecx, eax
add dword [ebx + 4], ecx
jmp 0x29a7928f
cmp dword [esi + 0x14], 4
jne 0x29a7928f
mov eax, dword [ecx + 4]
shl eax, 1
sub eax, edx
add eax, edi
mov dword [ecx + 4], eax
lea ecx, [esp + 0xc]
push ecx
lea eax, [esp + 0x18]
lea ebx, [esp + 0x14]
mov ecx, esi
call fcn.29a7a8b0
mov eax, dword [esi + 0x24]
lea edi, [esi + 0x24]
xor ebx, ebx
cmp eax, ebx
je 0x29a792bb
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
jmp 0x29a792bd
xor eax, eax
mov ebp, dword [esp + 0x14]
cmp ebp, eax
jge 0x29a792f0
push ebp
lea ecx, [esp + 0x1c]
mov eax, edi
call fcn.29a9ce20
cmp edi, eax
je 0x29a792de
mov eax, dword [eax]
mov ecx, edi
call fcn.29a9c8f0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x29a792f0
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0x1e
mov dword [esp + 0x30], 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], 0x29b48968
lea edx, [esp + 0x2c]
push edx
push esi
mov dword [esp + 0x58], ebx
call fcn.29a79380
lea eax, [esp + 0x2c]
push eax
mov eax, esi
call fcn.29a79d70
mov ecx, dword [esi + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [ecx], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], 0xffffffff
call fcn.29a9d3c0
mov ecx, dword [esp + 0x48]
pop edi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret
Function at 0x29a7dc50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x29b27743
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
xor edx, edx
mov eax, 1
push edi
mov dword [esi + 4], 3
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], edx
mov dword [esp + 0x10], eax
mov dword [esi], 0x29b48e70
mov dword [esi + 0x18], edx
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x10]
mov edi, dword [eax]
mov dword [esi + 0x20], edi
mov edi, dword [eax + 4]
mov dword [esi + 0x24], edi
mov edi, dword [eax + 8]
mov dword [esi + 0x28], edi
mov edi, dword [eax + 0xc]
mov dword [esi + 0x2c], edi
mov edi, dword [eax + 0x10]
mov dword [esi + 0x30], edi
mov eax, dword [eax + 0x14]
mov dword [esi + 0x34], eax
mov byte [esp + 0x10], 2
cmp dword [esi + 0x28], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], ecx
mov ecx, dword [ecx + 0x10]
mov dword [esi + 0x10], ecx
jne 0x29a7dcf0
mov eax, esi
call fcn.29a7dd80
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 4
mov eax, dword [esi + 0x20]
xor ecx, ecx
cmp eax, edx
setne cl
mov dword [esi + 0x28], eax
pop edi
mov eax, esi
dec ecx
mov dword [esi + 0x34], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
Function at 0x29a80840
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x29b27ee5
push eax
mov dword fs:[0], esp
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov eax, ebx
call fcn.29a99f90
lea edi, [ebx + 0x10]
mov esi, 0x2b
call fcn.29a974f0
mov dword [edi], 0x29b48e7c
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [ebx + 0x430], esi
lea eax, [ebx + 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x81
mov byte [esp + 0x18], 2
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, esi
je 0x29a808b7
push 0x29b42288
call fcn.29a9f660
mov dword [eax], 0x29b4154c
jmp 0x29a808b9
xor eax, eax
mov dword [ebx + 0xc], eax
inc dword [eax + 4]
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], esi
xor eax, eax
lea edi, [ebx + 0x30]
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x434], esi
mov dword [ebx + 0x438], esi
mov dword [ebx + 0x454], esi
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x29a8dba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x29b26838
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
xor eax, eax
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x30]
push str._d__d_obj_n
push edx
call fcn.29a77010
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
add esp, 0x10
call dword [eax + 0x6c]
mov ecx, dword [ebp + 0x54]
lea ebx, [ebp + 0x4c]
mov dword [esp + 0x10], eax
cmp ecx, dword [ebx + 0xc]
mov dword [esp + 0x14], edx
jne 0x29a8dc03
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx]
mov ecx, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0x18]
imul edi, ecx
add edi, eax
mov eax, ecx
shr ecx, 2
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x28]
inc edx
test eax, eax
mov dword [ebx + 8], edx
je 0x29a8dc37
mov edx, dword [eax - 4]
jmp 0x29a8dc3e
mov eax, dword [0x29b871f4]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
push 0
push edx
push eax
call dword [esi + 0x14]
mov dword [esp + 0x20], 0xffffffff
mov esi, dword [esp + 0x28]
test esi, esi
je 0x29a8dc5f
call fcn.29a9e850
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x29a93e20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
lea eax, [esp + 8]
push eax
xor ebp, ebp
push 0x20019
push ebp
push str.SystemCurrentControlSetControlProductOptions
xor ebx, ebx
push 0x80000002
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x29a93f0d
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
push ebp
lea edx, [esp + 0x1c]
push edx
push ebp
push str.ProductSuite
push eax
call esi
test eax, eax
jne 0x29a93f0c
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x29a93f0c
push edi
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebp
je 0x29a93f0b
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edi
lea edx, [esp + 0x20]
push edx
push ebp
push str.ProductSuite
push eax
call esi
test eax, eax
jne 0x29a93efe
cmp dword [esp + 0x18], 7
jne 0x29a93efe
cmp word [edi], bp
mov esi, edi
je 0x29a93efe
mov ebx, dword [sym.imp.MSVCRT.dll__wcsicmp]
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [esp + 0x24]
push ecx
push esi
call ebx
add esp, 8
test eax, eax
je 0x29a93ef6
push esi
call ebp
lea esi, [esi + eax*2 + 2]
add esp, 4
cmp word [esi], 0
jne 0x29a93ed5
jmp 0x29a93efe
mov dword [esp + 0x1c], 1
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
pop edi
pop esi
mov eax, dword [esp + 8]
cmp eax, ebp
je 0x29a93f1c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret