joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407b00
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 0x407d26
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp eax, 0x111
jne 0x407be0
cmp di, 0x3ed
jne 0x407b45
call fcn.00407d70
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3f6
jne 0x407b5f
mov ecx, esi
call fcn.00407f30
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3ef
jne 0x407b79
mov ecx, esi
call fcn.00408090
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3ea
jne 0x407b93
mov ecx, esi
call fcn.00409520
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3ee
jne 0x407c23
push 1
mov ecx, esi
call fcn.00407ab0
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x2c], esp
push 0x3ee
mov dword [eax], ebx
mov eax, edi
shr eax, 0x10
push eax
call fcn.00408f20
mov ecx, esi
mov dword [ebp], 0
call fcn.00407aa0
test eax, eax
je 0x407c1f
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp eax, 0x110
jne 0x407c23
push 1
mov ecx, esi
call fcn.00407ab0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.0040a490
mov ecx, esi
call fcn.00408dd0
mov ecx, esi
mov dword [ebp], eax
call fcn.00407aa0
test eax, eax
je 0x407c1f
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0
push ebp
push ebx
push edi
push eax
push ecx
lea ecx, [esi + 0x1c]
call fcn.0041c940
test eax, eax
jne 0x407cde
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x78]
cmp ecx, 5
jne 0x407cb7
test eax, eax
je 0x407c53
lea esi, [eax - 0x78]
jmp 0x407c55
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x407c8a
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x407c7b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x407c8f
test edi, edi
jne 0x407c8a
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x407c8f
cmp edi, 1
je 0x407cd7
mov eax, ebx
shr eax, 0x10
movsx ecx, ax
movsx edx, bx
push ecx
push edx
lea ecx, [esi + 0x78]
call fcn.0040a500
mov dword [ebp], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ecx, 0x24
jne 0x407cea
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x407cd7
cmp dword [eax + 0x18], ecx
je 0x407cd7
mov ecx, dword [eax + 0x14]
mov dword [ebx + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [ebx + 0x1c], edx
mov dword [ebp], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ecx, 0xf
jne 0x407d26
push 1
mov ecx, esi
call fcn.00407ab0
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], edi
call fcn.00409490
mov ecx, esi
mov dword [ebp], 0
call fcn.00407aa0
test eax, eax
je 0x407d26
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
Function at 0x407d70
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xc
mov al, byte [0x45c550]
push ebx
mov ebx, ecx
push esi
test al, 1
push edi
mov dword [esp + 0x14], ebx
jne 0x407da7
mov dl, al
mov ecx, 0x45c560
or dl, 1
mov byte [0x45c550], dl
call fcn.00428c20
push 0x404c10
call fcn.0043667e
add esp, 4
push ebp
push 0xd
mov ecx, 0x45c560
call fcn.00428ef0
mov eax, dword [ebx + 4]
push 0x3ee
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
add ebx, 0x4c0
mov dword [esp + 0x14], eax
mov esi, 0x104
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
jg 0x407de4
cmp dword [eax - 4], esi
jge 0x407e4a
mov edi, dword [eax - 8]
cmp edi, esi
mov dword [esp + 0x10], edi
jle 0x407ef8
test edi, edi
mov esi, edi
jne 0x407ef8
mov ecx, dword [0x455050]
mov dword [ebx], ecx
lea ecx, [edi + edi + 2]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x407e28
mov edi, dword [ebx]
mov edx, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov eax, dword [ebx]
mov dword [eax - 8], edi
mov eax, dword [0x455054]
cmp ebp, eax
je 0x407e4a
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x407e4a
push ebp
call fcn.0042ac06
add esp, 4
mov eax, dword [ebx]
mov ecx, dword [esp + 0x14]
push 0x104
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebx]
pop ebp
mov ecx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp ecx, 1
jle 0x407ecc
mov ecx, dword [0x455054]
add eax, 0xfffffff4
cmp eax, ecx
je 0x407e98
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x407e91
mov edx, dword [ebx]
sub edx, 0xc
push edx
call fcn.0042ac06
add esp, 4
mov eax, dword [0x455050]
mov dword [ebx], eax
mov ecx, dword [esi + 4]
push ecx
mov ecx, ebx
call fcn.00401820
test eax, eax
je 0x407ecc
mov edi, dword [ebx]
mov edx, dword [esi + 4]
mov eax, dword [edi - 4]
lea ecx, [edx + edx + 2]
lea edx, [eax + eax + 2]
cmp edx, ecx
jb 0x407ecc
mov eax, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebx]
push 0
mov dword [edx - 8], eax
mov ecx, dword [ebx]
mov edx, dword [esp + 0x18]
mov word [ecx + eax*2], 0
mov eax, dword [edx + 0x70]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
pop edi
pop esi
pop ebx
add esp, 0xc
ret
lea edx, [esi + esi + 0xe]
push edx
call fcn.0043649a
add esp, 4
test eax, eax
je 0x407f26
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
mov dword [ebx], eax
jmp 0x407e05
xor eax, eax
jmp 0x407e4c
Function at 0x408090
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x44a06b
push eax
mov eax, 0x4024
mov dword fs:[0], esp
call fcn.004364f0
push ebx
push ebp
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 + 0x2034]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2034]
push 0x1000
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov al, byte [0x45c550]
test al, 1
jne 0x408115
mov dl, al
mov ecx, 0x45c560
or dl, 1
mov byte [0x45c550], dl
call fcn.00428c20
push 0x404c10
call fcn.0043667e
add esp, 4
push 9
mov ecx, 0x45c560
call fcn.00428ef0
mov edx, dword [esi + 4]
xor ebp, ebp
mov dword [esp + 0x14], edx
lea edx, [esp + 0x14]
lea eax, [esp + 0x2034]
lea ecx, [esp + 0x2034]
push edx
mov dword [esp + 0x24], 0x455848
mov dword [esp + 0x28], 0x59
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ecx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov edx, eax
cmp edx, ebp
je 0x40821f
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x40821f
mov ecx, dword [0x455050]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x4044], ebp
call fcn.00408240
test eax, eax
je 0x4081c8
lea ecx, [esp + 0x34]
push ecx
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
jmp 0x4081e5
lea edx, [esp + 0x34]
push edx
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0xa0]
push eax
call fcn.0041f230
push ebp
lea ecx, [esi + 0x358]
call fcn.0041dfe0
mov eax, dword [esp + 0x10]
mov edx, dword [0x455054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40821f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40821f
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042ac06
add esp, 4
mov ecx, dword [esp + 0x4034]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4030
ret
Function at 0x408b20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44a0f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0
call fcn.0040ab90
mov eax, dword [esp + 0x24]
xor esi, esi
mov cx, word [eax]
test cx, cx
je 0x408b8e
mov edi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
jne 0x408b6f
test esi, esi
jne 0x408b71
mov esi, eax
jmp 0x408b71
xor esi, esi
push eax
call edi
mov cx, word [eax]
test cx, cx
jne 0x408b61
test esi, esi
je 0x408b8e
mov word [esi], cx
mov eax, dword [esp + 0x24]
sub esi, eax
sar esi, 1
mov dword [eax - 8], esi
mov eax, 0x455860
test eax, eax
je 0x408ba2
push 0x455860
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x455860
push eax
lea ecx, [esp + 0x2c]
call fcn.0040aa60
mov eax, dword [esp + 0x24]
xor edi, edi
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x408c7a
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp word [eax + edi*2], 0x5c
jne 0x408c6c
lea ecx, [esp + 0x10]
push edi
push ecx
lea ecx, [esp + 0x2c]
call fcn.00404070
mov edx, dword [esp + 0x10]
mov byte [esp + 0x1c], 1
push edx
call ebx
test eax, eax
jne 0x408c38
mov eax, dword [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov esi, eax
test esi, esi
jne 0x408cbc
mov esi, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ecx
push esi
mov ecx, ebp
call fcn.0040a4d0
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x10]
mov dword [ecx], eax
add eax, 8
push edx
push eax
call fcn.0040b280
mov eax, dword [ebp + 8]
add esp, 8
inc eax
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x10]
mov edx, dword [0x455054]
mov byte [esp + 0x1c], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408c6c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x408c6c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042ac06
add esp, 4
mov eax, dword [esp + 0x24]
inc edi
cmp edi, dword [eax - 8]
jl 0x408bc8
mov edx, dword [0x455054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408ca5
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x408ca5
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.0042ac06
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x455054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408ceb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x408ceb
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042ac06
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x455054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408d1a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x408d1a
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.0042ac06
add esp, 4
mov eax, esi
jmp 0x408ca7
Function at 0x408d20
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 0x408d3c
add esp, 0x410
ret 4
cmp eax, 0x104
jle 0x408d4e
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 0x455868
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [esp + 4], 0
pop edi
jne 0x408d86
xor eax, eax
add esp, 0x410
ret 4
lea edx, [esp]
push 0x455864
push edx
call fcn.00437b59
add esp, 8
test eax, eax
jne 0x408da5
add esp, 0x410
ret 4
push eax
call fcn.00437aab
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 0x4092c0
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x18
mov eax, dword [0x4558e4]
mov ecx, dword [0x4558e8]
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 0x4092fe
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
jmp 0x409340
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 0x40932a
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
jmp 0x409340
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 8]
test edx, edx
ja 0x40935b
jb 0x409340
cmp esi, 0x400
jae 0x40935b
mov ecx, dword [esp + 0x28]
push esi
push str._d_Bytes
push ecx
call fcn.004074e0
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
test edx, edx
ja 0x40941d
jb 0x40936d
cmp esi, 0x100000
jae 0x4093be
mov ecx, 0xa
mov eax, esi
call fcn.00437be0
push 0
and esi, 0x3ff
push 0x64
push 0
push esi
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.00437b70
mov ecx, eax
or ecx, edx
jne 0x4093b2
mov edx, dword [esp + 0x28]
push edi
push str._d_KB
push edx
call fcn.004074e0
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
push eax
push edi
push str._d._d_KB
jmp 0x40946c
test edx, edx
ja 0x40941d
jb 0x4093cc
cmp esi, 0x40000000
jae 0x40941d
mov ecx, 0x14
mov eax, esi
call fcn.00437be0
push 0
and esi, 0xfffff
push 0x19000
push 0
push esi
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.00437b70
mov ecx, eax
or ecx, edx
jne 0x409414
mov edx, dword [esp + 0x28]
push edi
push 0x4558a4
push edx
call fcn.004074e0
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
push eax
push edi
push str._d._d_MB
jmp 0x40946c
mov ecx, 0x1e
mov eax, esi
call fcn.00437be0
push 0
and esi, 0x3fffffff
push 0x6400000
push 0
push esi
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.00437b70
mov ecx, eax
or ecx, edx
jne 0x409465
mov edx, dword [esp + 0x28]
push edi
push str._d_GB
push edx
call fcn.004074e0
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
push eax
push edi
push 0x455870
mov eax, dword [esp + 0x34]
push eax
call fcn.004074e0
add esp, 0x10
pop edi
pop esi
add esp, 0x18
ret 8
Function at 0x40b430
Capabilities:
Delete file

Disassembly:
mov eax, 0x2020
call fcn.004364f0
mov edx, dword [esp + 0x2024]
test edx, edx
jne 0x40b44e
xor eax, eax
add esp, 0x2020
ret
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x24]
push 0x1000
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x14], 3
call fcn.004364a8
add esp, 0xc
lea edx, [esp + 4]
lea ecx, [esp + 0x24]
mov word [esp + 0x14], 0x614
push edx
mov dword [esp + 0x10], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
pop edi
inc eax
add esp, 0x2020
ret

Function at 0x40ba60
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44a228
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, 0x45b4f0
call fcn.00421110
lea ecx, [esp + 8]
push 0x455860
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x24], 0
call fcn.004018f0
push 0x45b540
push eax
lea eax, [esp + 0xc]
mov byte [esp + 0x20], 1
push eax
call fcn.0040e520
mov eax, dword [esp + 0xc]
mov edx, dword [0x455054]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov byte [esp + 0x18], 3
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40baef
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x40baef
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0042ac06
add esp, 4
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40bb88
mov ecx, dword [esp + 4]
push ecx
call fcn.004014d0
add esp, 4
test eax, eax
jne 0x40bb72
push esi
mov esi, dword [esp + 8]
push 1
call fcn.00435ba0
push eax
push esi
call fcn.00435e30
mov eax, dword [esp + 0x14]
mov ecx, dword [0x455054]
add esp, 0xc
lea edx, [eax - 0xc]
cmp edx, ecx
pop esi
je 0x40bb55
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x40bb55
mov eax, dword [esp + 4]
add eax, 0xfffffff4
push eax
call fcn.0042ac06
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [0x455054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40bbde
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x40bbde
jmp 0x40bbce
mov eax, dword [esp + 4]
push 5
push 0x455a94
push eax
push 0
call fcn.00401a90
add esp, 0x10
mov eax, dword [esp + 4]
mov edx, dword [0x455054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40bbb3
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x40bbb3
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0042ac06
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [0x455054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40bbde
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x40bbde
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.0042ac06
add esp, 4
mov ecx, dword [esp + 0x10]
pop edi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x40bbf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x44a376
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.0041c880
mov dword [esi], 0x44d690
mov dword [edi], 0x44d684
mov dword [esi + 0x58], 0x44d65c
lea eax, [esi + 0x98]
mov dword [esp + 0x18], 2
cmp eax, ebx
je 0x40bc84
lea ecx, [eax - 0x98]
jmp 0x40bc86
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.0041ed50
mov eax, dword [0x455050]
mov dword [esi + 0x114], eax
mov ecx, dword [0x455050]
mov dword [esi + 0x118], ecx
lea ecx, [esi + 0x11c]
mov byte [esp + 0x18], 6
call fcn.0041ed50
lea ecx, [esi + 0x18c]
mov byte [esp + 0x18], 7
call fcn.0041ed50
lea ecx, [esi + 0x1fc]
mov byte [esp + 0x18], 8
call fcn.0041cd40
lea ecx, [esi + 0x2b0]
mov byte [esp + 0x18], 9
call fcn.0041cd40
lea ecx, [esi + 0x364]
mov byte [esp + 0x18], 0xa
call fcn.0041cd40
lea ecx, [esi + 0x418]
mov byte [esp + 0x18], 0xb
call fcn.0041cd40
lea ecx, [esi + 0x4cc]
mov byte [esp + 0x18], 0xc
call fcn.0040f320
lea ecx, [esi + 0x4e8]
mov byte [esp + 0x18], 0xd
call fcn.0040f320
lea ecx, [esi + 0x504]
mov byte [esp + 0x18], 0xe
call fcn.0040f320
lea ecx, [esi + 0x520]
mov byte [esp + 0x18], 0xf
call fcn.0040f320
lea ecx, [esi + 0x53c]
mov byte [esp + 0x18], 0x10
call fcn.0040f320
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 0x11
call fcn.0040f320
lea ecx, [esi + 0x574]
mov byte [esp + 0x18], 0x12
call fcn.0040f320
lea ecx, [esi + 0x590]
mov byte [esp + 0x18], 0x13
call fcn.0040f320
lea ecx, [esi + 0x5ac]
mov byte [esp + 0x18], 0x14
call fcn.0040f320
lea ecx, [esi + 0x5c8]
mov byte [esp + 0x18], 0x15
call fcn.0040f320
lea ecx, [esi + 0x5e4]
mov byte [esp + 0x18], 0x16
call fcn.0040f320
mov ecx, dword [esp + 0x10]
mov dword [edi], 0x44d650
mov dword [esi + 0x600], ebx
mov dword [esi], 0x44d644
mov dword [esi + 0x58], 0x44d61c
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 0x40c1b0
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 0x40c35b
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp ebx, 0xf
jne 0x40c20c
push 1
call fcn.0040c160
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x2c], esp
mov dword [eax], edi
call fcn.0040c530
mov ecx, esi
mov dword [ebp], 0
call fcn.0040c150
test eax, eax
je 0x40c28c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x110
jne 0x40c250
push 1
mov ecx, esi
call fcn.0040c160
mov eax, dword [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.0040a490
mov ecx, esi
call fcn.0040c3a0
mov ecx, esi
mov dword [ebp], eax
call fcn.0040c150
test eax, eax
je 0x40c28c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x111
jne 0x40c28c
cmp di, 0x3f9
jne 0x40c272
mov ecx, esi
call fcn.0040ccd0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3f6
jne 0x40c28c
mov ecx, esi
call fcn.0040d6b0
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.0041c940
test eax, eax
jne 0x40c34f
cmp ebx, 5
lea eax, [esi + 0x78]
jne 0x40c324
test eax, eax
je 0x40c2bc
lea esi, [eax - 0x78]
jmp 0x40c2be
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x40c2f3
mov eax, dword [esi + 4]
push 0xe801
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x40c2e4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40c2f8
test edi, edi
jne 0x40c2f3
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40c2f8
cmp edi, 1
je 0x40c348
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.0040dba0
mov dword [ebp], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x40c35b
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x40c348
cmp dword [eax + 0x18], ecx
je 0x40c348
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
Function at 0x40c8d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x208
mov eax, dword [0x45b330]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x10]
push pe_nt_image_headers32
push ecx
push 0x91
push eax
mov dword [esp + 0x1c], esi
lea ebx, [esi + 0x114]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x40c90b
mov word [esp + 0x10], ax
mov edx, pe_nt_image_headers32
sub edx, eax
cmp edx, 1
jle 0x40c93c
lea eax, [esp + 0x10]
test eax, eax
je 0x40c92a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x10]
mov ecx, ebx
push edx
push eax
call fcn.00404a30
jmp 0x40c9cd
push ebp
push edi
mov edi, 0xff
mov eax, dword [ebx]
add edi, 0x100
mov dword [esp + 0x10], edi
mov ecx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp ecx, 1
jg 0x40c95f
cmp edi, dword [eax - 4]
jle 0x40c9a2
mov ebp, dword [eax - 8]
cmp edi, ebp
jge 0x40c96a
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x10]
mov ecx, ebx
push eax
call fcn.00401820
test eax, eax
je 0x40c9be
mov eax, dword [esp + 0x10]
lea ecx, [ebp + ebp + 2]
lea edx, [esi + 0xc]
push ecx
push edx
mov edx, dword [ebx]
lea ecx, [eax + eax + 2]
push ecx
push edx
call fcn.004017c0
mov eax, dword [ebx]
add esp, 0x10
push esi
mov dword [eax - 8], ebp
call fcn.004018c0
mov eax, dword [ebx]
test eax, eax
je 0x40c9be
lea esi, [edi + 1]
push esi
push eax
push 0x91
call fcn.00404ba0
sub esi, eax
cmp esi, 1
jle 0x40c943
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00404960
mov esi, dword [esp + 0x14]
pop edi
pop ebp
mov ecx, dword [esi + 0xe0]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x458]
push 1
push 0x2a
push 0x74
push 0xe4
push 0xda
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
pop esi
pop ebx
add esp, 0x208
ret