joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100075c0
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
xor ebp, ebp
mov ebx, 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_fgetc]
movsx eax, al
add esp, 4
lea ecx, [eax + 1]
cmp ecx, 0x67
ja case.0x100075f2.4
xor edx, edx
mov dl, byte [ecx + 0x10007674]
jmp dword [edx*4 + 0x1000765c]
or ebx, 0xffffffff
jmp 0x10007633
mov ecx, dword [esi]
sub ecx, 3
shl ecx, 4
add ecx, eax
inc edi
mov dword [esi], ecx
jmp 0x10007633
mov edx, dword [esi]
shl edx, 4
inc edi
lea eax, [edx + eax - 0x57]
mov dword [esi], eax
jmp 0x10007633
mov ecx, dword [esi]
shl ecx, 4
inc edi
lea edx, [ecx + eax - 0x37]
mov dword [esi], edx
jmp 0x10007633
test di, di
jbe 0x10007633
mov ebp, 1
mov eax, dword [esi]
imul eax, ebx
test ebp, ebp
mov dword [esi], eax
je 0x100075d1
pop edi
pop esi
pop ebp
pop ebx
ret
push str.End_of_file_reached_:_input_file_not_long_enough
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
push 0xffffffffffffffff
call dword [sym.imp.MSVCRT.dll_exit]
lea ecx, [ecx]
inc ebx
jbe 268465759
adc cl, bh
jne 0x10007663
adc dh, bh
jne 0x10007667
adc byte [ebx], bl
jbe 0x1000766b
adc byte [0x29100076], cl
jbe 0x10007673
adc byte [eax], al
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add dword [0x2020205], eax
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [0x5050505]
add eax, 0x3030305
add eax, dword [ebx]
add eax, dword [0x5050505]
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x4040404
add al, 4
nop
nop
nop
nop

Function at 0x100076e0
Capabilities:
Query environment variable

Disassembly:
push esi
push 0x100153e4
call dword [sym.imp.MSVCRT.dll_getenv]
mov esi, eax
add esp, 4
test esi, esi
mov dword [0x100158d0], 0
je 0x100077b3
push edi
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
push 0x100153e0
push esi
mov dword [0x100158d0], 1
call edi
add esp, 8
test eax, eax
je 0x1000772f
mov eax, dword [0x100158d0]
or al, 0x10
mov dword [0x100158d0], eax
push 0x100153dc
push esi
call edi
add esp, 8
test eax, eax
je 0x1000774a
mov eax, dword [0x100158d0]
or al, 8
mov dword [0x100158d0], eax
push 0x100153d8
push esi
call edi
add esp, 8
test eax, eax
je 0x10007765
mov eax, dword [0x100158d0]
or al, 4
mov dword [0x100158d0], eax
push str.FUNC
push esi
call edi
add esp, 8
test eax, eax
je 0x10007780
mov eax, dword [0x100158d0]
or al, 2
mov dword [0x100158d0], eax
push str.none
push esi
call edi
add esp, 8
test eax, eax
je 0x10007799
mov dword [0x100158d0], 1
push str.full
push esi
call edi
add esp, 8
test eax, eax
pop edi
je 0x100077b3
mov dword [0x100158d0], 0xff
xor eax, eax
pop esi
ret
Function at 0x100077c0
Capabilities:
Query environment variable

Disassembly:
push esi
push str.LH_TRACEINFO
call dword [sym.imp.MSVCRT.dll_getenv]
mov esi, eax
add esp, 4
test esi, esi
mov dword [0x100158d4], 0
je 0x100078e0
push edi
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
push str.MODULE
push esi
call edi
add esp, 8
test eax, eax
je 0x10007805
mov eax, dword [0x100158d4]
or al, 1
mov dword [0x100158d4], eax
push str.SUBMOD
push esi
call edi
add esp, 8
test eax, eax
je 0x10007820
mov eax, dword [0x100158d4]
or al, 2
mov dword [0x100158d4], eax
push str.INST
push esi
call edi
add esp, 8
test eax, eax
je 0x1000783b
mov eax, dword [0x100158d4]
or al, 4
mov dword [0x100158d4], eax
push str.FUNC
push esi
call edi
add esp, 8
test eax, eax
je 0x10007856
mov eax, dword [0x100158d4]
or al, 8
mov dword [0x100158d4], eax
push str.FILE
push esi
call edi
add esp, 8
test eax, eax
je 0x10007871
mov eax, dword [0x100158d4]
or al, 0x10
mov dword [0x100158d4], eax
push str.LINE
push esi
call edi
add esp, 8
test eax, eax
je 0x1000788c
mov eax, dword [0x100158d4]
or al, 0x20
mov dword [0x100158d4], eax
push str.LEVEL
push esi
call edi
add esp, 8
test eax, eax
je 0x100078a7
mov eax, dword [0x100158d4]
or al, 0x40
mov dword [0x100158d4], eax
push str.TIME
push esi
call edi
add esp, 8
test eax, eax
je 0x100078c2
mov eax, dword [0x100158d4]
or al, 0x80
mov dword [0x100158d4], eax
push str.full
push esi
call edi
add esp, 8
test eax, eax
pop edi
je 0x100078ea
mov dword [0x100158d4], 0xff
xor eax, eax
pop esi
ret
mov dword [0x100158d4], 0x6b
xor eax, eax
pop esi
ret

Function at 0x10007ad0
Capabilities:
Query environment variable

Disassembly:
push esi
mov esi, dword [sym.imp.MSVCRT.dll_getenv]
push str.LH_INPATH
call esi
push str.LH_OUTPATH
mov dword [0x100158d8], eax
call esi
mov ecx, dword [esp + 0x18]
mov dword [0x100158dc], eax
mov eax, dword [esp + 0x1c]
push 1
push eax
push ecx
call fcn.10007bb0
add esp, 0x14
test eax, eax
jne 0x10007bac
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push 2
push edx
push eax
call fcn.10007bb0
add esp, 0xc
test eax, eax
jne 0x10007bac
cmp dword [0x100158c0], 1
je 0x10007ba2
push str.LH_SUBMODULES
call esi
push str.LH_MODULES
mov dword [0x100158c8], eax
call esi
push str.LH_LOGFILE
mov dword [0x100158cc], eax
call esi
add esp, 0xc
test eax, eax
je 0x10007b79
push 0x10015448
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [0x100158c4], eax
test eax, eax
jne 0x10007b90
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
lea eax, [ecx + 0x20]
jmp 0x10007b82
mov edx, dword [sym.imp.MSVCRT.dll__iob]
lea eax, [edx + 0x20]
test eax, eax
mov dword [0x100158c4], eax
jne 0x10007b90
mov dword [0x100158c4], eax
call fcn.100076e0
test eax, eax
jne 0x10007bac
call fcn.100077c0
test eax, eax
jne 0x10007bac
mov dword [0x100158c0], 1
pop esi
ret
Function at 0x10007d60
Capabilities:
Delete file

Disassembly:
sub esp, 0x98
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fclose]
push ebp
xor ebp, ebp
cmp word [0x10016100], bp
push esi
push edi
jbe 0x10007e18
mov esi, 0x100164c0
mov edi, 0x10016180
lea eax, [esp + 0x10]
mov ecx, edi
push eax
mov eax, dword [ecx]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [0x100158dc]
push edx
push 1
call fcn.100078f0
mov eax, dword [esi]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x20
test eax, eax
jne 0x10007de4
mov ecx, dword [esi]
push ecx
call ebx
lea edx, [esp + 0x14]
mov dword [esi], 0
push edx
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 8
jmp 0x10007e00
mov eax, dword [esi]
push str.__________________________________________________________________________nDBGSPI_:_LOGGING_ENDED_NORMALLY_n__________________________________________________________________________n
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
mov ecx, dword [esi]
push ecx
call ebx
add esp, 0xc
mov dword [esi], 0
xor edx, edx
inc ebp
mov dx, word [0x10016100]
add edi, 0x10
add esi, 4
cmp ebp, edx
jl 0x10007d89
xor edi, edi
cmp word [0x10016360], di
jbe 0x10007e5c
mov esi, 0x10016120
mov eax, dword [esi]
push eax
call ebx
xor ecx, ecx
add esp, 4
mov cx, word [0x10016360]
mov dword [esi], 0
inc edi
add esi, 4
cmp edi, ecx
jl 0x10007e28
mov dword [0x100158c0], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
mov dword [0x100158c0], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret

Function at 0x10007f20
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x100158c0]
test eax, eax
je 0x10007fbc
mov edx, dword [esp + 0x10]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
push edx
cmp byte [ecx + edx - 1], 0xa
je 0x10007f5f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.tickcount:_d__10s_i:_10x__s_n
jmp 0x10007f75
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.tickcount:_d__10s_i:_10x__s
push 0x10015900
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, 0x10015900
add esp, 0x18
test ecx, ecx
je 0x10007fbc
mov edx, dword [sym.imp.MSVCRT.dll__iob]
mov eax, dword [0x100158c4]
add edx, 0x20
push ecx
cmp eax, edx
je 0x10007fb6
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [0x100158c4]
push eax
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
ret
Function at 0x10007fc0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x100158c0]
test eax, eax
je 0x10008030
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.msec_since_start_system:_d__10s_i:_10x___f:_s__n
push 0x10015900
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, 0x10015900
add esp, 0x18
test eax, eax
je 0x10008030
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
mov eax, dword [0x100158c4]
add ecx, 0x20
push 0x10015900
cmp eax, ecx
je 0x1000802a
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
mov edx, dword [0x100158c4]
push edx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
ret

Function at 0x10008040
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x100158c0]
test eax, eax
je 0x100080b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.msec_since_start_system:_d__10s_i:_10x___f:_s___n
push 0x10015900
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, 0x10015900
add esp, 0x18
test eax, eax
je 0x100080b0
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
mov eax, dword [0x100158c4]
add ecx, 0x20
push 0x10015900
cmp eax, ecx
je 0x100080aa
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
mov edx, dword [0x100158c4]
push edx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
ret
Function at 0x100080c0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x100158d0]
sub esp, 0xc00
test eax, ecx
je 0x10008210
mov ecx, dword [0x10015364]
test ecx, ecx
je 0x10008210
mov ecx, dword [0x100158c0]
test ecx, ecx
je 0x10008210
mov ecx, dword [esp + 0xc1c]
mov edx, dword [esp + 0xc18]
push ebx
push esi
push edi
push 0
push ecx
mov ecx, dword [esp + 0xc28]
push edx
mov edx, dword [esp + 0xc28]
push ecx
mov ecx, dword [esp + 0xc28]
push edx
mov edx, dword [esp + 0xc28]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10008220
mov edx, dword [esp + 0xc50]
lea ecx, [esp + 0xc54]
push ecx
lea eax, [esp + 0x834]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_vsprintf]
lea edi, [esp + 0x83c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x30
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0xb], 0xa
je 0x100081c6
mov edi, 0x100152c4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0xc]
pop edi
pop esi
pop ebx
test eax, eax
je 0x10008210
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
mov eax, dword [0x100158c4]
add ecx, 0x20
cmp eax, ecx
je 0x10008205
lea edx, [esp]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [0x100158c4]
push eax
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0xc
add esp, 0xc00
ret
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0xc00
ret

Function at 0x10008530
Capabilities:
Print debug messages
Terminate process

Disassembly:
mov eax, dword [0x100158c0]
test eax, eax
je 0x100085a7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
push str.Program_generated_assertion:__10s_i:_10x__line:_4d_f:_s__s__n
push 0x10015900
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, 0x10015900
add esp, 0x1c
test edx, edx
je 0x1000859f
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push edx
lea ecx, [eax + 0x20]
mov eax, dword [0x100158c4]
cmp eax, ecx
je 0x10008599
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
mov edx, dword [0x100158c4]
push edx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0xc
jmp 0x1000859f
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0xffffffffffffffff
call dword [sym.imp.MSVCRT.dll_exit]
ret
Function at 0x100085b0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x100158d0]
sub esp, 0x400
test eax, ecx
je 0x100086a9
mov ecx, dword [0x10015364]
test ecx, ecx
je 0x100086a9
mov ecx, dword [0x100158c0]
test ecx, ecx
je 0x100086a9
mov ecx, dword [esp + 0x41c]
mov edx, dword [esp + 0x418]
push edi
push 0
push ecx
mov ecx, dword [esp + 0x420]
push edx
mov edx, dword [esp + 0x420]
push ecx
mov ecx, dword [esp + 0x420]
push edx
mov edx, dword [esp + 0x420]
push ecx
push edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10008220
mov edx, dword [esp + 0x448]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
push edx
cmp byte [ecx + edx - 1], 0xa
je 0x1000864d
lea ecx, [esp + 4]
push ecx
push str._s_s_n
jmp 0x10008657
lea edx, [esp + 4]
push edx
push str._s_s
push 0x10015900
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, 0x10015900
add esp, 0x10
test eax, eax
je 0x100086a9
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
mov eax, dword [0x100158c4]
add ecx, 0x20
push 0x10015900
cmp eax, ecx
je 0x100086a3
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
mov edx, dword [0x100158c4]
push edx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0xc
add esp, 0x400
ret
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x400
ret

Function at 0x100086b0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x100158d0]
sub esp, 0x400
test eax, ecx
je 0x10008778
mov ecx, dword [0x10015364]
test ecx, ecx
je 0x10008778
mov ecx, dword [0x100158c0]
test ecx, ecx
je 0x10008778
mov ecx, dword [esp + 0x41c]
mov edx, dword [esp + 0x418]
push 1
push ecx
mov ecx, dword [esp + 0x41c]
push edx
mov edx, dword [esp + 0x41c]
push ecx
mov ecx, dword [esp + 0x41c]
push edx
mov edx, dword [esp + 0x41c]
push ecx
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10008220
lea ecx, [esp + 0x24]
push ecx
push 0x1001567c
push 0x10015900
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, 0x10015900
add esp, 0x30
test edx, edx
je 0x10008778
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push edx
lea ecx, [eax + 0x20]
mov eax, dword [0x100158c4]
cmp eax, ecx
je 0x10008772
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
mov edx, dword [0x100158c4]
push edx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0xc
add esp, 0x400
ret
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x400
ret
Function at 0x10008780
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x100158d0]
sub esp, 0x400
test eax, ecx
je 0x10008848
mov ecx, dword [0x10015364]
test ecx, ecx
je 0x10008848
mov ecx, dword [0x100158c0]
test ecx, ecx
je 0x10008848
mov ecx, dword [esp + 0x41c]
mov edx, dword [esp + 0x418]
push 1
push ecx
mov ecx, dword [esp + 0x41c]
push edx
mov edx, dword [esp + 0x41c]
push ecx
mov ecx, dword [esp + 0x41c]
push edx
mov edx, dword [esp + 0x41c]
push ecx
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10008220
lea ecx, [esp + 0x24]
push ecx
push str._s___n
push 0x10015900
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, 0x10015900
add esp, 0x30
test edx, edx
je 0x10008848
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push edx
lea ecx, [eax + 0x20]
mov eax, dword [0x100158c4]
cmp eax, ecx
je 0x10008842
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
mov edx, dword [0x100158c4]
push edx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0xc
add esp, 0x400
ret
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x400
ret
Function at 0x1000e4c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
push ebx
mov ecx, dword [esp + 0x70]
push ebp
mov edx, dword [esp + 0x70]
push esi
push edi
mov edi, dword [esp + 0x70]
or eax, 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov ebx, dword [edi + 0x14]
mov dword [esp + 0x18], eax
lea eax, [edi + 0x2c]
xor ebp, ebp
push eax
mov eax, dword [esp + 0x78]
push ecx
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
push ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call fcn.1000e6d0
mov esi, eax
add esp, 0x18
cmp esi, 0x80000000
jae 0x1000e67f
push ebp
push 1
lea edx, [esp + 0x80]
push 0x10013718
lea eax, [esp + 0x88]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.1000e940
and eax, 0x7f
add esp, 0x18
cmp al, 1
jne 0x1000e558
mov esi, 0x801e0003
jmp 0x1000e67f
mov edx, dword [esp + 0x7c]
mov ebp, dword [sym.imp.MSVCRT.dll_wcscmp]
push str._Header_
push edx
call ebp
add esp, 8
test eax, eax
je 0x1000e57b
mov esi, 0x801e0003
jmp 0x1000e67f
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x70]
push eax
push ecx
lea edx, [esp + 0x18]
push edi
push edx
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.1000ed40
mov esi, eax
add esp, 0x18
cmp esi, 0x80000000
jae 0x1000e67f
mov ecx, dword [esp + 0x70]
push str._Data_
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x1000e5e0
lea edx, [esp + 0x10]
push edi
lea eax, [esp + 0x34]
push edx
push eax
call fcn.1000eea0
mov esi, eax
add esp, 0xc
cmp esi, 0x80000000
jae 0x1000e67f
jmp 0x1000e66c
mov ecx, dword [esp + 0x70]
push str._SubHeader_
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x1000e571
mov eax, dword [esp + 0x7c]
lea edx, [esp + 0x70]
push edx
push eax
lea ecx, [esp + 0x18]
push edi
push ecx
lea edx, [esp + 0x40]
push ebx
push edx
call fcn.1000ed40
mov esi, eax
add esp, 0x18
cmp esi, 0x80000000
jae 0x1000e67f
and eax, 0x7f
cmp al, 1
je 0x1000e571
mov ecx, dword [esp + 0x70]
push str._Data_
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x1000e571
lea edx, [esp + 0x10]
push edi
lea eax, [esp + 0x34]
push edx
push eax
call fcn.1000eea0
mov esi, eax
add esp, 0xc
cmp esi, 0x80000000
jae 0x1000e67f
mov ecx, esi
and ecx, 0x7f
cmp cl, 1
jne 0x1000e5e0
mov eax, dword [edi + 0x14]
lea edx, [esp + 0x30]
push edx
push eax
call fcn.1000e8e0
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1000e694
mov ecx, dword [ebx + 4]
push eax
push ecx
call sym.lhcom01A.dll_heap_Free
add esp, 8
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000e6a9
mov edx, dword [ebx + 4]
push eax
push edx
call sym.lhcom01A.dll_heap_Free
add esp, 8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1000e6be
push eax
mov eax, dword [ebx + 4]
push eax
call sym.lhcom01A.dll_heap_Free
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
Function at 0x6ba370
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 0x6ba38e
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 0x6e3074
push ecx
mov edi, eax
call fcn.006ce198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6ba3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.006ce02e
push esi
call fcn.006cdfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x6bd850
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 0x6bd8ae
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 0x6e8720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6bd8ba
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.006ce1e1
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 0x6bd8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x6e8720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6bd92a
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.006cf082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x6bd957
mov word [eax], si
add eax, 2
push eax
call fcn.006cf030
add esp, 4
jmp 0x6bd959
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 0x6bd8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6bd8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x6bdff0
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