joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e2c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov esi, ecx
push edi
push 0
push 0
mov ecx, dword [esi + 4]
push 0x1004
push ecx
mov dword [esi + 0x2c], eax
call ebx
mov edx, dword [esi + 4]
push 0
push 0
push 0x1028
push edx
mov edi, eax
call ebx
mov ebx, eax
cmp edi, ebx
jle 0x40e328
mov eax, dword [esi + 0x2c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x2c]
sub edi, ebx
push 0
push edi
push 0
push 2
push ecx
call dword [sym.imp.USER32.dll_SetScrollRange]
push 1
push 0
mov ecx, esi
call fcn.0040df40
pop edi
pop esi
pop ebx
ret 4
mov edx, dword [esi + 0x2c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
ret 4

Function at 0x410b50
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x456a25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
lea ebx, [esi + 0x20]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.0040fd10
lea eax, [esi + 0x5c]
cmp eax, edi
je 0x410b99
lea ecx, [eax - 0x5c]
jmp 0x410b9b
xor ecx, ecx
push eax
add ecx, 8
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0x64]
mov byte [esp + 0x18], 2
call fcn.0042c8d0
lea ecx, [esi + 0x80]
mov byte [esp + 0x18], 3
call fcn.0042c8d0
lea ecx, [esi + 0x9c]
mov byte [esp + 0x18], 4
call fcn.0042c8d0
lea ecx, [esi + 0xb8]
mov byte [esp + 0x18], 5
call fcn.0042c8d0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], edi
mov dword [esi + 0x100], edi
mov dword [esi + 0x104], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xf4], edi
mov dword [esi], 0x45a7b0
mov eax, esi
pop edi
mov dword [ebx], 0x45a7ac
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x413770
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push edi
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 8]
pop edi
cmp eax, 5
jne 0x4137ae
mov ecx, dword [esp + 8]
mov eax, 1
cmp ecx, eax
je 0x4137b0
xor eax, eax
add esp, 0x114
ret

Function at 0x414540
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x457029
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0040fd10
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 0x40], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], eax
lea eax, [esi + 0x5c]
cmp eax, edi
je 0x414583
lea ecx, [eax - 0x5c]
jmp 0x414585
xor ecx, ecx
push eax
add ecx, 0x44
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0x70]
mov byte [esp + 0x14], 2
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
call fcn.0042c8d0
lea ecx, [esi + 0x8c]
mov byte [esp + 0x14], 3
call fcn.0042c8d0
mov dword [esi + 0xa8], 1
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov ecx, dword [0x463058]
mov dword [esi + 0xc0], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xc4], edi
mov dword [esi + 0xac], edi
mov dword [esi], 0x45a814
mov dword [esi + 0x3c], 0x45a808
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x415930
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x457188
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
xor ebp, ebp
cmp eax, ebp
jne 0x415964
mov edi, 3
jmp 0x41597c
cmp dword [esi + 0x64], ebp
je 0x415970
mov edi, 2
jmp 0x41597c
mov eax, dword [esi + 0x68]
xor ecx, ecx
cmp eax, ebp
setne cl
mov edi, ecx
mov eax, dword [esi + 0x40]
lea edx, [esp + 0x10]
push ebx
push edx
push eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0xa8]
push edi
lea edx, [esi + 0x70]
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00415b40
mov eax, dword [0x463058]
mov dword [esp + 0x10], eax
mov ecx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp ecx, 1
mov dword [esp + 0x2c], ebp
mov edi, 0x80
jg 0x4159db
cmp dword [eax - 4], edi
jge 0x415a41
mov ebp, dword [eax - 8]
cmp ebp, edi
jle 0x4159e8
test ebp, ebp
mov edi, ebp
je 0x415a13
lea edx, [edi + edi + 0xe]
push edx
call fcn.00442bba
add esp, 4
test eax, eax
je 0x415b31
mov dword [eax], 1
mov word [eax + edi*2 + 0xc], 0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
add eax, 0xc
lea ecx, [ebp + ebp + 2]
lea edx, [ebx + 0xc]
push ecx
lea ecx, [edi + edi + 2]
push edx
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.00402e50
mov edx, dword [esp + 0x20]
add esp, 0x10
push ebx
mov dword [edx - 8], ebp
call fcn.00403f10
mov eax, dword [esp + 0x10]
xor ebp, ebp
push 0x80
push eax
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0x10]
pop ebx
mov eax, dword [ecx - 0xc]
lea edi, [ecx - 0xc]
cmp eax, 1
jle 0x415a9c
lea ecx, [esp + 0xc]
call fcn.00403ed0
mov edx, dword [edi + 4]
lea ecx, [esp + 0xc]
push edx
call fcn.00403db0
test eax, eax
je 0x415a9c
mov eax, dword [edi + 4]
add edi, 0xc
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0xc]
push ecx
push edi
mov edx, dword [eax - 4]
lea ecx, [edx + edx + 2]
push ecx
push eax
call fcn.00402e50
add esp, 0x10
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0xc]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0xc]
mov word [edx + eax*2], bp
mov eax, dword [esp + 0xc]
cmp dword [eax - 8], ebp
je 0x415af2
mov ecx, dword [esi + 0x24]
push 0xff
push 1
push ebp
push ebp
push 1
lea eax, [esp + 0x24]
push 0x424242
push eax
mov eax, dword [esp + 0x4c]
add esi, 0x20
push ecx
lea edx, [esp + 0x2c]
push esi
push edx
push eax
call fcn.004319f0
mov eax, dword [esp + 0x38]
add esp, 0x2c
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
pop edi
pop esi
cmp ecx, edx
pop ebp
je 0x415b20
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x415b20
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
xor eax, eax
jmp 0x415a3f
Function at 0x415fb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x4571d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0040fd10
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 0x40], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], eax
lea eax, [esi + 0x5c]
cmp eax, edi
je 0x415ff3
lea ecx, [eax - 0x5c]
jmp 0x415ff5
xor ecx, ecx
push eax
add ecx, 0x44
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0x64]
mov byte [esp + 0x14], 2
call fcn.0042c8d0
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 3
call fcn.0042c8d0
lea ecx, [esi + 0x9c]
mov byte [esp + 0x14], 4
call fcn.0042c8d0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], edi
mov dword [esi], 0x45a824
mov dword [esi + 0x3c], 0x45a818
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x416c60
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0040fd10
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x58], eax
lea eax, [esi + 0x5c]
mov dword [esi + 0x54], edi
cmp eax, edi
je 0x416c85
lea ecx, [eax - 0x5c]
jmp 0x416c87
xor ecx, ecx
push eax
push 0x40
add ecx, 0x44
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x463058]
mov eax, esi
mov dword [esi + 0x64], ecx
mov dword [esi + 0x28], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi], 0x45a838
mov dword [esi + 0x3c], 0x45a82c
pop edi
pop esi
ret

Function at 0x4173e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x20]
mov dword [esi + 0x18], edi
cmp eax, edi
je 0x417400
lea ecx, [eax - 0x20]
jmp 0x417402
xor ecx, ecx
push eax
push 0x40
add ecx, 8
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [esi + 0x28], edi
mov dword [esi + 4], edi
mov dword [esi], 0x45a83c
mov dword [esi + 0x2c], 0x42c80000
mov eax, esi
pop edi
pop esi
ret

Function at 0x417490
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp eax, 0x64
mov esi, ecx
jne 0x4174ed
fld dword [esi + 0x2c]
fsub dword [0x45a848]
fst dword [esi + 0x2c]
fcomp dword [0x45a828]
fnstsw ax
test ah, 0x41
jne 0x4174be
call fcn.00417560
pop esi
ret 4
mov eax, dword [esi + 4]
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esi + 0x30]
test esi, esi
je 0x4174ed
push 0
push 0
push 0xbd1
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret 4
Function at 0x418f80
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x45755c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], ebx
mov dword [esi + 0x18], ebx
or eax, 0xffffffff
mov dword [esp + 0x18], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov byte [esi + 0x94], bl
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
lea edi, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, edi
call fcn.00423210
mov dword [esi], 0x45a8e4
mov dword [edi], 0x45a8d8
mov dword [esi + 0x58], 0x45a8b0
lea eax, [esi + 0x98]
mov dword [esp + 0x18], 2
cmp eax, ebx
je 0x419012
lea ebx, [eax - 0x98]
push eax
lea ecx, [ebx + 8]
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0xa0]
mov byte [esp + 0x18], 3
call fcn.00416c60
lea ecx, [esi + 0x110]
mov byte [esp + 0x18], 4
call fcn.00416c60
lea ecx, [esi + 0x180]
mov byte [esp + 0x18], 5
call fcn.00416c60
lea ecx, [esi + 0x1f0]
mov byte [esp + 0x18], 6
call fcn.00414540
lea ecx, [esi + 0x2b8]
mov byte [esp + 0x18], 7
call fcn.00414540
lea ecx, [esi + 0x380]
mov byte [esp + 0x18], 8
call fcn.00414540
lea ecx, [esi + 0x448]
mov byte [esp + 0x18], 9
call fcn.00414540
mov eax, dword [0x463058]
mov dword [esi + 0x510], eax
lea ecx, [esi + 0x514]
mov byte [esp + 0x18], 0xb
call fcn.00411a30
mov ecx, dword [esp + 0x10]
mov dword [edi], 0x45a8a4
mov dword [esi], 0x45a898
mov dword [esi + 0x58], 0x45a870
mov dword [esi + 0x74], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x419b20
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4576eb
push eax
mov eax, 0x4024
mov dword fs:[0], esp
call fcn.00443b20
push ebx
push esi
mov esi, ecx
push edi
push 0x3ee
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x2030]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2030]
push 0x1000
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov al, byte [0x46aed0]
test al, 1
jne 0x419ba4
mov dl, al
mov ecx, 0x46aee0
or dl, 1
mov byte [0x46aed0], dl
call fcn.00433620
push 0x403fb0
call fcn.00442500
add esp, 4
push 9
mov ecx, 0x46aee0
call fcn.004338f0
mov edx, dword [esi + 4]
lea eax, [esp + 0x2030]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2030]
push edx
mov dword [esp + 0x20], 0x463820
mov dword [esp + 0x24], 0x59
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0x419af0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov edx, eax
test edx, edx
je 0x419cbd
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x30]
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x419cbd
mov ecx, dword [0x463058]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0xc]
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x4040], 0
call fcn.00419ce0
test eax, eax
je 0x419c65
lea ecx, [esp + 0x30]
push ecx
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
jmp 0x419c83
lea edx, [esp + 0x30]
push edx
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0xc]
lea ecx, [esi + 0xa0]
push eax
call fcn.00417050
push 0
lea ecx, [esi + 0x380]
call fcn.004158a0
mov eax, dword [esp + 0xc]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x419cbd
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419cbd
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov ecx, dword [esp + 0x4030]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4030
ret
Function at 0x41a510
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x410
mov edx, dword [eax]
mov eax, dword [edx - 8]
test eax, eax
jne 0x41a52c
add esp, 0x410
ret 4
cmp eax, 0x104
jle 0x41a53e
xor eax, eax
add esp, 0x410
ret 4
push edi
mov ecx, 0x104
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
push ecx
push 0x2710
push 0x46353c
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [esp + 4], 0
pop edi
jne 0x41a576
xor eax, eax
add esp, 0x410
ret 4
lea edx, [esp]
push 0x463538
push edx
call fcn.00443ac3
add esp, 8
test eax, eax
jne 0x41a595
add esp, 0x410
ret 4
push eax
call fcn.00443a15
add esp, 4
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
add esp, 0x410
ret 4
Function at 0x41aac0
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x18
mov eax, dword [0x4635a4]
mov ecx, dword [0x4635a8]
mov dx, word [esp + 0x1c]
mov dword [esp + 8], eax
push esi
lea eax, [esp + 0xc]
push edi
push eax
mov dword [esp + 0x18], ecx
mov word [esp + 0x14], dx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x41aafe
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
jmp 0x41ab40
xor ecx, ecx
lea edx, [esp + 8]
mov dword [esp + 8], ecx
push edx
push ecx
lea eax, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x41ab2a
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
jmp 0x41ab40
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 8]
test edx, edx
ja 0x41ab5b
jb 0x41ab40
cmp esi, 0x400
jae 0x41ab5b
mov ecx, dword [esp + 0x28]
push esi
push str._d_Bytes
push ecx
call fcn.00406f70
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
test edx, edx
ja 0x41ac1d
jb 0x41ab6d
cmp esi, 0x100000
jae 0x41abbe
mov ecx, 0xa
mov eax, esi
call fcn.00443bc0
push 0
and esi, 0x3ff
push 0x64
push 0
push esi
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.00443b50
mov ecx, eax
or ecx, edx
jne 0x41abb2
mov edx, dword [esp + 0x28]
push edi
push str._d_KB
push edx
call fcn.00406f70
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
push eax
push edi
push str._d._d_KB
jmp 0x41ac6c
test edx, edx
ja 0x41ac1d
jb 0x41abcc
cmp esi, 0x40000000
jae 0x41ac1d
mov ecx, 0x14
mov eax, esi
call fcn.00443bc0
push 0
and esi, 0xfffff
push 0x19000
push 0
push esi
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.00443b50
mov ecx, eax
or ecx, edx
jne 0x41ac14
mov edx, dword [esp + 0x28]
push edi
push 0x4635e0
push edx
call fcn.00406f70
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
push eax
push edi
push str._d._d_MB
jmp 0x41ac6c
mov ecx, 0x1e
mov eax, esi
call fcn.00443bc0
push 0
and esi, 0x3fffffff
push 0x6400000
push 0
push esi
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.00443b50
mov ecx, eax
or ecx, edx
jne 0x41ac65
mov edx, dword [esp + 0x28]
push edi
push str._d_GB
push edx
call fcn.00406f70
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
push eax
push edi
push str._d._d_GB
mov eax, dword [esp + 0x34]
push eax
call fcn.00406f70
add esp, 0x10
pop edi
pop esi
add esp, 0x18
ret 8
Function at 0x41cb00
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x457878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp + 4]
push edi
push eax
mov ecx, 0x469c08
call fcn.004317e0
lea ecx, [esp + 8]
push 0x46354c
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x24], 0
call fcn.0040d130
push 0x469c58
push eax
lea eax, [esp + 0xc]
mov byte [esp + 0x20], 1
push eax
call fcn.0041f560
mov eax, dword [esp + 0xc]
mov edx, dword [0x46305c]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov byte [esp + 0x18], 3
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41cb8f
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41cb8f
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41cc28
mov ecx, dword [esp + 4]
push ecx
call fcn.0041f460
add esp, 4
test eax, eax
jne 0x41cc12
push esi
mov esi, dword [esp + 8]
push 1
call fcn.00441f80
push eax
push esi
call fcn.00442210
mov eax, dword [esp + 0x14]
mov ecx, dword [0x46305c]
add esp, 0xc
lea edx, [eax - 0xc]
cmp edx, ecx
pop esi
je 0x41cbf5
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41cbf5
mov eax, dword [esp + 4]
add eax, 0xfffffff4
push eax
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41cc7e
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41cc7e
jmp 0x41cc6e
mov eax, dword [esp + 4]
push 5
push str._fromInstaller
push eax
push 0
call fcn.0041f700
add esp, 0x10
mov eax, dword [esp + 4]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41cc53
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41cc53
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41cc7e
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41cc7e
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov ecx, dword [esp + 0x10]
pop edi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x41cc90
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x457972
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0040c730
lea edi, [esi + 0x78]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.0041eaf0
or eax, 0xffffffff
mov byte [edi + 0x1c], bl
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
lea edi, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, edi
call fcn.00423210
mov dword [esi], 0x45a968
mov dword [edi], 0x45a95c
mov dword [esi + 0x58], 0x45a934
lea eax, [esi + 0x98]
mov dword [esp + 0x18], 2
cmp eax, ebx
je 0x41cd12
lea ecx, [eax - 0x98]
jmp 0x41cd14
xor ecx, ecx
push eax
add ecx, 8
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0xa0]
mov byte [esp + 0x18], 3
call fcn.00416c60
mov eax, dword [0x463058]
mov dword [esi + 0x114], eax
mov ecx, dword [0x463058]
mov dword [esi + 0x118], ecx
lea ecx, [esi + 0x11c]
mov byte [esp + 0x18], 6
call fcn.00416c60
lea ecx, [esi + 0x18c]
mov byte [esp + 0x18], 7
call fcn.00416c60
lea ecx, [esi + 0x1fc]
mov byte [esp + 0x18], 8
call fcn.00414540
lea ecx, [esi + 0x2c4]
mov byte [esp + 0x18], 9
call fcn.00414540
lea ecx, [esi + 0x38c]
mov byte [esp + 0x18], 0xa
call fcn.00414540
lea ecx, [esi + 0x454]
mov byte [esp + 0x18], 0xb
call fcn.00414540
lea ecx, [esi + 0x51c]
mov byte [esp + 0x18], 0xc
call fcn.0042c8d0
lea ecx, [esi + 0x538]
mov byte [esp + 0x18], 0xd
call fcn.0042c8d0
lea ecx, [esi + 0x554]
mov byte [esp + 0x18], 0xe
call fcn.0042c8d0
lea ecx, [esi + 0x570]
mov byte [esp + 0x18], 0xf
call fcn.0042c8d0
lea ecx, [esi + 0x58c]
mov byte [esp + 0x18], 0x10
call fcn.0042c8d0
mov ecx, dword [esp + 0x10]
mov dword [edi], 0x45a928
mov dword [esi + 0x5a8], ebx
mov dword [esi], 0x45a91c
mov dword [esi + 0x58], 0x45a8f4
mov dword [esi + 0x74], 3
mov dword [esi + 0x110], 0xfffffffe
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41d180
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x41d32b
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp ebx, 0xf
jne 0x41d1dc
push 1
call fcn.0041d130
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x2c], esp
mov dword [eax], edi
call fcn.0041d4a0
mov ecx, esi
mov dword [ebp], 0
call fcn.0041d120
test eax, eax
je 0x41d25c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x110
jne 0x41d220
push 1
mov ecx, esi
call fcn.0041d130
mov eax, dword [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.00406540
mov ecx, esi
call fcn.0041d390
mov ecx, esi
mov dword [ebp], eax
call fcn.0041d120
test eax, eax
je 0x41d25c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x111
jne 0x41d25c
cmp di, 0x3f9
jne 0x41d242
mov ecx, esi
call fcn.0041dc70
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3f6
jne 0x41d25c
mov ecx, esi
call fcn.0041e670
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push 0
push ebp
push ecx
push edi
push ebx
push edx
lea ecx, [esi + 0x1c]
call fcn.004232d0
test eax, eax
jne 0x41d31f
cmp ebx, 5
lea eax, [esi + 0x78]
jne 0x41d2f4
test eax, eax
je 0x41d28c
lea esi, [eax - 0x78]
jmp 0x41d28e
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x41d2c3
mov eax, dword [esi + 4]
push 0xe801
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x41d2b4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41d2c8
test edi, edi
jne 0x41d2c3
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41d2c8
cmp edi, 1
je 0x41d318
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x10
movsx edx, cx
movsx eax, ax
push edx
push eax
lea ecx, [esi + 0x78]
call fcn.0041eb00
mov dword [ebp], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x41d32b
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x41d318
cmp dword [eax + 0x18], ecx
je 0x41d318
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x1c], eax
mov dword [ebp], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18