joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44eb27
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call dword [0x69b594]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040124d
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x44f6ff
Capabilities:
Check if file exists
Get file attributes
Get file version info

Disassembly:
push 0x14c
mov eax, 0x67ef47
call fcn.005b8597
mov edi, dword [ebp + 8]
and dword [ebp - 0x14c], 0
mov dword [ebp - 0x154], edi
xor esi, esi
inc esi
push 0x69c5b8
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.00401b65
push dword [ebp + 0xc]
mov dword [ebp - 0x14c], esi
call dword [0x69b370]
cmp eax, 0xffffffff
je 0x44f800
push dword [ebp + 0xc]
lea eax, [ebp - 0x110]
push eax
call dword [0x69b5c4]
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.004b6fc0
mov esi, eax
test esi, esi
je 0x44f800
push esi
call fcn.005b7f13
mov ebx, eax
pop ecx
test ebx, ebx
je 0x44f800
push ebx
push esi
push dword [ebp - 0x150]
lea eax, [ebp - 0x110]
push eax
call fcn.004b6fba
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x148]
push eax
push 0x69cdcc
push ebx
call fcn.004b6fb4
test eax, eax
je 0x44f7f9
push 0x34
push dword [ebp - 0x148]
lea eax, [ebp - 0x144]
push eax
call fcn.005b7aa0
movzx esi, word [ebp - 0x138]
mov ecx, dword [ebp - 0x138]
movzx edx, word [ebp - 0x13c]
mov eax, dword [ebp - 0x13c]
push esi
shr ecx, 0x10
push ecx
push edx
shr eax, 0x10
push eax
push str._d._d._d._d
push edi
call fcn.0040255b
add esp, 0x24
push ebx
call fcn.005b7fa7
pop ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040124d
mov eax, edi
call fcn.005b861a
ret

Function at 0x44f970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67ef7a
mov eax, dword fs:[0]
push eax
mov eax, 0x800c
call fcn.005b9780
mov eax, dword [0x74f330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x8018], 1
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x8014]
call fcn.004015a6
xor edi, edi
mov dword [ebp - 4], edi
cmp ebx, edi
je 0x44f9f1
mov ecx, ebx
call fcn.004b97a9
push dword [esi + 4]
lea eax, [ebp - 0x8010]
push 0x7fff
push eax
call dword [0x69b4f0]
mov esi, eax
cmp esi, 0x7ffd
jne 0x44f9f9
mov dword [ebp - 0x8018], edi
jmp 0x44fa40
lea ecx, [ebp - 0x8014]
call fcn.00401563
dec esi
test esi, esi
jle 0x44fa40
mov al, byte [ebp + edi - 0x8010]
test al, al
jne 0x44fa2f
lea eax, [ebp - 0x8014]
push eax
mov ecx, ebx
call fcn.004b99ad
lea ecx, [ebp - 0x8014]
call fcn.00401563
jmp 0x44fa3b
push eax
lea ecx, [ebp - 0x8014]
call fcn.004252fa
inc edi
cmp edi, esi
jl 0x44fa09
mov eax, dword [ebp - 0x8014]
cmp dword [eax - 0xc], 0
je 0x44fa5e
test ebx, ebx
je 0x44fa5e
lea eax, [ebp - 0x8014]
push eax
mov ecx, ebx
call fcn.004b99ad
mov ecx, dword [ebp - 0x8014]
add ecx, 0xfffffff0
call fcn.0040124d
mov eax, dword [ebp - 0x8018]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b851f
leave
ret 4
Function at 0x44fb2b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67f00f
mov eax, dword fs:[0]
push eax
mov eax, 0x200c
call fcn.005b9780
mov eax, dword [0x74f330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
and dword [ebp - 0x2014], 0
mov edi, ecx
mov dword [ebp - 0x2018], esi
mov dword [ebp - 4], 3
call fcn.004b8afa
push eax
mov ecx, esi
call fcn.004015a6
mov ecx, esi
mov dword [ebp - 0x2014], 1
call fcn.00401563
push dword [edi + 4]
lea eax, [ebp - 0x2010]
push 0x2000
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [0x69b4e8]
lea eax, [ebp - 0x2010]
push eax
mov ecx, esi
call fcn.0040196c
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.0040124d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b851f
leave
ret 0x10
Function at 0x44fbfd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67f060
mov eax, dword fs:[0]
push eax
mov eax, 0x10024
call fcn.005b9780
mov eax, dword [0x74f330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x10024], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10020], 1
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x10018]
call fcn.004015a6
mov byte [ebp - 4], 1
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x10014]
call fcn.004015a6
mov byte [ebp - 4], 2
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x1001c]
call fcn.004015a6
mov byte [ebp - 4], 3
cmp ebx, edi
jne 0x44fcdf
mov esi, dword [ebp - 0x10018]
mov ecx, dword [ebp - 0x1001c]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp - 0x10014]
add ecx, 0xfffffff0
call fcn.0040124d
lea ecx, [esi - 0x10]
call fcn.0040124d
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040124d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b851f
leave
ret 8
push dword [esi + 4]
lea eax, [ebp - 0x10010]
push 0xfffe
push eax
push dword [ebp + 8]
call dword [0x69b4ec]
mov esi, eax
cmp esi, 0xfffc
jne 0x44fd0c
mov dword [ebp - 0x10020], edi
jmp 0x44fdbd
lea ecx, [ebp - 0x10018]
call fcn.00401563
dec esi
mov dword [ebp - 0x10028], esi
test esi, esi
jle 0x44fdbd
mov al, byte [ebp + edi - 0x10010]
test al, al
jne 0x44fd99
lea ecx, [ebp - 0x10014]
call fcn.00401563
lea ecx, [ebp - 0x1001c]
call fcn.00401563
lea eax, [ebp - 0x1001c]
push eax
lea eax, [ebp - 0x10014]
push eax
mov eax, dword [ebp - 0x10018]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1002c], esp
mov esi, esp
push eax
call fcn.0040149c
pop ecx
mov ecx, dword [ebp - 0x10024]
add eax, 0x10
mov dword [esi], eax
call fcn.0044fa8e
lea eax, [ebp - 0x10014]
push eax
mov ecx, ebx
call fcn.004b99ad
lea ecx, [ebp - 0x10018]
call fcn.00401563
jmp 0x44fdb0
mov byte [ebp - 0x10030], al
push dword [ebp - 0x10030]
lea ecx, [ebp - 0x10018]
call fcn.004252fa
inc edi
cmp edi, dword [ebp - 0x10028]
jl 0x44fd26
mov esi, dword [ebp - 0x10018]
cmp dword [esi - 0xc], 0
je 0x44fe1e
lea ecx, [ebp - 0x10014]
call fcn.00401563
lea ecx, [ebp - 0x1001c]
call fcn.00401563
lea eax, [ebp - 0x1001c]
push eax
lea eax, [ebp - 0x10014]
push eax
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x1002c], esp
mov edi, esp
push eax
call fcn.0040149c
pop ecx
mov ecx, dword [ebp - 0x10024]
add eax, 0x10
mov dword [edi], eax
call fcn.0044fa8e
lea eax, [ebp - 0x10014]
push eax
mov ecx, ebx
call fcn.004b99ad
mov edi, dword [ebp - 0x10020]
jmp 0x44fc92
Function at 0x44ff47
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 8]
push eax
push 0x2001f
xor esi, esi
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionSharedDLLs
push 0x80000002
call dword [0x69b024]
test eax, eax
jne 0x44ffb7
and dword [ebp - 4], esi
push 4
pop esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
call dword [0x69b020]
inc dword [ebp - 4]
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call dword [0x69b01c]
push dword [ebp - 8]
call dword [0x69b018]
xor esi, esi
inc esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040124d
mov eax, esi
pop esi
leave
ret 4

Function at 0x452471
Capabilities:
Check os version

Disassembly:
push 0x9c
mov eax, 0x67f668
call fcn.005b8597
mov esi, ecx
mov dword [ebp - 0xa8], esi
mov dword [esi], vtable.CIROSVersionInfo.0
call fcn.004b8afa
push eax
lea ecx, [esi + 0x30]
call fcn.004015a6
xor ebx, ebx
xor edi, edi
inc edi
push str.Unknown_OS
lea ecx, [esi + 0x30]
mov dword [ebp - 4], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0040196c
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [0x69b5d4]
test eax, eax
je 0x4525c5
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x9c]
mov dword [esi + 0x20], ecx
dec ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edx
je 0x452582
dec ecx
jne 0x4525c8
mov ecx, dword [ebp - 0x98]
mov dword [esi + 0x2c], ecx
cmp eax, 3
jne 0x452534
push str.Windows_NT_3
lea ecx, [esi + 0x30]
call fcn.0040196c
mov dword [esi + 0x10], edi
cmp dword [esi + 0x24], 4
jne 0x45254a
push str.Windows_NT_4
lea ecx, [esi + 0x30]
call fcn.0040196c
mov dword [esi + 0x14], edi
cmp dword [esi + 0x24], 5
jne 0x4525c8
cmp dword [esi + 0x28], ebx
jne 0x452565
push str.Windows_2000
lea ecx, [esi + 0x30]
call fcn.0040196c
mov dword [esi + 0x18], edi
cmp dword [esi + 0x24], 5
jne 0x4525c8
cmp dword [esi + 0x28], ebx
jbe 0x4525c8
push str.Windows_XP
lea ecx, [esi + 0x30]
call fcn.0040196c
mov dword [esi + 0x1c], edi
jmp 0x4525c8
movzx ecx, word [ebp - 0x98]
mov dword [esi + 0x2c], ecx
cmp eax, 4
ja 0x4525a4
jne 0x452597
cmp edx, ebx
ja 0x4525a4
mov dword [esi + 4], edi
push str.Windows_95
lea ecx, [esi + 0x30]
jmp 0x4525be
lea ecx, [esi + 0x30]
cmp edx, 0xa
ja 0x4525b6
mov dword [esi + 8], edi
push str.Windows_98
jmp 0x4525be
mov dword [esi + 0xc], edi
push str.Windows_ME
call fcn.0040196c
jmp 0x4525c8
mov dword [esi + 4], edi
mov eax, esi
call fcn.005b861a
ret
Function at 0x453135
Capabilities:
Move file

Disassembly:
push 0x9c
mov eax, 0x67f857
call fcn.005b8597
mov edi, ecx
and dword [ebp - 4], 0
jmp 0x45314f
lea eax, [ebp - 0xa4]
xor ebx, ebx
push eax
inc ebx
mov dword [ebp - 0xa4], 0x94
call dword [0x69b5d4]
test eax, eax
je 0x4531a8
cmp dword [ebp - 0x94], ebx
jne 0x453199
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0xa8], esp
mov esi, esp
push eax
call fcn.0040149c
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00452ded
jmp 0x4531aa
push 5
push 0
push dword [ebp + 8]
call dword [0x69b5a0]
jmp 0x4531aa
xor ebx, ebx
jmp 0x4531af
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040124d
mov eax, ebx
call fcn.005b861a
ret 4

Function at 0x4549df
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x74f330]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x9c
xor ebx, ebx
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.005b8ac0
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [0x69b5d4]
test eax, eax
je 0x454a4c
mov eax, dword [ebp - 0x90]
dec eax
dec eax
jne 0x454a4c
cmp dword [ebp - 0x9c], 6
jne 0x454a41
cmp dword [ebp - 0x98], 2
jae 0x454a4a
cmp dword [ebp - 0x9c], 0xa
jb 0x454a4c
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.005b851f
leave
ret
Function at 0x455cc1
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x18
mov eax, 0x67ff78
call fcn.005b852e
mov esi, ecx
mov dword [ebp - 0x24], esi
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x14]
call fcn.004015a6
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x10]
call fcn.004015a6
push str.gdi32.dll
mov byte [ebp - 4], 1
call dword [0x69b36c]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x455d17
push str.RemoveFontResourceExA
push eax
call dword [0x69b34c]
mov ebx, eax
mov edi, dword [esi + 0x24]
test edi, edi
je 0x455ddb
mov eax, edi
test edi, edi
je 0x455e0f
mov eax, dword [eax + 8]
mov edi, dword [edi]
test eax, eax
je 0x455dd0
lea esi, [eax + 0x24]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x455dd0
push str..TFT
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00405bb5
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040191c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0040124d
push str..FON
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00405bb5
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040191c
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0040124d
test ebx, ebx
je 0x455db3
push 0
push 0x10
push dword [ebp - 0x14]
call ebx
jmp 0x455dbc
push dword [ebp - 0x10]
call dword [0x69b1f4]
test eax, eax
je 0x455dd0
push dword [ebp - 0x10]
mov esi, dword [0x69b358]
call esi
push dword [ebp - 0x14]
call esi
test edi, edi
jne 0x455d22
mov esi, dword [ebp - 0x24]
push dword [esi + 0x3c]
call dword [0x69b59c]
cmp dword [ebp - 0x18], 0
je 0x455df3
push dword [ebp - 0x18]
call dword [0x69b360]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040124d
call fcn.005b8606
ret
call fcn.004b8094
int3

Function at 0x455f6a
Capabilities:
Get common file path

Disassembly:
push pe_nt_image_headers32
mov eax, 0x67ffd1
call fcn.005b8597
mov esi, ecx
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x118]
call fcn.004015a6
and dword [ebp - 4], 0
lea eax, [ebp - 0x114]
push eax
xor ebx, ebx
push 0x104
inc ebx
call dword [0x69b4a0]
lea eax, [ebp - 0x114]
push eax
call fcn.005b80b0
pop ecx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
call fcn.004017d9
push 0x69cdcc
lea ecx, [ebp - 0x118]
call fcn.00405af6
add esi, 0x3c
push ebx
push dword [ebp - 0x118]
push str._s_ir_tmpfnt__d
push esi
call fcn.0040255b
mov eax, dword [esi]
push 0
push eax
call fcn.005b8dca
add esp, 0x18
test eax, eax
je 0x45601f
mov eax, dword [esi]
push ecx
sub eax, 0x10
mov dword [ebp - 0x11c], esp
mov edi, esp
push eax
call fcn.0040149c
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.0044da6e
pop ecx
test eax, eax
jne 0x456022
inc ebx
jmp 0x455fd8
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
call fcn.0040124d
call fcn.005b861a
ret
Function at 0x456a7b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push dword [esi + 4]
call dword [0x69b9f0]
test eax, eax
je 0x456ac5
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call dword [0x69b8f8]
push dword [ebp - 4]
push 0
push 1
call dword [0x69b548]
mov esi, eax
call dword [0x69b310]
test esi, esi
je 0x456ac5
push 0
push esi
call dword [0x69b4e4]
push esi
call dword [0x69b31c]
pop esi
leave
ret

Function at 0x456ae7
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
lea eax, [ebp - 4]
push eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
cmp eax, edi
je 0x456b46
mov ecx, dword [ebp - 4]
mov edx, ecx
and edx, 1
mov dword [esi + 0x3c], edx
mov edx, ecx
and edx, 2
mov dword [esi + 0x40], edx
mov edx, ecx
and edx, 4
mov dword [esi + 0x44], edx
mov edx, ecx
and edx, 0x10
mov dword [esi + 0x48], edx
mov edx, ecx
and edx, 0x20
and ecx, 0x40
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], ecx
pop edi
pop esi
leave
ret
Function at 0x45b6d8
Capabilities:
Check os version
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x74f330]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0xa0]
xor esi, esi
push eax
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xa0], 0x94
call dword [0x69b5d4]
test eax, eax
jne 0x45b717
xor eax, eax
inc eax
jmp 0x45b8cf
cmp dword [ebp - 0x90], 2
jne 0x45b70f
cmp dword [ebp - 0x9c], 6
jb 0x45b733
mov dword [ebp - 0xb4], 1
push edi
lea eax, [ebp - 0xa8]
push eax
push 1
push 8
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xc], esi
mov word [ebp - 8], 0x500
mov dword [ebp - 0xa4], esi
call dword [0x69b52c]
push eax
call dword [0x69b054]
mov edi, dword [0x69b310]
test eax, eax
jne 0x45b7a1
call edi
cmp eax, 0x3f0
jne 0x45b79a
lea eax, [ebp - 0xa8]
push eax
push 8
call dword [0x69b530]
push eax
call dword [0x69b058]
test eax, eax
jne 0x45b7a1
xor eax, eax
jmp 0x45b8ce
push ebx
mov esi, 0x1000
push esi
call fcn.005b7f13
mov ebx, eax
pop ecx
test ebx, ebx
je 0x45b8c7
lea eax, [ebp - 0xac]
push eax
push esi
mov esi, dword [0x69b05c]
push ebx
push 2
push dword [ebp - 0xa8]
call esi
mov dword [ebp - 0xa4], eax
call edi
cmp dword [ebp - 0xa4], 0
jne 0x45b81b
cmp eax, 0x7a
jne 0x45b81b
push dword [ebp - 0xac]
push ebx
call fcn.005be3bc
pop ecx
pop ecx
test eax, eax
je 0x45b85c
lea ecx, [ebp - 0xac]
push ecx
push dword [ebp - 0xac]
mov ebx, eax
push eax
push 2
push dword [ebp - 0xa8]
call esi
mov dword [ebp - 0xa4], eax
call edi
push dword [ebp - 0xa8]
call dword [0x69b31c]
xor edi, edi
cmp dword [ebp - 0xa4], edi
je 0x45b855
lea eax, [ebp - 0xb0]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [0x69b06c]
test eax, eax
jne 0x45b860
push ebx
call fcn.005b7fa7
pop ecx
xor eax, eax
jmp 0x45b8cd
mov dword [ebp - 0xa4], edi
cmp ebx, edi
je 0x45b899
cmp dword [ebx], edi
jbe 0x45b899
lea esi, [ebx + 4]
push dword [esi]
push dword [ebp - 0xb0]
call dword [0x69b04c]
test eax, eax
jne 0x45b88d
inc edi
add esi, 8
cmp edi, dword [ebx]
jb 0x45b871
jmp 0x45b897
mov dword [ebp - 0xa4], 1
xor edi, edi
push dword [ebp - 0xb0]
call dword [0x69b014]
push ebx
call fcn.005b7fa7
pop ecx
cmp dword [ebp - 0xb4], edi
je 0x45b8c7
cmp dword [ebp - 0xa4], edi
je 0x45b8c7
call fcn.0045b61e
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005b851f
leave
ret
Function at 0x45b8dc
Capabilities:
Check os version
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x74f330]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0xa0]
xor esi, esi
push eax
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xa0], 0x94
call dword [0x69b5d4]
test eax, eax
jne 0x45b91b
xor eax, eax
inc eax
jmp 0x45bacf
cmp dword [ebp - 0x90], 2
jne 0x45b913
cmp dword [ebp - 0x9c], 6
jb 0x45b937
mov dword [ebp - 0xb4], 1
push edi
lea eax, [ebp - 0xa8]
push eax
push 1
push 8
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xc], esi
mov word [ebp - 8], 0x500
mov dword [ebp - 0xa4], esi
call dword [0x69b52c]
push eax
call dword [0x69b054]
mov edi, dword [0x69b310]
test eax, eax
jne 0x45b9a5
call edi
cmp eax, 0x3f0
jne 0x45b99e
lea eax, [ebp - 0xa8]
push eax
push 8
call dword [0x69b530]
push eax
call dword [0x69b058]
test eax, eax
jne 0x45b9a5
xor eax, eax
jmp 0x45bace
push ebx
mov esi, 0x1000
push esi
call fcn.005b7f13
mov ebx, eax
pop ecx
test ebx, ebx
je 0x45bac7
lea eax, [ebp - 0xac]
push eax
push esi
mov esi, dword [0x69b05c]
push ebx
push 2
push dword [ebp - 0xa8]
call esi
mov dword [ebp - 0xa4], eax
call edi
cmp dword [ebp - 0xa4], 0
jne 0x45ba1f
cmp eax, 0x7a
jne 0x45ba1f
push dword [ebp - 0xac]
push ebx
call fcn.005be3bc
pop ecx
pop ecx
test eax, eax
je 0x45ba60
lea ecx, [ebp - 0xac]
push ecx
push dword [ebp - 0xac]
mov ebx, eax
push eax
push 2
push dword [ebp - 0xa8]
call esi
mov dword [ebp - 0xa4], eax
call edi
push dword [ebp - 0xa8]
call dword [0x69b31c]
xor esi, esi
cmp dword [ebp - 0xa4], esi
je 0x45ba59
lea eax, [ebp - 0xb0]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [0x69b06c]
test eax, eax
jne 0x45ba64
push ebx
call fcn.005b7fa7
pop ecx
xor eax, eax
jmp 0x45bacd
mov dword [ebp - 0xa4], esi
cmp dword [ebx], esi
jbe 0x45ba99
lea edi, [ebx + 4]
push dword [edi]
push dword [ebp - 0xb0]
call dword [0x69b04c]
test eax, eax
jne 0x45ba8d
inc esi
add edi, 8
cmp esi, dword [ebx]
jb 0x45ba71
jmp 0x45ba97
mov dword [ebp - 0xa4], 1
xor esi, esi
push dword [ebp - 0xb0]
call dword [0x69b014]
push ebx
call fcn.005b7fa7
pop ecx
cmp dword [ebp - 0xb4], esi
je 0x45bac7
cmp dword [ebp - 0xa4], esi
je 0x45bac7
call fcn.0045b67a
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005b851f
leave
ret
Function at 0x4797f3
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 8], ebx
je 0x47995c
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x47995c
push 0x20
pop edi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
call fcn.004b70fc
pop ecx
mov dword [esi], eax
cmp eax, ebx
jne 0x479838
push 0xe
jmp 0x47995e
push edi
push ebx
push eax
call fcn.005b8ac0
push edi
call fcn.004b70fc
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x479831
push edi
push ebx
push eax
call fcn.005b8ac0
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov edi, dword [0x69b044]
add esp, 0xc
jmp 0x47990e
call dword [0x69b310]
mov dword [ebp - 0x18], eax
cmp eax, 0x7a
jne 0x479940
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jbe 0x4798bf
push str.The_SID_buffer_was_too_small._It_will_be_reallocated._n
call fcn.005be97f
pop ecx
push dword [esi]
call dword [0x69b014]
push dword [ebp - 8]
call fcn.004b70fc
pop ecx
mov dword [esi], eax
cmp eax, ebx
je 0x47994e
push dword [ebp - 8]
push ebx
push eax
call fcn.005b8ac0
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jbe 0x479902
push str.The_domain_name_buffer_was_too_small._It_will_be_reallocated._n
call fcn.005be97f
push dword [ebp - 0xc]
call fcn.004b70f1
push dword [ebp - 4]
call fcn.004b70fc
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x479831
push dword [ebp - 4]
push ebx
push eax
call fcn.005b8ac0
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [esi]
push dword [ebp + 8]
push ebx
call edi
test eax, eax
je 0x47986c
push dword [esi]
call dword [0x69b048]
test eax, eax
jne 0x479940
mov dword [ebp - 0x18], 0xd
push dword [ebp - 0xc]
call fcn.004b70f1
mov eax, dword [ebp - 0x18]
pop ecx
jmp 0x47995f
push dword [ebp - 0xc]
call fcn.004b70f1
pop ecx
jmp 0x479831
push 0x57
pop eax
pop edi
pop esi
pop ebx
leave
ret