joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41765b
Capabilities:
Get common file path
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x230], ax
xor ebx, ebx
lea eax, [ebp - 0x22e]
push ebx
push eax
mov esi, ecx
call fcn.00420470
xor eax, eax
push edi
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x436]
push ebx
push eax
call fcn.00420470
add esp, 0x18
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], ebx
call dword [0x42e364]
test eax, eax
jge 0x4176bb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
lea eax, [ebp - 8]
push eax
push 0x11
push dword [esi + 4]
call dword [0x42e35c]
test eax, eax
jge 0x4176db
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
jmp 0x4176b4
push 0x103
lea eax, [ebp - 0x438]
push eax
push 0x39
mov ecx, 0x43b300
call fcn.0040be2e
push 0x104
lea eax, [ebp - 0x230]
push eax
push dword [esi + 0x60]
call dword [0x42e404]
push 0x20
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.00420470
lea eax, [ebp - 0x438]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x14], 0x4173c0
mov dword [ebp - 0x18], 0x8047
call dword [0x42e344]
mov edi, eax
cmp edi, ebx
je 0x41777b
lea eax, [ebp - 0x230]
push eax
push edi
call dword [0x42e360]
lea eax, [ebp - 0x230]
push eax
push dword [esi + 0x60]
call dword [0x42e408]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
xor ebx, ebx
inc ebx
jmp 0x4176ce
Function at 0x41778f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x218]
call fcn.00401a37
lea ecx, [ebp - 0x430]
call fcn.00401a37
xor ebx, ebx
push ebx
lea eax, [esi + 0x5c]
push eax
lea edi, [esi + 0x54]
push 0x104
mov ecx, edi
call fcn.00417427
push ebx
lea eax, [esi + 0x2a4]
push eax
push 0x106
mov ecx, edi
call fcn.00417427
push ebx
lea eax, [esi + 0x4ec]
push eax
push 0x110
mov ecx, edi
call fcn.00418b85
push ebx
lea eax, [esi + 0x510]
push eax
push 0x113
mov ecx, edi
call fcn.00418b85
push ebx
lea eax, [esi + 0x534]
push eax
push 0x114
mov ecx, edi
call fcn.00418b85
push 7
push dword [esi + 4]
mov ecx, 0x43b300
call fcn.0040bde2
push dword [ebp - 0x20c]
push dword [ebp - 0x214]
push dword [esi + 0x538]
call dword [0x42e404]
lea ecx, [ebp - 0x218]
call fcn.0040120b
mov eax, dword [edi]
add eax, 0xc
push eax
push dword [ebp - 0x214]
lea eax, [ebp - 0x430]
push eax
call fcn.00401229
mov ebx, dword [0x42e408]
add esp, 0xc
push dword [ebp - 0x42c]
push dword [esi + 0x538]
call ebx
mov eax, dword [edi]
add eax, 0x214
push eax
push dword [esi + 0x60]
call ebx
mov eax, dword [edi]
add eax, 0x624
push eax
push dword [esi + 0x2a8]
call ebx
mov eax, dword [edi]
mov eax, dword [eax]
and eax, 1
push eax
lea ecx, [esi + 0x514]
call fcn.00417092
mov eax, dword [edi]
mov eax, dword [eax]
shr eax, 1
and eax, 1
push eax
lea ecx, [esi + 0x4f0]
call fcn.00417092
lea ecx, [ebp - 0x430]
call fcn.00401924
lea ecx, [ebp - 0x218]
call fcn.00401924
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x10

Function at 0x417d63
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
push edi
xor edi, edi
cmp dword [eax + 0x82c], edi
jbe 0x417d96
mov ecx, dword [eax + 0x834]
imul ecx, edi
add ecx, dword [eax + 0x828]
push ecx
call dword [sym.imp.p_DeleteFileW]
mov eax, dword [esi + 0x54]
inc edi
cmp edi, dword [eax + 0x82c]
jb 0x417d74
mov eax, dword [esi + 0x54]
xor ecx, ecx
cmp ecx, dword [eax + 0x82c]
pop edi
sbb eax, eax
neg eax
pop esi
ret
Function at 0x417f3f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x26c]
call fcn.00401a37
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x50]
push ebx
push eax
mov dword [ebp - 0x54], ebx
call fcn.00420470
xor eax, eax
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 0x54]
add eax, 0x20c
push eax
lea eax, [ebp - 0x26c]
push 0x4334d8
push eax
call fcn.00401229
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push dword [ebp - 0x268]
push ebx
call dword [sym.imp.p_CreateProcessW]
test eax, eax
jne 0x417fc6
lea ecx, [ebp - 0x26c]
call fcn.00401924
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
push 0x2710
push dword [ebp - 0x10]
call dword [sym.imp.p_WaitForSingleObject]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.p_CloseHandle]
call esi
cmp dword [ebp - 0xc], ebx
je 0x417fe9
push dword [ebp - 0xc]
call esi
mov bl, 1
jmp 0x417fb4

Function at 0x4180c0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
mov esi, ecx
lea ecx, [ebp - 0x218]
call fcn.00401a37
mov eax, dword [esi + 0x54]
add eax, 0x840
push eax
lea eax, [ebp - 0x218]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.00401229
add esp, 0xc
push dword [ebp - 0x214]
push 0x80000002
call dword [sym.imp.base_constructor_iterator_RegDeleteKeyW]
lea ecx, [ebp - 0x218]
call fcn.00401924
pop esi
leave
ret
Function at 0x41816d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x208], ax
xor ebx, ebx
lea eax, [ebp - 0x206]
push ebx
push eax
mov esi, ecx
call fcn.00420470
add esp, 0xc
push ebx
lea eax, [esi + 0x64]
push eax
lea edi, [esi + 0x54]
push 0x12d
mov ecx, edi
call fcn.00418b85
push ebx
lea eax, [esi + 0xc0]
push eax
push 0x138
mov ecx, edi
call fcn.00418b85
push ebx
lea eax, [esi + 0xe4]
push eax
push 0x12e
mov ecx, edi
call fcn.00418b85
push ebx
lea eax, [esi + 0x140]
push eax
push 0x139
mov ecx, edi
call fcn.00418b85
push ebx
lea eax, [esi + 0x164]
push eax
push 0x12f
mov ecx, edi
call fcn.00418b85
push ebx
lea eax, [esi + 0x1c0]
push eax
push 0x13a
mov ecx, edi
call fcn.00418b85
push ebx
lea eax, [esi + 0x1e4]
push eax
push 0x103
mov ecx, edi
call fcn.00418b85
push 6
push dword [esi + 4]
mov edi, 0x43b300
mov ecx, edi
call fcn.0040bde2
push 0x102
push dword [esi + 4]
call dword [0x42e45c]
push 1
push dword [esi + 0x60]
push 0x30
push eax
call dword [0x42e424]
push 0xffffff
push 0x10
push 0x10
push 1
lea ecx, [esi + 0x64]
call fcn.00413824
push ebx
push dword [esi + 0x68]
mov ebx, dword [0x42e3d0]
call ebx
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0x10
mov ecx, edi
call fcn.0040be2e
lea eax, [ebp - 0x208]
push eax
push dword [esi + 0xc4]
call dword [0x42e408]
push 0xffffff
push 0x10
push 0x10
push 1
lea ecx, [esi + 0xe4]
call fcn.00413824
push 0
push dword [esi + 0xe8]
call ebx
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0x12
mov ecx, edi
call fcn.0040be2e
lea eax, [ebp - 0x208]
push eax
push dword [esi + 0x144]
call dword [0x42e408]
push 0xffffff
push 0x10
push 0x10
push 1
lea ecx, [esi + 0x164]
call fcn.00413824
push 0
push dword [esi + 0x168]
call ebx
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0x11
mov ecx, edi
call fcn.0040be2e
lea eax, [ebp - 0x208]
push eax
push dword [esi + 0x1c4]
call dword [0x42e408]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x10
Function at 0x4183f5
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc5c
or dword [ebp - 8], 0xffffffff
push ebx
push esi
push edi
xor edi, edi
push 0x38
lea eax, [ebp - 0x48]
push edi
push eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0x42e730
mov dword [ebp - 0x4c], edi
call fcn.00420470
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x45c], ax
lea eax, [ebp - 0x45a]
push edi
push eax
call fcn.00420470
xor eax, eax
push esi
mov word [ebp - 0x254], ax
lea eax, [ebp - 0x252]
push edi
push eax
call fcn.00420470
mov ebx, 0x7ff
push ebx
lea eax, [ebp - 0xc5b]
push edi
push eax
mov byte [ebp - 0xc5c], 0
call fcn.00420470
add esp, 0x30
mov esi, 0x104
push esi
lea eax, [ebp - 0x45c]
push eax
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.p_GetModuleFileNameW]
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.p_GetTempPathW]
dec esi
test eax, eax
jne 0x4184d0
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x254]
push esi
push eax
call fcn.0040abe6
lea eax, [ebp - 0x254]
push 0x5c
push eax
call fcn.00417bd3
add esp, 0x14
mov dword [ebp - 4], eax
cmp eax, edi
jbe 0x4184d0
xor ecx, ecx
mov word [ebp + eax*2 - 0x254], cx
push str.mt5uninstall.bat
lea eax, [ebp - 0x254]
push esi
push eax
call fcn.00423535
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x54]
add esp, 0xc
test byte [eax + 0x83c], 1
je 0x41852b
lea ecx, [ebp - 0x254]
push ecx
add eax, 4
push eax
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.p_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x45c]
push eax
push str.cd_r_n__S___processwait:_d_r_ndel__Q___S__r_nrd___S__r_ndel__Q___S__r_n
lea eax, [ebp - 0xc5c]
push ebx
push eax
call fcn.00417da8
add esp, 0x20
jmp 0x41855c
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.p_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x45c]
push eax
push str.cd_r_n__S___processwait:_d_r_ndel__Q___S__r_ndel__Q___S__r_n
lea eax, [ebp - 0xc5c]
push ebx
push eax
call fcn.00417da8
add esp, 0x1c
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
test bl, bl
je 0x4185f4
lea eax, [ebp - 4]
push eax
push 0x800
lea eax, [ebp - 0xc5c]
push eax
call fcn.00417dff
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
je 0x4185f4
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0xc]
call fcn.00414b43
test al, al
je 0x4185f4
push dword [ebp - 4]
lea eax, [ebp - 0xc5c]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040ac0f
cmp eax, dword [ebp - 4]
jne 0x4185f4
lea ecx, [ebp - 0xc]
call fcn.00401358
lea eax, [ebp - 0x254]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x40], str.Open
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x48], 0x40
call dword [0x42e354]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x42e730
call fcn.00401358
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x418bb8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x3fe
push edi
mov word [ebp - 0x804], ax
xor ebx, ebx
lea eax, [ebp - 0x802]
push ebx
push eax
mov esi, ecx
call fcn.00420470
xor eax, eax
push edi
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push ebx
push eax
call fcn.00420470
add esp, 0x18
push dword [esi + 4]
call dword [0x42e460]
push ebx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00412e9a
push ebx
lea eax, [esi + 0x58]
push eax
lea edi, [esi + 0x54]
push 0x10b
mov ecx, edi
call fcn.00418b85
push ebx
lea eax, [esi + 0x7c]
push eax
push 0x10c
mov ecx, edi
call fcn.00418b85
push ebx
lea eax, [esi + 0xa0]
push eax
push 0x115
mov ecx, edi
call fcn.00418b85
push ebx
lea eax, [esi + 0xc4]
push eax
push 0x116
mov ecx, edi
call fcn.00418b85
push 5
push dword [esi + 4]
mov ecx, 0x43b300
call fcn.0040bde2
mov ebx, 0x200
push ebx
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x5c]
call dword [0x42e404]
mov eax, dword [edi]
add eax, 0x840
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.00413679
add esp, 0x10
lea eax, [ebp - 0x804]
push eax
push dword [esi + 0x5c]
call dword [0x42e408]
push ebx
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x80]
call dword [0x42e404]
mov eax, dword [edi]
add eax, 0x840
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.00413679
mov ebx, dword [0x42e408]
add esp, 0x10
lea eax, [ebp - 0x804]
push eax
push dword [esi + 0x80]
call ebx
mov eax, dword [edi]
add eax, 4
push eax
push dword [esi + 0xa4]
call ebx
push 0
lea ecx, [esi + 0xc8]
call fcn.00417092
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x10
Function at 0x41928a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x40e
push edi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
mov esi, ecx
call fcn.00420470
xor eax, eax
push edi
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.00420470
add esp, 0x18
push 0x27
pop ebx
mov edi, 0x208
push edi
lea eax, [ebp - 0x824]
push eax
push dword [esi + 0x64]
mov dword [ebp - 4], 0x28
call dword [0x42e404]
mov eax, dword [esi + 0x54]
add eax, 0xc
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00413679
mov edi, dword [0x42e408]
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
push dword [esi + 0x64]
call edi
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 8]
cmp eax, 1
jne 0x419333
push 0x2b
pop ebx
mov dword [ebp - 4], 0x2c
cmp eax, 2
jne 0x419342
push 0x29
pop ebx
mov dword [ebp - 4], 0x2a
cmp eax, 4
jne 0x419351
push 0x3f
pop ebx
mov dword [ebp - 4], 0x40
cmp eax, 5
jne 0x419360
push 0x3d
pop ebx
mov dword [ebp - 4], 0x3e
cmp eax, 6
jne 0x41936f
push 0x3b
pop ebx
mov dword [ebp - 4], 0x3c
push 0x207
lea eax, [ebp - 0x414]
push eax
push ebx
mov ebx, 0x43b300
mov ecx, ebx
call fcn.0040be2e
lea eax, [ebp - 0x414]
push eax
push dword [esi + 0x88]
call edi
push 0x207
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 4]
mov ecx, ebx
call fcn.0040be2e
lea eax, [ebp - 0x414]
push eax
push dword [esi + 0xac]
call edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419683
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x268], ax
xor edi, edi
lea eax, [ebp - 0x266]
push edi
push eax
mov esi, ecx
call fcn.00420470
add esp, 0xc
push dword [esi + 4]
call dword [0x42e460]
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00412e9a
push edi
lea eax, [esi + 0x60]
push eax
lea ebx, [esi + 0x54]
push 0x10b
mov ecx, ebx
call fcn.00418b85
push edi
lea eax, [esi + 0x84]
push eax
push 0x10e
mov ecx, ebx
call fcn.00418b85
push edi
lea eax, [esi + 0xa8]
push eax
push 0x10f
mov ecx, ebx
call fcn.00418b85
push edi
lea ebx, [esi + 0xf0]
push ebx
push 0x11a
lea ecx, [esi + 0x54]
call fcn.004195e4
push edi
lea eax, [esi + 0xcc]
push eax
push 0x112
lea ecx, [esi + 0x54]
call fcn.00418b85
push 8
push dword [esi + 4]
mov ecx, 0x43b300
call fcn.0040bde2
mov ecx, esi
call fcn.0041928a
push 0x104
lea eax, [ebp - 0x268]
push eax
push dword [esi + 0xf4]
call dword [0x42e404]
push 2
push 2
mov ecx, ebx
call fcn.0041900f
push edi
push edi
push 0x31
push dword [esi + 4]
call dword [0x42e424]
push eax
mov ecx, ebx
call fcn.00419038
lea eax, [ebp - 0x268]
push eax
mov ecx, ebx
call fcn.00409a9f
lea eax, [ebp - 0x268]
push eax
mov ecx, ebx
call fcn.00419539
push 0xf
call dword [0x42e494]
mov dword [esi + 0x158], eax
mov eax, 0xee0000
push eax
push eax
push eax
mov ecx, ebx
call fcn.00408bab
mov ebx, dword [0x42e424]
push edi
push edi
push 0x31
push dword [esi + 0xd0]
mov dword [esi + 0x15c], edi
call ebx
mov dword [ebp - 4], eax
cmp dword [esi + 0x5c], edi
jne 0x41981f
cmp eax, edi
je 0x41981f
push 0x58
lea eax, [ebp - 0x5c]
push edi
push eax
mov dword [ebp - 0x60], edi
call fcn.00420470
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push 0x5c
push dword [ebp - 4]
call dword [0x42e0e4]
push 0x4335e0
lea eax, [ebp - 0x44]
push 0x20
push eax
mov dword [ebp - 0x60], 0xfffffff7
call fcn.0040abe6
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call dword [0x42e0cc]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x5c]
cmp eax, edi
je 0x419833
push 1
push eax
push 0x30
push dword [esi + 0xd0]
call ebx
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x10
Function at 0x41b44e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
xor eax, eax
push 0x3e
mov word [ebp - 0x54], ax
xor ebx, ebx
lea eax, [ebp - 0x52]
push ebx
push eax
mov dword [ebp - 0xc], ecx
call fcn.00420470
or dword [ebp - 0x10], 0xffffffff
add esp, 0xc
mov esi, 0x42e730
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [ebp + 8], ebx
jne 0x41b49a
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], esi
call fcn.00401358
xor al, al
pop esi
pop ebx
leave
ret 4
push dword [ebp + 8]
call dword [sym.imp.p_GetFileAttributesW]
lea ecx, [ebp - 0x14]
cmp eax, 0xffffffff
je 0x41b48a
push 0x80
push 3
push 3
push 0xc0000000
push dword [ebp + 8]
call fcn.004019c4
lea ecx, [ebp - 0x14]
test al, al
je 0x41b48a
push 0x40
lea eax, [ebp - 0x54]
push eax
call fcn.00401370
lea ecx, [ebp - 0x14]
cmp eax, 0x40
jne 0x41b48a
mov ax, word [ebp - 0x30]
mov word [ebp - 4], ax
mov ax, word [ebp - 0x2e]
push ebx
push ebx
mov word [ebp - 2], ax
push dword [ebp - 4]
call fcn.004013b1
and eax, edx
lea ecx, [ebp - 0x14]
cmp eax, 0xffffffff
je 0x41b48a
push 2
push ebx
push ebx
call fcn.004013b1
and eax, edx
cmp eax, 0xffffffff
jne 0x41b521
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], esi
call fcn.00401358
mov al, bl
jmp 0x41b494
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00413fc4
mov bl, al
jmp 0x41b50f
Function at 0x41bdfc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
xor eax, eax
push 0x3e
mov word [ebp - 0x4c], ax
xor ebx, ebx
lea eax, [ebp - 0x4a]
push ebx
push eax
mov edi, ecx
call fcn.00420470
or dword [ebp - 8], 0xffffffff
add esp, 0xc
mov esi, 0x42e730
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
jne 0x41be44
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], esi
call fcn.00401358
mov al, bl
jmp 0x41bec5
push dword [ebp + 8]
call dword [sym.imp.p_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41be56
mov bl, 1
jmp 0x41be32
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.00402a7c
test al, al
je 0x41be32
push 0x40
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401370
cmp eax, 0x40
jne 0x41be32
mov ax, word [ebp - 0x28]
mov word [ebp - 4], ax
mov ax, word [ebp - 0x26]
push ebx
push ebx
mov word [ebp - 2], ax
push dword [ebp - 4]
lea ecx, [ebp - 0xc]
call fcn.004013b1
and eax, edx
cmp eax, 0xffffffff
je 0x41be32
lea eax, [ebp - 0xc]
push eax
mov ecx, edi
call fcn.00403566
test al, al
je 0x41beb1
cmp dword [edi + 0x14], 1
jne 0x41be9c
mov edi, dword [edi + 0x14]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], esi
call fcn.00401358
cmp edi, 1
sete al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41c0cb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
xor eax, eax
push 0x3e
mov word [ebp - 0x60], ax
xor ebx, ebx
lea eax, [ebp - 0x5e]
push ebx
push eax
mov esi, ecx
call fcn.00420470
or dword [ebp - 0x1c], 0xffffffff
add esp, 0xc
mov dword [ebp - 0x20], 0x42e730
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 1], 1
cmp dword [ebp + 8], ebx
jne 0x41c126
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x42e730
call fcn.00401358
mov al, bl
jmp 0x41c221
push dword [ebp + 8]
call dword [sym.imp.p_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41c138
mov bl, 1
jmp 0x41c110
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.00402a7c
test al, al
je 0x41c110
push 0x40
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401370
cmp eax, 0x40
jne 0x41c110
mov ax, word [ebp - 0x3c]
mov word [ebp - 8], ax
mov ax, word [ebp - 0x3a]
push ebx
push ebx
mov word [ebp - 6], ax
push dword [ebp - 8]
lea ecx, [ebp - 0x20]
call fcn.004013b1
and eax, edx
cmp eax, 0xffffffff
je 0x41c110
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.00403566
test al, al
je 0x41c193
cmp dword [esi + 0x14], 4
jne 0x41c17e
cmp dword [esi + 0x14], 4
jne 0x41c110
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 7
mov ecx, esi
call fcn.00414038
test al, al
je 0x41c110
mov edi, dword [ebp - 0x10]
cmp edi, ebx
je 0x41c210
cmp dword [ebp - 0xc], 4
jb 0x41c210
push 4
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00420a10
add esp, 0xc
add edi, 4
cmp dword [ebp - 0x14], 1
ja 0x41c110
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp - 0xc]
sub edx, edi
add edx, dword [ebp - 0x10]
lea ecx, [esi + 0x68]
mov eax, dword [ecx]
push edx
push edi
call dword [eax + 4]
test al, al
jne 0x41c1fc
mov byte [ebp - 1], bl
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x42e730
call fcn.00401358
mov al, byte [ebp - 1]
jmp 0x41c221
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x42e730
call fcn.00401358
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41c228
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
xor eax, eax
push 0x3e
mov word [ebp - 0x58], ax
xor ebx, ebx
lea eax, [ebp - 0x56]
push ebx
push eax
mov dword [ebp - 8], ecx
call fcn.00420470
or dword [ebp - 0x14], 0xffffffff
add esp, 0xc
mov esi, 0x42e730
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 8], ebx
jne 0x41c27a
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
call fcn.00401358
xor al, al
jmp 0x41c315
push dword [ebp + 8]
call dword [sym.imp.p_GetFileAttributesW]
lea ecx, [ebp - 0x18]
cmp eax, 0xffffffff
je 0x41c26b
push 0x80
push 3
push 3
push 0xc0000000
push dword [ebp + 8]
call fcn.004019c4
lea ecx, [ebp - 0x18]
test al, al
je 0x41c26b
push 0x40
lea eax, [ebp - 0x58]
push eax
call fcn.00401370
lea ecx, [ebp - 0x18]
cmp eax, 0x40
jne 0x41c26b
mov ax, word [ebp - 0x34]
mov word [ebp - 4], ax
mov ax, word [ebp - 0x32]
push edi
mov word [ebp - 2], ax
mov edi, dword [ebp - 4]
push ebx
xor eax, eax
push eax
push edi
call fcn.004013b1
and eax, edx
lea ecx, [ebp - 0x18]
cmp eax, 0xffffffff
je 0x41c30a
push ebx
xor eax, eax
push eax
push edi
call fcn.004013b1
and eax, edx
lea ecx, [ebp - 0x18]
cmp eax, 0xffffffff
je 0x41c30a
push 2
push ebx
push ebx
call fcn.004013b1
and eax, edx
cmp eax, 0xffffffff
jne 0x41c31b
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
call fcn.00401358
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
mov esi, dword [ebp - 8]
add esi, 0x68
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov edi, eax
add edi, 4
push edi
call fcn.00420d75
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x41c34f
xor bl, bl
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x42e730
call fcn.00401358
mov al, bl
jmp 0x41c314
push 4
lea eax, [ebp - 0xc]
push eax
push ebx
call fcn.00420a10
mov edx, dword [esi]
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
lea eax, [ebx + 4]
mov ecx, edi
sub ecx, eax
add ecx, ebx
push ecx
push eax
mov ecx, esi
call dword [edx + 8]
test al, al
jne 0x41c37d
mov byte [ebp + 0xb], al
jmp 0x41c3a6
mov ecx, dword [ebp - 8]
push 4
call fcn.00402a99
mov ecx, dword [ebp - 8]
push edi
push ebx
push 7
call fcn.0041bda3
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00413fc4
mov byte [ebp + 0xb], al
push ebx
call fcn.004209ff
mov bl, byte [ebp + 0xb]
pop ecx
jmp 0x41c33c