joyce8/EMBER2024-capa huggingface dataset:
Function at 0x555f70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, dword [ebp + 0x18]
and eax, 1
jne 0x555fa4
push 9
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.005541a0
add esp, 0x14
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov byte [ebp - 1], 0x3c
lea ecx, [ebp - 1]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov ecx, eax
call fcn.00558410
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov byte [ebp - 2], 0x21
lea edx, [ebp - 2]
push edx
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov ecx, eax
call fcn.00558410
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov byte [ebp - 3], 0x44
lea eax, [ebp - 3]
push eax
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov ecx, eax
call fcn.00558410
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov byte [ebp - 4], 0x4f
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov ecx, eax
call fcn.00558410
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov byte [ebp - 5], 0x43
lea edx, [ebp - 5]
push edx
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov ecx, eax
call fcn.00558410
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov byte [ebp - 6], 0x54
lea eax, [ebp - 6]
push eax
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov ecx, eax
call fcn.00558410
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov byte [ebp - 7], 0x59
lea ecx, [ebp - 7]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov ecx, eax
call fcn.00558410
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov byte [ebp - 8], 0x50
lea edx, [ebp - 8]
push edx
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov ecx, eax
call fcn.00558410
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov byte [ebp - 9], 0x45
lea eax, [ebp - 9]
push eax
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov ecx, eax
call fcn.00558410
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov byte [ebp - 0xa], 0x20
lea ecx, [ebp - 0xa]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov ecx, eax
call fcn.00558410
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00559e80
mov esi, eax
mov ecx, dword [ebp + 0x14]
call fcn.00559eb0
add esi, eax
push esi
mov ecx, dword [ebp + 0x14]
call fcn.00559e80
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00554150
add esp, 0x14
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov byte [ebp - 0xb], 0x3e
lea ecx, [ebp - 0xb]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov ecx, eax
call fcn.00558410
lea ecx, [ebp + 0xc]
call fcn.00526e50
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edx], eax
mov ecx, dword [ebp + 0x10]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5683fe
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x584645
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x615720]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00568a7e
mov dword [ebp - 0x14], eax
cmp dword [0x61eb04], esi
jne 0x584738
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5846c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x584818
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x584818
push 0x5f3c14
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x584818
push eax
call ebx
push 0x5f3c20
push edi
mov dword [0x61eb04], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x61eb08], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5f3c44
push edi
mov dword [0x61eb0c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x61eb14], eax
test eax, eax
je 0x584735
push 0x5f3c60
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x61eb10], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x58475d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x584750
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x584772
push 4
pop eax
jmp 0x58481a
cmp dword [ebp - 0x14], esi
je 0x584772
push dword [0x61eb04]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x584757
mov eax, dword [0x61eb10]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5847d0
cmp dword [0x61eb14], edi
je 0x5847d0
push eax
call ebx
push dword [0x61eb14]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5847d0
test eax, eax
je 0x5847d0
call ecx
test eax, eax
je 0x5847c5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x5847c5
test byte [ebp - 8], 1
jne 0x5847d0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x584800
mov eax, dword [0x61eb08]
cmp eax, edi
je 0x5847fd
push eax
call ebx
test eax, eax
je 0x5847fd
call eax
mov esi, eax
test esi, esi
je 0x5847fd
mov eax, dword [0x61eb0c]
cmp eax, edi
je 0x5847fd
push eax
call ebx
test eax, eax
je 0x5847fd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x61eb04]
call ebx
test eax, eax
je 0x584818
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x58481a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055dcfd
mov esp, ebp
pop ebp
ret
Function at 0x1ad75
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp ecx, 0xffff
pushal
pushfd
call fcn.00020c12

Function at 0x1ad9f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1f9c6
mov byte [esp], ch
lea esp, [esp + 4]
jne 0x1b488
mov esi, ebx
mov si, 0xabfe
mov esi, dword [sym.imp.hal.dll_HalMakeBeep]
push edi
mov byte [esp], 0xd5
lea esp, [esp + 4]
jmp 0x1c6e2

Function at 0x1b0c8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 8]
je 0x1c6d9
movzx si, al
xchg di, si
mov edi, dword [ebp + 8]
movzx si, al
pushfd
jmp 0x1deac
jmp 0x1c632

Function at 0x1b493
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movsx eax, bl
cwde
movsx ax, dl
mov byte [edi - 1], 0
movzx ax, bl
setl al
push ebx
lea eax, [ecx*4 - 0x22285071]
lahf
sete ah
lea eax, [0x20713]
jmp 0x1e03d
pushfd
pushal
jmp 0x1b5d3
lea esp, [esp + 0x2c]
call fcn.0002132c
jno 0x1c0e9
push ebp
lea esp, [esp + 4]
je 0x1c6d9
jmp 0x1e76b
pushfd
pushfd
pushal
mov esi, dword [sym.imp.hal.dll_HalMakeBeep]
pushfd
lea esp, [esp + 0x2c]
jmp 0x1c6e2
call fcn.0001dd41
lea esp, [esp + 0x2c]
jne 0x1e934
setl ah
lea eax, [esp + 0x1b176b5d]
mov al, ah
jne 0x1b116
mov byte [edi - 1], 0
sub si, di
mov esi, dword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
call fcn.0001ad9f
push 0x20e21
pushfd
pushfd
call fcn.0001f1e5
jmp 0x1dcce
mov di, bx
mov edi, dword [ebp + 8]
lea esi, [eax + 0x1087d5d3]
bswap si
movsx esi, al
lea esi, [0x2070b]
pushfd
lea esp, [esp + 4]
call fcn.0002132c
jae 0x1da39
pushfd
pushal
mov word [esp + 4], bp
lea esp, [esp + 0x24]
jne 0x1b488
jmp 0x1c040
Function at 0x1dafe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xb2ab7275
push 0xd442ff67
call fcn.0001df25
mov edx, dword [esi + 0x78]
pushal
pushal
test edx, edx
lea esp, [esp + 0x44]
jge 0x1b0fb
je 0x1d963
dec cl
add edx, eax
shrd ecx, esp, cl
stc
mov ecx, dword [esi + 0x7c]
cmc
bt si, 0xd
add ecx, edx
jmp 0x1da3e
pushfd
mov dword [ebp - 0x10], ecx
pushal
or cx, si
shl ch, cl
bt si, si
mov ecx, dword [ebp + 0xc]
cmc
call fcn.0001c707
push ebp
pushal
pushal
mov dword [esp + 0x40], 0xa0963d01
push dword [esp + 0xc]
mov dword [esp + 0x18], 0x6bd9db8a
mov dword [esp + 0x40], 0xdc68c203
mov byte [esp + 8], ch
push ebx
mov byte [esp], bl
lea esp, [esp + 0x44]
jmp 0x2329a
sar dh, 7
shld dx, cx, cl
mov esi, dword [eax + 0x3c]
and dx, 0xed3e
add esi, eax
and dl, bh
jmp 0x1ba5b
mov dword [esp + 0x44], ebx
jmp 0x21e67
mov dword [esp + 0x40], esi
push 0x743b0a2c
movzx si, bl
pop esi
lea esi, [esi + 0x381a8e06]
pushfd
pop dword [esp + 0x3c]
movsx si, cl
inc si
mov dword [esp + 0x38], eax
movsx si, cl
movsx si, dl
not si
push eax
mov dword [esp + 0x38], ecx
pushfd
push dword [0x22218]
pop dword [esp + 0x38]
pushfd
movzx esi, bl
call fcn.00022e47
sub ah, ch
stc
mov eax, ebp
push 0x4480ced2
test dh, 0x5c
mov dword [esp], edx
sub ebp, 2
call fcn.00022328
pushal
jmp 0x2337d
mov dword [esp + 0x1c], edi
push ebx
pushal
mov dword [esp + 0x3c], ebp
lea esp, [esp + 0x3c]
ja 0x23e62
push edx
call fcn.00021c04
mov dword [esp + 0x40], edx
push ebx
pushfd
mov dword [esp + 0x44], ebp
mov word [esp], sp
push 0xe9f62222
jmp 0x21ceb
pushfd
pushal
pushal
jmp 0x23b75

Function at 0x1eca3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x40]
jb 0x1ecaf
bt cx, ax
stc
jmp 0x1d1dc
daa
pushal
shr di, cl
mov eax, dword [edx + 8]
bsf di, sp
mov edi, dword [edx + 0xc]
pushal
add edi, eax
mov word [esp + 0x10], 0x700a
cmp esi, eax
jmp 0x1bbce
cmp esi, edi
jmp 0x20171
push 0x2000ca5f
add ecx, 0xffffffff
mov dword [esp], 0xf3b33496
push esi
lea esp, [esp + 8]
je 0x1e380
jmp 0x20bbc
push ecx
pushal
lea esp, [esp + 0x28]
jb 0x1e383
clc
jmp 0x1e10a
call fcn.0001eca3
test al, 0xdb
add edx, 0x11c
pushfd
mov byte [esp], dh
lea esp, [esp + 4]
jmp 0x1c6e2

Function at 0x1f276
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp al, ah
pushal
lea esp, [esp + 0x20]
jne 0x2102e
push ebp
jmp 0x20bb0
push 0xdd680cac
lea esp, [esp + 0x10]
je 0x20563
jmp 0x1d1bc
call fcn.0001ee7c

Function at 0x1fc46
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor esi, esp
lea esi, [esp + 4]
clc
stc
pushal
bt bp, 0xf
sub edi, 4
call fcn.0002065a
Function at 0x20176
Capabilities:
Resolve function by parsing pe exports

Disassembly:
je 0x1d963
stc
call fcn.0001dafe
jmp 0x211d5
jmp 0x1b3c6
neg al
sal al, 7
push ebp
bswap ebp
lahf
neg ax
mov ebp, esp
sub ah, bh
clc
sub esp, 0x18
movsx ax, dl
bsr ax, bx
push esi
cmc
add ah, bh
das
neg ah
push edi
cmp al, bl
stc
push ebx
pushal
mov dword [esp + 0x1c], edx
xor al, 0xc6
not al
pop eax
mov eax, dword [ebp + 8]
test ah, dl
push 0x25f2891f
test eax, eax
lea esp, [esp + 0x1c]
jge 0x1cccc
je 0x1d963
sal si, cl
mov esi, dword [eax + 0x3c]
shr dx, 1
push 0xb9488832
dec dl
inc dh
add esi, eax
ror dl, 6
bsr dx, bp
mov edx, dword [esi + 0x78]
cmp al, bh
test edx, edx
jmp 0x1dfe9
btc eax, 1
jmp 0x1fc5c
mov byte [esp + 8], dh
push 0x850efeb0
inc edi
pushal
push dword [esp]
mov byte [esp + 4], 0x6c
mov dword [esp], 0xa6259144
lea esp, [esp + 0x48]
jmp fcn.0002132c

Function at 0x20b9e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x30]
ja 0x1e2ed
cmp dh, 0x14
call fcn.0001f29f

Function at 0x21416
Capabilities:
Resolve function by parsing pe exports

Disassembly:
neg al
xor al, ch
stc
add edi, 1
rol al, 2
cmc
inc al
or al, dl
mov al, byte [edi]
test ch, dl
test al, al
pushal
pushfd
test al, al
push 0xc12e6b2f
push dword [esp]
lea esp, [esp + 0x2c]
je 0x1d4f1
stc
sub al, 0x30
cmp edi, 0xeda16a56
call fcn.0001e7ba
lea esp, [esp + 0x28]
ja 0x1e2ed
test bx, bp
sub ebx, edi
bsr di, ax
call fcn.0002000b
lea esp, [esp + 0x20]
jne 0x1e497
movsx eax, dl
aam 0x76
sub edx, edx
movsx eax, bl
movsx eax, dl
and al, 0x17
mov eax, edx
jmp 0x1ec69
Function at 0x408701
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40e9f8
cmp edx, dword [eax]
je 0x408723
add eax, 8
inc ecx
cmp eax, 0x40ea88
jl 0x408714
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40e9f8]
jne 0x408851
mov eax, dword [0x40f200]
cmp eax, 1
je 0x40882b
test eax, eax
jne 0x408754
cmp dword [0x40e4b4], 1
je 0x40882b
cmp edx, 0xfc
je 0x408851
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40878b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00409e30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00406f10
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4087ce
lea eax, [ebp - 0x1a4]
push eax
call fcn.00406f10
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40d4dc
push edi
call fcn.00408ab0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00409e30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00409e40
lea eax, [ebp - 0xa0]
push 0x40d4bc
push eax
call fcn.00409e40
push dword [esi + 0x40e9fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00409e40
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040b024
add esp, 0x2c
pop edi
jmp 0x408851
lea eax, [ebp + 8]
lea esi, [esi + 0x40e9fc]
push 0
push eax
push dword [esi]
call fcn.00406f10
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100280a
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001770
call fcn.01002acc
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1002845
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002845
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100285d
cmp eax, 0x20b
je 0x100284a
mov dword [ebp - 0x1c], edi
jmp 0x1002871
cmp dword [ecx + 0x84], 0xe
jbe 0x1002845
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x100286b
cmp dword [ecx + 0x74], 0xe
jbe 0x1002845
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x100419c], 0xffffffff
or dword [0x10041a0], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1004190]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100418c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1004198], eax
call fcn.01002ac6
cmp dword [0x10040a0], edi
jne 0x10028ce
push fcn.01002ac6
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002ab4
push 0x10011bc
push 0x10011b8
call sub.msvcrt.dll__initterm
mov eax, dword [0x1004188]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1004184]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x10011b4
push 0x1001198
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x1002934
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x10029ee
mov dword [ebp - 0x34], esi
cmp word [esi], 0x22
jne 0x1002982
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x1002950
cmp ax, 0x22
jne 0x100293d
cmp word [esi], 0x22
jne 0x100295b
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x1002969
cmp ax, 0x20
jbe 0x1002956
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x4c], 1
je 0x100298f
movzx eax, word [ebp - 0x48]
jmp 0x1002992
cmp word [esi], 0x20
jbe 0x100295b
add esi, ebx
mov dword [ebp - 0x34], esi
jmp 0x1002982
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], edi
jne 0x10029b3
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10029e8
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01002b05
ret
Function at 0xd1c370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xd1c38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xd45074
push ecx
mov edi, eax
call fcn.00d30198
mov esi, eax
add esp, 8
test esi, esi
jne 0xd1c3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00d3002e
push esi
call fcn.00d2ffb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xd1f850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xd1f8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xd4a720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xd1f8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00d301e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xd1f8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xd4a720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xd1f92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00d31082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xd1f957
mov word [eax], si
add eax, 2
push eax
call fcn.00d31030
add esp, 4
jmp 0xd1f959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xd1f8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xd1f8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xd1fff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xd20080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xd200c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xd45458
push ecx
call fcn.00d301e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00d301e1
add esp, 0x10
jmp 0xd200d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00d3020b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00d2fdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00d20050
mov eax, dword [0xd4a728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xd2013b
push esi
call fcn.00d1ffb0
add esp, 4
mov dword [0xd4a728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xd2014c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00d1fff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xd23440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xd234b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xd2348e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xd23471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xd2347e
add edx, ecx
cmp ebx, edx
jb 0xd2348a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xd23467
xor ecx, ecx
jmp 0xd234a2
test eax, eax
jne 0xd23492
xor ecx, ecx
jmp 0xd234a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00d233c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xd238f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xd23921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xd23946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xd2396e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xd23993
push ecx
push esi
call fcn.00d234c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret