joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57f0d4
Capabilities:
Encode data using xor

Disassembly:
mov esp, dword [esp]
push ebx
mov ebx, esp
add ebx, 4
push edi
mov edi, 4
sub ebx, edi
pop edi
xchg dword [esp], ebx
pop esp
mov dword [esp], edx
mov edx, esp
push edi
mov edi, 0x77f5d721
xor edi, 0x6d3f79a2
and edi, 0x6e7e2efd
not edi
inc edi
xor edi, 0x63ff2d9b
inc edi
xor edi, 0x964afce1
add edx, edi
pop edi
add edx, 4
xchg dword [esp], edx
pop esp
push eax
push esi
jmp 0x57f07a
xor edi, 0x7b7f1c00
jmp 0x57f11e
add esi, 0x5bb58e62
mov eax, esi
mov esi, dword [esp]
push ecx
mov dword [esp], eax
mov eax, esp
add eax, 4
jmp 0x57f15f
add eax, edx
jmp 0x57f0cd
mov esi, 0x7ffc0dcd
xor esi, 0x7eb10d4a
jmp 0x57f38e
pop edx
xchg dword [esp], eax
pop esp
not eax
push ebp
mov ebp, esp
add ebp, 4
jmp 0x57f227
sub edi, 0x90458793
sub ebx, edi
pop edi
push ebx
inc dword [esp]
pop ebx
shl ebx, 4
xor ebx, 0xb00713f2
jmp 0x57f2ac
push edx
mov edx, 0x14027000
shl edx, 3
push ebx
mov ebx, 0x3fc280a0
sub ebx, 0xefeb4a12
jmp 0x57f526
mov edi, 0x5ff57be6
not edi
jmp 0x57ef71
push ebp
mov ebp, esp
add ebp, 4
add ebp, 4
xchg dword [esp], ebp
jmp 0x57ee6b
sub ebp, 4
xchg dword [esp], ebp
jmp 0x57f48a
xor eax, ebx
pop ebx
shr eax, 8
shr eax, 5
and eax, 0x4ffb3e56
add eax, 0x4cf22ff
push eax
pop edx
mov eax, dword [esp]
add esp, 4
jmp 0x57f8ed
shr esi, 3
jmp 0x57efa2
pop esp
mov dword [esp], ebx
mov ebx, 0x78fe74cc
neg ebx
shl ebx, 3
add ebx, 1
not ebx
xor ebx, 0x7ffc34ee
sub esp, 4
mov dword [esp], edi
jmp 0x57f19c
xor edx, ebx
jmp 0x57f6b6
pop ebx
add edx, 0x4fa935f8
and edx, 0x4b7d5920
xor edx, 0xb6d4804
jmp 0x57f055
add al, 0
add byte [eax], al
arpl bx, dx
add dword [esi + 0x93cb960], ecx
inc edx
inc esi
dec ebp
add byte [ecx - 0x7460e34], dl
jp 0x57f888
and bh, byte [edx - 0x5057cebe]
mov edx, 0xafa83142
fsub qword [ebp + 0x286bc0de]
mov ebx, 0xfeae3142
inc ebp
xor dword [0x944c3bb], ebp
xchg edi, eax
shr dword [eax + ebp - 0x45], 0x42
xor dword [esi], eax
xchg edi, eax
sub ax, 0xd546
inc ecx
xor dword [0x294d95f8], ebp
loop 0x57f901
xor byte [0x92d51bb], ch
loop 0x57f96a
xor dword [0x458841bb], ebp
mov dword [edx + 0x31], eax
sub eax, 0x2d2d063a
mov ebx, 0x9f187242
push 0xffffffffffffff88
mov edx, 0xbf203142
aad 0xa5
xlatb
sbb byte [edi - 0x45d97796], bl
inc edx
xor dword [eax], esp
mov edi, 0xd7a5d566
mov dh, 7
xor dword [0x42844602], edx
xor dword [0x6bb02342], ebp
mov edi, 0x3c2d3142
add ebp, dword [0xd566b7ac]
inc ebp
test dword [ecx + 0x31], 0x2cc78c2d
sub eax, 0x754842bb
loop 0x57f948
xor byte [0x982c6abb], ch
adc dword [ebp + 0x18fca5de], edx
sub ebp, dword [0x45d442bb]
bound eax, qword [edx + 0x31]
sub eax, 0xfd6dc193
mov edi, 0xec061a6c
rol byte [ebp + 0x1a6cbffd], 0x54
scasd eax, dword es:[edi]
mov ah, dh
clc
or dh, byte [edx + 0x2d]
adc esp, dword [edi - 0x50]
inc eax
mov edi, 0x422d3142
dec ebp
cmpsb byte [esi], byte es:[edi]
xlatb
or word [esi + edi*8], di
cli
cld
movsd dword es:[edi], dword [esi]
invalid
Function at 0x99bf10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x9b09fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x99c002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0099fdff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x99c002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.009976e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.009a020b
push 0x10
call fcn.009a01d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x99bfc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.0098c1c0
jmp 0x99bfc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.0099bb80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x99bff0
mov ecx, edi
call fcn.0098c2c0
push edi
call fcn.009a01c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x99c021
inc ebx
cmp ebx, 0x20
jb 0x99bf3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x99f1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0099f140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0099f140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0099f140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0099f140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x99fbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x99fc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x9b187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x99fc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x99fc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401260
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x413004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4012ad
lea eax, [ebp - 0xc]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x4012be
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401da9
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
push 0
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x20]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00401da9
mov esp, ebp
pop ebp
ret
Function at 0x4017f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x401910
push esi
mov esi, dword [edx + 0x3c]
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x148]
cmp esi, eax
ja 0x40190e
add edx, esi
cmp dword [edx], 0x4550
jne 0x40190e
movzx eax, word [edx + 4]
mov esi, 0x14c
push ebx
cmp ax, si
jne 0x40189d
movzx ebx, word [edx + 0x14]
mov dword [edx + 0x34], ecx
movzx ecx, word [edx + 6]
mov esi, ecx
lea eax, [esi*4 + 0xb]
add eax, esi
lea eax, [ebx + eax*8]
cmp edi, eax
jb 0x40190d
xor eax, eax
cmp ax, cx
jae 0x401875
lea ecx, [edx + 0x2c]
add ecx, ebx
mov eax, dword [ecx - 8]
lea ecx, [ecx + 0x28]
mov dword [ecx - 0x28], eax
mov eax, dword [ecx - 0x34]
mov dword [ecx - 0x2c], eax
sub esi, 1
jne 0x401861
cmp dword [edx + 0x74], 5
jbe 0x40190d
pop ebx
pop edi
mov dword [edx + 0xa0], 0
mov dword [edx + 0xa4], 0
or word [edx + 0x16], 1
pop esi
pop ebp
ret
mov esi, 0x8664
cmp ax, si
jne 0x40190d
movzx ebx, word [edx + 0x14]
mov dword [edx + 0x30], ecx
movzx ecx, word [edx + 6]
mov esi, ecx
mov dword [edx + 0x34], 0
lea eax, [esi*4 + 0xb]
add eax, esi
lea eax, [ebx + eax*8]
cmp edi, eax
jb 0x40190d
xor eax, eax
cmp ax, cx
jae 0x4018eb
lea ecx, [edx + 0x2c]
add ecx, ebx
mov eax, dword [ecx - 8]
lea ecx, [ecx + 0x28]
mov dword [ecx - 0x28], eax
mov eax, dword [ecx - 0x34]
mov dword [ecx - 0x2c], eax
sub esi, 1
jne 0x4018d7
cmp dword [edx + 0x84], 5
jbe 0x40190d
mov dword [edx + 0xb0], 0
mov dword [edx + 0xb4], 0
or word [edx + 0x16], 1
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x401920
Capabilities:
Get system information on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x413004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ecx
push 0
push 0x410
mov esi, edx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
jne 0x40195d
lea eax, [ebx - 2]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401da9
mov esp, ebp
pop ebp
ret
push 0
push 0
push 1
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x5c], edi
cmp edi, 0xffffffff
jne 0x40199a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffff4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401da9
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp - 0x50]
cmp esi, dword [ebp - 0x4c]
jae 0x401ad4
push 0x1c
lea eax, [ebp - 0x34]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x401ac2
test dword [ebp - 0x24], 0x1000
je 0x401abd
test dword [ebp - 0x1c], 0x1060000
je 0x401abd
mov eax, esi
cdq
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
push eax
push 1
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], eax
call fcn.004034a7
mov edi, eax
add esp, 8
test edi, edi
je 0x401af6
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x401a29
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12b
jne 0x401ab4
push 0
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x18]
mov edx, edi
mov ecx, esi
call fcn.004017f0
add esp, 4
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp - 0x18]
push edi
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call fcn.004034da
add esp, 4
add esi, dword [ebp - 0x28]
jmp 0x401ac8
add esi, 0x1000
cmp esi, dword [ebp - 0x4c]
jb 0x4019b0
mov edi, dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push ebx
call esi
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401da9
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
mov ecx, dword [ebp - 4]
mov eax, 0xfffffffc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401da9
mov esp, ebp
pop ebp
ret
Function at 0x10001000
Capabilities:
Get thread local storage value
Terminate thread

Disassembly:
sub esp, 0x3c
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
sub esp, 8
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 0x20
ret
Function at 0x402fe0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
mov dword [esp], 0
push eax
push 2
push 0
push 0x4021d8
push 0x80000002
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
test eax, eax
jne 0x403039
mov edx, dword [esp]
lea ecx, [esp + 4]
push 4
push ecx
push 4
push eax
push 0x40224c
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
add esp, 8
ret
Function at 0x4033b0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4012c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401288
mov edx, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 3
lea eax, [ebp - 0x30]
push 0x40228c
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
call fcn.00402fe0
mov ecx, dword [ebp - 0x18]
or ebx, 0xffffffff
push ecx
push esi
mov word [0x405084], si
mov word [0x405086], bx
mov dword [0x405088], esi
mov word [0x40508c], si
mov dword [0x405090], ebx
mov word [0x405094], si
call dword [sym.imp.MSVBVM60.DLL_rtcBstrFromAnsi]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x40]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
mov ecx, 0x40503c
call edi
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov edx, dword [0x40503c]
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
push 0x4031a0
mov dword [0x405040], eax
mov dword [0x405048], eax
call fcn.00403040
mov edi, dword [sym.imp.KERNEL32.DLL_CreateEventW]
push esi
push esi
push 1
push esi
mov dword [0x40504c], eax
mov dword [0x405050], esi
mov dword [0x405054], esi
call edi
push esi
push esi
push 1
push esi
mov dword [0x405078], eax
call edi
push esi
push esi
push 1
push esi
mov dword [0x405080], eax
call edi
mov ecx, dword [0x405078]
mov dword [0x40507c], eax
cmp ecx, esi
je 0x40353d
cmp dword [0x405080], esi
je 0x40353d
cmp eax, esi
je 0x40353d
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], esi
push eax
push 4
push esi
push 0x4032f0
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, esi
mov dword [0x405044], eax
je 0x403542
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x405044]
push ebx
push esi
mov dword [ecx], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x40507c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x24]
push edx
push 2
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
cmp eax, 1
jne 0x40353d
push 4
mov word [0x405084], bx
mov word [0x405086], si
call fcn.00403050
mov eax, dword [0x405044]
cmp word [0x405084], si
jne 0x40356e
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
call esi
mov eax, dword [0x405078]
push eax
call esi
mov ecx, dword [0x405080]
push ecx
call esi
mov edx, dword [0x40507c]
push edx
call esi
mov eax, dword [0x405084]
push 0x4035b1
not eax
mov word [0x405086], ax
mov ecx, dword [0x405084]
mov dword [ebp - 0x3c], ecx
jmp 0x403595
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x30]
push eax
push 0
mov dword [ebp - 0x44], edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
Function at 0x4035d0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
xor esi, esi
mov dword [esp + 0xc], eax
mov ecx, 5
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov word [esp + 0x10], ax
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I4]
lea ecx, [esp + 4]
mov byte [esp + 0x11], al
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
mov ecx, 2
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
lea edx, [esp + 0x30]
push eax
push edx
call dword [sym.imp.ADVAPI32.DLL_AllocateAndInitializeSid]
test eax, eax
je 0x403654
mov ecx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push ecx
push esi
call dword [sym.imp.ADVAPI32.DLL_CheckTokenMembership]
test eax, eax
je 0x403649
mov ecx, dword [esp + 8]
xor edx, edx
cmp ecx, esi
setne dl
neg edx
mov esi, edx
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.DLL_FreeSid]
mov ax, si
pop esi
add esp, 0x10
ret
Function at 0x10001520
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10063e48], 0
je 0x10001539
mov eax, dword [0x10063e48]
jmp 0x100016d6
mov dword [0x10063e48], 0x10063e20
push 0x28
push 0
push 0x10063e20
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x10063e20], eax
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10063e24], eax
cmp dword [0x10063e24], 0
jne 0x1000157f
xor eax, eax
jmp 0x100016d6
push str.ImagehlpApiVersionEx
mov eax, dword [0x10063e24]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10063e28], eax
push str.SymInitialize
mov ecx, dword [0x10063e24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10063e2c], eax
push str.SymSetOptions
mov edx, dword [0x10063e24]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10063e30], eax
push str.SymGetOptions
mov eax, dword [0x10063e24]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10063e34], eax
push str.SymLoadModule
mov ecx, dword [0x10063e24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10063e38], eax
push str.SymGetModuleInfo
mov edx, dword [0x10063e24]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10063e3c], eax
push str.SymGetSymFromName
mov eax, dword [0x10063e24]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10063e40], eax
push str.BindImage
mov ecx, dword [0x10063e24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10063e44], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [ebp - 8], 9
cmp dword [0x10063e28], 0
je 0x1000165d
lea eax, [ebp - 8]
push eax
call dword [0x10063e28]
cmp dword [0x10063e28], 0
je 0x1000166f
movzx ecx, word [ebp - 8]
cmp ecx, 9
jge 0x1000168a
mov edx, dword [0x10063e24]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x10063e24], 0
xor eax, eax
jmp 0x100016d6
cmp dword [0x10063e2c], 0
je 0x100016a3
push 0
push 0
mov eax, dword [0x10063e20]
push eax
call dword [0x10063e2c]
cmp dword [0x10063e34], 0
je 0x100016d1
cmp dword [0x10063e30], 0
je 0x100016d1
call dword [0x10063e34]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 7
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x10063e30]
mov eax, dword [0x10063e48]
mov esp, ebp
pop ebp
ret
Function at 0x10006e90
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x44
mov eax, dword [0x1003b040]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, dword [esp + 0x4c]
xorps xmm1, xmm1
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
push edi
mov edi, edx
call fcn.10006d10
cmp dword [eax + 0x14], 0xf
jbe 0x10006ebd
mov eax, dword [eax]
push ebx
push 0x20
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x28]
cmp ecx, 0xf
jbe 0x10006f06
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006efc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10006efc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002e516
add esp, 8
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov ecx, dword [esp + 0x50]
add esp, 4
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002e1ee
add esp, 0x44
ret

Function at 0x10006fc0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x48
mov eax, dword [0x1003b040]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov esi, dword [esp + 0x58]
mov ebx, edx
mov edx, dword [esp + 0x54]
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.1000c6e0
cmp dword [esp + 0x28], 0xf
lea ecx, [esp + 0x2c]
push esi
push 0x20
push ecx
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x28]
cmp ecx, 0xf
jbe 0x1000703d
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007033
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10007033
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002e516
add esp, 8
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, dword [esp + 0x50]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002e1ee
add esp, 0x48
ret