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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5b5938
push 0x537380
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 0x428ac2
sub esp, 8
push dword [ebp - 0x20]
call fcn.00428bf0
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 0x428ac2
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x428ac2
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.00428af4
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.00533845
mov esp, ebp
pop ebp
ret 4

Function at 0x428bf0
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 0x428c38
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00533845
mov esp, ebp
pop ebp
ret 0xc
test esi, esi
jne 0x428c59
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 0x428c5f
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 0x428ca1
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.00533845
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4294c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cea8
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.0042c2e0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004303c0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 0
ja 0x42952f
xor bl, bl
jmp 0x4295c5
push 1
push 0x5b0c88
lea ecx, [ebp - 0x28]
call fcn.0042c4c0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0042c5f0
push 4
push str..exe
mov ecx, eax
call fcn.0042c4c0
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.0042c2e0
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 0x42959c
test al, 0x10
jne 0x42959c
mov bl, 1
jmp 0x42959e
xor bl, bl
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4295b3
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0042ceb0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x4295da
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0042ceb0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x429601
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ceb0
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x429628
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0042ceb0
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.00533845
mov esp, ebp
pop ebp
ret
Function at 0x42c860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d1a8
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 0x42c98e
cmp byte [ebx + 0x3d], 0
je 0x42c98e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x42c8b9
xor al, al
jmp 0x42c990
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.0042c110
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 0x42c91f
sub eax, 1
je 0x42c923
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x42c976
xor bl, bl
jmp 0x42c978
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 0x42c958
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0053acb7
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x42c91b
cmp byte [ebx + 0x3d], 0
je 0x42c976
test esi, esi
jne 0x42c8e1
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0042c410
jmp 0x42c8de
mov bl, 1
cmp ecx, 0x10
jb 0x42c98a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0042ceb0
mov al, bl
jmp 0x42c990
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.00533845
mov esp, ebp
pop ebp
ret
Function at 0x42d070
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c326
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.00533a97
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.005323ac
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 0x42f9c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d506
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.00430120
mov dword [ebp - 4], 0
cmp dword [ebp - 0x418], 0
ja 0x42fa1e
push 0
push 0x5b03e0
mov ecx, esi
call fcn.0042c1e0
jmp 0x42fb93
push 0x3e8
lea eax, [ebp - 0x3f8]
push 0
push eax
call fcn.005369e0
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 0x42fa92
xor ecx, ecx
jmp 0x42faa9
lea ecx, [ebp - 0x3f8]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42faa0
sub ecx, edx
push ecx
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x410]
call fcn.0042c1e0
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.0042b9c0
add esp, 8
test eax, eax
jne 0x42faf6
push 0x30
push str.http:__client.baiwang.com:8802_get_updateProgram
jmp 0x42fb53
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 0x42fb39
xor ecx, ecx
jmp 0x42fb4b
lea ecx, [ebp - 0x3f8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42fb42
sub ecx, edx
push ecx
lea eax, [ebp - 0x3f8]
push eax
mov ecx, esi
call fcn.0042c1e0
mov eax, dword [ebp - 0x3fc]
cmp eax, 0x10
jb 0x42fb78
inc eax
lea ecx, [ebp - 0x410]
push eax
push dword [ebp - 0x410]
call fcn.0042ceb0
mov dword [ebp - 0x3fc], 0xf
mov dword [ebp - 0x400], 0
mov byte [ebp - 0x410], 0
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x42fbb1
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.0042ceb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00533845
mov esp, ebp
pop ebp
ret 4
Function at 0x4303c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d6dc
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.004302a0
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.0042bb40
push eax
push 0
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0042a2f0
push 0x5b1778
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x414]
call fcn.0042dbb0
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x448]
cmp eax, 0x10
jb 0x43049b
inc eax
lea ecx, [ebp - 0x45c]
push eax
push dword [ebp - 0x45c]
call fcn.0042ceb0
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.005369e0
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 0x43050f
xor ecx, ecx
jmp 0x430521
lea ecx, [ebp - 0x3f8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430518
sub ecx, edx
push ecx
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x444]
call fcn.0042c1e0
cmp dword [ebp - 0x434], 0
mov ecx, esi
ja 0x4305e8
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x5b03e0
mov byte [esi], 0
call fcn.0042c1e0
mov eax, dword [ebp - 0x400]
cmp eax, 0x10
jb 0x43057e
inc eax
lea ecx, [ebp - 0x414]
push eax
push dword [ebp - 0x414]
call fcn.0042ceb0
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x400], 0xf
mov dword [ebp - 0x404], 0
mov byte [ebp - 0x414], 0
cmp eax, 0x10
jb 0x4305b7
inc eax
lea ecx, [ebp - 0x42c]
push eax
push dword [ebp - 0x42c]
call fcn.0042ceb0
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x42c], 0
cmp ecx, 0x10
jb 0x430684
inc ecx
push ecx
jmp 0x430673
lea eax, [ebp - 0x444]
push eax
call fcn.0042a480
mov eax, dword [ebp - 0x400]
cmp eax, 0x10
jb 0x430612
inc eax
lea ecx, [ebp - 0x414]
push eax
push dword [ebp - 0x414]
call fcn.0042ceb0
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x400], 0xf
mov dword [ebp - 0x404], 0
mov byte [ebp - 0x414], 0
cmp eax, 0x10
jb 0x43064b
inc eax
lea ecx, [ebp - 0x42c]
push eax
push dword [ebp - 0x42c]
call fcn.0042ceb0
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x42c], 0
cmp eax, 0x10
jb 0x430684
inc eax
push eax
push dword [ebp - 0x444]
lea ecx, [ebp - 0x444]
call fcn.0042ceb0
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.00533845
mov esp, ebp
pop ebp
ret
Function at 0x4306a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d6dc
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.004302a0
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.0042bb40
push eax
push 0
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0042a2f0
push 0x5b1778
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x414]
call fcn.0042dbb0
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x448]
cmp eax, 0x10
jb 0x43077b
inc eax
lea ecx, [ebp - 0x45c]
push eax
push dword [ebp - 0x45c]
call fcn.0042ceb0
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.005369e0
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 0x4307ef
xor ecx, ecx
jmp 0x430801
lea ecx, [ebp - 0x3f8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4307f8
sub ecx, edx
push ecx
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x444]
call fcn.0042c1e0
cmp dword [ebp - 0x434], 0
mov ecx, esi
ja 0x4308c8
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x5b03e0
mov byte [esi], 0
call fcn.0042c1e0
mov eax, dword [ebp - 0x400]
cmp eax, 0x10
jb 0x43085e
inc eax
lea ecx, [ebp - 0x414]
push eax
push dword [ebp - 0x414]
call fcn.0042ceb0
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x400], 0xf
mov dword [ebp - 0x404], 0
mov byte [ebp - 0x414], 0
cmp eax, 0x10
jb 0x430897
inc eax
lea ecx, [ebp - 0x42c]
push eax
push dword [ebp - 0x42c]
call fcn.0042ceb0
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x42c], 0
cmp ecx, 0x10
jb 0x430964
inc ecx
push ecx
jmp 0x430953
lea eax, [ebp - 0x444]
push eax
call fcn.0042a480
mov eax, dword [ebp - 0x400]
cmp eax, 0x10
jb 0x4308f2
inc eax
lea ecx, [ebp - 0x414]
push eax
push dword [ebp - 0x414]
call fcn.0042ceb0
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x400], 0xf
mov dword [ebp - 0x404], 0
mov byte [ebp - 0x414], 0
cmp eax, 0x10
jb 0x43092b
inc eax
lea ecx, [ebp - 0x42c]
push eax
push dword [ebp - 0x42c]
call fcn.0042ceb0
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x42c], 0
cmp eax, 0x10
jb 0x430964
inc eax
push eax
push dword [ebp - 0x444]
lea ecx, [ebp - 0x444]
call fcn.0042ceb0
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.00533845
mov esp, ebp
pop ebp
ret
Function at 0x430b30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d768
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.005369e0
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 0x430bca
xor ecx, ecx
jmp 0x430bdc
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430bd3
sub ecx, edx
push ecx
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.0042c1e0
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x430c00
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0042ceb0
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp eax, 0x10
jb 0x430c27
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.0042ceb0
mov ecx, dword [ebp + 0x50]
mov dword [ebp + 0x34], 0xf
mov dword [ebp + 0x30], 0
mov byte [ebp + 0x20], 0
cmp ecx, 0x10
jb 0x430c4e
inc ecx
push ecx
push dword [ebp + 0x3c]
lea ecx, [ebp + 0x3c]
call fcn.0042ceb0
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.00533845
mov esp, ebp
pop ebp
ret 0x4c
Function at 0x434ba0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55db98
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 0x434be6
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x434c12
lea ecx, [ebp - 0x24]
call fcn.00434af0
cmp dword [eax + 0x14], 0x10
jb 0x434bf6
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x434c12
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0042ceb0
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x434c27
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0042ceb0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4351a0
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 0x4351e5
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00533845
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x435206
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 0x43520c
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 0x43524e
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.00533845
mov esp, ebp
pop ebp
ret
Function at 0x435270
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5b6930
push 0x537380
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 0x435312
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.004351a0
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 0x435312
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x435312
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.00435342
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.00533845
mov esp, ebp
pop ebp
ret

Function at 0x435360
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55dc92
mov eax, dword fs:[0]
push eax
mov eax, 0x1114
call fcn.005343b0
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 0x4353d1
mov eax, dword [esi]
jmp 0x4353d3
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.005369e0
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 0x435486
cmp edi, 0xffffffff
je 0x435486
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 0x43547f
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.005369e0
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 0x43547f
lea eax, [ebp - 0x114]
mov ecx, esi
push eax
call fcn.0042a380
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.00533845
mov esp, ebp
pop ebp
ret