joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43aecc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x43afe8
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43afe7
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
jne 0x43af21
mov ebx, 0x1000
mov dword [ebp - 0x28], ebx
mov edx, dword [ebp + 0x10]
lea ecx, [edi + esi - 1]
mov dword [ebp - 8], ecx
xor esi, esi
xor ecx, ecx
mov dword [ebp - 4], edi
test edx, edx
je 0x43af43
mov eax, dword [edx]
mov ecx, dword [eax]
cmp ecx, eax
jne 0x43af43
mov dword [ebp + 0x10], esi
mov edx, esi
cmp edi, dword [ebp - 8]
jae 0x43afd9
mov edi, ebx
test edx, edx
je 0x43afbb
mov eax, dword [ecx + 0xc]
cmp esi, eax
seta byte [ebp + 0xb]
cmp eax, esi
jae 0x43af74
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ecx]
cmp ecx, eax
sete dl
test dl, dl
jne 0x43afd6
cmp dword [ecx + 0xc], esi
jb 0x43af64
cmp byte [ebp + 0xb], 0
je 0x43af9f
mov eax, dword [ecx + 8]
lea edx, [esi + ebx]
cmp edx, eax
jae 0x43af9f
sub eax, esi
xor edx, edx
div ebx
test eax, eax
jne 0x43af93
mov eax, 1
mov edx, dword [ebp + 0x10]
imul eax, ebx
mov edi, eax
add esi, edi
jmp 0x43afc3
lea eax, [esi + ebx]
cmp eax, dword [ecx + 8]
jb 0x43afb4
cmp esi, dword [ecx + 0xc]
ja 0x43afb4
mov edx, dword [ebp - 4]
mov al, byte [edx]
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x10]
add esi, edi
jmp 0x43afc3
mov eax, dword [ebp - 4]
mov al, byte [eax]
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, edi
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
jb 0x43af4c
jmp 0x43afd9
mov edx, dword [ebp + 0x10]
pop ebx
test edx, edx
je 0x43afe2
cmp ecx, dword [edx]
je 0x43afe7
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x43b432
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493347
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [section..data]
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 eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov ax, word [0x4cd17c]
cmp ax, 0xffff
je 0x43b47f
xor ecx, ecx
cmp ax, 1
sete cl
mov eax, ecx
jmp 0x43b49b
push 0
push 0
push 6
call fcn.0043acc9
xor edx, edx
add esp, 0xc
test eax, eax
setne dl
mov word [0x4cd17c], dx
xor edi, edi
cmp eax, edi
je 0x43b596
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x30], edi
call fcn.00413fd2
mov dword [ebp - 4], edi
cmp ebx, edi
jne 0x43b516
mov edx, dword [ebp - 0x34]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43b4d2
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00403bac
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0043b2c3
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
jb 0x43b541
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f07
add esp, 4
jmp 0x43b541
mov ecx, dword [ebx]
mov ebx, dword [ecx]
sub esp, 0xc
mov eax, esp
lea edx, [ebp - 0x30]
mov dword [eax], edx
lea esi, [ebp - 0x78]
mov dword [eax + 4], esi
push ecx
lea edi, [ebp - 0x34]
mov dword [eax + 8], edi
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.0043b346
add esp, 0x18
lea ecx, [ebp - 0x78]
call fcn.00414de1
lea ecx, [ebp - 0x58]
push ecx
mov esi, eax
call fcn.0041503c
mov ecx, dword [ebp - 0x30]
xor edx, edx
test al, al
setne dl
push edx
push esi
push ecx
push str.count:__ld__real:__ld__wait:__ld
call fcn.004150a2
mov ecx, dword [ebp - 0x30]
add esp, 0x14
test ecx, ecx
je 0x43b581
cmp esi, ecx
jne 0x43b581
test al, al
je 0x43b581
mov bl, 1
jmp 0x43b583
xor bl, bl
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.004150a3
mov al, bl
jmp 0x43b5f1
mov edx, dword [ebp - 0x34]
push 9
push edi
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, edi
jne 0x43b5ad
xor al, al
jmp 0x43b5f1
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x43b5a9
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x43b5a9
mov edx, 0xe0
cmp word [eax + 0x14], dx
jne 0x43b5a9
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x43b5a9
mov edx, dword [eax + 0x50]
push ebx
push edx
push esi
call fcn.0043aecc
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
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.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x43bf67
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493576
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4cd180], 0xffffffff
jne 0x43c055
lea eax, [ebp - 0x64]
push eax
call fcn.00404968
push str.cfgs_setup.cfg
push eax
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 4], 0
call fcn.00405aad
add esp, 0x10
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x43bfd5
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404f07
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00404e0e
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x43c007
lea eax, [ebp - 0x2c]
push eax
push 0
push str.SupportNewLangs
push str.Local
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x4cd180], eax
cmp dword [ebp - 0x18], esi
jb 0x43c030
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f07
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x43c055
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00404f07
add esp, 4
xor eax, eax
cmp dword [0x4cd180], 1
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x43c07b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4935c7
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [section..data]
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 edi, dword [ebp + 8]
lea eax, [ebp - 0x26c]
xor esi, esi
push eax
mov dword [ebp - 0x270], esi
call fcn.00404968
push str.cfgs_setup.cfg
push eax
lea ecx, [ebp - 0x250]
push ecx
mov dword [ebp - 4], esi
call fcn.00405aad
add esp, 0x10
mov ebx, 8
cmp dword [ebp - 0x258], ebx
jb 0x43c0f4
mov edx, dword [ebp - 0x26c]
push edx
call fcn.00404f07
add esp, 4
mov ecx, dword [0x4a79a4]
mov eax, dword [str.0.0.0.0]
mov edx, dword [0x4a79a8]
push 0x1f8
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x218], eax
mov eax, dword [0x4a79ac]
lea ecx, [ebp - 0x208]
push esi
push ecx
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x20c], eax
call fcn.00402e70
xor edx, edx
add esp, 0xc
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], esi
mov word [ebp - 0x234], dx
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
call fcn.00404e0e
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x220], ebx
jae 0x43c181
lea eax, [ebp - 0x234]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.MajorVersion
push str.Version
call esi
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x43c1af
lea eax, [ebp - 0x234]
push eax
push 0
push str.FirstVersion
push str.Version
call esi
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x43c1d8
lea eax, [ebp - 0x234]
push eax
push 0
push str.SecondVersion
push str.Version
call esi
cmp dword [ebp - 0x220], 8
mov ebx, eax
mov eax, dword [ebp - 0x234]
jae 0x43c1fe
lea eax, [ebp - 0x234]
push eax
push 0
push str.Version
push str.Version
call esi
mov ecx, dword [ebp - 0x274]
mov edx, dword [ebp - 0x270]
push eax
push ebx
push ecx
push edx
push str._u._u._u._u
lea eax, [ebp - 0x218]
push 0x103
push eax
call fcn.0044b98f
xor ebx, ebx
add esp, 0x1c
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43c250
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
mov ecx, edi
call fcn.00403bac
mov esi, 8
cmp dword [ebp - 0x220], esi
jb 0x43c28a
mov eax, dword [ebp - 0x234]
push eax
call fcn.00404f07
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
cmp dword [ebp - 0x23c], esi
jb 0x43c2ba
mov edx, dword [ebp - 0x250]
push edx
call fcn.00404f07
add esp, 4
mov eax, edi
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.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x43c764
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49369f
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [section..data]
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 eax, dword [ebp + 8]
mov ebx, edx
push eax
lea edx, [ebp - 0x64]
xor esi, esi
push edx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x70], esi
call fcn.0043bae7
push 0x49b980
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 4], esi
call fcn.00404f12
push str.lang.conf
push eax
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 1
call fcn.00405aad
add esp, 0x20
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 3
jb 0x43c7ea
mov eax, dword [ebp - 0x48]
push eax
call fcn.00404f07
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
mov edi, 0x80
lea eax, [ecx + 0x7e]
mov edi, edi
test esi, esi
je 0x43c81f
cmp word [esi + edi*2 - 4], 0
jne 0x43c872
cmp word [esi + edi*2 - 2], 0
jne 0x43c872
lea edx, [edi - 2]
cmp eax, edx
jne 0x43c872
add edi, edi
test esi, esi
je 0x43c82e
push esi
call fcn.004021bf
add esp, 4
lea ebx, [edi + edi]
push ebx
call fcn.00401a66
push ebx
mov esi, eax
push 0
push esi
call fcn.00402e70
mov eax, dword [ebp - 0x2c]
add esp, 0x10
cmp dword [ebp - 0x18], 8
jae 0x43c851
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x68]
push eax
push edi
push esi
push 0x49df68
call fcn.00404dd0
push eax
push str.Language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, dword [ebp - 0x6c]
jmp 0x43c804
xor ecx, ecx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push eax
mov word [ebx], cx
push esi
mov ecx, ebx
call fcn.00403bac
push esi
call fcn.004021bf
mov esi, 8
add esp, 4
cmp dword [ebp - 0x18], esi
jb 0x43c8ad
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f07
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], esi
jb 0x43c8d2
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00404f07
add esp, 4
mov eax, ebx
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.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x43d162
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49137b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
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]
mov eax, 1
test byte [0x4d2540], al
jne 0x43d1ca
or dword [0x4d2540], eax
xor eax, eax
push 0x497869
mov dword [0x4d2538], 7
mov dword [0x4d2534], 0
mov word [0x4d2524], ax
call fcn.00403649
add esp, 4
cmp dword [0x4d2534], 0
jne 0x43d230
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0043bba4
add esp, 8
push eax
mov ecx, 0x4d2524
mov dword [ebp - 4], 0
call fcn.00403c9c
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], 0xffffffff
jb 0x43d214
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f07
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [0x4d2534], eax
je 0x43d23c
push 0x4d2524
mov ecx, esi
call fcn.0040b2f1
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x43df67
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x10], 0
jne 0x43df70
xor al, al
ret
cmp dword [ecx + 0x14], 8
jb 0x43df78
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43df8e
test al, 0x10
je 0x43df8e
mov eax, 1
ret
xor eax, eax
ret

Function at 0x43ece0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493b74
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x10], ebx
jl 0x43ed79
mov esi, dword [ebp + 0xc]
jg 0x43ed29
cmp esi, ebx
jbe 0x43ed79
cmp dword [edi], 0xffffffff
je 0x43ed79
push esi
lea ecx, [ebp - 0x20]
call fcn.00422b62
mov ecx, dword [ebp - 0x20]
mov edx, dword [edi]
push ebx
lea eax, [ebp + 0x10]
push eax
push esi
push ecx
push edx
mov dword [ebp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.00422b62
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.0043e86b
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x43ed87
push eax
call fcn.00404f07
add esp, 4
jmp 0x43ed87
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x20]
push edx
mov ecx, esi
call fcn.0043e86b
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43f08a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push ecx
lea eax, [ebp - 0x20]
push eax
call fcn.0043ee59
add esp, 8
cmp dword [ebp - 0x10], 0
je 0x43f0ce
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x43f0ba
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43f0ce
test al, 0x10
je 0x43f0ce
mov bl, 1
jmp 0x43f0d0
xor bl, bl
cmp dword [ebp - 0xc], 8
jb 0x43f0e2
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00404f07
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x43fe9a
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493068
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
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]
mov edi, 8
cmp dword [esi + 0x14], edi
jb 0x43fed5
mov eax, dword [esi]
jmp 0x43fed7
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43ff8d
cmp dword [esi + 0x14], edi
jb 0x43fef0
mov eax, dword [esi]
jmp 0x43fef2
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push eax
call edi
test eax, eax
jne 0x43ff8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x43ff8d
xor eax, eax
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00404e0e
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], 0
call fcn.0043fdf4
add esp, 4
cmp dword [esi + 0x10], 0
jne 0x43ff57
lea ecx, [ebp - 0x2c]
call fcn.0040a4bf
xor eax, eax
jmp 0x43ff92
lea edx, [ebp - 0x2c]
push edx
call fcn.0043fe9a
add esp, 4
test eax, eax
je 0x43ff4b
cmp dword [esi + 0x14], 8
jb 0x43ff6f
mov esi, dword [esi]
push 0
push esi
call edi
test eax, eax
jne 0x43ff85
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43ff4b
lea ecx, [ebp - 0x2c]
call fcn.0040a4bf
mov eax, 1
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.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x44363a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4945dd
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [ebp - 0x2ba]
mov dword [ebp - 0x2c4], esi
mov dword [ebp - 0x2c0], ebx
call fcn.004067b0
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov dword [ebp - 4], 1
mov word [ebp - 0x218], ax
call fcn.00402e70
lea edx, [ebp - 0x250]
push edx
call fcn.00404968
add esp, 0x10
push eax
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 2
call fcn.0040551b
mov edi, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x23c], edi
jb 0x4436e1
mov eax, dword [ebp - 0x250]
push eax
call fcn.00404f07
add esp, 4
xor ecx, ecx
xor edx, edx
mov eax, 7
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x240], ecx
mov word [ebp - 0x250], dx
cmp byte [0x4d256c], cl
jne 0x4437aa
mov dword [ebp - 0x220], eax
push 0x23
mov dword [ebp - 0x224], ecx
xor eax, eax
push str.Support_GetWinSpecialFoldersFromReg
lea ecx, [ebp - 0x234]
mov word [ebp - 0x234], ax
call fcn.00403bac
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x26c]
mov ebx, 1
push edx
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 5
mov dword [ebp - 0x2c0], ebx
call fcn.00407419
mov eax, dword [ebp - 0x26c]
cmp dword [ebp - 0x258], edi
jae 0x44376c
lea eax, [ebp - 0x26c]
push str.true
push eax
call fcn.00406acb
add esp, 8
test eax, eax
sete byte [ebp - 0x2b9]
cmp dword [ebp - 0x258], edi
jb 0x44379a
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00404f07
add esp, 4
cmp byte [ebp - 0x2b9], 0
mov byte [ebp - 0x2b9], 0
je 0x4437b1
mov byte [ebp - 0x2b9], 1
mov dword [ebp - 4], 4
test bl, 1
je 0x4437dd
and ebx, 0xfffffffe
mov dword [ebp - 0x2c0], ebx
cmp dword [ebp - 0x220], edi
jb 0x4437dd
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00404f07
add esp, 4
cmp byte [ebp - 0x2b9], 0
je 0x443805
push 0xa
push 0xffffffffffffffff
lea edx, [ebp - 0x218]
push 0x104
push edx
mov edx, dword [ebp + 8]
xor ecx, ecx
call fcn.00443320
add esp, 0x10
jmp 0x44381a
mov eax, dword [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
lea eax, [ebp - 0x218]
mov word [esi], dx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44383a
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00403bac
or ebx, 2
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2c0], ebx
mov byte [ebp - 4], 1
call fcn.0041b572
cmp byte [ebp - 0x2ba], 0
je 0x44387f
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x454f92
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00401445
and dword [ebp - 0x14], 0
cmp dword [0x4d2f3c], 0
mov dword [ebp - 0x18], eax
jne 0x455045
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4550ed
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4550ed
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4d2f3c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4d2f40], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4d2f44], eax
call edi
push eax
call esi
mov dword [0x4d2f4c], eax
test eax, eax
je 0x455045
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4d2f48], eax
mov eax, dword [0x4d2f48]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x45509e
cmp dword [0x4d2f4c], ecx
je 0x45509e
push eax
call esi
push dword [0x4d2f4c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x45509e
test ebx, ebx
je 0x45509e
call edi
test eax, eax
je 0x455095
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x455095
test byte [ebp - 8], 1
jne 0x45509e
or dword [ebp + 0x10], 0x200000
jmp 0x4550d1
mov eax, dword [0x4d2f40]
cmp eax, dword [ebp - 0x18]
je 0x4550d1
push eax
call esi
test eax, eax
je 0x4550d1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4550d1
mov eax, dword [0x4d2f44]
cmp eax, dword [ebp - 0x18]
je 0x4550d1
push eax
call esi
test eax, eax
je 0x4550d1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4d2f3c]
call esi
test eax, eax
je 0x4550ed
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4550ef
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040330b
leave
ret
Function at 0x466a9e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495de9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
mov edi, edx
xor al, al
push edx
mov dword [ebp - 4], 0
rep stosb byte es:[edi], al
call fcn.00405e32
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov edi, edx
xor al, al
push edx
mov dword [ebp - 4], 1
rep stosb byte es:[edi], al
call fcn.00405e32
mov ecx, dword [esi + 0xc]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x466b13
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
test byte [ebp + 8], 1
je 0x466b22
push esi
call fcn.00404f07
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4