joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47bc60
Capabilities:
Get user security identifier

Disassembly:
mov eax, dword [0x62c76c]
sub esp, 0x120
push ebx
xor ebx, ebx
push ebp
cmp eax, ebx
push edi
jne 0x47bcac
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, 2
jne 0x47bca7
mov dword [0x62c770], eax
mov dword [0x62c76c], eax
cmp dword [0x62c770], ebx
jne 0x47bcc0
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x120
ret
mov ebp, dword [esp + 0x130]
mov edi, dword [esp + 0x134]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x14]
push ebx
push eax
push ebx
push ebp
push ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x47bd0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x47bd0c
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x120
ret
mov ecx, dword [esp + 0xc]
push esi
push ecx
call fcn.0058879e
mov edx, dword [esp + 0x18]
mov dword [edi], eax
lea eax, [edx + edx]
push eax
call fcn.0058879e
mov esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x47bd51
test esi, esi
je 0x47bd62
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x18]
push esi
push ecx
push eax
push ebp
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test esi, esi
je 0x47bd5e
push esi
call fcn.005887c7
add esp, 4
test ebx, ebx
jne 0x47bd71
mov edi, dword [edi]
test edi, edi
je 0x47bd71
push edi
call fcn.005887c7
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x120
ret
Function at 0x47c480
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9fd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
mov eax, dword [0x62c714]
push ebx
push esi
xor esi, esi
push edi
cmp eax, esi
mov dword [ebp - 0x10], esp
jne 0x47c66b
push 1
push 0x62c720
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push esi
push esi
push 1
push 0x62c720
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea ecx, [ebp - 0x34]
mov dword [0x62c738], 0xc
mov dword [0x62c740], esi
mov dword [0x62c73c], 0x62c720
call fcn.0046c1d0
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], esi
call fcn.00586db5
mov eax, dword [0x62c774]
mov byte [ebp - 4], 1
cmp eax, esi
mov dword [ebp - 0x24], str.S_1_1_0
mov dword [ebp - 0x20], str.S_1_15_2_1
mov dword [ebp - 0x1c], str.S_1_15_2_2
mov ebx, 3
jne 0x47c581
mov ecx, 0x44
xor eax, eax
lea edi, [ebp - 0x158]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x15c], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x14c]
mov ecx, 2
cmp eax, ecx
jne 0x47c577
mov eax, dword [ebp - 0x158]
cmp eax, 6
ja 0x47c56d
jne 0x47c577
cmp dword [ebp - 0x154], ecx
jb 0x47c577
mov dword [0x62c778], 1
mov dword [0x62c774], 1
cmp dword [0x62c778], esi
jne 0x47c58e
mov ebx, 1
cmp ebx, esi
jle 0x47c5d5
lea esi, [ebp - 0x24]
mov edi, ebx
mov ecx, dword [esi]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00464c50
mov edx, dword [ebp - 0x30]
push eax
push edx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0046c930
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004654c0
mov eax, dword [ebp - 0x40]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x48]
call fcn.00586fd9
add esi, 4
dec edi
jne 0x47c597
xor esi, esi
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x34]
push ecx
push edx
push 0x62c758
mov byte [ebp - 4], 3
call fcn.0047c040
add esp, 0xc
cmp eax, esi
jne 0x47c629
lea eax, [ebp - 0x18]
push 0x5dfe48
push eax
mov dword [ebp - 0x18], esi
call fcn.0044d35e
push 1
push 0x62c758
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
push 0x62c758
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov eax, 0x47c627
ret
mov eax, 1
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], eax
mov dword [0x62c748], 0xc
mov dword [0x62c750], esi
mov dword [0x62c74c], 0x62c758
mov dword [0x62c714], eax
mov byte [ebp - 4], 0
call fcn.00586de8
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.0046c1e0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47d200
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5aa0fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [0x5be444]
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push 0x104
push ecx
mov dword [esp + 0x228], 0
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.004657a0
lea eax, [esp + 8]
push 1
push eax
mov ecx, esi
call fcn.00467a80
mov ecx, dword [eax]
push 0x5f85cc
push ecx
call fcn.0044c8ce
add esp, 8
lea ecx, [esp + 8]
mov edi, eax
call fcn.004654c0
test edi, edi
je 0x47d280
push 0x5f85cc
mov ecx, esi
call fcn.00466100
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret

Function at 0x47d3e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5aa13b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [0x5be444]
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push 0x104
push ecx
mov dword [esp + 0x228], 0
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.004657a0
lea eax, [esp + 8]
push 1
push eax
mov ecx, esi
call fcn.00467a80
mov ecx, dword [eax]
push 0x5f85cc
push ecx
call fcn.0044c8ce
add esp, 8
lea ecx, [esp + 8]
mov edi, eax
call fcn.004654c0
test edi, edi
je 0x47d460
push 0x5f85cc
mov ecx, esi
call fcn.00466100
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x47f220
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x5aa37f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push esi
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], 0
mov dword [ebp], 0
call fcn.00477240
mov ecx, dword [esp + 0x3c]
mov edx, 1
cmp ecx, 8
mov dword [esp + 0x2c], edx
mov dword [ebp], 0
jae 0x47f27a
mov dword [ebp], 0x29
jmp 0x47f2b7
mov edi, dword [esp + 0x38]
lea esi, [ecx - 4]
mov eax, dword [edi]
and eax, 0xefffffff
cmp esi, edx
jb 0x47f29e
lea ecx, [edi + 1]
sub eax, edi
lea ebx, [eax + ecx]
cmp dword [ecx], ebx
je 0x47f2af
inc edx
inc ecx
cmp edx, esi
jbe 0x47f291
lea ecx, [esp + 0x48]
mov dword [ebp], 0x36
push ecx
jmp 0x47f3df
lea ecx, [edx + 4]
cmp ecx, 0xffffff9c
jne 0x47f2d4
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.00477330
mov dword [esp + 0x10], 1
jmp 0x47f3f2
test ecx, ecx
jg 0x47f2e2
lea ecx, [esp + 0x48]
push ecx
jmp 0x47f3df
mov esi, dword [esp + 0x44]
mov ebx, 0x10
mov byte [esp + 0x14], 0x43
mov byte [esp + 0x15], 0x44
mov dword [esi], ecx
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], 0x24
mov byte [esp + 0x18], 0x57
mov byte [esp + 0x19], 0x96
mov byte [esp + 0x1a], 0x55
mov byte [esp + 0x1b], 0x40
mov byte [esp + 0x1c], 0x54
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], 0x5a
mov byte [esp + 0x1f], 0x42
mov byte [esp + 0x20], 0
mov byte [esp + 0x21], 0
mov byte [esp + 0x22], 1
mov byte [esp + 0x23], 0x38
xor eax, eax
mov dl, byte [esp + eax + 0x14]
add dl, al
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, ebx
jb 0x47f33d
add ecx, 0xfffffffc
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x50]
call fcn.00477420
lea ecx, [esp + 0x48]
call fcn.00477b50
mov edx, dword [esi]
push eax
sub edx, 4
lea eax, [esp + 0x18]
push edx
push edi
push ebx
push eax
push 3
call fcn.00518480
test eax, eax
je 0x47f3ca
cmp eax, 0xffffffff
je 0x47f3ca
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x50]
call fcn.00477420
lea ecx, [esp + 0x48]
call fcn.00477b30
mov ecx, dword [esp + 0x40]
cmp dword [eax + ecx], ecx
je 0x47f3b7
lea ecx, [esp + 0x48]
mov dword [ebp], 0xa5
call fcn.00477710
lea ecx, [esp + 0x48]
push ecx
jmp 0x47f3df
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x50]
call fcn.00477420
lea edx, [esp + 0x48]
push edx
jmp 0x47f3df
lea ecx, [esp + 0x48]
mov dword [ebp], 0x9b
call fcn.00477710
lea eax, [esp + 0x48]
push eax
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.00477330
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x2c], 0
call fcn.00477370
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x47f420
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5aa3cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], ebx
call fcn.00477240
push 0x620918
lea ecx, [esp + 0x14]
mov dword [esp + 0x138], 1
call fcn.00464c50
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x138], 2
call fcn.00464c50
mov ecx, dword [esp + 0x148]
mov edx, dword [eax]
mov eax, dword [esp + 0x140]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push str.__d___s___d______
push ecx
mov byte [esp + 0x148], 3
call fcn.004684d0
add esp, 0x14
lea ecx, [esp + 0x28]
mov byte [esp + 0x134], 2
call fcn.004654c0
mov al, 0x41
mov ecx, 0x3f
mov byte [esp + 0x14], al
mov byte [esp + 0x23], al
xor eax, eax
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x15], 0x34
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x16], 0x40
mov byte [esp + 0x17], 0x21
mov byte [esp + 0x18], 0x50
mov byte [esp + 0x19], 0x64
mov byte [esp + 0x1a], 0x36
mov byte [esp + 0x1b], 0x71
mov byte [esp + 0x1c], 0x55
mov byte [esp + 0x1d], 0x10
mov byte [esp + 0x1e], 0x5a
mov byte [esp + 0x1f], 0x42
mov byte [esp + 0x20], 9
mov byte [esp + 0x21], 0xa0
mov byte [esp + 0x22], 8
mov ecx, dword [eax - 8]
lea edx, [esp + 0x2c]
add ecx, ecx
push edx
push ecx
push eax
lea edx, [esp + 0x20]
push 0x10
push edx
push 7
call fcn.00518900
cmp eax, ebx
jne 0x47f56a
mov eax, dword [esp + 0x14c]
mov esi, dword [esp + 0x13c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [eax], 0xc1
call fcn.00477330
mov dword [esp + 0x24], 1
jmp 0x47f594
lea edx, [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.00477750
mov esi, dword [esp + 0x13c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00477330
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 1
call fcn.004654c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x134], bl
call fcn.00477370
mov ecx, dword [esp + 0x12c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x47f5d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa4
push esi
mov esi, dword [esp + 0xac]
push edi
mov ecx, esi
mov dword [esp + 0xc], 0xc
mov dword [esp + 0x10], 0x1e
mov dword [esp + 0x14], 0x14
mov dword [esp + 0x18], 0x37
mov dword [esp + 0x1c], 0x19
mov dword [esp + 0x20], 0x52
mov dword [esp + 0x24], 0x21
mov dword [esp + 0x28], 0x46
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x30], 0x5f
mov dword [esp + 0x34], 0x64
mov dword [esp + 0x38], 0x84
mov dword [esp + 0x3c], 0x85
mov dword [esp + 0x40], 0x91
mov dword [esp + 0x44], 0xa2
mov dword [esp + 0x48], 0x1a7
mov dword [esp + 0x4c], 0xef
mov dword [esp + 0x50], 0x1f1
mov dword [esp + 0x54], 0x19e
mov dword [esp + 0x58], 0x1ef
mov dword [esp + 0x5c], 0x1f4
mov dword [esp + 0x60], 0x2a2
mov dword [esp + 0x64], 0x226
mov dword [esp + 0x68], 0x2f1
mov dword [esp + 0x6c], 0x27f
mov dword [esp + 0x70], 0x2c5
mov dword [esp + 0x74], 0x32a
mov dword [esp + 0x78], 0x399
mov dword [esp + 0x7c], 0x3ba
mov dword [esp + 0x80], 0x3d4
mov dword [esp + 0x84], 0x3e8
mov dword [esp + 0x88], 0x96a
mov dword [esp + 0x8c], 0x598
mov dword [esp + 0x90], 0x644
mov dword [esp + 0x94], 0x657
mov dword [esp + 0x98], 0x7a2
mov dword [esp + 0x9c], 0xbee
mov dword [esp + 0xa0], 0x1243
mov dword [esp + 0xa4], 0x14d8
mov dword [esp + 0xa8], 0x24d0
call fcn.00477b30
mov ecx, esi
mov edi, eax
call fcn.00477410
cmp eax, 0xc
jbe 0x47f7c1
xor ecx, ecx
push ebx
push ebp
mov dword [esp + 0x10], ecx
mov ebx, 0x98
mov edx, dword [esp + 0xbc]
test edx, edx
jne 0x47f76f
mov ecx, ebx
mov edx, dword [esp + ecx + 0x14]
mov ecx, dword [esp + ecx + 0x18]
cmp edx, ecx
je 0x47f7ac
jle 0x47f783
mov esi, edx
mov edx, ecx
mov ecx, esi
lea esi, [edx + 4]
cmp esi, eax
jle 0x47f78d
lea edx, [eax - 4]
lea esi, [ecx + 4]
cmp esi, eax
jle 0x47f797
lea ecx, [eax - 4]
mov esi, ecx
sub esi, edx
cmp esi, 4
jb 0x47f7ac
mov ebp, dword [ecx + edi]
mov esi, dword [edx + edi]
mov dword [edx + edi], ebp
mov dword [ecx + edi], esi
mov ecx, dword [esp + 0x10]
sub ebx, 8
add ecx, 8
cmp ebx, 0xfffffff8
mov dword [esp + 0x10], ecx
jg 0x47f762
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xa4
ret

Function at 0x47f7d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5aa401
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x5be444]
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ebp, [esi + 0x14]
mov dword [ebp], eax
xor edi, edi
mov dword [esi + 0x28], 0x5be868
mov dword [esp + 0x18], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 1
call fcn.0053c200
push 0x620918
mov ecx, ebp
mov byte [esp + 0x1c], 2
mov dword [esi], 0x5be864
mov dword [esi + 4], 1
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.004657a0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x47f960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5aa460
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push edi
mov esi, ecx
call ebp
lea edi, [esi + 0x3c]
push 0x10b
push str.D:Backup_
push eax
mov ecx, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 2
call fcn.0053c630
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov dword [esp + 0x38], ebx
call ebp
push 0x244
mov ecx, edi
push str.D:Backup_
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 2
call fcn.0053c630
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0xc]
mov byte [esp + 0x38], 1
cmp ecx, ebx
jne 0x47fa1d
cmp eax, ebx
mov byte [esp + 0x38], bl
je 0x47fa5e
mov eax, dword [esp + 0x18]
dec eax
je 0x47fa0b
dec eax
jne 0x47fa5e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
call fcn.0053c8b0
jmp 0x47fa5e
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x20]
call fcn.0053c580
jmp 0x47fa5e
push 0x620918
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], ebx
call fcn.004657a0
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x28]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call fcn.00481ae0
lea ecx, [esp + 0x10]
mov dword [esi + 0xc], ebx
mov dword [esi + 4], 1
mov dword [esi + 8], ebx
mov byte [esp + 0x38], bl
call fcn.0047fac0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], edx
call fcn.004657a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
mov ebp, 1
cmp eax, ebx
mov dword [esi + 0x18], ecx
mov dword [esi + 0xc], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebx
mov dword [esp + 0x38], 0xffffffff
je 0x47faa3
mov edx, dword [esp + 0x20]
mov ecx, edi
push edx
call fcn.0053c8b0
mov ecx, dword [esp + 0x30]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x480bf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5aa5d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
lea ebx, [esi + 0x3c]
push 0x281
push str.D:Backup_
push edi
mov ecx, ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 2
call fcn.0053c630
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0xc]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0x34], ebp
jne 0x480c6f
cmp eax, ebp
mov dword [esi + 4], 0xf002
mov dword [esi + 8], 0x284
mov dword [esp + 0x34], 0xffffffff
je 0x480df8
jmp 0x480df0
cmp dword [esp + 0x3c], ebp
je 0x480dd6
cmp dword [esp + 0x40], ebp
je 0x480dd6
mov eax, dword [esi + 0x30]
xor ebx, ebx
cmp eax, ebp
jle 0x480cc9
mov edi, dword [esi + 0x2c]
mov eax, dword [esp + 0x3c]
add edi, ebp
push eax
mov ecx, dword [edi]
push ecx
call fcn.0044d19a
add esp, 8
test eax, eax
jne 0x480cbe
mov edx, dword [esp + 0x40]
mov eax, dword [edi + 4]
push edx
push eax
call fcn.0044d19a
add esp, 8
test eax, eax
je 0x480da4
mov eax, dword [esi + 0x30]
inc ebx
add ebp, 0xc
cmp ebx, eax
jl 0x480c8c
mov eax, dword [0x5be444]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 2
call fcn.00477240
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x38], 3
call fcn.004657a0
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call fcn.004657a0
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x18]
push edx
call fcn.004773a0
mov edi, dword [esi + 0x30]
add esi, 0x28
push 0xffffffffffffffff
mov ecx, esi
lea eax, [edi + 1]
push eax
call fcn.00481ae0
mov edx, dword [esi + 4]
lea ecx, [edi + edi*2]
lea eax, [esp + 0x10]
lea esi, [edx + ecx*4]
push eax
mov ecx, esi
call fcn.00465670
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 4]
call fcn.00465670
lea edx, [esp + 0x18]
lea ecx, [esi + 8]
push edx
call fcn.004773a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 5
call fcn.00477370
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call fcn.004654c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0
call fcn.004654c0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], 0xffffffff
test eax, eax
je 0x480d9d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push eax
call fcn.0053c8b0
mov eax, 1
jmp 0x480dfa
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [edi + 8]
call fcn.004773a0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], 0xffffffff
test eax, eax
je 0x480dcf
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push edx
call fcn.0053c8b0
mov eax, 2
jmp 0x480dfa
cmp eax, ebp
mov dword [esi + 4], 0xf000
mov dword [esi + 8], 0x28a
mov dword [esp + 0x34], 0xffffffff
je 0x480df8
push edi
mov ecx, ebx
call fcn.0053c8b0
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x481e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5aa75d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov ebp, ecx
push 0xc0
call fcn.0058879e
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x1c], ebx
je 0x481fc0
mov eax, dword [0x5be444]
push edi
lea edi, [esi + 4]
mov dword [esp + 0x14], edi
mov dword [edi + 0x28], eax
mov ecx, dword [0x5be444]
mov dword [edi + 0x2c], ecx
mov edx, dword [0x5be444]
mov dword [edi + 0x30], edx
mov eax, dword [0x5be444]
mov dword [edi + 0x34], eax
lea ecx, [edi + 0x38]
mov byte [esp + 0x20], 4
call fcn.0046c1d0
lea edx, [edi + 8]
xor ecx, ecx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov eax, dword [0x5be444]
mov dword [esi + 0x58], eax
mov ecx, dword [0x5be444]
mov dword [esi + 0x7c], ecx
mov edx, dword [0x5be444]
mov dword [esi + 0x84], edx
mov eax, dword [0x5be444]
mov dword [esi + 0x88], eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x94], ebx
lea ecx, [esi + 0x98]
mov byte [esp + 0x20], 6
call fcn.0046c1d0
mov dword [esi + 0xa8], 0x5b7b6c
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi], ebx
mov dword [ebp], esi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
mov dword [ebp], ebx
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x483abb
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5aaa8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x5be444]
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi + 0x28], eax
mov ecx, dword [0x5be444]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x2c], ecx
mov edx, dword [0x5be444]
mov dword [esi + 0x30], edx
mov eax, dword [0x5be444]
mov dword [esi + 0x34], eax
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 3
call fcn.0046c1d0
lea edx, [esi + 8]
xor ecx, ecx
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [edx], ecx
mov eax, esi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x485500
Capabilities:
Read .ini file

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x20c
push ebx
push ebp
push esi
xor esi, esi
cmp edx, esi
push edi
je 0x48562c
mov ebp, dword [esp + 0x224]
cmp ebp, esi
je 0x48562c
mov ebx, dword [esp + 0x228]
cmp ebx, esi
je 0x48562c
cmp word [edx], si
je 0x48562c
cmp word [ebp], si
je 0x48562c
cmp word [ebx], si
je 0x48562c
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea eax, [esp + 0x18]
push 0x104
push eax
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, esi
je 0x48562c
cmp eax, 0x103
jae 0x4855aa
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x230]
call fcn.0058826c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20c
ret
mov dword [esp + 0x10], esi
mov esi, 0x400
cmp esi, 0xa00000
jae 0x48561d
add esi, esi
lea edx, [esi + esi]
push edx
call fcn.0058879e
mov edi, eax
add esp, 4
test edi, edi
je 0x48561d
mov eax, dword [esp + 0x220]
push eax
push esi
push edi
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x4855ee
lea ecx, [esi - 1]
cmp eax, ecx
jb 0x4855f9
push edi
call fcn.005887c7
add esp, 4
jmp 0x4855b3
mov ecx, dword [esp + 0x22c]
push edi
mov dword [esp + 0x14], 1
mov word [edi + eax*2], 0
call fcn.0058826c
push edi
call fcn.005887c7
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret