joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e5a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0a3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov dword [ebp - 0x20], ecx
mov ecx, 0x524a5a
call fcn.004c6bbd
mov eax, 0x68
mov word [ebp - 0x84], ax
mov ecx, 0x74
mov word [ebp - 0x82], cx
mov edx, 0x74
mov word [ebp - 0x80], dx
mov eax, 0x70
mov word [ebp - 0x7e], ax
mov ecx, 0x73
mov word [ebp - 0x7c], cx
mov edx, 0x3a
mov word [ebp - 0x7a], dx
mov eax, 0x2f
mov word [ebp - 0x78], ax
mov ecx, 0x2f
mov word [ebp - 0x76], cx
mov edx, 0x77
mov word [ebp - 0x74], dx
mov eax, 0x77
mov word [ebp - 0x72], ax
mov ecx, 0x77
mov word [ebp - 0x70], cx
mov edx, 0x2e
mov word [ebp - 0x6e], dx
mov eax, 0x67
mov word [ebp - 0x6c], ax
mov ecx, 0x70
mov word [ebp - 0x6a], cx
mov edx, 0x74
mov word [ebp - 0x68], dx
mov eax, 0x63
mov word [ebp - 0x66], ax
mov ecx, 0x68
mov word [ebp - 0x64], cx
mov edx, 0x72
mov word [ebp - 0x62], dx
mov eax, 0x6f
mov word [ebp - 0x60], ax
mov ecx, 0x6d
mov word [ebp - 0x5e], cx
mov edx, 0x65
mov word [ebp - 0x5c], dx
mov eax, 0x2e
mov word [ebp - 0x5a], ax
mov ecx, 0x6e
mov word [ebp - 0x58], cx
mov edx, 0x65
mov word [ebp - 0x56], dx
mov eax, 0x74
mov word [ebp - 0x54], ax
mov ecx, 0x2f
mov word [ebp - 0x52], cx
mov edx, 0x70
mov word [ebp - 0x50], dx
mov eax, 0x72
mov word [ebp - 0x4e], ax
mov ecx, 0x69
mov word [ebp - 0x4c], cx
mov edx, 0x76
mov word [ebp - 0x4a], dx
mov eax, 0x61
mov word [ebp - 0x48], ax
mov ecx, 0x63
mov word [ebp - 0x46], cx
mov edx, 0x79
mov word [ebp - 0x44], dx
mov eax, 0x2e
mov word [ebp - 0x42], ax
mov ecx, 0x68
mov word [ebp - 0x40], cx
mov edx, 0x74
mov word [ebp - 0x3e], dx
mov eax, 0x6d
mov word [ebp - 0x3c], ax
mov ecx, 0x6c
mov word [ebp - 0x3a], cx
xor edx, edx
mov word [ebp - 0x38], dx
lea ecx, [ebp - 0xd]
call fcn.004063b0
push eax
lea eax, [ebp - 0x36]
push eax
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406b20
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x34]
call fcn.00406d10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
call fcn.00415e30
push eax
lea ecx, [ebp - 0x14]
call fcn.00406160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00407960
push 5
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.004084d0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.00407640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42e7c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0a3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov dword [ebp - 0x20], ecx
mov ecx, 0x524a5a
call fcn.004c6bbd
mov eax, 0x68
mov word [ebp - 0x7c], ax
mov ecx, 0x74
mov word [ebp - 0x7a], cx
mov edx, 0x74
mov word [ebp - 0x78], dx
mov eax, 0x70
mov word [ebp - 0x76], ax
mov ecx, 0x73
mov word [ebp - 0x74], cx
mov edx, 0x3a
mov word [ebp - 0x72], dx
mov eax, 0x2f
mov word [ebp - 0x70], ax
mov ecx, 0x2f
mov word [ebp - 0x6e], cx
mov edx, 0x77
mov word [ebp - 0x6c], dx
mov eax, 0x77
mov word [ebp - 0x6a], ax
mov ecx, 0x77
mov word [ebp - 0x68], cx
mov edx, 0x2e
mov word [ebp - 0x66], dx
mov eax, 0x67
mov word [ebp - 0x64], ax
mov ecx, 0x70
mov word [ebp - 0x62], cx
mov edx, 0x74
mov word [ebp - 0x60], dx
mov eax, 0x63
mov word [ebp - 0x5e], ax
mov ecx, 0x68
mov word [ebp - 0x5c], cx
mov edx, 0x72
mov word [ebp - 0x5a], dx
mov eax, 0x6f
mov word [ebp - 0x58], ax
mov ecx, 0x6d
mov word [ebp - 0x56], cx
mov edx, 0x65
mov word [ebp - 0x54], dx
mov eax, 0x2e
mov word [ebp - 0x52], ax
mov ecx, 0x6e
mov word [ebp - 0x50], cx
mov edx, 0x65
mov word [ebp - 0x4e], dx
mov eax, 0x74
mov word [ebp - 0x4c], ax
mov ecx, 0x2f
mov word [ebp - 0x4a], cx
mov edx, 0x75
mov word [ebp - 0x48], dx
mov eax, 0x73
mov word [ebp - 0x46], ax
mov ecx, 0x65
mov word [ebp - 0x44], cx
mov edx, 0x72
mov word [ebp - 0x42], dx
mov eax, 0x73
mov word [ebp - 0x40], ax
mov ecx, 0x70
mov word [ebp - 0x3e], cx
mov edx, 0x65
mov word [ebp - 0x3c], dx
mov eax, 0x2f
mov word [ebp - 0x3a], ax
xor ecx, ecx
mov word [ebp - 0x38], cx
lea ecx, [ebp - 0xd]
call fcn.004063b0
push eax
lea edx, [ebp - 0x36]
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x34]
call fcn.00406d10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
call fcn.00415e30
push eax
lea ecx, [ebp - 0x14]
call fcn.00406160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00407960
push 5
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.004084d0
push eax
push 0x4f87e0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.00407640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42e9b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0a3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov dword [ebp - 0x20], ecx
mov ecx, 0x524a5a
call fcn.004c6bbd
mov eax, 0x68
mov word [ebp - 0x7c], ax
mov ecx, 0x74
mov word [ebp - 0x7a], cx
mov edx, 0x74
mov word [ebp - 0x78], dx
mov eax, 0x70
mov word [ebp - 0x76], ax
mov ecx, 0x73
mov word [ebp - 0x74], cx
mov edx, 0x3a
mov word [ebp - 0x72], dx
mov eax, 0x2f
mov word [ebp - 0x70], ax
mov ecx, 0x2f
mov word [ebp - 0x6e], cx
mov edx, 0x77
mov word [ebp - 0x6c], dx
mov eax, 0x77
mov word [ebp - 0x6a], ax
mov ecx, 0x77
mov word [ebp - 0x68], cx
mov edx, 0x2e
mov word [ebp - 0x66], dx
mov eax, 0x67
mov word [ebp - 0x64], ax
mov ecx, 0x70
mov word [ebp - 0x62], cx
mov edx, 0x74
mov word [ebp - 0x60], dx
mov eax, 0x63
mov word [ebp - 0x5e], ax
mov ecx, 0x68
mov word [ebp - 0x5c], cx
mov edx, 0x72
mov word [ebp - 0x5a], dx
mov eax, 0x6f
mov word [ebp - 0x58], ax
mov ecx, 0x6d
mov word [ebp - 0x56], cx
mov edx, 0x65
mov word [ebp - 0x54], dx
mov eax, 0x2e
mov word [ebp - 0x52], ax
mov ecx, 0x6e
mov word [ebp - 0x50], cx
mov edx, 0x65
mov word [ebp - 0x4e], dx
mov eax, 0x74
mov word [ebp - 0x4c], ax
mov ecx, 0x2f
mov word [ebp - 0x4a], cx
mov edx, 0x6c
mov word [ebp - 0x48], dx
mov eax, 0x69
mov word [ebp - 0x46], ax
mov ecx, 0x63
mov word [ebp - 0x44], cx
mov edx, 0x65
mov word [ebp - 0x42], dx
mov eax, 0x6e
mov word [ebp - 0x40], ax
mov ecx, 0x73
mov word [ebp - 0x3e], cx
mov edx, 0x65
mov word [ebp - 0x3c], dx
mov eax, 0x2f
mov word [ebp - 0x3a], ax
xor ecx, ecx
mov word [ebp - 0x38], cx
lea ecx, [ebp - 0xd]
call fcn.004063b0
push eax
lea edx, [ebp - 0x36]
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x34]
call fcn.00406d10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
call fcn.00415e30
push eax
lea ecx, [ebp - 0x14]
call fcn.00406160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00407960
push 5
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.004084d0
push eax
push 0x4f87d4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.00407640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x430c10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0dfd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov ecx, 0x524bcf
call fcn.004c6bbd
xor eax, eax
mov dword [ebp - 0x3c], 0x6f0050
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x38], 0x750070
push eax
push ecx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], 0x4d0070
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], 0x670073
mov dword [ebp - 0x2c], 0x78002e
mov dword [ebp - 0x28], 0x6c006d
call fcn.00406d10
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push dword [eax]
mov dword [ebp - 4], 0
call fcn.00431c60
lea ecx, [ebp - 0x20]
call fcn.004154b0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4314a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0f85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
mov ecx, 0x524d70
call fcn.004c6bbd
mov eax, 0x5a
mov word [ebp - 0x4c], ax
mov ecx, 0x49
mov word [ebp - 0x4a], cx
mov edx, 0x50
mov word [ebp - 0x48], dx
xor eax, eax
mov word [ebp - 0x46], ax
lea ecx, [ebp - 0xd]
call fcn.004063b0
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x38]
call fcn.00406b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x58]
call fcn.00406d10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
call fcn.00415e30
push eax
push 0x81
call fcn.004373f0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407960
cmp dword [ebp - 0x14], 0
je 0x431662
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004373f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x431658
mov edx, dword [ebp - 0x14]
push edx
call fcn.004373f0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x431658
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0043f770
add esp, 0xc
mov edx, 0x72
mov word [ebp - 0x78], dx
mov eax, 0x65
mov word [ebp - 0x76], ax
mov ecx, 0x73
mov word [ebp - 0x74], cx
mov edx, 0x2e
mov word [ebp - 0x72], dx
mov eax, 0x78
mov word [ebp - 0x70], ax
mov ecx, 0x6d
mov word [ebp - 0x6e], cx
mov edx, 0x6c
mov word [ebp - 0x6c], dx
xor eax, eax
mov word [ebp - 0x6a], ax
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x30], esp
lea ecx, [ebp - 0xe]
call fcn.004063b0
push eax
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x40]
call fcn.00406b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x64]
call fcn.00406d10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
call fcn.00415e30
push eax
mov ecx, esi
call fcn.00431310
call fcn.004313d0
mov ecx, eax
call fcn.0044b4f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00407960
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43efa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xa8]
je 0x43efde
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x108]
je 0x43efde
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x108]
jne 0x43eff1
jmp 0x43f14d
mov edx, dword [ebp - 4]
cmp dword [edx + 0x108], 0
je 0x43f077
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0x17
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x140]
call edx
push 0
push 0
push 0
push str.killfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0043e8b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x108], 0
cmp dword [ebp + 8], 0
jne 0x43f082
jmp 0x43f14d
cmp dword [ebp + 8], 0
je 0x43f14d
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 4]
jne 0x43f14d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x100]
call eax
movzx ecx, al
test ecx, ecx
je 0x43f14d
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x10c]
call edx
movzx eax, al
test eax, eax
je 0x43f14d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x108], edx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0x18
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x140]
call edx
push 0
push 0
push 0
push str.setfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0043e8b0
mov esp, ebp
pop ebp
ret 4
Function at 0x440ce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
push 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
push 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x440dba
push 0
push 0
push 0
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x440dba
cmp dword [ebp - 0x24], 0x10
jne 0x440d86
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax + 4]
jne 0x440d86
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [ebp - 0x28]
push edx
call fcn.0043fad0
add esp, 4
movzx eax, al
test eax, eax
jne 0x440dad
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x24], 0x12
jne 0x440db5
jmp 0x440dba
jmp 0x440d34
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x24], 0x12
jne 0x440de0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x44b4f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5200e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
test ecx, ecx
je 0x44b571
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x3c
jne 0x44b54a
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00483f90
movzx edx, al
test edx, edx
jne 0x44b548
xor eax, eax
jmp 0x44b649
jmp 0x44b56c
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00484010
movzx ecx, al
test ecx, ecx
jne 0x44b56c
xor eax, eax
jmp 0x44b649
jmp 0x44b618
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004373f0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x44b59b
xor eax, eax
jmp 0x44b649
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.004373f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x44b5ce
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x44b649
push 0
mov eax, dword [ebp - 0x218]
push eax
call fcn.004373f0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.004846c0
movzx edx, al
test edx, edx
jne 0x44b60b
xor eax, eax
jmp 0x44b649
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00483e10
sub esp, 0x20c
mov ecx, 0x83
mov esi, eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x214]
call fcn.0044b040
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c7708
mov esp, ebp
pop ebp
ret 8
Function at 0x44b870
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x5200e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x44b8a4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44b8a4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x44b8b3
jmp 0x44ba1c
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
movzx ecx, word [eax]
test ecx, ecx
je 0x44b90e
mov edx, dword [ebp - 0x418]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x44b8f1
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x44b8fd
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x418], ecx
jmp 0x44b8c8
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0xc]
je 0x44b99e
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.004cabc0
add esp, 0xc
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x420], ecx
cmp dword [ebp - 0x420], 0x208
jae 0x44b967
jmp 0x44b96c
call fcn.004c786e
xor edx, edx
mov eax, dword [ebp - 0x420]
mov word [ebp + eax - 0x414], dx
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0044b870
add esp, 8
mov eax, dword [ebp - 0x424]
add eax, 2
mov dword [ebp - 0x424], eax
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0x428], edx
cmp dword [ebp - 0x428], 0x208
jae 0x44b9ba
jmp 0x44b9bf
call fcn.004c786e
xor eax, eax
mov ecx, dword [ebp - 0x428]
mov word [ebp + ecx - 0x20c], ax
cmp dword [ebp + 8], 0
je 0x44b9e8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.004d9283
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.004d9212
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44ba1c
push 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c7708
mov esp, ebp
pop ebp
ret
Function at 0x44c760
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x44c77a
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0xffffffff
je 0x44c784
mov eax, 0x1000000
jmp 0x44c86e
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0xc]
add eax, 0x244
push eax
call fcn.004cf4c7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + eax*2 + 0x242]
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
cmp eax, 0x5c
je 0x44c7e2
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x44c7e2
push 0x4f9314
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
call fcn.004d9212
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x44c826
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x44c80a
mov dword [ebp - 0x10], 1
jmp 0x44c811
mov dword [ebp - 0x10], 0
mov cl, byte [ebp - 0x10]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x44c826
mov eax, 0x2000000
jmp 0x44c86e
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00451920
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44c84c
mov eax, dword [ebp - 0x1c]
jmp 0x44c86e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00452610
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x44c86c
mov eax, 0x200
jmp 0x44c86e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc