joyce8/EMBER2024-capa huggingface dataset:
Function at 0x67bdf0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x41c
push ebx
mov ebx, dword [esp + 0x42c]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebp
jne 0x67be1c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x430]
mov eax, ecx
sar eax, 5
lea edi, [eax*4 + 0x784280]
mov eax, ecx
and eax, 0x1f
mov dword [esp + 0x24], edi
mov edx, dword [edi]
lea esi, [eax + eax*8]
shl esi, 2
mov dword [esp + 0x14], esi
test byte [esi + edx + 4], 0x20
je 0x67be57
push 2
push ebp
push ecx
call fcn.0067f215
add esp, 0xc
mov eax, dword [edi]
add eax, esi
test byte [eax + 4], 0x80
je 0x67bfb9
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x18], 0
test ebx, ebx
mov edi, ebp
jbe 0x67bf01
lea eax, [esp + 0x28]
mov ecx, edi
sub ecx, ebp
cmp ecx, ebx
jae 0x67beb2
mov cl, byte [edi]
inc edi
cmp cl, 0xa
jne 0x67be9f
mov esi, dword [esp + 0x20]
mov byte [eax], 0xd
inc esi
inc eax
mov dword [esp + 0x20], esi
mov byte [eax], cl
inc eax
mov edx, eax
lea ecx, [esp + 0x28]
sub edx, ecx
cmp edx, 0x400
jl 0x67be82
mov esi, eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
sub esi, edx
mov edx, dword [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push esi
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x67bfaa
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edx, eax
cmp eax, esi
mov dword [esp + 0x10], edx
jl 0x67befd
mov eax, edi
sub eax, ebp
cmp eax, ebx
jb 0x67be7e
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x67bf99
mov eax, dword [esp + 0x18]
test eax, eax
je 0x67bf55
cmp eax, 5
jne 0x67bf3e
call fcn.0067cc92
mov dword [eax], 9
call fcn.0067cc9b
mov dword [eax], 5
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
push eax
call fcn.0067cc1f
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
test byte [esi + edx + 4], 0x40
je 0x67bf75
cmp byte [ebp], 0x1a
jne 0x67bf75
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
call fcn.0067cc92
mov dword [eax], 0x1c
call fcn.0067cc9b
mov dword [eax], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
add esp, 0x41c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x67befd
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x438]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x67bfea
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
jmp 0x67bf01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x67bf01
Function at 0x67fcd4
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x783eb0]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x67fd16
call edi
mov esi, eax
test esi, esi
je 0x67fd00
mov eax, 1
jmp 0x67fd11
call ebp
mov ebx, eax
test ebx, ebx
je 0x67fe23
mov eax, 2
mov dword [0x783eb0], eax
cmp eax, 1
jne 0x67fdb6
test esi, esi
jne 0x67fd2f
call edi
mov esi, eax
test esi, esi
je 0x67fe23
cmp word [esi], 0
mov eax, esi
je 0x67fd49
add eax, 2
cmp word [eax], 0
jne 0x67fd37
add eax, 2
cmp word [eax], 0
jne 0x67fd37
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x67fda8
push edi
call fcn.006775c6
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x67fda8
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x67fd9a
push ebx
call fcn.00677cfb
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x67fe23
test ebx, ebx
jne 0x67fdc7
call ebp
mov ebx, eax
test ebx, ebx
je 0x67fe23
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x67fddf
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x67fdcf
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x67fdcf
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.006775c6
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x67fe01
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x680573
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x7d7c08
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x680597
add eax, 8
inc ebp
cmp eax, 0x7d7c98
jb 0x680588
cmp ecx, dword [ebp*8 + 0x7d7c08]
jne 0x68073e
mov eax, dword [0x783cf0]
cmp eax, 1
je 0x680700
test eax, eax
jne 0x6805c3
cmp dword [0x7d4fa4], 1
je 0x680700
cmp ecx, 0xfc
je 0x68073e
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6805fe
mov ecx, 5
mov esi, 0x7e8f30
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x680647
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x7e8f2c
add ebx, ecx
push ebx
call fcn.00675cb5
add esp, 0xc
mov ecx, 6
mov esi, 0x7e8f10
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x7cfcac
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x7e8ee8
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x7d7c0c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.006847c6
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x784280]
test eax, eax
je 0x680711
mov esi, dword [eax + 0x48]
cmp esi, 0xffffffff
jne 0x68071b
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x7d7c0c]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x685acb
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1004
call fcn.00677d6b
push ebx
mov ebx, dword [esp + 0x100c]
push ebp
push esi
push edi
xor ebp, ebp
push 1
push ebp
push ebx
call fcn.0067f215
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x685c0b
push 2
push ebp
push ebx
call fcn.0067f215
add esp, 0xc
cmp eax, 0xffffffff
je 0x685c0b
mov ecx, dword [esp + 0x101c]
mov esi, ecx
sub esi, eax
test esi, esi
jle 0x685bac
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x14]
push 0x8000
rep stosd dword es:[edi], eax
push ebx
call fcn.006864f5
add esp, 8
mov edi, eax
cmp esi, 0x1000
mov eax, 0x1000
jge 0x685b51
mov eax, esi
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.0067bdf0
add esp, 0xc
cmp eax, 0xffffffff
je 0x685b6d
sub esi, eax
test esi, esi
jle 0x685b85
jmp 0x685b42
call fcn.0067cc9b
cmp dword [eax], 5
jne 0x685b82
call fcn.0067cc92
mov dword [eax], 0xd
or ebp, 0xffffffff
push edi
push ebx
call fcn.006864f5
mov edi, dword [esp + 0x18]
add esp, 8
push 0
push edi
push ebx
call fcn.0067f215
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
jge 0x685bf2
push 0
push ecx
push ebx
call fcn.0067f215
add esp, 0xc
push ebx
call fcn.00682cbf
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ebp, eax
neg ebp
sbb ebp, ebp
neg ebp
dec ebp
cmp ebp, 0xffffffff
jne 0x685bf2
call fcn.0067cc92
mov dword [eax], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.0067cc9b
mov dword [eax], esi
push 0
push edi
push ebx
call fcn.0067f215
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1004
ret
Function at 0x686286
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x784250]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
test eax, eax
jne 0x6862ce
push 0
push 0
push 1
push 0
call esi
test eax, eax
je 0x6862ae
mov eax, 1
jmp 0x6862c9
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x68639f
mov eax, 2
mov dword [0x784250], eax
cmp eax, 1
jne 0x6862ee
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x6863b1
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x686309
mov ecx, dword [0x783d80]
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esi, eax
test esi, esi
jne 0x686328
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.006775c6
mov edi, eax
add esp, 4
test edi, edi
jne 0x68633c
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x686396
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x68637a
mov edx, dword [esp + 0x24]
push eax
push eax
push 0xffffffffffffffff
push edi
push 1
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
je 0x686396
push edi
call fcn.00677cfb
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push eax
push 0xffffffffffffffff
push edi
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jne 0x6863a6
push edi
call fcn.00677cfb
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call fcn.00677cfb
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x6863b6
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x784254]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push edi
test eax, eax
jne 0x6863fe
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6863e2
mov eax, 1
jmp 0x6863f9
push 0
push 0
push 1
push 0
call esi
test eax, eax
je 0x6864de
mov eax, 2
mov dword [0x784254], eax
cmp eax, 2
jne 0x68641e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 1
jne 0x6864f0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x686439
mov ecx, dword [0x783d80]
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
test edi, edi
jne 0x686458
pop edi
pop esi
pop ebp
pop ebx
ret
lea edx, [edi + edi]
push edx
call fcn.006775c6
mov esi, eax
add esp, 4
test esi, esi
jne 0x68646f
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6864d5
mov eax, dword [esp + 0x20]
push 0
test eax, eax
push 0
jne 0x6864b6
mov eax, dword [esp + 0x2c]
push 0
push 0
push 0xffffffffffffffff
push esi
push 0x220
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x6864d5
push esi
call fcn.00677cfb
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push 0xffffffffffffffff
push esi
push 0x220
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jne 0x6864e5
push esi
call fcn.00677cfb
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.00677cfb
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x6868d3
Capabilities:
Set environment variable

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x686a91
push 0x3d
push edi
call fcn.00686bb9
mov esi, eax
add esp, 8
test esi, esi
je 0x686a91
cmp edi, esi
je 0x686a91
mov dl, byte [esi + 1]
mov ecx, dword [0x783c88]
xor eax, eax
test dl, dl
sete al
mov ebp, eax
mov eax, dword [0x783c84]
cmp eax, ecx
jne 0x68692a
push eax
call fcn.00686b4a
add esp, 4
mov dword [0x783c84], eax
test eax, eax
jne 0x6869a5
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x686951
mov eax, dword [0x783c8c]
test eax, eax
je 0x686951
call fcn.00686594
test eax, eax
je 0x6869a0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
test ebp, ebp
je 0x68695d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 4
call fcn.006775c6
add esp, 4
mov dword [0x783c84], eax
test eax, eax
je 0x686a91
mov dword [eax], 0
mov eax, dword [0x783c8c]
test eax, eax
jne 0x6869a0
push 4
call fcn.006775c6
add esp, 4
mov dword [0x783c8c], eax
test eax, eax
je 0x686a91
mov dword [eax], 0
mov eax, dword [0x783c84]
mov ebx, eax
mov eax, esi
sub eax, edi
push eax
push edi
mov dword [esp + 0x18], eax
call fcn.00686ad6
mov esi, eax
add esp, 8
test esi, esi
jl 0x686aa2
cmp dword [ebx], 0
je 0x686aa2
test ebp, ebp
je 0x686a9a
mov ecx, dword [ebx + esi*4]
lea edi, [ebx + esi*4]
push ecx
call fcn.00677cfb
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x6869fc
mov eax, edi
mov edx, dword [eax + 4]
add eax, 4
mov dword [edi], edx
inc esi
mov ecx, dword [eax]
mov edi, eax
test ecx, ecx
jne 0x6869eb
lea eax, [esi*4]
push eax
push ebx
call fcn.00677416
add esp, 8
test eax, eax
je 0x686a16
mov dword [0x783c84], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x686a89
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.006775c6
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x686a89
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [esp + 0x10]
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
neg ebp
rep movsb byte es:[edi], byte [esi]
sbb ebp, ebp
mov byte [ebx + eax], 0
lea eax, [ebx + eax + 1]
not ebp
and ebp, eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push ebx
call fcn.00677cfb
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov dword [ebx + esi*4], edi
jmp 0x686a1a
test ebp, ebp
jne 0x686a89
test esi, esi
jge 0x686aac
neg esi
lea ecx, [esi*4 + 8]
push ecx
push ebx
call fcn.00677416
add esp, 8
test eax, eax
je 0x686a91
mov dword [eax + esi*4], edi
mov dword [eax + esi*4 + 4], 0
mov dword [0x783c84], eax
jmp 0x686a1a
Function at 0x401b2c
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0043c713
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0043c713
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.0043c713
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0
call fcn.0043c71f
cmp dword [ebp - 0x20], esp
je 0x401bf3
push 0x19
push 0x4025dd9
push 6
call fcn.0043c719
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401c0c
push ebx
call fcn.0043c70d
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 1
call fcn.0043c71f
cmp dword [ebp - 0x20], esp
je 0x401c45
push 0x5d
push 0x4025dd9
push 6
call fcn.0043c719
add esp, 0xc
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x4f8e73
mov eax, 2
call fcn.0043c71f
cmp dword [ebp - 0x20], esp
je 0x401c79
push 0x87
push 0x4025dd9
push 6
call fcn.0043c719
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 3
call fcn.0043c71f
cmp dword [ebp - 0x20], esp
je 0x401d17
push 0x185
push 0x4025dd9
push 6
call fcn.0043c719
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 4
call fcn.0043c71f
cmp dword [ebp - 0x20], esp
je 0x401d46
push 0x1c9
push 0x4025dd9
push 6
call fcn.0043c719
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x401d4e
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401d5f
push ebx
call fcn.0043c70d
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0043c70d
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0043c70d
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.0043c70d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x42b552
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0043c713
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0043c713
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.0043c713
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0x3b
call fcn.0043c71f
cmp dword [ebp - 0x20], esp
je 0x42b619
push 0x19
push 0x4025d80
push 6
call fcn.0043c719
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42b632
push ebx
call fcn.0043c70d
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x3c
call fcn.0043c71f
cmp dword [ebp - 0x20], esp
je 0x42b66b
push 0x5d
push 0x4025d80
push 6
call fcn.0043c719
add esp, 0xc
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x4f8e73
mov eax, 0x3d
call fcn.0043c71f
cmp dword [ebp - 0x20], esp
je 0x42b69f
push 0x87
push 0x4025d80
push 6
call fcn.0043c719
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0x3e
call fcn.0043c71f
cmp dword [ebp - 0x20], esp
je 0x42b73d
push 0x185
push 0x4025d80
push 6
call fcn.0043c719
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0x3f
call fcn.0043c71f
cmp dword [ebp - 0x20], esp
je 0x42b76c
push 0x1c9
push 0x4025d80
push 6
call fcn.0043c719
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x42b774
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42b785
push ebx
call fcn.0043c70d
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0043c70d
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0043c70d
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.0043c70d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret