joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49e8c0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4f4898
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
call fcn.00481240
mov dword [0x532410], eax
call fcn.004811a0
test al, al
je 0x49e91e
call fcn.004811f0
push eax
call fcn.00406a40
add esp, 4
mov bl, al
call fcn.0049ea80
jmp 0x49ea0f
lea ecx, [esp + 0x48]
call fcn.004812f0
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x4c]
mov esi, 8
cmp dword [esp + 0x60], esi
jae 0x49e942
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00481370
add esp, 8
mov bl, 1
mov byte [esp + 0x70], bl
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], esi
jae 0x49e964
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49e9b9
mov edi, str._resdeftheme.data
lea ecx, [esp + 0x10]
call fcn.0047fda0
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0x7c], 2
call fcn.00401850
mov byte [esp + 0x70], bl
cmp dword [esp + 0x28], esi
jb 0x49e9a7
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004c8f17
add esp, 4
push str.deftheme
mov edi, str.skin
call fcn.0047f900
add esp, 4
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], esi
jae 0x49e9c7
lea eax, [esp + 0x30]
push eax
call fcn.00406720
add esp, 4
mov bl, al
cmp dword [esp + 0x44], esi
jb 0x49e9e5
mov edx, dword [esp + 0x30]
push edx
call fcn.004c8f17
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
cmp dword [esp + 0x60], esi
jb 0x49ea0f
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004c8f17
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004c8f08
add esp, 0x64
ret
Function at 0x49ea80
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
call fcn.00403c40
lea ecx, [esp + 0x10]
push ecx
push 0x49ea30
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edi, eax
sub edi, ecx
sar edi, 2
xor esi, esi
test edi, edi
jle 0x49eb6e
mov ebx, dword [sym.imp.USER32.dll_GetClassNameW]
jmp 0x49eae4
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x49eaf6
call fcn.004c96d9
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + esi*4]
push 0x104
lea edx, [esp + 0x2c]
push edx
push eax
call ebx
push 4
lea ecx, [esp + 0x2c]
push str.DTL_
push ecx
call fcn.004cded7
add esp, 0xc
test eax, eax
je 0x49eb36
push 0xc
lea edx, [esp + 0x2c]
push 0x50f970
push edx
call fcn.004cded7
add esp, 0xc
test eax, eax
jne 0x49eb61
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x1c]
sar eax, 2
cmp esi, eax
jb 0x49eb4a
call fcn.004c96d9
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + esi*4]
push 0
push 0
push 0x83e7
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x1c]
inc esi
cmp esi, edi
jl 0x49eae0
test ecx, ecx
je 0x49eb7b
push ecx
call fcn.004c8f17
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
push eax
call fcn.004c8f17
mov ecx, dword [esp + 0x238]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c8f08
mov esp, ebp
pop ebp
ret

Function at 0x49ff20
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x1c], eax
push edi
lea edi, [esp + 4]
call fcn.0049ffa0
cmp dword [esp + 0x1c], 8
mov eax, dword [esp + 8]
pop edi
jae 0x49ff48
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49ff78
cmp dword [esp + 0x18], 8
jb 0x49ff67
mov eax, dword [esp + 4]
push eax
call fcn.004c8f17
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004c8f08
add esp, 0x20
ret
cmp dword [esp + 0x18], 8
jb 0x49ff8c
mov ecx, dword [esp + 4]
push ecx
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x1c]
xor ecx, esp
xor al, al
call fcn.004c8f08
add esp, 0x20
ret
Function at 0x49ffa0
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4eed90
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
call fcn.00481160
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x18]
mov ebp, 8
cmp dword [esp + 0x2c], ebp
jae 0x49fff9
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a0074
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x4a0012
lea eax, [esp + 0x18]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4a0074
mov esi, 7
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
push 0xffffffffffffffff
mov byte [esp + 0x5c], 1
push ebx
lea edx, [esp + 0x38]
xor ecx, ecx
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push edx
mov eax, edi
mov word [edi + 4], cx
call fcn.00401850
cmp dword [esp + 0x48], ebp
jb 0x4a0063
mov eax, dword [esp + 0x34]
push eax
call fcn.004c8f17
add esp, 4
xor ecx, ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
jmp 0x4a00b1
push 1
push 0x4fea60
lea eax, [esp + 0x1c]
call fcn.004088a0
push 0xffffffffffffffff
push ebx
add esi, 0x5c
push esi
lea esi, [esp + 0x20]
call fcn.00408f90
push 0xffffffffffffffff
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
mov ecx, esi
mov word [edi + 4], ax
push ecx
mov eax, edi
call fcn.00401850
cmp dword [esp + 0x2c], ebp
jb 0x4a00c4
mov edx, dword [esp + 0x18]
push edx
call fcn.004c8f17
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004c8f08
add esp, 0x4c
ret
Function at 0x4a0300
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4f3588
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea esi, [esp + 0x20]
call fcn.004a0270
xor esi, esi
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x24]
mov ebx, 8
cmp dword [esp + 0x38], ebx
jae 0x4a0354
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a0379
cmp dword [esp + 0x38], ebx
jb 0x4a0372
mov eax, dword [esp + 0x24]
push eax
call fcn.004c8f17
add esp, 4
xor al, al
jmp 0x4a0442
call fcn.004a0290
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], ebx
jae 0x4a038c
lea eax, [esp + 0x24]
push eax
call fcn.00406840
mov edi, eax
add esp, 4
cmp edi, esi
jne 0x4a03b5
cmp dword [esp + 0x38], ebx
jb 0x4a0372
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004c8f17
add esp, 4
xor al, al
jmp 0x4a0442
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
lea ebx, [edi + 4]
push ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
call fcn.00406050
test al, al
jne 0x4a03e1
lea ecx, [esp + 0x20]
call fcn.004016f0
xor al, al
jmp 0x4a0442
mov ebp, dword [esp + 0x18]
add ebp, 2
push ebp
call fcn.004c85fa
add esp, 4
push ebp
mov esi, eax
push 0
push esi
call fcn.004d1df0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add esp, 0xc
push ecx
push edx
push esi
call fcn.004d0a80
add esp, 0xc
push edi
mov ecx, esi
call fcn.004a0470
add esp, 4
push esi
call fcn.004c8f17
add esp, 4
mov eax, ebx
call fcn.00405ec0
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
lea ecx, [esp + 0x20]
call fcn.004016f0
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004c8f08
add esp, 0x38
ret
Function at 0x4a3580
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4f29a0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x64]
mov eax, dword [ebp]
mov edx, dword [eax + 0x20]
mov edi, ecx
mov ecx, ebp
call edx
xor ebx, ebx
cmp eax, ebx
je 0x4a35cd
mov eax, dword [eax + 4]
jmp 0x4a35cf
xor eax, eax
push 1
push 0x5048c8
push str._fT
push eax
call fcn.00409ca0
add esp, 0x10
cmp eax, 1
je 0x4a35f0
xor al, al
jmp 0x4a375f
mov ecx, dword [edi + 0x100]
mov byte [edi + 0x128], bl
cmp ecx, ebx
je 0x4a3608
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
push 0x532ba8
mov edx, str.skinDefaultSkinBg.png
call fcn.00405f10
mov dword [edi + 0x100], eax
cmp byte [edi + 0xe0], bl
je 0x4a3634
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
mov ecx, edi
mov byte [edi + 0xe0], bl
call edx
lea esi, [esp + 0x30]
mov eax, edi
call fcn.0049f700
mov dword [esp + 0x5c], ebx
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x4a3652
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
call fcn.00410d20
lea eax, [esp + 0x18]
push eax
call fcn.00403c40
mov byte [esp + 0x5c], 1
mov eax, dword [ebp + 0xd4]
cmp eax, ebx
je 0x4a3689
mov ecx, dword [eax + 0x98]
push ecx
lea eax, [esp + 0x1c]
call fcn.004108f0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 0x1e
jbe 0x4a3714
mov edi, 1
mov eax, edx
sub eax, ecx
sar eax, 2
mov esi, eax
sub esi, edi
cmp esi, eax
jb 0x4a36be
call fcn.004c96d9
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + esi*4]
cmp dword [esi + 0x114], ebx
jne 0x4a3714
cmp dword [esi + 0x120], ebx
jne 0x4a3714
cmp byte [esi + 0x128], bl
jne 0x4a3714
inc edi
cmp edi, 0xa
jle 0x4a36a2
mov edi, 1
jmp 0x4a36ee
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
sub edx, ecx
mov eax, edx
sar eax, 2
mov esi, eax
sub esi, edi
cmp esi, eax
jb 0x4a3706
call fcn.004c96d9
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + esi*4]
call fcn.00410be0
inc edi
cmp edi, 0xa
jle 0x4a36e6
mov eax, dword [ebp + 0xd4]
call fcn.0040f2f0
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4a3730
push eax
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004c8f17
add esp, 4
cmp dword [esp + 0x48], 8
jb 0x4a375d
mov edx, dword [esp + 0x34]
push edx
call fcn.004c8f17
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004c8f08
add esp, 0x4c
ret 4
Function at 0x4a38c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f14d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00403c40
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov ecx, dword [edi + 0xd4]
mov edx, dword [ecx + 0x98]
push edx
lea eax, [esp + 0x10]
call fcn.004108f0
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
xor esi, esi
sar eax, 2
cmp eax, ebx
jbe 0x4a3957
cmp esi, eax
jb 0x4a392b
call fcn.004c96d9
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + esi*4]
cmp byte [ecx + 0xe0], bl
je 0x4a3947
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
mov byte [ecx + 0xe0], bl
call eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
inc esi
sar eax, 2
cmp esi, eax
jb 0x4a392b
mov ecx, dword [edi + 0xbc]
sub ecx, dword [edi + 0xb8]
xor esi, esi
sar ecx, 2
test ecx, ecx
jbe 0x4a39e1
lea esp, [esp]
mov edx, dword [edi + 0xbc]
sub edx, dword [edi + 0xb8]
sar edx, 2
cmp esi, edx
jb 0x4a3988
call fcn.004c96d9
mov eax, dword [edi + 0xb8]
mov ecx, dword [eax + esi*4]
cmp byte [ecx + 0xe0], bl
jne 0x4a39ab
mov edx, dword [edi + 0xbc]
sub edx, eax
inc esi
sar edx, 2
cmp esi, edx
jb 0x4a3970
jmp 0x4a39e1
mov eax, dword [edi + 0xbc]
sub eax, dword [edi + 0xb8]
sar eax, 2
cmp esi, eax
jb 0x4a39c3
call fcn.004c96d9
mov ecx, dword [edi + 0xb8]
mov ecx, dword [ecx + esi*4]
cmp byte [ecx + 0xe0], bl
je 0x4a39e1
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
mov byte [ecx + 0xe0], bl
call eax
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x4a39ff
cmp byte [ecx + 0xe0], 1
je 0x4a39ff
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
mov byte [ecx + 0xe0], 1
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4a3a10
push eax
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0xc]
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a3c50
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4ecef8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], cx
push eax
mov dword [esp + 0x3c], ebx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov ecx, eax
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4a3cb0
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea esi, [esp + 0x18]
call fcn.00401760
push 0xffffffffffffffff
push ebx
mov eax, esi
xor edx, edx
push eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov eax, edi
mov word [edi + 4], dx
call fcn.00401850
cmp dword [esp + 0x28], 8
jb 0x4a3cfb
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004c8f17
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c8f08
add esp, 0x30
ret 4
Function at 0x4a68c0
Capabilities:
Delete file

Disassembly:
sub esp, 0x20
push esi
mov esi, eax
mov eax, dword [0x5323b8]
test eax, eax
je 0x4a68df
push 0
push 0xc
push 0x5101ac
push 0xf69ba
call eax
mov ecx, dword [esi + 0x88]
sub ecx, dword [esi + 0x84]
sar ecx, 2
test ecx, ecx
je 0x4a69a5
mov eax, dword [esi + 0x74]
test eax, eax
jge 0x4a6906
mov dword [esi + 0x74], 0
jmp 0x4a690c
cdq
idiv ecx
mov dword [esi + 0x74], edx
mov eax, dword [esi + 0x74]
mov ecx, esi
call fcn.004a7c50
test eax, eax
je 0x4a69a5
push 0
push 0x52decc
push 0x52dea0
push 0
push eax
call fcn.004eb16a
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4a69a5
mov eax, dword [esi + 0x12c]
mov eax, dword [eax + 0x28]
lea ecx, [esi + 0x12c]
lea edx, [esp + 8]
push edx
mov byte [esi + 0x1d0], 0
mov byte [esi + 0x14d], 0
call eax
cmp dword [eax + 0x18], 8
jb 0x4a696a
mov eax, dword [eax + 4]
jmp 0x4a696d
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x20], 8
jb 0x4a6988
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004c8f17
add esp, 4
cmp byte [0x532eb8], 0
je 0x4a69a5
push 6
push esi
call fcn.00474630
add esp, 8
pop esi
add esp, 0x20
jmp fcn.00476ac0
pop esi
add esp, 0x20
ret
Function at 0x4ab690
Capabilities:
Check for peb beingdebugged flag
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4eed20
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x40]
lea esi, [ebp + ebp + 2]
cmp esi, edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], ebp
jge 0x4ab784
sub esp, 0x38
lea ecx, [esi*8]
sub ecx, esi
lea eax, [ebx + ecx*8]
mov edx, esp
mov dword [esp + 0x5c], esp
lea edi, [eax - 0x38]
push edx
mov dword [esp + 0x5c], eax
call fcn.0044dcd0
mov edi, dword [esp + 0x58]
sub esp, 0x38
mov eax, esp
mov dword [esp + 0x8c], esp
push eax
mov byte [esp + 0xa4], 1
call fcn.0044dcd0
mov byte [esp + 0xa0], 0
call dword [esp + 0x84]
add esp, 0x70
test al, al
je 0x4ab73a
dec esi
lea edx, [ebp*8]
lea ecx, [esi*8]
sub ecx, esi
push 0xffffffffffffffff
sub edx, ebp
lea edi, [ebx + ecx*8]
lea ebp, [ebx + edx*8]
push 0
push edi
mov ecx, ebp
call fcn.00404e00
push 0xffffffffffffffff
push 0
add edi, 0x1c
push edi
lea ecx, [ebp + 0x1c]
call fcn.00404e00
mov ebp, esi
lea esi, [esi + esi + 2]
cmp esi, dword [esp + 0x40]
jl 0x4ab6e3
mov edi, dword [esp + 0x40]
cmp esi, edi
jne 0x4ab7be
lea ecx, [ebp*8]
lea eax, [edi*8]
sub ecx, ebp
push 0xffffffffffffffff
sub eax, edi
lea esi, [ebx + eax*8 - 0x38]
lea ebp, [ebx + ecx*8]
push 0
push esi
mov ecx, ebp
call fcn.00404e00
push 0xffffffffffffffff
push 0
add esi, 0x1c
push esi
lea ecx, [ebp + 0x1c]
call fcn.00404e00
lea ebp, [edi - 1]
mov edx, dword [esp + 0x14]
push edx
sub esp, 0x38
mov eax, esp
mov dword [esp + 0x58], esp
push eax
lea edi, [esp + 0x84]
call fcn.0044dcd0
mov ecx, dword [esp + 0x54]
push ecx
push ebp
push ebx
call fcn.004ab840
mov esi, 0x10
add esp, 0x48
cmp dword [esp + 0x78], esi
jb 0x4ab800
mov edx, dword [esp + 0x64]
push edx
call fcn.004c8f17
add esp, 4
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
cmp dword [esp + 0x5c], esi
jb 0x4ab828
mov eax, dword [esp + 0x48]
push eax
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x4abcc0
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebp
test ecx, ecx
je 0x4abddd
mov ebp, dword [esp + 0xc]
test ebp, ebp
jl 0x4abddd
test eax, eax
je 0x4abdc5
test ebp, ebp
jle 0x4abdc2
push ebx
push esi
push edi
lea esp, [esp]
cmp ebp, 3
jl 0x4abd5d
mov dl, byte [ecx]
movzx ebx, byte [ecx + 1]
movzx esi, dl
inc ecx
mov edx, esi
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 1]
movzx edi, byte [esp + 0x13]
mov byte [eax], dl
inc ecx
mov edx, edi
shr edx, 4
shl esi, 4
or edx, esi
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], dl
inc eax
movzx esi, bl
mov edx, esi
shr edx, 6
add edi, edi
add edi, edi
or edx, edi
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc eax
mov byte [eax], dl
inc eax
inc ecx
and esi, 0x3f
movzx edx, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
jmp 0x4abdaf
mov bl, byte [ecx]
inc ecx
cmp ebp, 2
jne 0x4abd6a
mov dl, byte [ecx]
inc ecx
jmp 0x4abd6c
xor dl, dl
movzx esi, bl
mov edi, esi
shr edi, 2
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edi, dl
mov edx, edi
shr edx, 4
shl esi, 4
or edx, esi
mov byte [eax], bl
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc eax
mov byte [eax], dl
inc eax
cmp ebp, 1
jne 0x4abd9f
mov dl, 0x3d
jmp 0x4abda9
and edi, 0xf
mov dl, byte [edi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
inc eax
mov byte [eax], 0x3d
sub ebp, 3
inc eax
test ebp, ebp
jg 0x4abcf0
mov ebp, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov byte [eax], 0
lea ecx, [ebp + 2]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, eax
add eax, eax
pop ebp
pop ecx
ret
or eax, 0xffffffff
pop ebp
pop ecx
ret
Function at 0x4aef90
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4f5d28
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x128], ebx
jne 0x4af11c
cmp byte [edi + 0x138], bl
je 0x4af11c
lea edx, [esp + 0x10]
call fcn.004af230
mov dword [esp + 0x70], ebx
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], ax
mov byte [esp + 0x70], 1
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x4af015
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4af0e3
lea ecx, [esp + 0x2c]
call fcn.00478eb0
test eax, eax
je 0x4af0e3
xor ecx, ecx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], cx
lea edx, [esp + 0x48]
mov byte [esp + 0x70], 2
mov eax, dword [edi + 0x130]
push edx
push eax
call fcn.0040c800
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x60], esi
jae 0x4af06c
lea ecx, [esp + 0x4c]
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x44], esi
jae 0x4af07a
lea ebx, [esp + 0x30]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], esi
jae 0x4af088
lea eax, [esp + 0x14]
cmp dword [edi + 0xfc], esi
jb 0x4af098
mov edx, dword [edi + 0xe8]
jmp 0x4af09e
lea edx, [edi + 0xe8]
push edi
push ebx
push eax
call fcn.0044c900
add esp, 0xc
push eax
call fcn.004af8b0
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], esi
jae 0x4af0bd
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x48]
call fcn.004016f0
lea ecx, [esp + 0x2c]
call fcn.004016f0
lea ecx, [esp + 0x10]
call fcn.004016f0
mov al, 1
jmp 0x4af11e
cmp dword [esp + 0x44], esi
jb 0x4af0f6
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004c8f17
add esp, 4
xor edx, edx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], dx
cmp dword [esp + 0x28], esi
jb 0x4af11c
mov eax, dword [esp + 0x14]
push eax
call fcn.004c8f17
add esp, 4
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004c8f08
add esp, 0x64
ret
Function at 0x4afd60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f729b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
push 0x532ba8
mov edx, 0x502adc
call fcn.00405f10
push 0x532ba8
mov edx, str.mainwnduiclose_button.png
mov dword [ebx + 0xc], eax
call fcn.00405f10
mov edi, dword [ebp + 8]
push eax
push 0x17
push 0x22
push 0
push 0
push 0x4feab8
push edi
mov ecx, 4
call fcn.004021b0
add esp, 0x1c
push 2
push 0x502b64
lea esi, [eax + 0x58]
mov dword [ebx + 0x14], eax
call fcn.00401760
mov edx, dword [ebx + 0x14]
push 0x4b0090
push ebx
call fcn.00402400
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x28]
add esp, 8
push eax
push ecx
xor esi, esi
push esi
push esi
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_SetRect]
push 0xfffffffffffffff7
push 0xfffffffffffffff6
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
add dword [esp + 0x18], 0x28
push 0xc4
call fcn.004c8f3d
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], esi
cmp eax, esi
je 0x4afe43
push eax
call fcn.004ad540
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
mov dword [ebx + 0x40], esi
call fcn.00410b30
mov esi, dword [ebx + 0x40]
call fcn.00410cb0
mov ecx, dword [ebx + 0x40]
call fcn.004ad7e0
push 0x532ba8
mov edx, str.border2.png
call fcn.00405f10
mov ecx, dword [ebx + 0x3c]
mov esi, eax
test ecx, ecx
je 0x4afe99
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [ebx + 0x3c], esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4