joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e670
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa60
mov eax, dword [0x51c080]
xor eax, esp
mov dword [esp + 0xa5c], eax
test esi, esi
push ebx
push edi
je 0x45e7f9
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e6a0
sub eax, edx
sar eax, 1
je 0x45e7f9
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x45e7f9
push 0x800
lea eax, [esp + 0x264]
push 0
push eax
call fcn.004ab450
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e6e0
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
push esi
jne 0x45e70c
push str._s.
push 0x400
lea ecx, [esp + 0x26c]
push ecx
jmp 0x45e71e
push 0x4ee1f8
push 0x400
lea edx, [esp + 0x26c]
push edx
call fcn.004a9ca9
add esp, 0x10
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45e7f9
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov byte [esp + 0xb], 1
nop
lea edx, [esp + 0x3c]
push 0x4e5f10
push edx
call fcn.004a9af1
add esp, 8
test eax, eax
je 0x45e792
lea eax, [esp + 0x3c]
push 0x4ea8ac
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
je 0x45e792
lea ecx, [esp + 0x3c]
push str.Desktop.ini
push ecx
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x45e7bd
lea edx, [esp + 0x10]
push edx
push ebx
call edi
test eax, eax
jne 0x45e750
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 0xb]
pop edi
pop ebx
mov ecx, dword [esp + 0xa5c]
xor ecx, esp
call fcn.004a998e
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x3c]
push eax
push esi
push str.DEBUG:___s__is_not_empty_:__s
mov ecx, 0x527b30
mov byte [esp + 0x17], 0
call fcn.00449000
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 0xb]
pop edi
pop ebx
mov ecx, dword [esp + 0xa5c]
xor ecx, esp
call fcn.004a998e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xa64]
pop edi
pop ebx
xor ecx, esp
xor al, al
call fcn.004a998e
mov esp, ebp
pop ebp
ret
Function at 0x45e9a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8b90
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x51c080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
cmp ebx, edi
je 0x45ea7d
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x45e9e5
sub eax, edx
sar eax, 1
je 0x45ea7d
push edi
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
jbe 0x45ea61
push esi
call fcn.004993e2
add esp, 4
mov edi, eax
test edi, edi
je 0x45ea61
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, 1
jne 0x45ea58
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x4e4f30
push edi
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x45ea58
push 0x34
mov edx, dword [ebp - 0x1c]
push edx
push 0x34
mov eax, dword [ebp + 8]
push eax
call fcn.004a9d14
add esp, 0x10
mov dword [ebp - 0x14], 1
push edi
call fcn.004993dd
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4619f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8a90
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x51c080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x461a65
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x461a30
sub eax, edx
sar eax, 1
je 0x461a65
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461a5c
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x461a5c
mov bl, 1
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], 0xffffffff
jmp 0x461aa5
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x461e20
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.004ab4d0
push 0xffffffffffffffff
push 0x4c8a60
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x51c080]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x14], 2
xor edi, edi
cmp esi, edi
je 0x461fa9
cmp ebx, edi
je 0x461fa9
mov dword [ebp - 4], edi
push 0x800
push edi
lea eax, [ebp + 0x800]
push eax
call fcn.004ab450
push 0x3ff
push esi
push 0x400
lea ecx, [ebp + 0x800]
push ecx
call fcn.004a9be0
add esp, 0x1c
lea eax, [ebp + 0x800]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x461eb5
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 + 0x7fe], 0x5c
jne 0x461ef7
lea eax, [ebp + 0x800]
lea edx, [eax + 2]
jmp 0x461ee0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x461ee0
sub eax, edx
sar eax, 1
mov word [ebp + eax*2 + 0x7fe], di
push 0x800
push edi
lea edx, [ebp]
push edx
call fcn.004ab450
lea eax, [ebp + 0x800]
push eax
push str._s_setup.exe
lea edx, [ebp]
call fcn.00411a00
add esp, 0x14
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x461f23
sub eax, edx
sar eax, 1
je 0x461f7e
lea ecx, [ebp]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461f7e
mov eax, dword [ebx + 0x408]
add eax, 0x8a18
push 0x3ff
lea edx, [ebp]
push edx
push 0x400
push eax
call fcn.004a9be0
push 0x200
push edi
mov eax, dword [ebx + 0x408]
add eax, 0x204
push eax
call fcn.004ab450
add esp, 0x1c
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
jmp 0x461fae
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.004a998e
add ebp, 0x1004
mov esp, ebp
pop ebp
ret
Function at 0x46a890
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c73ba
mov eax, dword fs:[0]
push eax
mov eax, dword [0x51c080]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0xc], ecx
mov byte [eax + 0xc], cl
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [esp + 0xc], 1
mov byte [eax + 0x18], cl
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov byte [esp + 0xc], 2
mov byte [eax + 0x24], cl
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov byte [esp + 0xc], 3
mov byte [eax + 0x30], cl
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov byte [esp + 0xc], 4
mov byte [eax + 0x3c], cl
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov byte [esp + 0xc], 5
mov byte [eax + 0x48], cl
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x470810
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x4c9680
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x51c080]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, edx
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test esi, esi
je 0x470982
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x470870
sub eax, edx
sar eax, 1
je 0x470982
test ebx, ebx
je 0x470982
push 0x800
push 0
lea ecx, [ebp]
push ecx
call fcn.004ab450
add esp, 0xc
push 0
push 0x400
push 0x527d38
lea edi, [ebp]
mov edx, esi
call fcn.00458ee0
mov edx, edi
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, edi
test eax, eax
je 0x470909
mov eax, dword [ebp + 0x810]
push eax
mov ecx, ebx
call fcn.0046cd90
add esp, 4
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x470979
mov ecx, edi
push ecx
push str.___s__Load_Resource_from_file_was_fail____
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov dword [ebp - 0x20], esi
push 0x5042a0
lea edx, [ebp - 0x20]
push edx
call fcn.004abd6e
mov eax, dword [ebp - 0x1c]
push eax
push ebx
mov edi, dword [ebp + 0x810]
mov ecx, edi
call fcn.0046cc30
add esp, 8
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x470979
call fcn.0049a770
cmp dword [eax + 8], 0
je 0x470979
call fcn.0049a770
mov eax, dword [eax + 8]
push eax
push ebx
mov ecx, edi
lea edx, [ebp]
call fcn.0046cc30
add esp, 8
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x470979
lea ecx, [ebp]
push ecx
push str.___s__Load_Resource_from_file_was_fail____
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov dword [ebp - 0x18], esi
push 0x5042a0
lea edx, [ebp - 0x18]
push edx
call fcn.004abd6e
mov dword [ebp - 4], 0xffffffff
jmp 0x4709c5
mov eax, 0x57
jmp 0x4709c7
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004a998e
add ebp, 0x804
mov esp, ebp
pop ebp
ret
Function at 0x4709f0
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x4cb370
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x51c080]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, edx
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test esi, esi
je 0x470b4d
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x470a50
sub eax, edx
sar eax, 1
je 0x470b4d
test ebx, ebx
je 0x470b4d
push 0x800
push 0
lea ecx, [ebp]
push ecx
call fcn.004ab450
add esp, 0xc
push 0
push 0x400
push 0x527d38
lea edi, [ebp]
mov edx, esi
call fcn.00458ee0
mov edx, edi
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x470adf
mov ecx, edi
mov edx, ebx
call fcn.00473170
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x470b44
mov eax, edi
push eax
push str.___s__Load_Resource_from_file_was_fail____
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov dword [ebp - 0x20], esi
push 0x5042a0
lea ecx, [ebp - 0x20]
push ecx
call fcn.004abd6e
lea edx, [ebp]
push edx
push ebx
mov ecx, dword [ebp - 0x1c]
call fcn.00473310
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x470b44
call fcn.0049a770
cmp dword [eax + 8], 0
je 0x470b44
call fcn.0049a770
mov eax, dword [eax + 8]
lea ecx, [ebp]
push ecx
push ebx
mov ecx, eax
call fcn.00473310
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x470b44
lea edx, [ebp]
push edx
push str.___s__Load_Resource_from_Resource_DLL_was_fail____
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov dword [ebp - 0x18], esi
push 0x5042a0
lea eax, [ebp - 0x18]
push eax
call fcn.004abd6e
mov dword [ebp - 4], 0xffffffff
jmp 0x470b90
mov eax, 0x57
jmp 0x470b92
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
invalid

Function at 0x470ee0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x58]
push eax
call fcn.00470c48
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00470bfd
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
ror byte [ecx - 0x8b7b], cl
dec dword [ebx - 0xe0807bb]
Function at 0x471020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
lahf
adc esi, eax
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00470c48
push eax
push esi
push dword [ebp + 8]
call fcn.00470bfd
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00470c48
push eax
push esi
push dword [ebp + 8]
call fcn.00470bfd
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00470c38
imul edi, dword [edx - 0x6277a04b], 0x7c
invalid

Function at 0x471320
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x47130f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x47132d
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
add dword [eax], eax
add byte [ebp + 0xf8c784], cl
add byte [eax], al
add dword [eax], eax
add byte [ebp + 0xf8c784], cl
add byte [eax], al
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x47138b
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x471372
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x47137b
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x471385
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x471367
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4712f1
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4713d8
dec eax
je 0x4713cf
sub eax, 3
je 0x4713c6
mov dword [ebp - 4], 0x40
jmp 0x4713f5
mov dword [ebp - 4], 4
jmp 0x4713db
mov dword [ebp - 4], 0x20
jmp 0x4713db
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x471427
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
mov ebp, 0xffffff74
jbe 0x4713a7
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00470c38
mov bl, 0xb6
or eax, 0x1475ff9a
push 1
push esi
call edi
mov eax, esi
jmp 0x471433
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4714d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x354]
push eax
call fcn.00470c48
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00470bfd
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
aas
cld
invalid
inc dword [eax]
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00470c48
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00470bfd
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00470c48
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00470bfd
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00470c38
cld
inc edi
popfd
sbb al, 0x80
movsd dword es:[edi], dword [esi]
int3

Function at 0x473040
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c7258
mov eax, dword fs:[0]
push eax
mov eax, dword [0x51c080]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax], vtable.Gdiplus::Image.0
xor ecx, ecx
mov dword [esp + 0xc], ecx
fld1
fst qword [eax + 0x50]
mov dword [eax], vtable.CImageEX.0
fstp qword [eax + 0x58]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x30], ecx
mov byte [eax + 0x48], cl
mov dword [eax + 0x18], ecx
mov dword [eax + 0x44], ecx
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x473310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c85e0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x51c080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], 1
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x473432
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473360
sub eax, edx
sar eax, 1
je 0x473432
mov ecx, dword [ebp + 8]
call fcn.00473480
test edi, edi
je 0x4733bb
push str.IMAGE
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4733bb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
test eax, eax
jbe 0x4733bb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
jne 0x4733fb
push str.IMAGE
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4733f7
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
test eax, eax
jbe 0x4733f7
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x473414
push ebx
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
mov edx, esi
call fcn.00473530
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x473414
mov byte [esi + 0x48], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x475650
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4cee30
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51c080]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x60]
lea eax, [ebx + 0x58e0]
lea edx, [eax + 2]
xor edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x475686
sub eax, edx
sar eax, 1
jne 0x4757aa
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x30], esp
push 0xc
mov ebx, 7
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push str.PROGRAM_NAME
mov word [esi + 4], di
call fcn.004102a0
mov dword [esp + 0x74], edi
push 0x52c1fc
mov dword [esp + 0x78], 0xffffffff
lea esi, [esp + 0x54]
call fcn.00411c20
mov dword [esp + 0x58], 1
mov ebp, 8
cmp dword [eax + 0x18], ebp
jb 0x4756f0
mov eax, dword [eax + 4]
jmp 0x4756f3
add eax, 4
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push ebp
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push str.TEMP_DIR
mov word [esi + 4], di
call fcn.004102a0
mov byte [esp + 0x78], 2
push 0x52c1fc
mov byte [esp + 0x7c], 1
lea esi, [esp + 0x3c]
call fcn.00411c20
mov byte [esp + 0x5c], 3
cmp dword [eax + 0x18], ebp
jb 0x475739
mov eax, dword [eax + 4]
jmp 0x47573c
add eax, 4
push eax
mov eax, dword [esp + 0x68]
push str._s_sImage
add eax, 0x58e0
push 0x3ff
push eax
call fcn.004a9ca9
add esp, 0x14
mov byte [esp + 0x58], 1
cmp dword [esp + 0x30], ebp
jb 0x475771
mov eax, dword [esp + 0x1c]
push eax
call fcn.004993dd
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x4c], ebp
jb 0x475799
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004993dd
add esp, 4
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x48], edi
mov word [esp + 0x38], di
lea esi, [ebx + 0x58e0]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4757cd
mov edx, dword [0x52b9f0]
push edi
push edx
mov edx, esi
call fcn.0045e440
add esp, 8
mov edx, dword [esp + 0x64]
mov eax, dword [edx + 0x4c08]
sub eax, 1
je 0x4757e9
sub eax, 2
jne 0x4757f8
lea ecx, [ebx + 0x5834]
jmp 0x4757ef
lea ecx, [ebx + 0x58b0]
mov eax, dword [ecx]
push esi
push edx
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8