joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010879
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1040
call fcn.1003c310
mov eax, dword [0x1008f304]
xor eax, esp
mov dword [esp + 0x103c], eax
and dword [esp], 0
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x1048]
push edi
mov edi, dword [esp + 0x1058]
push eax
push dword [esp + 0x1054]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__fstat64]
pop ecx
pop ecx
test eax, eax
jns 0x100108eb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [eax]
push esi
call sym.glib_lite.dll_Ordinal_353
pop ecx
push eax
push esi
call fcn.10002ff5
pop ecx
push eax
call fcn.100030eb
push eax
push edi
call sym.glib_lite.dll_Ordinal_350
add esp, 0x10
xor eax, eax
jmp 0x100109ca
test dword [esp + 0x12], 0x8000
jne 0x10010903
push str.Not_a_regular_file
push 1
call fcn.100102cf
jmp 0x100108da
push ebx
mov bl, byte [esi + 0x14]
push esi
call fcn.10010253
push esi
call fcn.10010717
mov eax, dword [esp + 0x1060]
pop ecx
pop ecx
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], eax
push ebp
push 0x1000
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x1060]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
add esp, 0xc
mov ebp, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [eax]
test ebp, ebp
je 0x10010996
jns 0x10010978
cmp ebx, 4
je 0x1001098c
cmp ebx, 0xb
je 0x1001098c
push ebx
call sym.glib_lite.dll_Ordinal_353
pop ecx
push eax
push ebx
call fcn.10002ff5
pop ecx
push eax
call fcn.100030eb
push eax
push edi
call sym.glib_lite.dll_Ordinal_350
add esp, 0x10
jmp 0x100109c1
lea eax, [esp + 0x10]
push eax
push ebp
lea eax, [esp + 0x54]
push eax
push esi
call fcn.10010c32
add esp, 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10010923
jmp 0x1001099e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100109a1
push eax
jmp 0x100109b9
lea eax, [esp + 0x10]
push eax
push esi
call sym.glib_lite.dll_Ordinal_350
cmp dword [esp + 0x18], 0
pop ecx
pop ecx
je 0x100109c5
push dword [esp + 0x10]
push edi
call sym.glib_lite.dll_Ordinal_350
pop ecx
pop ecx
xor eax, eax
jmp 0x100109c8
xor eax, eax
inc eax
pop ebp
pop ebx
mov ecx, dword [esp + 0x1044]
pop edi
pop esi
xor ecx, esp
call fcn.1003c212
add esp, 0x1040
ret
Function at 0x100296d3
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
lea eax, [edi + 0x74]
push eax
xor eax, eax
push eax
push edi
push dword [esp + 0x20]
push eax
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
test esi, esi
jne 0x1002971a
push dword [eax]
call sym.glib_lite.dll_Ordinal_353
push eax
push str.Error_creating_thread:__s.
push 0x10
push str.Glib
call sym.glib_lite.dll_Ordinal_182
add esp, 0x14
jmp 0x1002974e
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x1002974e
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call sym.glib_lite.dll_Ordinal_350
mov esi, eax
push esi
push str.Error_closing_thread_handle:__s.
push 0x10
push str.Glib
call sym.glib_lite.dll_Ordinal_182
push esi
call sym.glib_lite.dll_Ordinal_105
add esp, 0x18
push 0xffffffffffffffff
push dword [edi + 0x8c]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
pop edi
pop esi
ret
Function at 0x410c70
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4025e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x70
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401f20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.00404fd8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0x64]
push eax
push 0x28
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00405038
mov dword [ebp - 0x70], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x70], 0
setne dl
neg edx
movsx eax, dx
test eax, eax
je 0x410e25
mov dword [ebp - 4], 4
xor ecx, ecx
test ecx, ecx
je 0x410d46
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x1c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0x1c
lea ecx, [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
call fcn.00405088
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x410e25
mov dword [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
push 0x404ae4
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
call fcn.004050e8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x6c], 0
setne dl
neg edx
mov word [ebp - 0x74], dx
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x74]
test eax, eax
je 0x410e25
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410dc3
mov dword [ebp - 0x8c], 0
jmp 0x410dcf
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x74]
imul edx, edx, 0xc
lea eax, [ebp + edx - 0x5c]
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaCopyBytes]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410e06
mov dword [ebp - 0x90], 0
jmp 0x410e12
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x74]
imul ecx, ecx, 0xc
mov dword [ebp + ecx - 0x54], 2
jmp 0x410d14
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404e50
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x410e4d
jmp 0x410e4c
ret

Function at 0x40555f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40559e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40559e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40559e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40559e
cmp dword [ecx + 0x74], 0xe
jbe 0x40559e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40221f
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x20], 0
push esi
push edi
mov edi, edx
mov esi, ecx
je 0x402278
cmp byte [ebp + 0x18], 0
je 0x402253
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
jmp 0x40224c
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x8d327cb3
inc dword [edx]
cmp dword [edx], 1
jl 0x40223f
jmp 0x4022a4
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x4022a4
mov esi, dword [ebp + 0x1c]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 5
inc dword [edx]
cmp dword [edx], 2
jl 0x402264
jmp 0x4022a4
cmp byte [ebp + 8], 0
je 0x40229a
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
jmp 0x402293
mov ecx, dword [edx]
mov eax, dword [edi]
and dword [eax + ecx*4], 0
inc dword [edx]
cmp dword [edx], 3
jl 0x402289
jmp 0x4022a4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
pop edi
pop esi
pop ebp
ret

Function at 0x4024ba
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + ecx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
cmp edx, 4
jb 0x4024c2
mov eax, esi
pop esi
ret
Function at 0x40f334
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], 0xffffffff
push 4
mov esi, ecx
mov dword [ebp - 8], ebx
pop edi
jmp 0x40f35e
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x34], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x40f350
cmp dword [ebp - 0xc], 0x5baf43b7
jl 0x40f39f
mov dword [ebp - 0xc], 8
jmp 0x40f397
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 8], ebx
jmp 0x40f38f
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x34], 0xbf8f0aa6
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x40f381
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x1b
jge 0x40f375
jmp 0x40f3b5
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x40f3b5
push ebx
push 0x1f4
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0x16c8
lea eax, [ebp - 0x18]
push eax
push esi
push 0x7f69
push 0x19e9
push ebx
call fcn.00416027
xor esi, esi
add esp, 0x18
inc esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], 0xfffb
mov dword [ebp - 8], 0xb1d6a56c
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 8], 0xc8951bb3
mov dword [ebp - 0xc], 0x8f08877e
mov dword [ebp - 8], ebx
jmp 0x40f40e
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x24], 0xbaeef20f
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x40f400
mov dword [ebp - 8], ebx
jmp 0x40f427
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x44], 0xd6c34f1d
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x40f419
cmp dword [ebp - 0x24], ebx
je 0x40f4cb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 0xfffc
sbb ecx, ecx
inc ecx
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
neg ecx
sbb ecx, ecx
inc ecx
sub eax, ecx
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
sub eax, 0x3fab614
cmp eax, 0x27f0
mov eax, dword [ebp - 0xc]
setg cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x14]
setne dl
xor ecx, ecx
cmp edx, eax
setg cl
xor edx, edx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
cmp eax, ecx
mov eax, dword [ebp - 0x24]
setge dl
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], ebx
je 0x40f4a5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 0x10]
cmp ecx, eax
setle dl
xor ecx, ecx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, 0xfffffffc
setge cl
add ecx, 0x21b18574
cmp ecx, dword [ebp - 0x14]
jge 0x40f4cd
mov esi, ebx
mov eax, dword [ebp - 0x18]
pop edi
mov dword [ebp - 0x3c], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a5bb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
test cl, cl
je 0x41a5e7
cmp byte [ebp + 0xc], 0
je 0x41a5e2
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 0
je 0x41a5f1
push 0x293
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x41a5f1
add dword [edx], 0xc
jmp 0x41a5f1
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041a5f5
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x41a811
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
test dl, dl
je 0x41a830
cmp byte [ebp + 0xc], 0
je 0x41a825
mov eax, dword [ebp + 0x10]
inc dword [eax]
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop ebp
ret
push 0x41f4
push 0x171b
push 0x5e06
push 0
push 1
xor dl, dl
call fcn.0041c164
add esp, 0x14
pop ebp
ret

Function at 0x41a84f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], cl
test cl, cl
je 0x41a861
mov eax, dword [ebp + 8]
inc dword [eax]
jmp 0x41a868
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret
Function at 0x41d19c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x10], 0
jmp 0x41d1b9
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x41d1cc
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x20], 0xffffffff
jmp 0x41d1b2
cmp dword [ebp - 8], 0x5baf43b7
jl 0x41d219
mov dword [ebp - 8], 8
jmp 0x41d1e5
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1b
jl 0x41d217
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x41d202
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jge 0x41d215
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x20], 0xbf8f0aa6
jmp 0x41d1fb
jmp 0x41d1de
jmp 0x41d236
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x41d236
push 0
push 0x1f4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x5e59
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x3c00
call fcn.0042252e
add esp, 0x20
mov esp, ebp
pop ebp
ret

Function at 0x41d25d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x10], 0
jmp 0x41d27a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x41d28d
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x20], 0xffffffff
jmp 0x41d273
cmp dword [ebp - 8], 0x5baf43b7
jl 0x41d2da
mov dword [ebp - 8], 8
jmp 0x41d2a6
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1b
jl 0x41d2d8
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x41d2c3
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jge 0x41d2d6
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x20], 0xbf8f0aa6
jmp 0x41d2bc
jmp 0x41d29f
jmp 0x41d2f7
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x41d2f7
push 0
push 0x1f4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x658f
push 0x3359
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0x10]
call fcn.0042f919
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x4228d9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x422917
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x422908
push 0x187b
push 0
push 0
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
jmp 0x422915
push 0
push 0x22b9
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x42294e
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
push 1
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0041d31b
add esp, 0x18
mov esp, ebp
pop ebp
ret

Function at 0x422d70
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x422d94
push 0x3594
push 0
push 0x2762
call fcn.004254f7
add esp, 0xc
jmp 0x422e0c
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x422dfd
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x422def
mov dword [ebp - 4], 1
jmp 0x422df3
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x422e0c
push 0x2042
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esp, ebp
pop ebp
ret

Function at 0x425f02
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x425f2e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
push 1
push dword [ebp - 0xc]
call fcn.00425f6e
add esp, 0xc
jmp 0x425f6a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x425f5d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x425f6a
push 0
push 0x22b9
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esp, ebp
pop ebp
ret
Function at 0x42659a
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x4265e5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
push 0x4463
push 0x3c36
push 0x6c66
push 0x6ef0
push 0x6b7b
push 1
push 0x6885
push 0x3ed3
push dword [ebp - 8]
push 0x76fd
call fcn.0042662f
add esp, 0x28
jmp 0x42662b
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x4265ff
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x42662b
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x42662b
push 0x25bb
push 0xb36
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov esp, ebp
pop ebp
ret

Function at 0x426bdd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x426c09
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push dword [ebp - 4]
push 1
push dword [ebp - 8]
call fcn.00426c3e
add esp, 0xc
jmp 0x426c3a
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x426c2d
push 0x19e0
push 0xddb
push 0
call dword [sym.imp.USER32.dll_DeleteMenu]
jmp 0x426c3a
push 0x2515
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esp, ebp
pop ebp
ret
Function at 0x430ac5
Capabilities:
Enumerate gui resources
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x430b4f
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x430b42
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x430b0b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0x1b
jge 0x430b40
mov dword [ebp - 0x14], 0xffffffff
push 0x6330
push 0x7ee6
push 1
lea eax, [ebp - 0x14]
push eax
push 0x58a9
push 1
push 0x13d
call fcn.0042ff1d
add esp, 0x1c
jmp 0x430b00
jmp 0x430b4d
push 0x18d5
call dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x430bb6
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x430b8f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x430b8d
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
jmp 0x430bb6
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x430bb6
push 0
push 0x1f4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esp, ebp
pop ebp
ret

Function at 0x432ecc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
test cl, cl
jne 0x432edf
mov ecx, dword [ebp + 0x10]
mov eax, 0x4f26
mov dl, 1
jmp 0x432ee5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
test dl, dl
je 0x432ef6
mov edx, dword [ecx]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, eax
mov dword [edx], ecx
pop ebp
ret
cmp byte [eax], 0
je 0x432f08
push 0x293
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
pop ebp
ret
Function at 0x436820
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 8], 0xfffffffc
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x436840
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x436854
push 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push dword [ebp + 8]
push 0x7dd3
push 1
push 0
call fcn.004399d7
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x438aea
Capabilities:
Get common file path
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x438b1b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
push 0x2ed5
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
call fcn.0043fad7
add esp, 0x10
jmp 0x438b70
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x438b5a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x438b58
push 0
push 0x1f4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x438b70
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x438b70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esp, ebp
pop ebp
ret

Function at 0x43971e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x43975d
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
push 0x43c0
push dword [ebp - 8]
push 1
push dword [ebp - 0xc]
push 0x16af
push dword [ebp - 0x10]
call fcn.004397d2
add esp, 0x18
jmp 0x4397ce
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x4397c6
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x4397a7
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x4397c4
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.004017e6
mov dword [eax], 0x7d45db34
jmp 0x43979c
jmp 0x4397ce
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esp, ebp
pop ebp
ret
Function at 0x439a50
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x439ad3
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x439ac9
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
call fcn.004017e6
and dword [eax], 0
jmp 0x439aa7
push 0
mov ecx, dword [ebp - 4]
call fcn.004017e6
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
push 0
mov ecx, dword [ebp - 4]
call fcn.004017e6
cmp dword [eax], 0xfffffff8
jge 0x439ac7
mov dword [ebp - 0x18], 3
cmp dword [ebp - 0x18], 0
je 0x439ac5
jmp 0x439ac7
jmp 0x439a8f
jmp 0x439ad1
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x439ae7
push 0x3507
push 0
push 0x518e
call fcn.00438f2b
add esp, 0xc
mov esp, ebp
pop ebp
ret