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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x60b044]
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.0042bf30
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0042bf30
mov eax, dword [edi + 0x24]
add esp, 0x18
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x407d46
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 0x407ba1
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x407cfa
push ebx
lea eax, [ebp - 0x414]
push str.Is_s
push eax
call fcn.00402ca0
add edi, 0x78
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x407bda
mov eax, dword [edi]
jmp 0x407bdc
mov eax, edi
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x5fe510
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x5fe510
lea eax, [ebp - 0x20c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407c36
test dx, dx
je 0x407c32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407c36
add eax, 4
add ecx, 4
test dx, dx
jne 0x407c10
xor eax, eax
jmp 0x407c3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x407c59
lea eax, [ebp - 0x20c]
push eax
call fcn.00437404
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.00402ca0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x407c76
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 0x407ccb
test dx, dx
je 0x407cc7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407ccb
add eax, 4
add ecx, 4
test dx, dx
jne 0x407ca5
xor eax, eax
jmp 0x407cd0
sbb eax, eax
or eax, 1
test eax, eax
je 0x407cf4
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 0x407ce3
mov edi, dword [ebp - 0x41c]
cmp byte [esi + 0xd], 0
jne 0x407d3a
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x407d1f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x407d3a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x407d13
jmp 0x407d3a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x407d38
cmp esi, dword [eax + 8]
jne 0x407d38
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x407d28
mov esi, eax
mov eax, dword [edi + 0x24]
cmp esi, dword [eax]
jne 0x407b90
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041afe3
mov esp, ebp
pop ebp
ret
Function at 0x408f00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582945
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x60b044]
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.0042bf30
mov eax, dword [0x61554c]
add esp, 0xc
test eax, eax
jne 0x408f85
push 0x1d4
call fcn.0041aff4
add esp, 4
mov dword [ebp - 0x220], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00408c00
mov dword [ebp - 4], 0xffffffff
mov dword [0x61554c], eax
push str.AllSkin
mov ecx, eax
call fcn.0041e8fb
push eax
lea eax, [ebp - 0x218]
push str._s_s_
push eax
call fcn.00402ca0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x408fc6
lea eax, [ebp - 0x218]
push eax
call fcn.0041c254
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 0x408fe6
xor ecx, ecx
jmp 0x408fff
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408ff0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004031f0
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.0041afe3
mov esp, ebp
pop ebp
ret 4

Function at 0x409030
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582945
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x60b044]
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.0042bf30
mov eax, dword [0x61554c]
add esp, 0xc
test eax, eax
jne 0x4090b5
push 0x1d4
call fcn.0041aff4
add esp, 4
mov dword [ebp - 0x220], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00408c00
mov dword [ebp - 4], 0xffffffff
mov dword [0x61554c], eax
push str.SkinUser
mov ecx, eax
call fcn.0041e8fb
push eax
lea eax, [ebp - 0x218]
push str._s_s_
push eax
call fcn.00402ca0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4090f6
lea eax, [ebp - 0x218]
push eax
call fcn.0041c254
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 0x409116
xor ecx, ecx
jmp 0x40912f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409120
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004031f0
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.0041afe3
mov esp, ebp
pop ebp
ret 4
Function at 0x409160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x60b044]
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.0042bf30
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
call fcn.00409030
cmp dword [eax + 0x14], 8
jb 0x4091ab
mov eax, dword [eax]
push str.SkinPreview
push eax
lea eax, [ebp - 0x214]
push str._s_s_
push eax
call fcn.00402ca0
mov eax, dword [ebp - 0x218]
add esp, 0x10
cmp eax, 8
jb 0x4091e3
inc eax
lea ecx, [ebp - 0x22c]
push eax
push dword [ebp - 0x22c]
call fcn.00403400
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409203
lea eax, [ebp - 0x214]
push eax
call fcn.0041c254
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 0x409223
xor ecx, ecx
jmp 0x40923f
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409230
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x214]
mov ecx, esi
push eax
call fcn.004031f0
mov ecx, dword [ebp - 8]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041afe3
mov esp, ebp
pop ebp
ret 4

Function at 0x409270
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x60b044]
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.0042bf30
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
call fcn.00409030
cmp dword [eax + 0x14], 8
jb 0x4092bb
mov eax, dword [eax]
push str.SkinUse
push eax
lea eax, [ebp - 0x214]
push str._s_s_
push eax
call fcn.00402ca0
mov eax, dword [ebp - 0x218]
add esp, 0x10
cmp eax, 8
jb 0x4092f3
inc eax
lea ecx, [ebp - 0x22c]
push eax
push dword [ebp - 0x22c]
call fcn.00403400
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409313
lea eax, [ebp - 0x214]
push eax
call fcn.0041c254
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 0x409333
xor ecx, ecx
jmp 0x40934f
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409340
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x214]
mov ecx, esi
push eax
call fcn.004031f0
mov ecx, dword [ebp - 8]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041afe3
mov esp, ebp
pop ebp
ret 4
Function at 0x409380
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x60b044]
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.0042bf30
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
call fcn.00409030
cmp dword [eax + 0x14], 8
jb 0x4093cb
mov eax, dword [eax]
push str.SkinFav
push eax
lea eax, [ebp - 0x214]
push str._s_s_
push eax
call fcn.00402ca0
mov eax, dword [ebp - 0x218]
add esp, 0x10
cmp eax, 8
jb 0x409403
inc eax
lea ecx, [ebp - 0x22c]
push eax
push dword [ebp - 0x22c]
call fcn.00403400
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409423
lea eax, [ebp - 0x214]
push eax
call fcn.0041c254
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 0x409443
xor ecx, ecx
jmp 0x40945f
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409450
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x214]
mov ecx, esi
push eax
call fcn.004031f0
mov ecx, dword [ebp - 8]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041afe3
mov esp, ebp
pop ebp
ret 4

Function at 0x409770
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9f8
mov eax, dword [0x60b044]
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.00409fa0
mov eax, dword [esi]
push 0x208
mov dword [esi + 4], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0042bf30
add esp, 0x1c
lea eax, [ebp - 0x9f4]
push eax
call fcn.00409030
cmp dword [eax + 0x14], 8
jb 0x4097ca
mov eax, dword [eax]
push str.history.ini
push eax
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call fcn.00402ca0
mov eax, dword [ebp - 0x9e0]
add esp, 0x10
cmp eax, 8
jb 0x409802
inc eax
lea ecx, [ebp - 0x9f4]
push eax
push dword [ebp - 0x9f4]
call fcn.00403400
lea eax, [ebp - 0x20c]
push eax
push 0x3e8
lea eax, [ebp - 0x9dc]
push eax
push 0x5fe1c4
push 0x6004fc
push 0x600504
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea eax, [ebp - 0x9dc]
push 0x6004f8
push eax
call fcn.004283cd
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.0041afe3
mov esp, ebp
pop ebp
ret
Function at 0x40a990
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582c12
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x60b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x61554c]
test eax, eax
jne 0x40a9e2
push 0x1d4
call fcn.0041aff4
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00408c00
mov dword [0x61554c], 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 0x40aa06
push dword [ebp + 8]
jmp 0x40aa08
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 0x40d9b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58328b
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x60b044]
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 0x40dbc3
push eax
call fcn.0040d330
mov edi, eax
test edi, edi
je 0x40dbc3
mov ecx, esi
mov dword [ebp - 0x250], 0
call fcn.0040d400
mov ebx, eax
cmp ebx, 3
jne 0x40da3a
cmp dword [edi + 0xa4], 8
lea ecx, [edi + 0x90]
mov dword [ebp - 0x250], 2
jb 0x40da2e
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40db1f
cmp ebx, 2
jne 0x40db1f
cmp dword [edi + 0xa4], 8
lea eax, [edi + 0x90]
mov dword [ebp - 0x250], 1
jb 0x40da5e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x61554c], 0
jne 0x40da9b
push 0x1d4
call fcn.0041aff4
add esp, 4
mov dword [ebp - 0x254], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00408c00
mov dword [ebp - 4], 0xffffffff
mov dword [0x61554c], eax
lea eax, [ebp - 0x248]
push eax
call fcn.00408f00
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.004142f0
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x40dac6
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.00402ca0
add esp, 0x14
lea ecx, [ebp - 0x230]
call fcn.00403350
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.00403350
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.004142f0
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x40db3c
mov eax, dword [eax]
push eax
call fcn.0041a1d0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 0x249], al
cmp ecx, 8
jb 0x40db73
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00403400
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 0x40dbaa
cmp ebx, 3
je 0x40dbaa
push str.default
call fcn.0040ef60
mov ecx, esi
call fcn.0040e020
lea ecx, [esi + 0x364]
call fcn.00417500
push dword [ebp - 0x250]
push ecx
mov ecx, esi
call fcn.0040c8e0
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.0041afe3
mov esp, ebp
pop ebp
ret 4
Function at 0x411360
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x60b044]
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.004112b0
mov esi, eax
test esi, esi
jne 0x411457
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 0x411429
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00411360
mov esi, eax
test esi, esi
jne 0x411457
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 0x4113f0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x411440
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.00411100
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x411466
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.0041afe3
mov esp, ebp
pop ebp
ret 4
Function at 0x4118c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583886
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x60b044]
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 0x41196c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x41196c
call fcn.00410e20
mov esi, eax
jmp 0x411a5c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x41198f
call fcn.00410e20
jmp 0x411a4f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4119ad
call fcn.00410e20
jmp 0x411a4f
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 0x4119ce
mov esi, 0x8007000e
jmp 0x411a51
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00413c10
jmp 0x4119f8
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x411a0f
mov esi, 0x8007000e
jmp 0x411a51
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 0x411a2f
call fcn.00410e20
jmp 0x411a4f
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.004127b0
mov esi, eax
test edi, edi
je 0x411a5c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x411a80
lea ecx, [ebp - 0x418]
call fcn.00413d30
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.0041afe3
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41c254
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.00438d11
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.0041b7e2
push dword [ebp + 8]
mov edi, eax
push edi
mov dword [ebp - 4], edi
call fcn.00438cef
add esp, 0x10
call fcn.0041a570
test al, al
je 0x41c2a7
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 0x41c371
cmp word [edi + ebx*2], 0x5c
jne 0x41c362
call fcn.0041ac00
test al, al
je 0x41c2e2
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.0041a960
test al, al
je 0x41c30c
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.0041aa40
test al, al
je 0x41c337
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 0x41c35b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41c381
mov eax, dword [ebp - 8]
mov word [edi + ebx*2], si
inc ebx
mov dword [ebp - 0xc], ebx
cmp ebx, eax
jle 0x41c2ba
xor esi, esi
inc esi
push edi
call fcn.0041b7eb
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x41c371
Function at 0x41c385
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x60b044]
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.0041cd4d
lea eax, [ebp - 0x20c]
push eax
call fcn.00438d11
add esp, 0x14
mov dword [ebp - 0x214], eax
call fcn.0041a880
test al, al
je 0x41c3fc
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 0x41c508
mov esi, 0x5fe4bc
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004390fe
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004390fe
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004390fe
add esp, 0x18
call fcn.0041a650
test al, al
je 0x41c45c
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 0x41c47a
lea eax, [ebp - 0x20c]
push eax
call fcn.0041c254
pop ecx
call fcn.0041a9d0
test al, al
je 0x41c497
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.0041ac70
test al, al
je 0x41c4bc
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.0041a650
test al, al
je 0x41c4da
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 0x41c4e8
xor eax, eax
jmp 0x41c4f5
lea eax, [ebp - 0x20c]
push eax
call fcn.00438d11
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004031f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041afe3
mov esp, ebp
pop ebp
ret