joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4417b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49a7a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0048e134
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004937cc
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00494ce8
test eax, eax
je 0x4418cc
mov ecx, dword [esp + 0x3c]
call fcn.004937f9
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x441890
push edi
mov ecx, esi
call fcn.00490e61
mov ecx, esi
call fcn.00441a70
cmp dword [esp + 0x38], 1
jne 0x4418c5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00490f9c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x443ab0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443ae3
push esi
call fcn.00451e50
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x443adc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x443b69
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443b52
mov eax, dword [esi + 8]
test eax, eax
je 0x443b07
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x443b4e
cmp eax, 2
je 0x443b52
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x443afa
cmp eax, 3
je 0x443b2d
cmp eax, 1
jne 0x443afa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x443afa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x443afa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00443b90
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443b78
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00443b90
add esp, 4
pop esi
ret

Function at 0x444400
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x444421
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x444421
mov eax, dword [eax + 0x44]
test eax, eax
je 0x444421
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x45fcf0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
xor ecx, ecx
push esi
push edi
mov eax, dword [ebp]
mov edi, dword [ebp + 4]
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x45fdf3
add ebx, 0x10
mov eax, dword [ebx]
test eax, eax
jne 0x45fd76
mov edx, dword [esp + 0x20]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x45fdd6
mov eax, dword [ebp + 0x34]
mov edx, dword [ebx - 4]
push eax
mov ecx, edi
push 4
push 0x1000
add ecx, edx
push esi
push ecx
call dword [ebp + 0x1c]
add esp, 0x14
test eax, eax
je 0x45fdfe
mov eax, dword [ebx - 4]
mov ecx, esi
mov edx, ecx
add edi, eax
xor eax, eax
mov dword [ebx - 8], edi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x45fdd2
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x1c]
add ecx, eax
push ecx
push edx
call fcn.0045fcd0
add esp, 8
test eax, eax
je 0x45fdfe
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebx]
push eax
mov eax, dword [ebx - 4]
mov edx, edi
push 4
push 0x1000
add edx, eax
push ecx
push edx
call dword [ebp + 0x1c]
add esp, 0x14
test eax, eax
je 0x45fdfe
mov ecx, dword [ebx - 4]
mov esi, dword [ebx + 4]
mov eax, edi
mov edi, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [ebx]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov edi, dword [esp + 0x24]
mov ecx, dword [ebp]
mov eax, dword [esp + 0x10]
xor edx, edx
inc eax
mov dx, word [ecx + 6]
add ebx, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x45fd23
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x45fe10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
xor ecx, ecx
mov eax, dword [edi]
mov cx, word [eax + 0x14]
lea esi, [ecx + eax + 0x18]
mov ecx, dword [edi + 0x3c]
push ecx
mov eax, dword [esi + 8]
push eax
mov dword [esp + 0x1c], eax
call fcn.0045ff60
push esi
push edi
mov dword [esp + 0x28], eax
call fcn.0045ff70
mov ecx, dword [edi]
mov dword [esp + 0x2c], eax
mov edx, dword [esi + 0x24]
mov eax, 1
add esp, 0x10
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 0
add esi, 0x28
cmp word [ecx + 6], ax
mov dword [esp + 0x10], eax
jbe 0x45ff2b
mov ecx, dword [edi + 0x3c]
mov eax, dword [esi + 8]
push ecx
push eax
mov dword [esp + 0x34], eax
call fcn.0045ff60
push esi
push edi
mov ebx, eax
call fcn.0045ff70
mov edx, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp eax, ebx
je 0x45fed5
mov eax, dword [esp + 0x1c]
add eax, edx
cmp eax, ebx
ja 0x45fed5
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.0045ffa0
add esp, 8
test eax, eax
je 0x45ff4b
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x24]
mov dword [esp + 0x20], eax
jmp 0x45ff0a
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x20]
test eax, 0x2000000
je 0x45fef3
test ecx, 0x2000000
je 0x45fef3
or ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x45fefe
or eax, ecx
and eax, 0xfdffffff
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
sub ebp, edx
add ebp, eax
mov dword [esp + 0x1c], ebp
mov ecx, dword [edi]
mov eax, dword [esp + 0x10]
xor edx, edx
inc eax
mov dx, word [ecx + 6]
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x45fe71
mov eax, 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0045ffa0
add esp, 8
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret

Function at 0x467b70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x96fe5c]
xor edx, edx
cmp eax, edx
jne 0x467b96
xor eax, eax
mov byte [eax + 0x96fd5c], al
inc eax
cmp eax, 0x100
jl 0x467b7e
mov dword [0x96fe5c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x96fd5c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x467c27
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x467bfa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x467bc8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x467c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x467c83
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x467c6a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46e610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49ac8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0046ef30
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x93945c
call fcn.0048c8c6
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x46e6a3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048c8c6
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x46e69c
push 0
mov ecx, eax
call fcn.004657b0
mov dword [esi + 0xc], eax
jmp 0x46e6a5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x46e6a5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x48ef29
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48ef61
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048cfe0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048cfb8
jmp 0x48ef6d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49061e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x490660
call fcn.004960ce
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x490660
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x490657
xor eax, eax
jmp 0x490668
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049066e
pop edi
pop esi
pop ebx
ret 4
Function at 0x4965fe
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49662c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49664a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00496564
jmp 0x49664a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49664a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00496564
test edi, edi
mov eax, edi
jne 0x496634
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10003f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100a7740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x100ac914]
push esi
mov dword [esp + 4], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.10005e10
push ecx
mov byte [esp + 0x3c], 1
mov ecx, esp
mov dword [esp + 0xc], esp
push str.TransferCode_EN_crypt
call fcn.1001ffc0
lea ecx, [esp + 0x10]
call fcn.10006000
cmp dword [esp + 0x2c], 0xf0000001
jne 0x10003fea
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x10]
call fcn.100063c0
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x10004026
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call fcn.10005f60
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.10020760
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop esi
add esp, 0x38
ret
mov edx, dword [esp + 0x40]
push edx
push eax
call fcn.100353c7
add esp, 8
xor ecx, ecx
test eax, eax
sete cl
mov esi, ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call fcn.10005f60
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.10020760
mov ecx, dword [esp + 0x30]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x38
ret
Function at 0x10004110
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x40
push ebp
push esi
push edi
mov edi, dword [esp + 0x50]
test edi, edi
je 0x100042ae
push edi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x100042ae
mov esi, dword [esp + 0x54]
test esi, esi
je 0x100042ae
push esi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x100042ae
push esi
call fcn.100040d0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x10004278
push eax
push eax
push 3
push eax
push 7
push accept
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10004281
xor eax, eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x15], eax
lea edx, [esp + 0x14]
mov dword [esp + 0x19], eax
mov byte [esp + 0x14], 0
mov dword [esp + 0x1d], eax
mov word [esp + 0x21], ax
push eax
push ecx
push 0x10
push edx
push esi
mov byte [esp + 0x37], al
mov dword [esp + 0x64], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000428d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [str._TSD_Header__]
mov ecx, dword [0x100c086c]
mov edx, dword [0x100c0870]
mov dword [esp + 0x24], eax
mov eax, dword [0x100c0874]
mov dword [esp + 0x28], ecx
mov cl, byte [0x100c0878]
mov dword [esp + 0x30], eax
mov eax, dword [0x100c0858]
mov byte [esp + 0x34], cl
mov ecx, dword [0x100c085c]
mov dword [esp + 0x2c], edx
mov edx, dword [str._TSD_Broken_____]
mov dword [esp + 0x3c], eax
mov al, byte [0x100c0864]
mov dword [esp + 0x40], ecx
mov ecx, dword [str.TSZ]
mov dword [esp + 0x38], edx
mov edx, dword [0x100c0860]
mov byte [esp + 0x48], al
mov dword [esp + 0xc], ecx
mov dword [esp + 0x44], edx
mov dl, byte [0x100c0850]
mov ecx, 4
lea edi, [esp + 0x24]
lea esi, [esp + 0x14]
xor eax, eax
mov byte [esp + 0x10], dl
repe cmpsd dword [esi], dword es:[edi]
je 0x100042a2
mov ecx, 4
lea edi, [esp + 0x38]
lea esi, [esp + 0x14]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x100042a2
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0xc]
lea esi, [esp + 0x14]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100042a2
pop edi
mov eax, ebp
pop esi
pop ebp
add esp, 0x40
ret
pop edi
pop esi
mov eax, 0x15024
pop ebp
add esp, 0x40
ret
push esi
mov edi, 0x15029
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x40
ret
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x40
ret
pop edi
pop esi
mov eax, 0x15027
pop ebp
add esp, 0x40
ret

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

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x10004323
push edi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x10004323
mov esi, dword [esp + 0x10]
test esi, esi
je 0x10004323
push esi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x10004323
push esi
call fcn.100040d0
add esp, 4
test eax, eax
jne 0x10004328
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000431b
test al, 0x10
jne 0x1000431b
push 1
push 0
push 0
push edi
call fcn.10004a10
add esp, 0x10
pop edi
pop esi
ret
pop edi
mov eax, 0x15024
pop esi
ret
mov eax, 0x15027
pop edi
pop esi
ret
Function at 0x10004330
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x100043f5
push edi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x100043f5
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100043f5
push esi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x100043f5
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x100043f5
push ebp
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x100043f5
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call ebx
cmp eax, 0xffffffff
je 0x10004395
test al, 0x10
jne 0x100043e1
push ebp
call fcn.100040d0
add esp, 4
test eax, eax
jne 0x100043fa
push edi
call ebx
cmp eax, 0xffffffff
je 0x100043eb
test al, 0x10
jne 0x100043eb
push esi
push edi
call fcn.100356a9
add esp, 8
test eax, eax
jne 0x100043ce
push 1
push eax
push eax
push edi
call fcn.10004a10
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
push 3
push 0
push esi
push edi
call fcn.10004a10
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0x1502f
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0x15024
pop ebx
ret
mov eax, 0x15027
pop edi
pop esi
pop ebp
pop ebx
ret

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

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x10004489
push edi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x10004489
mov esi, dword [esp + 0x14]
test esi, esi
je 0x10004489
push esi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x10004489
push esi
call fcn.100040d0
add esp, 4
test eax, eax
jne 0x1000448e
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10004481
test al, 0x10
jne 0x10004481
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1000446f
push esi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x1000446f
push 6
push esi
push 0
push edi
call fcn.10004a10
add esp, 0x10
pop edi
pop esi
ret
push 1
push 0
push 0
push edi
call fcn.10004a10
add esp, 0x10
pop edi
pop esi
ret
pop edi
mov eax, 0x15024
pop esi
ret
mov eax, 0x15027
pop edi
pop esi
ret
Function at 0x100044a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
test esi, esi
push edi
je 0x100045ce
push esi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x100045ce
mov edi, dword [esp + 0x18]
test edi, edi
je 0x100045ce
push edi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x100045ce
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x100045ce
push ebp
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x100045ce
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
call ebx
cmp eax, 0xffffffff
je 0x10004511
test al, 0x10
jne 0x100045ba
push ebp
call fcn.100040d0
add esp, 4
test eax, eax
jne 0x100045d3
push esi
call ebx
cmp eax, 0xffffffff
je 0x100045c4
test al, 0x10
jne 0x100045c4
push edi
push esi
call fcn.100356a9
add esp, 8
test eax, eax
jne 0x10004580
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x1000456c
push edi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x1000456c
push 6
push edi
push 0
push esi
call fcn.10004a10
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
push 1
push 0
push 0
push esi
call fcn.10004a10
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x100045a7
push ebx
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x100045a7
push 8
push ebx
push edi
push esi
call fcn.10004a10
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
push 3
push 0
push edi
push esi
call fcn.10004a10
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0x1502f
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0x15024
pop ebx
ret
mov eax, 0x15027
pop edi
pop esi
pop ebp
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x1000465a
push edi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x1000465a
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x1000465a
push ebx
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x1000465a
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1000465a
push esi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x1000465a
push esi
call fcn.100040d0
add esp, 4
test eax, eax
jne 0x1000465f
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10004651
test al, 0x10
jne 0x10004651
push 7
push ebx
push 0
push edi
call fcn.10004a10
add esp, 0x10
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, 0x15024
pop ebx
ret
mov eax, 0x15027
pop edi
pop esi
pop ebx
ret
Function at 0x10004670
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x100046d3
push edi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x100046d3
mov esi, dword [esp + 0x10]
test esi, esi
je 0x100046d3
push esi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x100046d3
push esi
call fcn.100040d0
add esp, 4
test eax, eax
jne 0x100046d8
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100046cb
test al, 0x10
jne 0x100046cb
push 2
push 0
push 0
push edi
call fcn.10004a10
add esp, 0x10
pop edi
pop esi
ret
pop edi
mov eax, 0x15024
pop esi
ret
mov eax, 0x15027
pop edi
pop esi
ret

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

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x100047a5
push edi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x100047a5
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100047a5
push esi
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x100047a5
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x100047a5
push ebp
call fcn.10034f5f
add esp, 4
test eax, eax
je 0x100047a5
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call ebx
cmp eax, 0xffffffff
je 0x10004745
test al, 0x10
jne 0x10004791
push ebp
call fcn.100040d0
add esp, 4
test eax, eax
jne 0x100047aa
push edi
call ebx
cmp eax, 0xffffffff
je 0x1000479b
test al, 0x10
jne 0x1000479b
push esi
push edi
call fcn.100356a9
add esp, 8
test eax, eax
jne 0x1000477e
push 2
push eax
push eax
push edi
call fcn.10004a10
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
push 4
push 0
push esi
push edi
call fcn.10004a10
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0x1502f
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0x15024
pop ebx
ret
mov eax, 0x15027
pop edi
pop esi
pop ebp
pop ebx
ret