joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e510
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x550910]
xor eax, ebp
mov dword [ebp - 4], eax
push 3
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.00407d20
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x10]
push 0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], 0
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x42e55e
xorps xmm0, xmm0
jmp 0x42e571
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.004d1b8e
mulsd xmm0, qword [0x53bb90]
cmp dword [ebp - 0x14], 8
movsd qword [ebp - 0x30], xmm0
jb 0x42e58c
push dword [ebp - 0x28]
call fcn.004b9830
movsd xmm0, qword [ebp - 0x30]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c6343
mov esp, ebp
pop ebp
ret
Function at 0x42f4a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x504f00
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x550910]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x5599a4], 0
je 0x42f4ea
sub esp, 8
call fcn.00433d20
test eax, eax
jne 0x42f4fd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x5599ac]
call esi
push 5
push dword [0x5599a8]
call esi
push str.download_getProduct
lea ecx, [esp + 0x28]
call fcn.004068b0
lea eax, [esp + 0xc]
mov dword [esp + 0x48], 0
push eax
call fcn.00419250
mov ecx, eax
call fcn.0041b5e0
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x4c], 1
push eax
call fcn.00419250
mov ecx, eax
call fcn.00420fd0
cmp dword [esp + 0x20], 8
jb 0x42f568
push dword [esp + 0xc]
call fcn.004b9830
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
cmp dword [esp + 0x38], 8
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
jb 0x42f592
push dword [esp + 0x24]
call fcn.004b9830
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42f5b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504f46
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x550910]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x5599b0]
call fcn.00433fd0
test eax, eax
jne 0x42f608
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
push dword [0x5599ac]
call esi
push 0
push dword [0x5599a8]
call esi
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0x16
xor eax, eax
mov dword [ebp - 0x14], 7
push str.download_rejectProduct
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004067b0
mov dword [ebp - 4], 0
mov eax, dword [0x55999c]
test eax, eax
jne 0x42f679
push 0x4e0
call fcn.004c6492
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x42f66e
push 0x4e0
push 0
push esi
call fcn.004cff10
add esp, 0xc
mov ecx, esi
call fcn.00418e50
jmp 0x42f670
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x55999c], eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0041b5e0
mov edi, eax
mov byte [ebp - 4], 2
mov eax, dword [0x55999c]
test eax, eax
jne 0x42f6d1
push 0x4e0
call fcn.004c6492
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x42f6c6
push 0x4e0
push 0
push esi
call fcn.004cff10
add esp, 0xc
mov ecx, esi
call fcn.00418e50
jmp 0x42f6c8
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x55999c], eax
push edi
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00420fd0
cmp dword [ebp - 0x2c], 8
jb 0x42f6ee
push dword [ebp - 0x40]
call fcn.004b9830
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x42f713
push dword [ebp - 0x28]
call fcn.004b9830
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42f730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504f46
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x550910]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x5599b0]
call fcn.00433f30
test eax, eax
jne 0x42f788
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
push dword [0x5599ac]
call esi
push 0
push dword [0x5599a8]
call esi
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0x16
xor eax, eax
mov byte [edi + 0x2b], 1
push str.download_acceptProduct
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004067b0
mov dword [ebp - 4], 0
mov eax, dword [0x55999c]
test eax, eax
jne 0x42f7fd
push 0x4e0
call fcn.004c6492
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x42f7f2
push 0x4e0
push 0
push esi
call fcn.004cff10
add esp, 0xc
mov ecx, esi
call fcn.00418e50
jmp 0x42f7f4
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x55999c], eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0041b5e0
mov edi, eax
mov byte [ebp - 4], 2
mov eax, dword [0x55999c]
test eax, eax
jne 0x42f855
push 0x4e0
call fcn.004c6492
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x42f84a
push 0x4e0
push 0
push esi
call fcn.004cff10
add esp, 0xc
mov ecx, esi
call fcn.00418e50
jmp 0x42f84c
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x55999c], eax
push edi
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00420fd0
cmp dword [ebp - 0x2c], 8
jb 0x42f872
push dword [ebp - 0x40]
call fcn.004b9830
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x42f897
push dword [ebp - 0x28]
call fcn.004b9830
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430db0
Capabilities:
Hide graphical window

Disassembly:
push esi
push str.time_comming
push 0x20a
push str.SDKAPIImpl::showADWindow::_lambda_26b3e98e1c37854dc75ad0a4ce63841f_::operator___
mov esi, ecx
call fcn.0040bb40
mov eax, dword [esi]
add esp, 0xc
cmp byte [eax + 0x29], 0
je 0x430cff
mov eax, dword [0x55a544]
inc eax
mov dword [0x55a544], eax
jmp 0x430d1b
push str.time_not_init
push 0x210
push str.SDKAPIImpl::showADWindow::_lambda_26b3e98e1c37854dc75ad0a4ce63841f_::operator___
call fcn.0040bb40
mov eax, dword [0x55a544]
add esp, 0xc
cmp eax, 1
jne 0x430d85
mov eax, dword [esi]
mov dword [0x55a548], 0x3e8
cmp byte [eax + 0x2a], 0
je 0x430d61
cmp byte [0x5599a4], 0
je 0x430d58
mov eax, dword [esi + 8]
sub eax, 0xb6
push eax
mov eax, dword [esi + 4]
sub eax, 0xaa
push eax
sub esp, 8
push dword [esi + 0xc]
call fcn.00433680
mov ecx, dword [esi]
call fcn.0042f4a0
jmp 0x430d85
push str.init_ret_is_false
push 0x21a
push str.SDKAPIImpl::showADWindow::_lambda_26b3e98e1c37854dc75ad0a4ce63841f_::operator___
call fcn.0040bb40
mov eax, dword [esi]
add esp, 0xc
push 0
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x55a548]
inc eax
mov dword [0x55a548], eax
cmp eax, 0x14
jne 0x430dac
mov eax, dword [esi]
push 0
mov dword [0x55a544], 0xa
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
add ecx, 4
jmp 0x430cd0

Function at 0x431830
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x505228
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x550910]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00407180
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.00431760
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x4318a1
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.004cc823
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x4318ca
push dword [esp + 0xc]
call fcn.004b9830
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4325a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50531a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x550910]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0047b398
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x432646
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004cc823
push 0x54d3d4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.004d270b
push edi
push esi
call fcn.0047b26b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6343
mov esp, ebp
pop ebp
ret 4
Function at 0x432f90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x505378
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x550910]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x550910]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x4330e4
cmp byte [ebx + 0x45], 0
je 0x4330e4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x432ff0
xor al, al
jmp 0x4330e6
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x433030
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x433071
dec eax
je 0x433075
sub eax, 2
je 0x4330cb
xor bl, bl
jmp 0x4330cd
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x4330ac
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004ce72e
add esp, 0x10
cmp esi, eax
jne 0x43306d
cmp byte [ebx + 0x45], 0
je 0x4330cb
test esi, esi
jne 0x433030
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0040b320
jmp 0x433030
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x4330e0
push dword [esp + 0x18]
call fcn.004b9830
add esp, 4
mov al, bl
jmp 0x4330e6
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c6343
mov esp, ebp
pop ebp
ret
Function at 0x433b80
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505510
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x550910]
xor eax, ebp
mov dword [ebp - 0x14], 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 dword [ebp - 4], 0
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x26c], esi
cmp eax, 0x64
jne 0x433bd6
mov eax, dword [esi + 8]
test eax, eax
je 0x433bea
push str._force_:_true_
jmp 0x433be6
test eax, eax
jne 0x433bea
mov eax, dword [esi + 8]
test eax, eax
je 0x433bea
push 0x52c9f8
push 9
call eax
push dword [esi + 4]
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x533dc0
lea edx, [esi + 0xc]
mov dword [esi + 0x40], 7
lea ecx, [ebp - 0x284]
call fcn.00407f00
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x433c1f
mov eax, dword [eax]
lea ecx, [ebp - 0x268]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [ebp - 0x270], 8
mov edi, eax
jb 0x433c46
push dword [ebp - 0x284]
call fcn.004b9830
add esp, 4
xor eax, eax
mov dword [ebp - 0x270], 7
mov dword [ebp - 0x274], 0
mov word [ebp - 0x284], ax
cmp edi, 0xffffffff
je 0x433cc8
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, edi
lea eax, [ebp - 0x268]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x433cc8
cmp word [ebp - 0x23c], 0x2e
je 0x433c70
lea eax, [ebp - 0x23c]
push eax
lea edx, [esi + 0xc]
lea ecx, [ebp - 0x29c]
call fcn.00407f00
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x433cac
mov eax, dword [eax]
push eax
call ebx
cmp dword [ebp - 0x288], 8
jb 0x433c70
push dword [ebp - 0x29c]
call fcn.004b9830
add esp, 4
jmp 0x433c70
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
add esi, 0xc
cmp dword [esi + 0x14], 8
jb 0x433cda
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, 1
jmp 0x433d04
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c6343
mov esp, ebp
pop ebp
ret
Function at 0x434130
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x505608
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x550910]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x550910]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x30]
push eax
call fcn.004344a0
push 0
push 0x52c9f8
mov dword [esp + 0x60], 0
push dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x40]
call fcn.00405ad0
test eax, eax
je 0x4342b1
push str.Setup_
lea edx, [esp + 0x34]
lea ecx, [esp + 0x1c]
call fcn.00407f00
mov edi, eax
lea esi, [ebx + 0xc]
add esp, 4
cmp esi, edi
je 0x4341e1
cmp dword [esi + 0x14], 8
jb 0x4341c6
push dword [esi]
call fcn.004b9830
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.004066e0
cmp dword [esp + 0x2c], 8
jb 0x4341f4
push dword [esp + 0x18]
call fcn.004b9830
add esp, 4
push 0x533e28
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.00407f00
lea edi, [ebx + 0x24]
mov dword [esp + 0x18], eax
add esp, 4
cmp edi, eax
je 0x434241
cmp dword [edi + 0x14], 8
jb 0x434226
push dword [edi]
call fcn.004b9830
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
mov ecx, edi
push eax
call fcn.004066e0
cmp dword [esp + 0x2c], 8
jb 0x434254
push dword [esp + 0x18]
call fcn.004b9830
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x43425e
mov eax, dword [esi]
jmp 0x434260
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x14], 8
jb 0x434271
mov esi, dword [esi]
mov eax, dword [ebx]
mov ecx, ebx
push esi
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x4342b1
cmp dword [edi + 0x14], 8
jb 0x434287
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 4], eax
test eax, eax
je 0x4342b1
push str.InvokeW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 8], eax
test eax, eax
jne 0x4342e6
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor bl, bl
cmp dword [esp + 0x44], 8
jb 0x4342c6
push dword [esp + 0x30]
call fcn.004b9830
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004c6343
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x4342b3
Function at 0x4342f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505651
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x550910]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x55999c]
test eax, eax
jne 0x434363
push 0x4e0
call fcn.004c6492
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x434355
push 0x4e0
push 0
push esi
call fcn.004cff10
add esp, 0xc
mov ecx, esi
call fcn.00418e50
jmp 0x434357
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x55999c], eax
push 0x533824
push 0x85
push dword [eax + 0x4dc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x43447b
mov eax, dword [0x55999c]
test eax, eax
jne 0x4343d0
push 0x4e0
call fcn.004c6492
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x4343c2
push 0x4e0
push 0
push esi
call fcn.004cff10
add esp, 0xc
mov ecx, esi
call fcn.00418e50
jmp 0x4343c4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x55999c], eax
push edi
push dword [eax + 0x4dc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x43447b
mov eax, dword [0x55999c]
test eax, eax
jne 0x434434
push 0x4e0
call fcn.004c6492
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x434426
push 0x4e0
push 0
push esi
call fcn.004cff10
add esp, 0xc
mov ecx, esi
call fcn.00418e50
jmp 0x434428
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x55999c], eax
push edi
push dword [eax + 0x4dc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x43447b
push ecx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, esi
mov ecx, eax
call fcn.00438b90
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
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
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
Function at 0x438ea0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505cb2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x550910]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [esi], 0x533c48
mov dword [esi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea edi, [esi + 0x10]
mov eax, dword [esi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ecx
push edi
lea eax, [ecx - 0x18]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00431050
mov dword [ebp - 4], 2
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + esi - 4], eax
mov ecx, edi
call fcn.00430f30
lea eax, [edi + 4]
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
lea eax, [edi + 0x14]
mov byte [edi + 0x4c], 0
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov byte [edi + 0x45], 0
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x55a550]
mov dword [edi + 0x50], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], 0
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp dword [ecx + 0x14], 8
jb 0x438fd5
mov ecx, dword [ecx]
mov eax, dword [ebp + 0xc]
push ecx
or eax, 1
push eax
push ecx
mov ecx, edi
call fcn.00439190
test eax, eax
jne 0x439008
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x439000
or eax, 4
push 0
push eax
call fcn.00431aa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x439020
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505cf7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x550910]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x533c40
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00431050
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.00430f30
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x55a550]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x50], 0
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4