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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c620
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4d404c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004073f0
test al, al
je 0x40ae2f
xor al, al
jmp 0x40aeba
push esi
lea ecx, [ebp - 0x28]
call fcn.004075c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push 4
push eax
call fcn.0040e030
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.00407400
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40ae9e
lea ecx, [ebp - 0x40]
call fcn.004075a0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0041ca30
test al, al
je 0x40ae8d
lea ecx, [ebp - 0x40]
call fcn.00407400
push eax
call esi
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004074c0
cmp ebx, 0xffffffff
je 0x40aea7
test bl, 0x10
je 0x40aea7
mov bl, 1
jmp 0x40aea9
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004074c0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00477254
mov esp, ebp
pop ebp
ret
Function at 0x40b6f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c750
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4d404c]
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 edi, dword [ebp + 8]
mov ecx, edi
call fcn.004073f0
test al, al
je 0x40b730
xor al, al
jmp 0x40b8eb
push edi
call fcn.0040adf0
add esp, 4
test al, al
je 0x40b744
mov al, 1
jmp 0x40b8eb
push 0
mov ecx, edi
call fcn.00407400
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push eax
call ebx
test eax, eax
jne 0x40b793
lea ecx, [ebp - 0x28]
call fcn.004075a0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0041ca30
test al, al
je 0x40b784
push 0
lea ecx, [ebp - 0x28]
call fcn.00407400
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004074c0
push edi
call fcn.0040adf0
add esp, 4
test al, al
jne 0x40b73d
mov ecx, edi
call fcn.004077a0
xor esi, esi
mov dword [ebp - 0x44], eax
test eax, eax
je 0x40b88c
mov ecx, edi
call fcn.00407700
mov ebx, eax
nop dword [eax]
mov ecx, dword [ebx + 0x14]
mov eax, ebx
cmp ecx, 8
jb 0x40b7cc
mov eax, dword [ebx]
mov edx, 0x2f
cmp dx, word [eax + esi*2]
mov edx, 0x5c
je 0x40b7ef
mov eax, ebx
cmp ecx, 8
jb 0x40b7e5
mov eax, dword [ebx]
cmp dx, word [eax + esi*2]
jne 0x40b87c
push esi
push 0
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004091f0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004073f0
test al, al
jne 0x40b86d
lea eax, [ebp - 0x28]
push eax
call fcn.0040aab0
add esp, 4
test al, al
jne 0x40b86d
push 0
lea ecx, [ebp - 0x28]
call fcn.00407400
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40b86d
lea ecx, [ebp - 0x40]
call fcn.004075a0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0041ca30
test al, al
je 0x40b861
push 0
lea ecx, [ebp - 0x40]
call fcn.00407400
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004074c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004074c0
inc esi
cmp esi, dword [ebp - 0x44]
jb 0x40b7c0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
call fcn.0040aab0
add esp, 4
test al, al
jne 0x40b8e2
push 0
mov ecx, edi
call fcn.00407400
push eax
call ebx
test eax, eax
jne 0x40b8e2
lea ecx, [ebp - 0x40]
call fcn.004075a0
mov dword [ebp - 4], 3
lea edx, [ebp - 0x40]
mov ecx, edi
call fcn.0041ca30
test al, al
je 0x40b8d3
push 0
lea ecx, [ebp - 0x40]
call fcn.00407400
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004074c0
push edi
call fcn.0040adf0
add esp, 4
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.00477254
mov esp, ebp
pop ebp
ret
Function at 0x40cb60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c9c8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4d404c]
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, dword [ebp + 8]
push ecx
push 0x4b94d4
mov ecx, esi
call fcn.0040d170
cmp eax, 0xffffffff
jne 0x40cbf8
mov ecx, esi
call fcn.00407400
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x40cbf3
lea ecx, [ebp - 0x28]
call fcn.004075a0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0041ca30
test al, al
je 0x40cbe1
lea ecx, [ebp - 0x28]
call fcn.00407400
push eax
call ebx
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004074c0
cmp edi, 0xffffffff
setne al
jmp 0x40cc27
lea ecx, [ebp - 0x68]
call fcn.0041b4d0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x68]
push eax
push esi
call fcn.0041ba40
add esp, 8
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004074c0
mov al, bl
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.00477254
mov esp, ebp
pop ebp
ret

Function at 0x40d270
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
mov dword [esi], 0
mov word [esi + 4], 0
call fcn.004073f0
test al, al
jne 0x40d297
mov ecx, dword [esp + 8]
call fcn.00407400
jmp 0x40d299
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
je 0x40d2c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, esi
jne 0x40d2c3
mov byte [esi + 5], 1
pop esi
ret 4
mov eax, esi
pop esi
ret 4
Function at 0x40d320
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49caa8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4d404c]
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 edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
test eax, eax
je 0x40d366
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.0041f1d0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x40d38f
lea ebx, [esi + 8]
jmp 0x40d391
xor ebx, ebx
mov ecx, dword [ebp - 0x18]
call fcn.004073f0
test al, al
jne 0x40d3a7
mov ecx, dword [ebp - 0x18]
call fcn.00407400
jmp 0x40d3a9
xor eax, eax
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x40d3ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40d3ca
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x40d3f3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40d408
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.0047752f
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
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.00477254
mov esp, ebp
pop ebp
ret 4
Function at 0x40d440
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49caa8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4d404c]
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 edi, ecx
mov eax, dword [edi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x40d483
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push ecx
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.0041f290
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x40d4b0
lea eax, [esi + 8]
mov dword [ebp - 0x18], eax
jmp 0x40d4b7
mov dword [ebp - 0x18], 0
mov ecx, ebx
call fcn.004073f0
test al, al
jne 0x40d4cb
mov ecx, ebx
call fcn.00407400
jmp 0x40d4cd
xor eax, eax
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
test eax, eax
jne 0x40d51e
call ecx
cmp eax, 5
jne 0x40d518
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebx
call fcn.004073f0
test al, al
jne 0x40d508
mov ecx, ebx
call fcn.00407400
jmp 0x40d50a
xor eax, eax
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [edi]
test eax, eax
je 0x40d53c
call ecx
cmp eax, 0xb7
jne 0x40d531
mov byte [edi + 5], 1
mov ecx, dword [edi]
call fcn.0041df10
mov eax, dword [edi]
test eax, eax
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x40d562
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40d577
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.0047752f
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
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.00477254
mov esp, ebp
pop ebp
ret 4
Function at 0x410fc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cf08
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4d404c]
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 edi, ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00410510
test al, al
jne 0x41102f
xor bl, bl
jmp 0x41118e
lea ecx, [ebp - 0x58]
call fcn.0040e730
mov byte [ebp - 4], 1
lea ecx, [edi + 0x24]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x41104e
push ecx
lea ecx, [ebp - 0x58]
call fcn.004115b0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040fce0
test al, al
jne 0x411066
xor bl, bl
jmp 0x411182
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x58]
call fcn.0040f2f0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
je 0x411174
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
push 0
push 0
push 0
call fcn.0041bdb0
test al, al
je 0x411174
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x20]
sub ecx, eax
push edx
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x14], 0
call fcn.0041bcb0
test al, al
je 0x411174
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
cmp dword [ebp - 0x14], eax
jne 0x411174
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
sub edi, ebx
mov eax, dword [esi]
mov dword [ebp - 0x30], edi
test eax, eax
je 0x411174
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x411174
push 0
lea ecx, [ebp - 0x14]
push ecx
push 4
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x411174
cmp dword [ebp - 0x14], 4
jne 0x411174
cmp ebx, dword [ebp - 0x28]
je 0x411141
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push edi
push ebx
call fcn.0041bcb0
test al, al
je 0x411174
cmp dword [ebp - 0x14], edi
jne 0x411174
cmp dword [esi], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x60], xmm0
je 0x411170
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
push 1
push 0
push 0
call fcn.0041bdb0
test al, al
je 0x411170
push dword [ebp - 0x5c]
mov ecx, esi
push dword [ebp - 0x60]
call fcn.0041be40
mov bl, 1
jmp 0x411176
xor bl, bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00412bd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00411480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00412bd0
mov al, bl
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.00477254
mov esp, ebp
pop ebp
ret 4
Function at 0x411330
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cf88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4d404c]
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 eax, dword [ebp + 8]
mov ecx, eax
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push 0x80
push dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
push dword [ebp + 0x14]
push esi
push edi
call fcn.0041bb80
mov bl, al
test bl, bl
jne 0x41145b
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, 0x50000000
je 0x41140e
call eax
cmp eax, 5
jne 0x411409
push 0x80
mov ecx, edi
call fcn.00407400
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
call ebx
test eax, eax
jne 0x4113ee
lea ecx, [ebp - 0x28]
call fcn.004075a0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0041ca30
test al, al
je 0x4113df
push 0x80
lea ecx, [ebp - 0x28]
call fcn.00407400
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004074c0
mov ecx, dword [ebp - 0x2c]
push 0x80
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push edi
call fcn.0041bb80
mov bl, al
test bl, bl
jne 0x41145b
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
cmp eax, 0x21
je 0x41141a
cmp eax, 0x20
jne 0x41145b
xor esi, esi
nop dword [eax]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x2c]
push 0x80
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call fcn.0041bb80
mov bl, al
test bl, bl
jne 0x41145b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
je 0x411455
cmp eax, 0x20
jne 0x41145b
inc esi
cmp esi, 0x28
jb 0x411420
mov al, bl
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.00477254
mov esp, ebp
pop ebp
ret 0x18
Function at 0x415ad0
Capabilities:
Check if file exists

Disassembly:
cmp dword [ecx + 0x38], 0
jge fcn.00415c50
jmp fcn.00415ae0

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

Disassembly:
push ebp
lea ebp, [esp - 0x418]
sub esp, 0x418
push 0xfffffffffffffffe
push 0x4c6868
push 0x478c90
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4d404c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x414], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x424]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x428]
mov dword [ebp - 0x20], eax
xor bl, bl
mov byte [ebp - 0x19], bl
push 0x412
push 0
lea eax, [ebp]
push eax
call fcn.0047a110
add esp, 0xc
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.004158f0
cmp byte [edi + 0x30], bl
je 0x415b92
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x415bb7
test al, 0x10
jne 0x415bb7
call fcn.00420070
push 0
lea ecx, [ebp]
push ecx
mov ecx, eax
call fcn.00420360
test al, al
je 0x415bb7
mov dword [edi + 0x34], 0
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0
test esi, esi
jne 0x415bbb
mov dword [ebp - 4], 0xfffffffe
xor al, al
jmp 0x415c1c
push str.ExtractArchive
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x415bea
mov dword [edi + 0x34], esi
push edi
push 0x415790
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call eax
add esp, 0x14
test eax, eax
sete bl
mov byte [ebp - 0x19], bl
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 0xfffffffe
jmp 0x415c0f
test esi, esi
je 0x415c1a
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.00477254
lea esp, [ebp + 0x418]
pop ebp
ret 0xc
Function at 0x415c50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x418]
sub esp, 0x418
push 0xfffffffffffffffe
push 0x4c6888
push 0x478c90
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4d404c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x414], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x424]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x428]
mov dword [ebp - 0x20], eax
xor bl, bl
mov byte [ebp - 0x19], bl
push 0x412
push 0
lea eax, [ebp]
push eax
call fcn.0047a110
add esp, 0xc
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.004158f0
cmp byte [edi + 0x30], bl
je 0x415d02
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x415d27
test al, 0x10
jne 0x415d27
call fcn.00420070
push 0
lea ecx, [ebp]
push ecx
mov ecx, eax
call fcn.00420360
test al, al
je 0x415d27
mov dword [edi + 0x34], 0
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0
test esi, esi
jne 0x415d2b
mov dword [ebp - 4], 0xfffffffe
xor al, al
jmp 0x415d8f
push str.ExtractArchive2
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x415d5d
mov dword [edi + 0x34], esi
push dword [edi + 0x38]
push edi
push 0x415790
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call eax
add esp, 0x18
test eax, eax
sete bl
mov byte [ebp - 0x19], bl
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 0xfffffffe
jmp 0x415d82
test esi, esi
je 0x415d8d
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.00477254
lea esp, [ebp + 0x418]
pop ebp
ret 0xc
Function at 0x419740
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e3c8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4d404c]
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 edi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push 2
push 0xffffffffffffffff
push 0xffff8000
movlpd qword [ebp - 0x3c], xmm0
call fcn.0041bdb0
test al, al
jne 0x4197a0
mov eax, 1
jmp 0x41991d
push 0x10000
call fcn.00477988
mov ebx, eax
mov dword [ebp - 0x18], 0
add esp, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
push 0x10000
push 0
push ebx
call fcn.0047a110
mov eax, dword [esi]
add esp, 0xc
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x4198f6
test ebx, ebx
je 0x4198f6
cmp dword [eax], 0xffffffff
je 0x4198f6
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x8000
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4198f6
mov esi, dword [ebp - 0x20]
mov ecx, 0x8000
xor ebx, ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], ecx
add esi, ecx
nop word [eax + eax]
cmp byte [edi + 0x9c], 0
jne 0x4198ec
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push edx
push ecx
mov ecx, dword [ebp - 0x34]
lea eax, [esi + ebx]
push eax
call fcn.0042c5d0
test al, al
je 0x4198df
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x419892
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x419881
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x9c], 0
jne 0x4198ec
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
jmp 0x41989c
add ebx, eax
cmp ebx, 0x8000
je 0x4198ac
cmp dword [ebp - 0x28], 0xf
ja 0x4198d5
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov dword [ebp - 0x2c], ecx
jne 0x419830
mov ebx, dword [ebp - 0x20]
mov edx, 0x7ffc
mov ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4198ce
add ecx, 4
add esi, 4
sub edx, 4
jae 0x4198b6
mov esi, 4
jmp 0x419907
mov esi, 5
jmp 0x419907
mov ebx, dword [ebp - 0x20]
mov esi, 3
jmp 0x419907
mov eax, dword [ebp - 0x30]
mov esi, 3
mov ebx, dword [ebp - 0x20]
jmp 0x419901
mov ebx, dword [ebp - 0x20]
mov esi, 2
jmp 0x419907
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov dword [edi + 0xb0], eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x41991b
push ebx
call fcn.00477788
add esp, 4
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.00477254
mov esp, ebp
pop ebp
ret 0xc