joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4289e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5b5918
push 0x536ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5c49f0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x20]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x428a82
sub esp, 8
push dword [ebp - 0x20]
call fcn.00428bb0
push ebx
push edi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x428a82
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x428a82
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, 1
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.00428ab4
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret 4

Function at 0x428bb0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x5c49f0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x428bf8
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0053342f
mov esp, ebp
pop ebp
ret 0xc
test esi, esi
jne 0x428c19
lea eax, [esp + 8]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ecx, dword [esp + 8]
jmp 0x428c1f
mov ecx, esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
push 0
push 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
push 0x10
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
push 0
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test esi, esi
jne 0x428c61
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x24]
neg eax
pop esi
sbb eax, eax
xor ecx, esp
inc eax
call fcn.0053342f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x429480
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55ca48
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xffffffffffffffff
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0042c2b0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00430390
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 0
ja 0x4294ef
xor bl, bl
jmp 0x429585
push 1
push 0x5b0c88
lea ecx, [ebp - 0x28]
call fcn.0042c490
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0042c5c0
push 4
push str..exe
mov ecx, eax
call fcn.0042c490
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], 0xf
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.0042c2b0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42955c
test al, 0x10
jne 0x42955c
mov bl, 1
jmp 0x42955e
xor bl, bl
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x429573
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0042ce80
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x42959a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0042ce80
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x4295c1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ce80
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x4295e8
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0042ce80
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret
Function at 0x42c830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cd48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5c49f0]
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, ecx
cmp dword [ebx + 0x38], 0
je 0x42c95e
cmp byte [ebx + 0x3d], 0
je 0x42c95e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x42c889
xor al, al
jmp 0x42c960
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0042c0e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x42c8ef
sub eax, 1
je 0x42c8f3
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x42c946
xor bl, bl
jmp 0x42c948
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x42c928
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0053a87a
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x42c8eb
cmp byte [ebx + 0x3d], 0
je 0x42c946
test esi, esi
jne 0x42c8b1
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0042c3e0
jmp 0x42c8ae
mov bl, 1
cmp ecx, 0x10
jb 0x42c95a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0042ce80
mov al, bl
jmp 0x42c960
mov al, 1
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.0053342f
mov esp, ebp
pop ebp
ret
Function at 0x42d040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55bec6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5c49f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00533681
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00531f4c
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42f990
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d0a6
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x428]
push eax
call fcn.004300f0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x418], 0
ja 0x42f9ee
push 0
push 0x5b03e0
mov ecx, esi
call fcn.0042c1b0
jmp 0x42fb63
push 0x3e8
lea eax, [ebp - 0x3f8]
push 0
push eax
call fcn.00536540
add esp, 0xc
lea eax, [ebp - 0x428]
cmp dword [ebp - 0x414], 0x10
cmovae eax, dword [ebp - 0x428]
push eax
push 0x3e8
lea eax, [ebp - 0x3f8]
push eax
push 0x5b03e0
push 0x5b0e80
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x3f8], 0
mov dword [ebp - 0x3fc], 0xf
mov dword [ebp - 0x400], 0
mov byte [ebp - 0x410], 0
jne 0x42fa62
xor ecx, ecx
jmp 0x42fa79
lea ecx, [ebp - 0x3f8]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42fa70
sub ecx, edx
push ecx
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x410]
call fcn.0042c1b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x410]
cmp dword [ebp - 0x3fc], 0x10
mov edx, dword [ebp - 0x400]
cmovae ecx, dword [ebp - 0x410]
push 7
push str.1.0.0.4
call fcn.0042b980
add esp, 8
test eax, eax
jne 0x42fac6
push 0x30
push str.http:__client.baiwang.com:8802_get_updateProgram
jmp 0x42fb23
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
push 0x3e8
lea eax, [ebp - 0x3f8]
push eax
push 0x5b03e0
push str.updateurl
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x3f8], 0
jne 0x42fb09
xor ecx, ecx
jmp 0x42fb1b
lea ecx, [ebp - 0x3f8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42fb12
sub ecx, edx
push ecx
lea eax, [ebp - 0x3f8]
push eax
mov ecx, esi
call fcn.0042c1b0
mov eax, dword [ebp - 0x3fc]
cmp eax, 0x10
jb 0x42fb48
inc eax
lea ecx, [ebp - 0x410]
push eax
push dword [ebp - 0x410]
call fcn.0042ce80
mov dword [ebp - 0x3fc], 0xf
mov dword [ebp - 0x400], 0
mov byte [ebp - 0x410], 0
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x42fb81
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.0042ce80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret 4
Function at 0x430390
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d27c
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x430], 0xf
mov dword [ebp - 0x434], 0
mov byte [ebp - 0x444], 0
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], 0
call fcn.00430270
sub esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3fc]
mov byte [ebp - 0x3fc], 0x5c
lea ecx, [ebp - 0x42c]
push eax
call fcn.0042bb00
push eax
push 0
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0042a2b0
push 0x5b1778
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x414]
call fcn.0042db80
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x448]
cmp eax, 0x10
jb 0x43046b
inc eax
lea ecx, [ebp - 0x45c]
push eax
push dword [ebp - 0x45c]
call fcn.0042ce80
push 0x3e8
lea eax, [ebp - 0x3f8]
mov dword [ebp - 0x448], 0xf
push 0
push eax
mov dword [ebp - 0x44c], 0
mov byte [ebp - 0x45c], 0
call fcn.00536540
add esp, 0xc
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x400], 0x10
cmovae eax, dword [ebp - 0x414]
push eax
push 0x3e8
lea eax, [ebp - 0x3f8]
push eax
push 0x5b03e0
push str.name
push str.Launcher
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x3f8], 0
jne 0x4304df
xor ecx, ecx
jmp 0x4304f1
lea ecx, [ebp - 0x3f8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4304e8
sub ecx, edx
push ecx
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x444]
call fcn.0042c1b0
cmp dword [ebp - 0x434], 0
mov ecx, esi
ja 0x4305b8
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x5b03e0
mov byte [esi], 0
call fcn.0042c1b0
mov eax, dword [ebp - 0x400]
cmp eax, 0x10
jb 0x43054e
inc eax
lea ecx, [ebp - 0x414]
push eax
push dword [ebp - 0x414]
call fcn.0042ce80
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x400], 0xf
mov dword [ebp - 0x404], 0
mov byte [ebp - 0x414], 0
cmp eax, 0x10
jb 0x430587
inc eax
lea ecx, [ebp - 0x42c]
push eax
push dword [ebp - 0x42c]
call fcn.0042ce80
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x42c], 0
cmp ecx, 0x10
jb 0x430654
inc ecx
push ecx
jmp 0x430643
lea eax, [ebp - 0x444]
push eax
call fcn.0042a440
mov eax, dword [ebp - 0x400]
cmp eax, 0x10
jb 0x4305e2
inc eax
lea ecx, [ebp - 0x414]
push eax
push dword [ebp - 0x414]
call fcn.0042ce80
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x400], 0xf
mov dword [ebp - 0x404], 0
mov byte [ebp - 0x414], 0
cmp eax, 0x10
jb 0x43061b
inc eax
lea ecx, [ebp - 0x42c]
push eax
push dword [ebp - 0x42c]
call fcn.0042ce80
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x42c], 0
cmp eax, 0x10
jb 0x430654
inc eax
push eax
push dword [ebp - 0x444]
lea ecx, [ebp - 0x444]
call fcn.0042ce80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret
Function at 0x430670
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d27c
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x430], 0xf
mov dword [ebp - 0x434], 0
mov byte [ebp - 0x444], 0
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], 0
call fcn.00430270
sub esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3fc]
mov byte [ebp - 0x3fc], 0x5c
lea ecx, [ebp - 0x42c]
push eax
call fcn.0042bb00
push eax
push 0
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0042a2b0
push 0x5b1778
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x414]
call fcn.0042db80
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x448]
cmp eax, 0x10
jb 0x43074b
inc eax
lea ecx, [ebp - 0x45c]
push eax
push dword [ebp - 0x45c]
call fcn.0042ce80
push 0x3e8
lea eax, [ebp - 0x3f8]
mov dword [ebp - 0x448], 0xf
push 0
push eax
mov dword [ebp - 0x44c], 0
mov byte [ebp - 0x45c], 0
call fcn.00536540
add esp, 0xc
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x400], 0x10
cmovae eax, dword [ebp - 0x414]
push eax
push 0x3e8
lea eax, [ebp - 0x3f8]
push eax
push 0x5b03e0
push 0x5b10c4
push str.Launcher
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x3f8], 0
jne 0x4307bf
xor ecx, ecx
jmp 0x4307d1
lea ecx, [ebp - 0x3f8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4307c8
sub ecx, edx
push ecx
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x444]
call fcn.0042c1b0
cmp dword [ebp - 0x434], 0
mov ecx, esi
ja 0x430898
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x5b03e0
mov byte [esi], 0
call fcn.0042c1b0
mov eax, dword [ebp - 0x400]
cmp eax, 0x10
jb 0x43082e
inc eax
lea ecx, [ebp - 0x414]
push eax
push dword [ebp - 0x414]
call fcn.0042ce80
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x400], 0xf
mov dword [ebp - 0x404], 0
mov byte [ebp - 0x414], 0
cmp eax, 0x10
jb 0x430867
inc eax
lea ecx, [ebp - 0x42c]
push eax
push dword [ebp - 0x42c]
call fcn.0042ce80
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x42c], 0
cmp ecx, 0x10
jb 0x430934
inc ecx
push ecx
jmp 0x430923
lea eax, [ebp - 0x444]
push eax
call fcn.0042a440
mov eax, dword [ebp - 0x400]
cmp eax, 0x10
jb 0x4308c2
inc eax
lea ecx, [ebp - 0x414]
push eax
push dword [ebp - 0x414]
call fcn.0042ce80
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x400], 0xf
mov dword [ebp - 0x404], 0
mov byte [ebp - 0x414], 0
cmp eax, 0x10
jb 0x4308fb
inc eax
lea ecx, [ebp - 0x42c]
push eax
push dword [ebp - 0x42c]
call fcn.0042ce80
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x42c], 0
cmp eax, 0x10
jb 0x430934
inc eax
push eax
push dword [ebp - 0x444]
lea ecx, [ebp - 0x444]
call fcn.0042ce80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret
Function at 0x430b00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d308
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x38]
push 0x200
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 2
push 0
push eax
call fcn.00536540
add esp, 0xc
lea ecx, [ebp + 0x3c]
cmp dword [ebp + 0x50], 0x10
lea edx, [ebp + 0x20]
lea eax, [ebp + 8]
cmovae ecx, dword [ebp + 0x3c]
cmp dword [ebp + 0x34], 0x10
push ecx
cmovae edx, dword [ebp + 0x20]
lea ecx, [ebp - 0x210]
cmp dword [ebp + 0x1c], 0x10
push 0x200
cmovae eax, dword [ebp + 8]
push ecx
push 0x5b03e0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
setne bl
cmp byte [ebp - 0x210], 0
jne 0x430b9a
xor ecx, ecx
jmp 0x430bac
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430ba3
sub ecx, edx
push ecx
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.0042c1b0
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x430bd0
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0042ce80
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp eax, 0x10
jb 0x430bf7
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.0042ce80
mov ecx, dword [ebp + 0x50]
mov dword [ebp + 0x34], 0xf
mov dword [ebp + 0x30], 0
mov byte [ebp + 0x20], 0
cmp ecx, 0x10
jb 0x430c1e
inc ecx
push ecx
push dword [ebp + 0x3c]
lea ecx, [ebp + 0x3c]
call fcn.0042ce80
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret 0x4c
Function at 0x434b70
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d738
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5c49f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
je 0x434bb6
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x434be2
lea ecx, [ebp - 0x24]
call fcn.00434ac0
cmp dword [eax + 0x14], 0x10
jb 0x434bc6
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x434be2
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0042ce80
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x434bf7
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0042ce80
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x435170
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x5c49f0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
push str.SeDebugPrivilege
push 0
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x4351b5
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0053342f
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x4351d6
lea eax, [esp + 8]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ecx, dword [esp + 8]
jmp 0x4351dc
mov ecx, esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
push 0
push 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
push 0x10
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
push 0
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test esi, esi
jne 0x43521e
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x24]
neg eax
pop esi
sbb eax, eax
xor ecx, esp
inc eax
call fcn.0053342f
mov esp, ebp
pop ebp
ret
Function at 0x435240
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5b6910
push 0x536ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5c49f0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x20]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4352e2
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00435170
add esp, 4
push ebx
push edi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x4352e2
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4352e2
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, 1
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.00435312
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret

Function at 0x435330
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d832
mov eax, dword fs:[0]
push eax
mov eax, 0x1114
call fcn.00533fa0
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x1118], esi
mov dword [ebp - 0x111c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x1120], esi
mov dword [esi + 0x10], 0
jb 0x4353a1
mov eax, dword [esi]
jmp 0x4353a3
mov eax, esi
mov byte [eax], 0
push 0x1000
lea eax, [ebp - 0x1114]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x111c], 1
call fcn.00536540
add esp, 0xc
mov dword [ebp - 0x1118], 0
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x435456
cmp edi, 0xffffffff
je 0x435456
lea eax, [ebp - 0x1118]
push eax
push 0x1000
lea eax, [ebp - 0x1114]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x43544f
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00536540
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
push dword [ebp - 0x1114]
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x43544f
lea eax, [ebp - 0x114]
mov ecx, esi
push eax
call fcn.0042a340
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.0053342f
mov esp, ebp
pop ebp
ret