joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430ae0
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45e740
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x474390]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x474390]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x24], 7
push 0xffffffffffffffff
push eax
lea esi, [edi + 0x4c]
mov dword [esp + 0x28], 0
push esi
lea ecx, [esp + 0x1c]
mov word [esp + 0x1c], ax
call fcn.00410ed0
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0
call fcn.00435610
xor eax, eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 1
call fcn.00435450
lea eax, [esp + 0x40]
mov edx, 0x46acf4
push eax
lea ecx, [esp + 0x5c]
call fcn.00411320
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 2
call fcn.004117a0
cmp dword [esp + 0x6c], 8
jb 0x430bbb
push dword [esp + 0x58]
call fcn.00440147
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
lea edx, [esp + 0x28]
mov byte [esp + 0x80], 3
mov ecx, esi
call fcn.004358a0
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.004356a0
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x430c59
cmp dword [esi + 0x10], 0
je 0x430c59
cmp dword [esp + 0x20], 0
je 0x430c59
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
cmp dword [esi + 0x14], 8
jb 0x430c2f
mov esi, dword [esi]
push eax
push esi
call fcn.004455cd
add esp, 8
test eax, eax
jne 0x430c59
lea ecx, [edi + 0x98]
lea eax, [esp + 0x10]
cmp ecx, eax
je 0x430c55
push 0xffffffffffffffff
push 0
push eax
call fcn.00410ed0
mov bl, 1
jmp 0x430c5b
xor bl, bl
cmp dword [esp + 0x3c], 8
jb 0x430c6e
push dword [esp + 0x28]
call fcn.00440147
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
cmp dword [esp + 0x54], 8
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
jb 0x430c98
push dword [esp + 0x40]
call fcn.00440147
add esp, 4
xor eax, eax
mov dword [esp + 0x54], 7
cmp dword [esp + 0x24], 8
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
jb 0x430cc2
push dword [esp + 0x10]
call fcn.00440147
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0043f991
mov esp, ebp
pop ebp
ret
Function at 0x435990
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.00444420
mov eax, dword [0x474390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
xor edx, edx
cmp dword [ecx + 0x14], 8
push edi
mov dword [ebp - 0x2008], edx
jb 0x4359bc
mov ecx, dword [ecx]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push ecx
call ebx
cmp dword [esi + 0x14], 8
mov edi, eax
jb 0x4359e1
mov esi, dword [esi]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push esi
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x435a17
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f991
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ecx]
push 0
lea eax, [ebp - 0x200c]
push eax
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435a5f
push 0
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x200c]
lea eax, [ebp - 0x2004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x435a67
call esi
mov dword [ebp - 0x2008], eax
cmp dword [ebp - 0x200c], 0x1000
je 0x435a20
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push ebx
call esi
mov edx, dword [ebp - 0x2008]
xor eax, eax
mov ecx, dword [ebp - 4]
test edx, edx
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0043f991
mov esp, ebp
pop ebp
ret
Function at 0x435aa0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45eaa8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x474390]
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 esi, ecx
lea edi, [esi + 0x4c]
xor bl, bl
cmp dword [edi + 0x14], 8
jb 0x435adc
mov eax, dword [edi]
jmp 0x435ade
mov eax, edi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x40], eax
cmp eax, 0xffffffff
jne 0x435b06
xor al, al
jmp 0x435bc6
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x435b25
mov eax, dword [ebp - 0x3c]
mov bl, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
jmp 0x435b31
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x435bc4
cmp dword [ebp - 0x34], 0
jl 0x435bc4
jg 0x435b53
cmp dword [ebp - 0x30], 0xa00000
jb 0x435bc4
mov eax, dword [esi + 0x68]
lea ebx, [esi + 0x68]
test eax, eax
je 0x435b64
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x18], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00410ed0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00435c60
lea edx, [ebp - 0x2c]
mov ecx, edi
call fcn.00435990
test al, al
je 0x435ba8
mov ecx, esi
call fcn.00430e50
mov eax, dword [esi]
mov ecx, esi
push ebx
mov eax, dword [eax]
call eax
cmp dword [ebp - 0x18], 8
mov bl, al
jb 0x435bc4
push dword [ebp - 0x2c]
call fcn.00440147
add esp, 4
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 - 0x14]
xor ecx, ebp
call fcn.0043f991
mov esp, ebp
pop ebp
ret 4

Function at 0x435bf0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x435c3e
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x435c3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x435c3b
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi], eax
cmp dword [esi], 0
setne bl
cmp dword [ebp + 0x1c], 8
jb 0x435c52
push dword [ebp + 8]
call fcn.00440147
add esp, 4
pop esi
mov al, bl
pop ebx
pop ebp
ret 0x18
Function at 0x435eb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x474390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push 0
push 0
mov edi, ecx
mov esi, edx
push edi
push 0
xor bl, bl
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
lea eax, [ebp - 0x20c]
push eax
js 0x435f4e
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x435f40
cmp word [ebp - 0x20c], 0
jne 0x435f13
xor ecx, ecx
jmp 0x435f2f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435f20
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00410bb0
mov bl, 1
push dword [ebp - 0x210]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x435f96
push 1
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x435f96
cmp word [ebp - 0x20c], 0
jne 0x435f6d
xor ecx, ecx
jmp 0x435f85
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435f76
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00410bb0
mov bl, 1
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x435fe9
mov edx, dword [esi + 0x14]
cmp edx, 8
jb 0x435fa9
mov eax, dword [esi]
jmp 0x435fab
mov eax, esi
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x435fe9
lea eax, [ecx - 1]
cmp eax, ecx
ja 0x435fdd
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x435fc4
mov esi, dword [esi]
xor ecx, ecx
pop edi
mov word [esi + eax*2], cx
mov al, bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f991
mov esp, ebp
pop ebp
ret
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00436650
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043f991
mov esp, ebp
pop ebp
ret

Function at 0x4361a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x474390]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push esi
mov esi, ecx
push 0
test dl, dl
je 0x4361e2
push 0x2c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4361e6
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f991
mov esp, ebp
pop ebp
ret
push 0x2b
jmp 0x4361c4
push 0x46ae58
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004459ff
add esp, 0xc
cmp word [ebp - 0x20c], 0
jne 0x43620d
xor ecx, ecx
jmp 0x436225
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436216
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00410bb0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0043f991
mov esp, ebp
pop ebp
ret
Function at 0x436250
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x474390]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x1c
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x43628e
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f991
mov esp, ebp
pop ebp
ret
push 0x46ae58
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004459ff
add esp, 0xc
cmp word [ebp - 0x20c], 0
jne 0x4362b5
xor ecx, ecx
jmp 0x4362cf
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4362c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00410bb0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0043f991
mov esp, ebp
pop ebp
ret

Function at 0x436390
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
jmp dword [edx*4 + 0x436544]

Function at 0x436e75
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x45ed45
call fcn.00443fc7
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x436f76
cmp byte [ebx + 0x45], 0
je 0x436f76
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x436eaa
xor al, al
jmp 0x436f78
xor eax, eax
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00414a90
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x436f0a
dec eax
je 0x436f0e
dec eax
dec eax
je 0x436f60
xor bl, bl
jmp 0x436f62
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x436f46
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004439b1
add esp, 0x10
cmp esi, eax
jne 0x436f06
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x45], 0
je 0x436f60
test esi, esi
jne 0x436ed4
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0041c890
jmp 0x436ece
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004107c0
mov al, bl
jmp 0x436f78
mov al, 1
call fcn.00443f85
ret
Function at 0x437a01
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x34
mov eax, 0x45ee3b
call fcn.00443fc7
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00437e13
pop ecx
pop ecx
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov bl, 1
test eax, eax
jne 0x4379e9
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.00437b5c
pop ecx
pop ecx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x30], 0
je 0x437998
lea eax, [ebp - 0x40]
push eax
call 0x43793c
mov bl, al
pop ecx
test bl, bl
je 0x4379d9
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4379d9
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test bl, bl
jne 0x4379d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.004107c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004107c0
mov al, bl
call fcn.00443f85
ret
push ebp
mov ebp, esp
pop ebp
jmp 0x43793c
Function at 0x439b1e
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x444
mov eax, 0x45f5ac
call fcn.00443fc7
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x420]
push 0x410
push 0
push eax
xor bh, bh
call fcn.00442d60
add esp, 0xc
lea eax, [ebp - 0x420]
mov edi, 0x208
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x439ca0
push edi
lea eax, [ebp - 0x420]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], edi
mov word [ebp - 0x438], ax
cmp word [ebp - 0x420], ax
je 0x439baf
lea eax, [ebp - 0x420]
push eax
call fcn.0044309b
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.00410bb0
mov dword [ebp - 4], edi
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.00437f83
pop ecx
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x438]
push edi
push 1
call fcn.00410870
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x439c7b
cmp byte [ebp + 0xc], al
je 0x439c7b
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], edi
mov word [ebp - 0x438], ax
cmp word [ebp - 0x420], ax
jne 0x439c32
mov eax, edi
jmp 0x439c3f
lea eax, [ebp - 0x420]
push eax
call fcn.0044309b
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.00410bb0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x438]
push eax
call fcn.0043a5f6
pop ecx
mov bl, al
mov byte [ebp - 4], 2
push edi
push 1
lea ecx, [ebp - 0x438]
call fcn.00410870
test bl, bl
je 0x439c8e
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x450]
mov ecx, esi
push eax
call fcn.004105f0
mov bh, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
push edi
push 1
call fcn.004107c0
mov al, bh
call fcn.00443f85
ret
Function at 0x43a30e
Capabilities:
Check if file exists

Disassembly:
push 0x460
mov eax, 0x45f759
call fcn.00443fc7
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x420]
push 0x208
push 0
push eax
xor bl, bl
call fcn.00442d60
xor ecx, ecx
xor eax, eax
push 7
pop edi
mov dword [ebp - 0x440], ecx
mov dword [ebp - 0x43c], ecx
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x440], ecx
mov word [ebp - 0x450], ax
mov dword [ebp - 4], ecx
lea eax, [ebp - 0x420]
push ecx
push dword [ebp + 8]
push eax
push ecx
call fcn.0043a5a2
add esp, 0x1c
cmp eax, 1
jne 0x43a448
cmp word [ebp - 0x420], 0
jne 0x43a38b
xor ebx, ebx
mov eax, ebx
jmp 0x43a39a
lea eax, [ebp - 0x420]
push eax
call fcn.0044309b
pop ecx
xor ebx, ebx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x450]
call fcn.00410bb0
xor eax, eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x438], ax
cmp word [ebp - 0x420], ax
jne 0x43a3db
mov eax, ebx
jmp 0x43a3e8
lea eax, [ebp - 0x420]
push eax
call fcn.0044309b
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.00410bb0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00437f83
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, esi
push eax
call fcn.004101a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x468]
push ebx
push 1
call fcn.004107c0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x438]
push ebx
push 1
call fcn.00410870
jmp 0x43a551
lea eax, [ebp - 0x46c]
push eax
push dword [ebp + 8]
call fcn.0043a65b
pop ecx
pop ecx
test al, al
je 0x43a587
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x46c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x43a587
cmp word [ebp - 0x420], 0
jne 0x43a48c
xor ebx, ebx
mov eax, ebx
jmp 0x43a49b
lea eax, [ebp - 0x420]
push eax
call fcn.0044309b
pop ecx
xor ebx, ebx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x450]
call fcn.00410bb0
xor eax, eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x438], ax
cmp word [ebp - 0x420], ax
jne 0x43a4dc
mov eax, ebx
jmp 0x43a4e9
lea eax, [ebp - 0x420]
push eax
call fcn.0044309b
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.00410bb0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00437f83
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, esi
push eax
call fcn.004101a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x468]
push ebx
push 1
call fcn.004107c0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x438]
push ebx
push 1
call fcn.00410870
lea eax, [ebp - 0x46c]
push eax
call fcn.0043a630
pop ecx
cmp byte [ebp + 0x10], 0
mov bl, 1
je 0x43a587
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43a587
lea eax, [ebp - 0x450]
push eax
call fcn.0043a5f6
pop ecx
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
push 0
push 1
call fcn.00410870
mov al, bl
call fcn.00443f85
ret
Function at 0x43a5f6
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp dword [eax + 0x14], 8
jb 0x43a607
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x43a617
mov cl, 1
jmp 0x43a62b
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
movzx ecx, bl
inc edx
cmp eax, 0xb7
cmove ecx, edx
mov al, cl
pop ebx
pop ebp
ret
Function at 0x4539bc
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x474390]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0044773b
mov dword [ebp - 0x14], eax
cmp dword [0x477fbc], esi
jne 0x453aaf
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x453a3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x453b8f
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x453b8f
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x453b8f
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x477fbc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x477fc0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x477fc4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x477fcc], eax
test eax, eax
je 0x453aac
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x477fc8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x453ad4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x453ac7
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x453ae9
push 4
pop eax
jmp 0x453b91
cmp dword [ebp - 0x14], esi
je 0x453ae9
push dword [0x477fbc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x453ace
mov eax, dword [0x477fc8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x453b47
cmp dword [0x477fcc], edi
je 0x453b47
push eax
call ebx
push dword [0x477fcc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x453b47
test eax, eax
je 0x453b47
call ecx
test eax, eax
je 0x453b3c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x453b3c
test byte [ebp - 8], 1
jne 0x453b47
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x453b77
mov eax, dword [0x477fc0]
cmp eax, edi
je 0x453b74
push eax
call ebx
test eax, eax
je 0x453b74
call eax
mov esi, eax
test esi, esi
je 0x453b74
mov eax, dword [0x477fc4]
cmp eax, edi
je 0x453b74
push eax
call ebx
test eax, eax
je 0x453b74
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x477fbc]
call ebx
test eax, eax
je 0x453b8f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x453b91
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043f991
mov esp, ebp
pop ebp
ret