joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423b03
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x423b11
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x423be5
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x4da988]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x4da988]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x4da988]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x4da988]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x4da988]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x4da988]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x4da988]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x4da988]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x423b2e
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x423c05
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x4da988]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x423beb
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x446f30
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8e06
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4faa80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x446f9f
xor ecx, ecx
jmp 0x446fbf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x446fb0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446fb0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00448150
cmp dword [ebp - 0x220], 0
mov dword [ebp - 4], 0
jne 0x4470b2
xor eax, eax
mov dword [ebp - 0x234], 7
push eax
push 0x4ccff4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.00448150
mov eax, dword [0x4fec20]
lea edx, [ebp - 0x248]
push edx
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x60]
mov edi, eax
cmp esi, edi
je 0x447062
cmp dword [esi + 0x14], 8
jb 0x447047
push dword [esi]
call fcn.004ade67
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.004479e0
cmp dword [ebp - 0x24c], 8
jb 0x447079
push dword [ebp - 0x260]
call fcn.004ade67
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov byte [ebp - 4], al
jb 0x4470eb
push dword [ebp - 0x248]
call fcn.004ade67
add esp, 4
jmp 0x4470eb
lea eax, [ebp - 0x230]
cmp esi, eax
je 0x4470c8
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00448030
push 0xb
push 0x4cd014
mov ecx, esi
call fcn.00447f50
cmp dword [esi + 0x14], 8
jb 0x4470e0
mov eax, dword [esi]
jmp 0x4470e2
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xd
push str.Settings.dat
mov ecx, esi
call fcn.00447f50
cmp dword [ebp - 0x21c], 8
jb 0x447110
push dword [ebp - 0x230]
call fcn.004ade67
add esp, 4
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.004ae734
mov esp, ebp
pop ebp
ret 4
Function at 0x447200
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8e48
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4faa80]
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 esi, ecx
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
cmp byte [edx], 0
mov byte [ebp - 0x70], 0
jne 0x44724e
xor ecx, ecx
jmp 0x44725c
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447253
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00433940
cmp byte [edi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x447288
xor ecx, ecx
jmp 0x447299
mov ecx, edi
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447290
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00433940
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00448300
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00448300
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x4472d0
mov esi, dword [esi]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push esi
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x58]
push dword [ebp + 0x10]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebp - 0x2c], 8
mov esi, eax
jb 0x447305
push dword [ebp - 0x40]
call fcn.004ade67
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x44732a
push dword [ebp - 0x58]
call fcn.004ade67
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x44734f
push dword [ebp - 0x28]
call fcn.004ade67
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x447372
push dword [ebp - 0x70]
call fcn.004ade67
add esp, 4
mov eax, esi
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.004ae734
mov esp, ebp
pop ebp
ret 0xc
Function at 0x454d30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4faa80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x458
mov edx, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x454d9f
push eax
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0x4cd308
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x454d9f
lea eax, [ebp - 0x104]
push eax
call fcn.004b062f
fstp dword [ebp - 0x108]
fld dword [ebp - 0x108]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae734
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
fld dword [ebp + 0x14]
xor ecx, ebp
call fcn.004ae734
mov esp, ebp
pop ebp
ret 0x10

Function at 0x454dc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4faa80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x458
mov edx, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x454e23
push eax
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0x4cd308
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x454e23
lea eax, [ebp - 0x104]
push eax
call fcn.004b0640
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae734
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
xor ecx, ebp
call fcn.004ae734
mov esp, ebp
pop ebp
ret 0x10

Function at 0x454e40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp byte [eax + 0x458], 0
lea ecx, [eax + 0x458]
push esi
je 0x454e79
push ecx
push 0x100
lea esi, [eax + 0x22c]
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, esi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
add eax, 0x22c
mov esi, eax
sub esi, ecx
mov dl, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], dl
test dl, dl
jne 0x454e85
pop esi
pop ebp
ret 0x10
Function at 0x455ac0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0xa38]
test edi, edi
je 0x455b9c
test eax, eax
je 0x455aef
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0xa38], 0
mov eax, dword [esi]
lea ebx, [esi + 0xa3c]
push ebx
push edi
push esi
call dword [eax + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esi + 0xa38], eax
cmp eax, 0xffffffff
je 0x455c4a
test byte [ebx], 0x10
je 0x455b8d
mov ecx, 0x4cde7c
lea eax, [esi + 0xa68]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x455b43
test dl, dl
je 0x455b3f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x455b43
add eax, 2
add ecx, 2
test dl, dl
jne 0x455b23
xor eax, eax
jmp 0x455b48
sbb eax, eax
or eax, 1
test eax, eax
je 0x455b8d
mov ecx, 0x4cde80
lea eax, [esi + 0xa68]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x455b77
test dl, dl
je 0x455b73
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x455b77
add eax, 2
add ecx, 2
test dl, dl
jne 0x455b57
xor eax, eax
jmp 0x455b7c
sbb eax, eax
or eax, 1
test eax, eax
je 0x455b8d
pop edi
lea eax, [esi + 0xa68]
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x68]
pop edi
pop esi
pop ebx
pop ebp
ret 8
test eax, eax
je 0x455c54
lea edi, [esi + 0xa3c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x455c3e
lea ebx, [ebx]
test byte [edi], 0x10
je 0x455c2d
lea ecx, [esi + 0xa68]
mov edx, 0x4cde7c
mov eax, ecx
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x455bf2
test bl, bl
je 0x455bee
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x455bf2
add eax, 2
add edx, 2
test bl, bl
jne 0x455bd2
xor eax, eax
jmp 0x455bf7
sbb eax, eax
or eax, 1
test eax, eax
je 0x455c2d
mov eax, 0x4cde80
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x455c20
test dl, dl
je 0x455c1c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x455c20
add ecx, 2
add eax, 2
test dl, dl
jne 0x455c00
xor eax, eax
jmp 0x455c25
sbb eax, eax
or eax, 1
test eax, eax
jne 0x455b80
push edi
push dword [esi + 0xa38]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x455bc0
push dword [esi + 0xa38]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0xa38], 0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x457dd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4fdd7c]
push 3
push 0
push 0
push dword [ebp + 0xc]
push 0
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
seta al
pop ebp
ret 8
Function at 0x462820
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9b56
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x4faa80]
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 dword [ebp - 0x2b0], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2b4], esi
cmp dword [eax + 0x14], 8
jb 0x462868
mov eax, dword [eax]
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x462a25
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
jmp 0x4628a0
cmp word [ebp - 0x27c], 0
jne 0x4628ae
xor eax, eax
jmp 0x4628c6
lea eax, [ebp - 0x27c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4628b7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00448150
push 1
push 0x4cf250
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 0
call fcn.00462ea0
test eax, eax
je 0x4629f7
push 2
push 0x4cf254
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 0
call fcn.00462ea0
test eax, eax
je 0x4629f7
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.004557d0
add esp, 0xc
test byte [ebp - 0x2a8], 0x10
mov byte [ebp - 4], 1
jne 0x4629e2
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00462f30
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov ecx, dword [0x4fec38]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
mov byte [ebp - 4], 2
call fcn.00488820
mov edi, eax
test edi, edi
je 0x4629d1
push 0x1c
call fcn.004ade16
mov esi, eax
add esp, 4
mov dword [ebp - 0x2ac], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x4629aa
push edi
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00433810
mov ecx, esi
call fcn.00462320
jmp 0x4629ac
xor eax, eax
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x2ac]
push eax
mov byte [ebp - 4], 2
lea ecx, [ecx + 0x6c]
call fcn.0048c350
mov esi, dword [ebp - 0x2b4]
cmp dword [ebp - 0x2c], 0x10
jb 0x4629e2
push dword [ebp - 0x40]
call fcn.004ade67
add esp, 4
cmp dword [ebp - 0x44], 8
mov byte [ebp - 4], 0
jb 0x4629f7
push dword [ebp - 0x58]
call fcn.004ade67
add esp, 4
lea eax, [ebp - 0x2a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4628a0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 8
jb 0x462a25
push dword [ebp - 0x28]
call fcn.004ade67
add esp, 4
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.004ae734
mov esp, ebp
pop ebp
ret 8
Function at 0x46c500
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9f94
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4faa80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
mov dword [edi], vtable.CM3.0
lea ecx, [edi + 0x4c4]
push 0
mov dword [edi + 0x4c4], 0
mov dword [edi + 0x4c8], 0
call fcn.00474f00
mov dword [edi + 0x4c4], eax
push 0
push 0
lea ecx, [edi + 0x4cc]
mov dword [ebp - 4], 0
mov dword [edi + 0x4cc], 0
mov dword [edi + 0x4d0], 0
call fcn.00474f00
mov dword [edi + 0x4cc], eax
push 0
push 0
lea ecx, [edi + 0x4d4]
mov byte [ebp - 4], 1
mov dword [edi + 0x4d4], 0
mov dword [edi + 0x4d8], 0
call fcn.00474f00
mov dword [edi + 0x4d4], eax
push 0x48a900
push 0x46c4e0
push 0xa
push 0x28
lea eax, [edi + 0x510]
mov byte [ebp - 4], 2
push eax
call fcn.004b052f
lea ecx, [edi + 0x778]
mov byte [ebp - 4], 3
call fcn.0046c960
mov dword [edi + 0x1bd4], 0xf
mov dword [edi + 0x1bd0], 0
mov byte [edi + 0x1bc0], 0
mov dword [edi + 0x1bec], 0xf
mov dword [edi + 0x1be8], 0
mov byte [edi + 0x1bd8], 0
mov dword [edi + 0x1c04], 0xf
mov dword [edi + 0x1c00], 0
mov byte [edi + 0x1bf0], 0
mov dword [edi + 0x1c1c], 0xf
mov dword [edi + 0x1c18], 0
mov byte [edi + 0x1c08], 0
movsd xmm0, qword [0x4cc6d8]
lea eax, [edi + 4]
push 0x4c0
push 0
push eax
mov byte [ebp - 4], 5
movsd qword [edi + 0x4e0], xmm0
mov byte [edi + 0x1c24], 0
call fcn.004af850
push 0x12c8
lea eax, [edi + 0x1c68]
push 0
push eax
call fcn.004af850
xorps xmm0, xmm0
mov dword [edi + 0x1898], 0xff
push 0x48
mov dword [edi + 0x1b98], 0
mov dword [edi + 0x1b9c], 0
mov dword [edi + 0x1ba0], 0
mov dword [edi + 0x1c28], 0
mov dword [edi + 0x1c2c], 0
mov dword [edi + 0x1c30], 0
mov dword [edi + 0x1b94], 0
mov dword [edi + 0x1c20], 0
movups xmmword [edi + 0x4e8], xmm0
call fcn.004ade16
add esp, 0x1c
test eax, eax
je 0x46c742
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [edi + 0x2f44], eax
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
mov dword [edi + 0x2f44], 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 0x474a00
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca2ff
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4faa80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00474f00
mov dword [edi], eax
push 0
push 0
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00474f00
mov dword [edi + 8], eax
push 0
push 0
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00474f00
mov dword [edi + 0x10], eax
push 0
push 0
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 2
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.00474f00
mov dword [edi + 0x18], eax
push 0
push 0
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 3
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.00474f00
mov dword [edi + 0x20], eax
push 0
push 0
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 4
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00474f00
mov dword [edi + 0x28], eax
push 0
push 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 5
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.00474f00
mov dword [edi + 0x30], eax
mov eax, edi
mov byte [edi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4846c0
Capabilities:
Get geographical location

Disassembly:
mov edx, dword [ecx + 0x964]
test edx, edx
js 0x4846f2
mov eax, dword [ecx + 0x980]
sub eax, dword [ecx + 0x97c]
sar eax, 2
cmp edx, eax
jge 0x4846f2
mov eax, dword [ecx + 0x97c]
mov eax, dword [eax + edx*4]
add dword [eax + 0x2a4], 5
jmp fcn.004867a0
ret

Function at 0x484700
Capabilities:
Get geographical location

Disassembly:
mov edx, dword [ecx + 0x964]
test edx, edx
js 0x484732
mov eax, dword [ecx + 0x980]
sub eax, dword [ecx + 0x97c]
sar eax, 2
cmp edx, eax
jge 0x484732
mov eax, dword [ecx + 0x97c]
mov eax, dword [eax + edx*4]
add dword [eax + 0x2a0], 0x28
jmp fcn.004867a0
ret

Function at 0x484ab0
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca7d6
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4faa80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x484b1f
xor ecx, ecx
jmp 0x484b3f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x484b30
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x484b30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00448150
cmp dword [ebp - 0x220], 0
mov dword [ebp - 4], 0
jne 0x484c21
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov eax, dword [0x4fec20]
lea edx, [ebp - 0x260]
push edx
lea edx, [ebp - 0x248]
mov byte [ebp - 4], 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x60]
mov edi, eax
cmp esi, edi
je 0x484bd1
cmp dword [esi + 0x14], 8
jb 0x484bb6
push dword [esi]
call fcn.004ade67
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.004479e0
cmp dword [ebp - 0x234], 8
jb 0x484be8
push dword [ebp - 0x248]
call fcn.004ade67
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x24c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov byte [ebp - 4], al
jb 0x484c5a
push dword [ebp - 0x260]
call fcn.004ade67
add esp, 4
jmp 0x484c5a
lea eax, [ebp - 0x230]
cmp esi, eax
je 0x484c37
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00448030
push 0xb
push 0x4cd014
mov ecx, esi
call fcn.00447f50
cmp dword [esi + 0x14], 8
jb 0x484c4f
mov eax, dword [esi]
jmp 0x484c51
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xd
push 0x4d29c0
mov ecx, esi
call fcn.00447f50
cmp dword [ebp - 0x21c], 8
jb 0x484c7f
push dword [ebp - 0x230]
call fcn.004ade67
add esp, 4
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.004ae734
mov esp, ebp
pop ebp
ret 4
Function at 0x48aad0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cac08
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4faa80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x4d2c98
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00448150
mov eax, dword [0x4fec20]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x60]
cmp dword [eax + 0x14], 8
jb 0x48ab40
mov eax, dword [eax]
push 0
push 0x10000080
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [ebp - 0x2c], 8
mov dword [esi], eax
jb 0x48ab6c
push dword [ebp - 0x40]
call fcn.004ade67
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
jb 0x48ab98
push dword [ebp - 0x28]
call fcn.004ade67
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [esi]
mov dword [ebp - 0x18], 0
cmp eax, 0xffffffff
jne 0x48abb7
xor al, al
jmp 0x48ac04
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 4], eax
test eax, eax
je 0x48abb3
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push 0
push 0
push 4
push dword [esi + 4]
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
test eax, eax
je 0x48abb3
mov ecx, esi
call fcn.0048ac20
test al, al
je 0x48abb3
mov byte [esi + 0x10], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae734
mov esp, ebp
pop ebp
ret