joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408750
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x458368
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.00406cc0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4087a4
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00406e50
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.00406cc0
cmp dword [esp + 0x24], 8
jb 0x4087ea
mov eax, dword [esp + 0x10]
push eax
call fcn.0043ef40
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x4088f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x408907
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x408938
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x408934
cmp esi, eax
jae 0x408938
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x408924
cmp esi, eax
jb 0x40893e
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x409c20
Capabilities:
Check for peb beingdebugged flag
Check for time delay via gettickcount
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x458fd6
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
mov dword [0x470fac], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x471e84]
push eax
push str._setup_CompleteAndContinue
push 0x400
lea eax, [esp + 0x58]
push 0x200
push eax
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0x30]
call fcn.0042a750
xor edi, edi
mov dword [esp + 0x458], edi
mov ebp, 7
lea eax, [esp + 0x4c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
lea edx, [eax + 2]
jmp 0x409cc0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409cc0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x50]
push ecx
lea esi, [esp + 0x1c]
call fcn.00406f20
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x460], 1
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x409d0e
mov eax, dword [esp + 0x18]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x48], esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
jae 0x409d29
lea edx, [esp + 0x34]
mov ebp, dword [0x471b30]
cmp ebp, edi
je 0x409d70
mov eax, edx
lea esi, [eax + 2]
jmp 0x409d40
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409d40
sub eax, esi
sar eax, 1
push ebp
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.0043fe21
mov edx, dword [0x471b30]
push edx
call fcn.004402ef
add esp, 0x14
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x409d83
mov eax, dword [esp + 0x34]
push eax
call fcn.0043ef40
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x471e84], eax
call fcn.00406bc0
mov ecx, dword [eax + 0x3c]
push edi
push 0x1f4
push 2
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0043ef12
add esp, 0x44c
ret

Function at 0x40b0f0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push eax
push 0x40a1c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x470fdc], eax
ret
Function at 0x40db10
Capabilities:
Check for peb beingdebugged flag
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4582c6
mov eax, dword fs:[0]
push eax
sub esp, 0x55c
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x558], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x570]
mov dword fs:[0], eax
push 0x118
xor edi, edi
lea eax, [esp + 0x54]
push edi
push eax
call fcn.00443e10
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
push 3
push 2
push edi
push edi
mov dword [esp + 0x5c], 0x11c
mov dword [esp + 0x60], 6
mov dword [esp + 0x64], edi
call esi
push 3
push 1
push edx
push eax
call esi
push edx
push eax
push 3
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ebx, eax
push ebx
push str.IsWindowsVistaOrHigher___ld_n
push 0x400
lea edx, [esp + 0x178]
push 0x200
push edx
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0x30]
call fcn.0042a750
mov dword [esp + 0x578], edi
mov ebp, 7
lea eax, [esp + 0x16c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40dbe7
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x170]
push eax
lea esi, [esp + 0x1c]
call fcn.00406f20
mov ecx, esi
push edi
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x580], 1
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x40dc38
mov edx, dword [esp + 0x18]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x48], esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
jae 0x40dc53
lea edx, [esp + 0x34]
mov ebp, dword [0x471b30]
cmp ebp, edi
je 0x40dc91
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40dc62
sub eax, esi
sar eax, 1
push ebp
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x40dca4
mov edx, dword [esp + 0x34]
push edx
call fcn.0043ef40
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x570]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x558]
xor ecx, esp
call fcn.0043ef12
add esp, 0x568
ret
Function at 0x40eb00
Capabilities:
Create thread

Disassembly:
push ecx
push 0
push 0
push 0
push 0x40e820
push 0
push 0
mov dword [0x470fb4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x470fb8], eax
mov eax, 1
pop ecx
ret

Function at 0x40fd00
Capabilities:
Hide graphical window

Disassembly:
mov edx, dword [esi + 0x44]
sub esp, 0x18
cmp ecx, edx
push edi
jle 0x40fd12
xor eax, eax
pop edi
add esp, 0x18
ret
mov eax, dword [esi + 0x40]
xor edi, edi
test eax, eax
jl 0x40fd26
cmp eax, edx
jge 0x40fd26
lea eax, [eax + eax*2]
mov edi, dword [esi + eax*4 + 8]
test edi, edi
mov dword [esi + 0x40], ecx
je 0x40fd6f
lea ecx, [esp + 8]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push 0x41
push 0
push 0
push edx
push eax
mov eax, dword [esi + 0x40]
lea ecx, [eax + eax*2]
mov edx, dword [esi + ecx*4 + 8]
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop edi
add esp, 0x18
ret
push 0x43
push 0
push 0
push 0
push 0
lea eax, [ecx + ecx*2]
mov ecx, dword [esi + eax*4 + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, 1
pop edi
add esp, 0x18
ret

Function at 0x410510
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0
push 0
push eax
push ecx
push 0
push esi
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push esi
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
ret
Function at 0x410540
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45a861
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x474]
mov dword fs:[0], eax
mov eax, dword [esp + 0x484]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
xor ebp, ebp
push ebp
push 4
push eax
mov dword [esp + 0x20], eax
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
call fcn.00406c20
lea esi, [esp + 0x50]
call fcn.00410060
mov dword [esp + 0x47c], ebp
cmp dword [esp + 0x64], ebp
jne 0x4106e2
push str._setup_QT
push 0x400
lea eax, [esp + 0x74]
push 0x200
push eax
call fcn.0043ef21
add esp, 0x10
lea ecx, [esp + 0x34]
call fcn.0042a750
mov byte [esp + 0x47c], 1
mov edi, 7
lea eax, [esp + 0x6c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x410602
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x70]
push ecx
lea esi, [esp + 0x20]
call fcn.00406f20
mov edx, esi
push ebp
push edx
or eax, 0xffffffff
lea esi, [esp + 0x3c]
mov byte [esp + 0x484], 2
call fcn.00406d90
mov ebx, 8
cmp dword [esp + 0x30], ebx
jb 0x410650
mov eax, dword [esp + 0x1c]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x4c], ebx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
jae 0x41066b
lea edx, [esp + 0x38]
mov edi, dword [0x471b30]
cmp edi, ebp
je 0x4106ab
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x410680
sub eax, esi
sar eax, 1
push edi
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.0043fe21
mov edx, dword [0x471b30]
push edx
call fcn.004402ef
add esp, 0x14
cmp dword [esp + 0x4c], ebx
jb 0x4106be
mov eax, dword [esp + 0x38]
push eax
call fcn.0043ef40
add esp, 4
mov ecx, dword [esp + 0x14]
push 4
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [esp + 0x68], ebx
mov dword [0x471f7c], 1
jb 0x410739
mov edx, dword [esp + 0x54]
push edx
jmp 0x410731
lea eax, [esp + 0x50]
push eax
call fcn.00429b40
add esp, 4
test eax, eax
jne 0x410703
mov ecx, dword [esp + 0x14]
push 1
push 4
push ecx
call edi
push eax
call ebx
jmp 0x410725
mov edx, dword [esp + 0x14]
push 4
push edx
call dword [sym.imp.USER32.dll_EndDialog]
push 0x1f4
mov dword [0x471f7c], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x68], 8
jb 0x410739
mov eax, dword [esp + 0x54]
push eax
call fcn.0043ef40
add esp, 4
mov ecx, dword [esp + 0x474]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.0043ef12
add esp, 0x46c
ret
Function at 0x411160
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x45af60
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor eax, eax
xor edi, edi
cmp ecx, edi
setne al
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], di
mov dword [ebx], eax
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x4111a6
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x34]
call fcn.00406f20
push 0xffffffffffffffff
push edi
lea ecx, [ebx + 0x8c]
mov eax, esi
mov dword [esp + 0x58], edi
call fcn.00406cc0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x4111f0
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0043ef40
add esp, 4
mov esi, dword [esp + 0x5c]
mov eax, esi
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x411210
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x18]
call fcn.00406f20
push 0xffffffffffffffff
push edi
lea ecx, [ebx + 0x1c]
mov eax, esi
mov dword [esp + 0x58], 1
call fcn.00406cc0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x41125b
mov edx, dword [esp + 0x14]
push edx
call fcn.0043ef40
add esp, 4
mov ecx, dword [esp + 0x58]
push 0x10
push 0x460cc0
push edi
mov edx, ebx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.00410df0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x48
ret 8

Function at 0x4112a0
Capabilities:
Hide graphical window

Disassembly:
push ecx
test esi, esi
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4112b2
push 0
push esi
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push 0x4602a4
push esi
mov edx, edi
call fcn.00410df0
test esi, esi
mov ebx, eax
je 0x4112d9
cmp dword [edi + 0xc], 0
je 0x4112d9
push 5
push esi
call ebp
pop ebp
mov eax, ebx
mov dword [edi + 0xc], 1
pop ebx
pop ecx
ret 8

Function at 0x4112f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
call fcn.00406b20
mov eax, dword [eax + 0x5c]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
push 0x30
push 0x7f1
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0xa4], 8
jb 0x411324
mov eax, dword [edi + 0x90]
jmp 0x41132a
lea eax, [edi + 0x90]
push eax
push 0x7f1
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp dword [edi], 0
je 0x41134f
push 5
push 0x7f1
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
ret
push 0
push 0x7f1
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
ret
Function at 0x415390
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x220
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 0
push 0xf0
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4153d2
call fcn.00406b20
mov ebx, dword [eax + 0xd0]
jmp 0x4153dd
call fcn.00406b20
mov ebx, dword [eax + 0xd4]
call fcn.00406b20
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
mov ecx, ebx
sub eax, 0xe
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push esi
call fcn.00439690
push 0x200
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.00443e10
add esp, 0xc
push pe_nt_image_headers32
lea edx, [esp + 0x1c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xaf6c15
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
add dword [esp + 8], 0x14
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415443
push 0x24
sub eax, edx
lea ecx, [esp + 0xc]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x21c]
pop ebx
xor ecx, esp
call fcn.0043ef12
add esp, 0x220
ret
Function at 0x415c20
Capabilities:
Check mutex on windows
Log keystrokes via application hook
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x458fd6
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov eax, dword [0x471e68]
push eax
push 0x42b530
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov ecx, dword [esi]
xor edi, edi
push edi
push 0x46f918
push 0x471bc8
mov dword [0x471bf4], eax
mov dword [0x471bc4], ecx
call sub.gdiplus.dll_GdiplusStartup
push str._TXQS0824
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x415db7
push 0x4620d0
push 0x400
lea edx, [esp + 0x54]
push 0x200
push edx
call fcn.0043ef21
add esp, 0x10
lea ecx, [esp + 0x30]
call fcn.0042a750
mov dword [esp + 0x458], edi
mov ebx, 7
lea eax, [esp + 0x4c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x415d00
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
push eax
lea esi, [esp + 0x1c]
call fcn.00406f20
mov ecx, esi
push edi
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x460], 1
call fcn.00406d90
cmp dword [esp + 0x2c], 8
jb 0x415d4a
mov edx, dword [esp + 0x18]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x48], 8
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
jae 0x415d66
lea edx, [esp + 0x34]
mov ebx, dword [0x471b30]
cmp ebx, edi
je 0x415d9f
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x415d75
sub eax, esi
sar eax, 1
push ebx
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
cmp dword [esp + 0x48], 8
jb 0x415db3
mov edx, dword [esp + 0x34]
push edx
call fcn.0043ef40
add esp, 4
xor eax, eax
jmp 0x415dbc
mov eax, 1
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0043ef12
add esp, 0x44c
ret
Function at 0x418f60
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x458176
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x454]
mov dword fs:[0], eax
mov eax, dword [esp + 0x464]
cmp dword [0x471ee4], 1
jne 0x419108
cmp eax, dword [0x471304]
je 0x419108
xor edi, edi
cmp dword [0x471ee8], edi
je 0x419108
push eax
push 0x462790
push 0x400
mov dword [0x471304], eax
lea eax, [esp + 0x58]
lea edx, [esp + 0x470]
push 0x200
push eax
mov dword [0x471ed8], ecx
mov dword [0x471edc], 4
mov dword [0x471ee0], edx
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0x30]
call fcn.0042a750
mov dword [esp + 0x45c], edi
mov ebp, 7
lea eax, [esp + 0x4c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x419030
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x50]
push ecx
lea esi, [esp + 0x1c]
call fcn.00406f20
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x464], 1
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x41907e
mov eax, dword [esp + 0x18]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x48], esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
jae 0x419099
lea edx, [esp + 0x34]
mov ebp, dword [0x471b30]
cmp ebp, edi
je 0x4190e0
mov eax, edx
lea esi, [eax + 2]
jmp 0x4190b0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4190b0
sub eax, esi
sar eax, 1
push ebp
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.0043fe21
mov edx, dword [0x471b30]
push edx
call fcn.004402ef
add esp, 0x14
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x4190f3
mov eax, dword [esp + 0x34]
push eax
call fcn.0043ef40
add esp, 4
mov ecx, dword [0x471ee8]
push 0x471ed8
push edi
push 0x4a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x454]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0043ef12
add esp, 0x450
ret

Function at 0x41a270
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [0x471b30]
test edi, edi
je 0x41a2aa
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a280
sub eax, edx
sar eax, 1
push edi
add eax, eax
push eax
push 1
push esi
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
pop edi
ret
Function at 0x41a940
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x41a970
push 0
push 0
mov dword [0x471b64], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x471b5c], eax
ret

Function at 0x41b170
Capabilities:
Create thread

Disassembly:
push 0
push 0
push eax
push 0x41b2b0
push 0
push 0
mov dword [0x471b68], 1
mov dword [0x471b6c], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x471b60], eax
mov eax, 1
ret

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

Disassembly:
cmp dword [eax + 0x18], 8
jb 0x41bc6b
mov eax, dword [eax + 4]
jmp 0x41bc6e
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41bc84
test al, 0x10
je 0x41bc84
mov eax, 1
ret
xor eax, eax
ret

Function at 0x41bc90
Capabilities:
Get file attributes

Disassembly:
cmp dword [esi + 0x14], 0
jne 0x41bc99
xor eax, eax
ret
cmp dword [esi + 0x18], 8
jb 0x41bcb3
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call fcn.0041bcd0
add esp, 4
ret
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call fcn.0041bcd0
add esp, 4
ret
Function at 0x41bcd0
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x458100
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
mov ebp, dword [eax + 0x14]
xor edi, edi
cmp ebp, edi
je 0x41beab
cmp ebp, 0x104
jae 0x41beab
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], edi
mov word [esp + 0x40], di
call fcn.00406cc0
lea esi, [ebp - 1]
mov dword [esp + 0x5c], edi
cmp esi, dword [esp + 0x48]
jbe 0x41bd4e
call fcn.0043f7bb
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x41bd5d
lea eax, [esp + 0x38]
cmp word [eax + esi*2], 0x5c
mov ebx, 1
je 0x41bd78
push ebx
push 0x46042c
lea ecx, [esp + 0x3c]
call fcn.00406e50
cmp ebp, edi
jbe 0x41be3d
mov dword [esp + 0x14], 0x5c
lea eax, [esp + 0x14]
push eax
mov eax, edi
lea edx, [esp + 0x38]
call fcn.0040ee10
mov edi, eax
push edi
lea ecx, [esp + 0x38]
push ecx
xor ecx, ecx
lea esi, [esp + 0x20]
call fcn.00416740
mov byte [esp + 0x5c], bl
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x30], esi
jae 0x41bdc2
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41bdd2
test al, 0x10
jne 0x41be1b
cmp dword [esp + 0x30], esi
mov eax, dword [esp + 0x1c]
jae 0x41bde0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41be00
cmp dword [esp + 0x30], esi
mov eax, dword [esp + 0x1c]
jae 0x41bdf9
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x30], esi
mov eax, dword [esp + 0x1c]
jae 0x41be0e
lea eax, [esp + 0x1c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41be72
mov byte [esp + 0x5c], 0
cmp dword [esp + 0x30], esi
jb 0x41be33
mov edx, dword [esp + 0x1c]
push edx
call fcn.0043ef40
add esp, 4
add edi, ebx
cmp edi, ebp
jb 0x41bd88
cmp dword [esp + 0x4c], 8
jb 0x41be51
mov edx, dword [esp + 0x38]
push edx
call fcn.0043ef40
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0043ef12
add esp, 0x4c
ret
cmp dword [esp + 0x30], esi
jb 0x41be85
mov eax, dword [esp + 0x1c]
push eax
call fcn.0043ef40
add esp, 4
xor eax, eax
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
jb 0x41beab
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0043ef40
add esp, 4
xor eax, eax
jmp 0x41be53