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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fbc5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.004102f0
add esp, 4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x4183de
test ecx, ecx
je 0x418451
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
cmp word [eax], 0
je 0x418451
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41844b
push esi
push 0
lea ecx, [ebp - 0x3c]
call fcn.00462550
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x3c]
test eax, eax
mov byte [ebp - 4], 1
push 1
cmovne esi, eax
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push esi
push eax
call fcn.0043e800
push esi
call fcn.00418360
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov bl, al
call fcn.004629c0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
pop esi
jmp 0x418453
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor bl, bl
cmp edx, 8
jb 0x418483
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418494
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004491bf
int3
Function at 0x4192b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fc2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.004102f0
add esp, 4
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x4192f2
test ecx, ecx
je 0x4194b0
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
cmp word [eax], 0
je 0x4194b0
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4194aa
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004349c0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00418280
add esp, 0x14
test al, al
je 0x419434
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x419395
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x419395
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.0040a830
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4193b0
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x4193b0
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.0040a830
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4193e4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4193da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194f3
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x41942a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419420
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194f3
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov edx, dword [ebp - 0x2c]
mov bl, 1
mov ecx, dword [ebp - 0x40]
jmp 0x4194b2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x419468
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41945e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194f3
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x4194aa
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4194a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194f3
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
xor bl, bl
cmp edx, 8
jb 0x4194e2
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4194d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194f8
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004491bf
call fcn.004491bf
int3
Function at 0x41fac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fe5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1024
call fcn.0041b100
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x30]
call fcn.0041c6c0
mov dword [ebp - 4], 0
push 0x1000
push 0
lea eax, [ebp - 0x1030]
push eax
call fcn.00446790
add esp, 0xc
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x1030]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41fb52
lea eax, [ebp - 0x1030]
push eax
call fcn.00451c45
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403130
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041edb0
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0041e760
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41feb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push 0x800
push 0
lea eax, [ebp - 0x808]
push eax
call fcn.00446790
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x808]
test ecx, ecx
je 0x41ff1d
push 0x485978
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x41ff1d
push 0x485980
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x808]
push ecx
call fcn.00451c45
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403130
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x41ff50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push 0x800
push 0
lea eax, [ebp - 0x808]
push eax
call fcn.00446790
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x808]
push edx
call fcn.00451c45
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x808]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403130
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x430dd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480e2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
lea ecx, [ebp - 0x78]
call fcn.0041c6c0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.00430110
add esp, 8
lea edx, [ebp - 0x78]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 8
jb 0x430e28
mov dword [ebp - 0x20], 1
jmp 0x430e2f
mov dword [ebp - 0x20], 0
mov dl, byte [ebp - 0x20]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x430e4b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
je 0x430f13
lea eax, [ebp - 0x78]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 8
jb 0x430e7f
mov dword [ebp - 0x28], 1
jmp 0x430e86
mov dword [ebp - 0x28], 0
mov al, byte [ebp - 0x28]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x430ea2
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
movzx edx, word [ecx]
test edx, edx
je 0x430f13
lea eax, [ebp - 0x78]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x430ed6
mov dword [ebp - 0x30], 1
jmp 0x430edd
mov dword [ebp - 0x30], 0
mov al, byte [ebp - 0x30]
mov byte [ebp - 0xf], al
movzx ecx, byte [ebp - 0xf]
test ecx, ecx
je 0x430ef9
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x430f36
lea edx, [ebp - 0x78]
push edx
call fcn.00430bd0
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0041e760
mov eax, dword [ebp - 0x5c]
jmp 0x430f4f
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0041e760
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x436620
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x183c
call fcn.0041b100
mov dword [ebp - 0x14], 0
mov eax, dword [0x4a0ae0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x4a106c]
cmp eax, dword [edx + 4]
jle 0x43668a
push 0x4a106c
call fcn.0041b4b3
add esp, 4
cmp dword [0x4a106c], 0xffffffff
jne 0x43668a
mov ecx, 0x4a1054
call fcn.00421460
push 0x482a50
call fcn.0041b38f
add esp, 4
push 0x4a106c
call fcn.0041b469
add esp, 4
mov ecx, dword [0x4a1064]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x4366a2
mov dword [ebp - 8], 1
jmp 0x4366a9
mov dword [ebp - 8], 0
mov dl, byte [ebp - 8]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
je 0x436773
push 0x1000
push 0
lea ecx, [ebp - 0x183c]
push ecx
call fcn.00446790
add esp, 0xc
mov dword [ebp - 0x1c], 0x800
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x183c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x43674e
push 0x800
push 0
lea ecx, [ebp - 0x83c]
push ecx
call fcn.00446790
add esp, 0xc
lea edx, [ebp - 0x83c]
mov dword [ebp - 0xc], edx
push 0x44
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x183c]
push ecx
call fcn.004375e0
add esp, 0xc
test eax, eax
je 0x43674e
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.00423b50
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, 0x4a1054
call fcn.004148d0
lea ecx, [ebp - 0x3c]
call fcn.0041e670
mov edx, dword [0x4a1064]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x436766
mov dword [ebp - 0x10], 1
jmp 0x43676d
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov byte [ebp - 2], al
push 0x4a1054
mov ecx, dword [ebp + 8]
call fcn.00406760
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x43a300
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4814ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
lea ecx, [ebp - 0x6c]
call fcn.0041c6c0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x43a33a
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x43a395
lea edx, [ebp - 0x6c]
push edx
push 0
call fcn.0041f620
add esp, 8
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x14], 8
jb 0x43a366
mov dword [ebp - 0x24], 1
jmp 0x43a36d
mov dword [ebp - 0x24], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x43a389
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp + 8], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43a4e2
mov edx, dword [ebp - 0x14]
add edx, 0x20
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0044f39c
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x43a3e9
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0041e760
mov eax, dword [ebp - 0x34]
jmp 0x43a4fb
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43a4d6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0x488cc0
mov eax, dword [ebp - 0x1c]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43a4d6
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
and ecx, 0xffff
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
push str._d._d._d._d
lea ecx, [ebp - 0x84]
push ecx
call fcn.00424100
add esp, 0x18
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004148d0
lea ecx, [ebp - 0x84]
call fcn.0041e670
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0044f1e5
add esp, 4
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0041e760
mov eax, dword [ebp - 0x50]
jmp 0x43a4fb
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0044f1e5
add esp, 4
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0041e760
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43b870
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0x67452301
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0xefcdab89
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x98badcfe
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x10325476
pop ebp
ret

Function at 0x43cd80
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48161d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
lea ecx, [ebp - 0x68]
call fcn.004270a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 1
cmp dword [ebp + 0xc], 0
je 0x43cdc6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x43cdcd
mov dword [ebp - 0x10], 0x489240
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00451c45
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00403130
cmp dword [ebp + 0x10], 0
je 0x43ce00
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
jmp 0x43ce07
mov dword [ebp - 0x14], 0x489244
mov eax, dword [ebp - 0x14]
push eax
call fcn.00451c45
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x50]
call fcn.00403130
cmp dword [ebp + 8], 0
jne 0x43ce43
lea ecx, [ebp - 0x68]
push ecx
push 0x43c740
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x43ce56
lea edx, [ebp - 0x68]
push edx
push 0x43c740
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [ebp + 0x14], 0
je 0x43ce68
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.0043c350
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004271a0
lea ecx, [ebp - 0x50]
call fcn.0041e760
lea ecx, [ebp - 0x68]
call fcn.0041e760
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43e800
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
cmp dword [ebp + 8], 0
je 0x43e83c
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x43e83c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43e843
xor eax, eax
jmp 0x43e91a
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00433980
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x43e86f
mov dword [ebp - 0x14], 1
jmp 0x43e876
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x43e901
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x43e89c
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00434880
add esp, 8
lea ecx, [ebp - 0xb4]
call fcn.004676d0
mov byte [ebp - 4], 1
push 1
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0046fe90
movzx ecx, al
cmp ecx, 1
jne 0x43e8d1
mov dword [ebp - 0x18], 1
jmp 0x43e8d8
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.004146b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0041e670
mov eax, dword [ebp - 0x20]
jmp 0x43e91a
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0041e670
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x43f430
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481873
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00421460
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00421460
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00421460
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0043fad0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46c9d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fd30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
and ecx, 1
je 0x46ca9e
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x46ca23
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
mov ecx, dword [edx]
add ecx, dword [eax]
mov dword [ebp - 0x18], ecx
jmp 0x46ca36
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edx]
add ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x1000
jb 0x46ca87
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0041de00
add esp, 8
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0041b0e9
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov dword [edx], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
mov dword [ecx], 0
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
mov dword [edx], 0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x3c]
and edx, 0xfffffffe
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret