joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407f60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x60c044]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x414]
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x41c], edi
call fcn.0042cfe0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0042cfe0
mov eax, dword [edi + 0x24]
add esp, 0x18
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x408176
push ebx
nop word [eax + eax]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x418], eax
lea ebx, [eax + 0xc]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407fd1
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x40812a
push ebx
lea eax, [ebp - 0x414]
push str.Is_s
push eax
call fcn.004030d0
add edi, 0x78
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x40800a
mov eax, dword [edi]
jmp 0x40800c
mov eax, edi
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x5ff6c0
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x5ff6c0
lea eax, [ebp - 0x20c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408066
test dx, dx
je 0x408062
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408066
add eax, 4
add ecx, 4
test dx, dx
jne 0x408040
xor eax, eax
jmp 0x40806b
sbb eax, eax
or eax, 1
test eax, eax
je 0x408089
lea eax, [ebp - 0x20c]
push eax
call fcn.00438433
mov ecx, dword [ebp - 0x418]
add esp, 4
mov ecx, dword [ecx + 4]
mov byte [ecx], al
push ebx
lea eax, [ebp - 0x414]
push str.Use_s
push eax
call fcn.004030d0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4080a6
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.nothing
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, str.nothing
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4080fb
test dx, dx
je 0x4080f7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4080fb
add eax, 4
add ecx, 4
test dx, dx
jne 0x4080d5
xor eax, eax
jmp 0x408100
sbb eax, eax
or eax, 1
test eax, eax
je 0x408124
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x20c]
mov edx, dword [eax + 8]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x408113
mov edi, dword [ebp - 0x41c]
cmp byte [esi + 0xd], 0
jne 0x40816a
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x40814f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x40816a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x408143
jmp 0x40816a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x408168
cmp esi, dword [eax + 8]
jne 0x408168
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x408158
mov esi, eax
mov eax, dword [edi + 0x24]
cmp esi, dword [eax]
jne 0x407fc0
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041b461
mov esp, ebp
pop ebp
ret
Function at 0x409340
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583a75
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x60c044]
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]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x21c], 0
call fcn.0042cfe0
mov eax, dword [0x61654c]
add esp, 0xc
test eax, eax
jne 0x4093c5
push 0x1d4
call fcn.0041b472
add esp, 4
mov dword [ebp - 0x220], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00409040
mov dword [ebp - 4], 0xffffffff
mov dword [0x61654c], eax
push str.AllSkin
mov ecx, eax
call fcn.0041f60c
push eax
lea eax, [ebp - 0x218]
push str._s_s_
push eax
call fcn.004030d0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409406
lea eax, [ebp - 0x218]
push eax
call fcn.0041c6ac
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x218], ax
jne 0x409426
xor ecx, ecx
jmp 0x40943f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409430
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403620
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b461
mov esp, ebp
pop ebp
ret 4

Function at 0x409470
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583a75
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x60c044]
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]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x21c], 0
call fcn.0042cfe0
mov eax, dword [0x61654c]
add esp, 0xc
test eax, eax
jne 0x4094f5
push 0x1d4
call fcn.0041b472
add esp, 4
mov dword [ebp - 0x220], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00409040
mov dword [ebp - 4], 0xffffffff
mov dword [0x61654c], eax
push str.SkinUser
mov ecx, eax
call fcn.0041f60c
push eax
lea eax, [ebp - 0x218]
push str._s_s_
push eax
call fcn.004030d0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409536
lea eax, [ebp - 0x218]
push eax
call fcn.0041c6ac
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x218], ax
jne 0x409556
xor ecx, ecx
jmp 0x40956f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409560
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403620
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b461
mov esp, ebp
pop ebp
ret 4
Function at 0x4095a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x60c044]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push 0x208
push 0
push eax
mov dword [ebp - 0x230], 0
call fcn.0042cfe0
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
call fcn.00409470
cmp dword [eax + 0x14], 8
jb 0x4095eb
mov eax, dword [eax]
push str.SkinPreview
push eax
lea eax, [ebp - 0x214]
push str._s_s_
push eax
call fcn.004030d0
mov eax, dword [ebp - 0x218]
add esp, 0x10
cmp eax, 8
jb 0x409623
inc eax
lea ecx, [ebp - 0x22c]
push eax
push dword [ebp - 0x22c]
call fcn.00403830
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409643
lea eax, [ebp - 0x214]
push eax
call fcn.0041c6ac
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x214], ax
jne 0x409663
xor ecx, ecx
jmp 0x40967f
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409670
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x214]
mov ecx, esi
push eax
call fcn.00403620
mov ecx, dword [ebp - 8]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b461
mov esp, ebp
pop ebp
ret 4

Function at 0x4096b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x60c044]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push 0x208
push 0
push eax
mov dword [ebp - 0x230], 0
call fcn.0042cfe0
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
call fcn.00409470
cmp dword [eax + 0x14], 8
jb 0x4096fb
mov eax, dword [eax]
push str.SkinUse
push eax
lea eax, [ebp - 0x214]
push str._s_s_
push eax
call fcn.004030d0
mov eax, dword [ebp - 0x218]
add esp, 0x10
cmp eax, 8
jb 0x409733
inc eax
lea ecx, [ebp - 0x22c]
push eax
push dword [ebp - 0x22c]
call fcn.00403830
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409753
lea eax, [ebp - 0x214]
push eax
call fcn.0041c6ac
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x214], ax
jne 0x409773
xor ecx, ecx
jmp 0x40978f
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409780
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x214]
mov ecx, esi
push eax
call fcn.00403620
mov ecx, dword [ebp - 8]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b461
mov esp, ebp
pop ebp
ret 4
Function at 0x4097c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x60c044]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push 0x208
push 0
push eax
mov dword [ebp - 0x230], 0
call fcn.0042cfe0
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
call fcn.00409470
cmp dword [eax + 0x14], 8
jb 0x40980b
mov eax, dword [eax]
push str.SkinFav
push eax
lea eax, [ebp - 0x214]
push str._s_s_
push eax
call fcn.004030d0
mov eax, dword [ebp - 0x218]
add esp, 0x10
cmp eax, 8
jb 0x409843
inc eax
lea ecx, [ebp - 0x22c]
push eax
push dword [ebp - 0x22c]
call fcn.00403830
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409863
lea eax, [ebp - 0x214]
push eax
call fcn.0041c6ac
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x214], ax
jne 0x409883
xor ecx, ecx
jmp 0x40989f
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409890
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x214]
mov ecx, esi
push eax
call fcn.00403620
mov ecx, dword [ebp - 8]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b461
mov esp, ebp
pop ebp
ret 4

Function at 0x409bb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9f8
mov eax, dword [0x60c044]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp - 0x9f8]
lea esi, [ecx + 0x1c8]
push esi
push dword [esi + 4]
push dword [esi]
call fcn.0040a3e0
mov eax, dword [esi]
push 0x208
mov dword [esi + 4], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0042cfe0
add esp, 0x1c
lea eax, [ebp - 0x9f4]
push eax
call fcn.00409470
cmp dword [eax + 0x14], 8
jb 0x409c0a
mov eax, dword [eax]
push str.history.ini
push eax
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call fcn.004030d0
mov eax, dword [ebp - 0x9e0]
add esp, 0x10
cmp eax, 8
jb 0x409c42
inc eax
lea ecx, [ebp - 0x9f4]
push eax
push dword [ebp - 0x9f4]
call fcn.00403830
lea eax, [ebp - 0x20c]
push eax
push 0x3e8
lea eax, [ebp - 0x9dc]
push eax
push 0x5ff374
push 0x6016ac
push 0x6016b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea eax, [ebp - 0x9dc]
push 0x6016a8
push eax
call fcn.0042942a
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.0041b461
mov esp, ebp
pop ebp
ret
Function at 0x40add0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583d42
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x60c044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x61654c]
test eax, eax
jne 0x40ae22
push 0x1d4
call fcn.0041b472
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00409040
mov dword [0x61654c], eax
mov ecx, dword [eax + 0x1cc]
sub ecx, dword [eax + 0x1c8]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40ae46
push dword [ebp + 8]
jmp 0x40ae48
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40ddf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5843bb
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x60c044]
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 eax, dword [ebp + 8]
test eax, eax
je 0x40e003
push eax
call fcn.0040d770
mov edi, eax
test edi, edi
je 0x40e003
mov ecx, esi
mov dword [ebp - 0x250], 0
call fcn.0040d840
mov ebx, eax
cmp ebx, 3
jne 0x40de7a
cmp dword [edi + 0xa4], 8
lea ecx, [edi + 0x90]
mov dword [ebp - 0x250], 2
jb 0x40de6e
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40df5f
cmp ebx, 2
jne 0x40df5f
cmp dword [edi + 0xa4], 8
lea eax, [edi + 0x90]
mov dword [ebp - 0x250], 1
jb 0x40de9e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x61654c], 0
jne 0x40dedb
push 0x1d4
call fcn.0041b472
add esp, 4
mov dword [ebp - 0x254], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00409040
mov dword [ebp - 4], 0xffffffff
mov dword [0x61654c], eax
lea eax, [ebp - 0x248]
push eax
call fcn.00409340
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00414750
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x40df06
mov ecx, dword [ecx]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push str..wnpf
cmovae eax, dword [ebp - 0x248]
push ecx
push eax
lea eax, [ebp - 0x218]
push str._s_s_s
push eax
call fcn.004030d0
add esp, 0x14
lea ecx, [ebp - 0x230]
call fcn.00403780
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.00403780
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.00414750
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x40df7c
mov eax, dword [eax]
push eax
call fcn.0041a630
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 0x249], al
cmp ecx, 8
jb 0x40dfb3
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00403830
mov al, byte [ebp - 0x249]
xor ecx, ecx
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], cx
test al, al
je 0x40dfea
cmp ebx, 3
je 0x40dfea
push str.default
call fcn.0040f3a0
mov ecx, esi
call fcn.0040e460
lea ecx, [esi + 0x364]
call fcn.00417960
push dword [ebp - 0x250]
push ecx
mov ecx, esi
call fcn.0040cd20
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.0041b461
mov esp, ebp
pop ebp
ret 4
Function at 0x4117a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x60c044]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.004116f0
mov esi, eax
test esi, esi
jne 0x411897
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x411869
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.004117a0
mov esi, eax
test esi, esi
jne 0x411897
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x411830
mov eax, dword [esp + 0xc]
test eax, eax
je 0x411880
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.00411540
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4118a6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0041b461
mov esp, ebp
pop ebp
ret 4
Function at 0x411d00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5849b6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x60c044]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x411dac
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x411dac
call fcn.00411260
mov esi, eax
jmp 0x411e9c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x411dcf
call fcn.00411260
jmp 0x411e8f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x411ded
call fcn.00411260
jmp 0x411e8f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x411e0e
mov esi, 0x8007000e
jmp 0x411e91
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00414070
jmp 0x411e38
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x411e4f
mov esi, 0x8007000e
jmp 0x411e91
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x411e6f
call fcn.00411260
jmp 0x411e8f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00412c00
mov esi, eax
test edi, edi
je 0x411e9c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x411ec0
lea ecx, [ebp - 0x418]
call fcn.00414190
nop word [eax + eax]
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 - 0x14]
xor ecx, ebp
call fcn.0041b461
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41c6ac
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00439d32
mov dword [ebp - 8], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bc60
push dword [ebp + 8]
mov edi, eax
push edi
mov dword [ebp - 4], edi
call fcn.00439d10
add esp, 0x10
call fcn.0041a9d0
test al, al
je 0x41c6ff
push edx
push ebp
pop esp
pop edx
push esi
pop esi
pop edx
push eax
pop edx
pop ebx
pop ebx
pop esp
pop edx
push edi
push esp
push edi
mov eax, dword [ebp - 8]
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 0xc], ebx
test eax, eax
js 0x41c7c9
cmp word [edi + ebx*2], 0x5c
jne 0x41c7ba
call fcn.0041b060
test al, al
je 0x41c73a
push ebp
pop ebp
push eax
push esp
pop ebp
push ebx
pop ebp
push esi
pop ebx
push edi
pop eax
pop esp
push esi
push eax
push ebp
pop eax
pop esi
push ecx
push ebx
push edx
call fcn.0041adc0
test al, al
je 0x41c764
push ebp
push ecx
push edi
push edx
push ebx
push ecx
pop esp
pop ebx
pop ebp
pop edx
pop ecx
pop edi
pop ebx
push esp
push eax
push edi
pop ebx
push edi
pop ebx
push eax
pop edx
push ebp
pop ecx
pop eax
pop eax
pop ebx
push ebx
pop ebx
push esp
push ebp
mov edi, dword [ebp - 4]
call fcn.0041aea0
test al, al
je 0x41c78f
push esi
push esp
push esp
push eax
pop ebx
pop esi
push ebp
push ecx
push eax
push esp
push esp
push edi
pop ebp
pop ebx
push edi
pop ecx
pop esi
push edi
push ecx
push esp
pop ebp
pop ecx
pop ebp
push eax
pop ebp
pop edi
push ecx
pop ebp
pop eax
pop ecx
push ecx
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
xor eax, eax
push edi
movzx esi, word [edi + ebx*2]
mov word [edi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c7b3
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41c7d9
mov eax, dword [ebp - 8]
mov word [edi + ebx*2], si
inc ebx
mov dword [ebp - 0xc], ebx
cmp ebx, eax
jle 0x41c712
xor esi, esi
inc esi
push edi
call fcn.0041bc69
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x41c7c9
Function at 0x41c7dd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x60c044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x218], eax
xor eax, eax
push eax
push 0x1a
push ecx
push eax
mov dword [ebp - 0x210], ebx
call fcn.0041dbda
lea eax, [ebp - 0x20c]
push eax
call fcn.00439d32
add esp, 0x14
mov dword [ebp - 0x214], eax
call fcn.0041ace0
test al, al
je 0x41c854
pop esp
push ecx
pop ebx
push ecx
pop ecx
pop edi
pop ecx
pop esi
push ebx
pop esp
pop ecx
push esi
push edx
push edx
push ebx
push edi
push ebx
push esi
pop esp
pop edx
push ebp
pop eax
push ebx
push edx
push ebp
mov ebx, dword [ebp - 0x210]
cmp dword [ebp - 0x214], 0
je 0x41c960
mov esi, 0x5ff66c
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0043a11e
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0043a11e
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0043a11e
add esp, 0x18
call fcn.0041aab0
test al, al
je 0x41c8b4
pop ebx
pop ecx
push ecx
push edx
pop ebp
push edx
pop esp
push ecx
pop ecx
push esp
push ecx
push esp
pop esi
pop eax
push esp
push ebp
push edi
pop ecx
pop ebx
push ebp
pop edi
push ebx
push esi
push ebx
push ebx
pop ebp
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c8d2
lea eax, [ebp - 0x20c]
push eax
call fcn.0041c6ac
pop ecx
call fcn.0041ae30
test al, al
je 0x41c8ef
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.0041b0d0
test al, al
je 0x41c914
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.0041aab0
test al, al
je 0x41c932
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
cmp word [ebp - 0x20c], 0
jne 0x41c940
xor eax, eax
jmp 0x41c94d
lea eax, [ebp - 0x20c]
push eax
call fcn.00439d32
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00403620
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b461
mov esp, ebp
pop ebp
ret