joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43024a
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
push ebx
xor ebx, ebx
cmp byte [0x463780], bl
push esi
push edi
je 0x430476
mov esi, 0x463780
push 0x4506d4
push esi
call fcn.00432f40
pop ecx
push eax
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
je 0x4302d9
push 0x44e854
push esi
call fcn.00432f40
pop ecx
push eax
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
je 0x4302d9
push 0x44dfc0
push esi
call fcn.0043cf55
pop ecx
pop ecx
test eax, eax
push esi
jne 0x4302c8
push 0x464620
push str._s_s
push 0x463540
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x43047c
push 0x463540
call fcn.0043cfd0
pop ecx
pop ecx
jmp 0x43047c
mov edi, 0x463300
push edi
push 0x463540
call fcn.0043cfd0
pop ecx
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x44dfc0
push esi
call fcn.0043cf55
pop ecx
pop ecx
test eax, eax
push esi
lea eax, [ebp - 0x110]
jne 0x430321
push 0x464620
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x430329
push eax
call fcn.0043cfd0
pop ecx
pop ecx
lea eax, [ebp - 0x110]
push eax
call fcn.00437c30
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
je 0x43047c
push eax
call fcn.00438430
test eax, eax
pop ecx
jne 0x430469
lea eax, [ebp - 0x214]
dec eax
mov dword [ebp - 0xc], eax
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x214]
push 0x104
push eax
push ebx
push dword [ebp - 4]
call fcn.00438060
push dword [ebp - 0xc]
lea eax, [ebp - 0x214]
push 0x45167c
push eax
call fcn.0043363c
mov esi, eax
inc esi
push esi
call fcn.00432f40
push 0x451678
push eax
mov dword [ebp - 8], eax
call fcn.00447c00
add esp, 0x38
test eax, eax
je 0x4303de
push 0x451674
push dword [ebp - 8]
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
je 0x4303de
push 0x451670
push dword [ebp - 8]
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
je 0x4303de
push 0x44ee88
push dword [ebp - 8]
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
jne 0x430458
push dword [ebp - 4]
call fcn.00438500
test eax, eax
pop ecx
jne 0x430458
push esi
push edi
lea eax, [ebp - 0x110]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x110]
push 0x451154
push eax
call fcn.0043d21e
mov esi, eax
add esp, 0x18
cmp esi, ebx
je 0x43044f
lea eax, [ebp - 0x614]
push 0x400
push eax
push dword [ebp - 4]
call fcn.00438830
add esp, 0xc
cmp eax, ebx
push esi
jle 0x430449
push eax
lea eax, [ebp - 0x614]
push 1
push eax
call fcn.0043e44d
add esp, 0x10
jmp 0x430419
call fcn.0043d0c0
pop ecx
push dword [ebp - 4]
call fcn.00438a20
pop ecx
push dword [ebp - 4]
call fcn.00438480
test eax, eax
pop ecx
je 0x43035a
push dword [ebp - 4]
call fcn.00438020
jmp 0x4302d3
mov byte [0x463540], bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430481
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10000
call fcn.0043d240
push edi
lea eax, [ebp - 0x10000]
push dword [ebp + 0x10]
xor edi, edi
push 0xffff
push eax
push 0x4564f8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x10000]
xor edx, edx
mov cl, byte [eax]
cmp cl, 0x20
je 0x4304ca
cmp cl, 9
je 0x4304ca
cmp cl, 0x2c
jne 0x4304cd
inc eax
jmp 0x4304b9
cmp byte [eax], 0x2d
jne 0x4304d3
inc eax
mov cl, byte [eax]
cmp cl, 0x30
jl 0x4304f1
cmp cl, 0x39
jg 0x4304ea
xor edx, edx
inc edx
inc eax
mov cl, byte [eax]
cmp cl, 0x30
jge 0x4304da
test edx, edx
je 0x4304f1
inc edi
jmp 0x4304b7
test edi, edi
jne 0x4304fc
xor eax, eax
jmp 0x430584
mov eax, edi
push ebx
shl eax, 2
push esi
push eax
push 0
lea esi, [ebp - 0x10000]
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, dword [ebp + 0x14]
and dword [ebp + 0x10], 0
mov dword [ebp + 0xc], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
jge 0x43057f
xor edi, edi
xor eax, eax
xor edx, edx
inc edi
mov cl, byte [esi]
cmp cl, 0x20
je 0x43053e
cmp cl, 9
je 0x43053e
cmp cl, 0x2c
jne 0x430541
inc esi
jmp 0x43052d
cmp byte [esi], 0x2d
jne 0x43054a
or edi, 0xffffffff
inc esi
mov cl, byte [esi]
cmp cl, 0x30
jl 0x43057f
cmp cl, 0x39
jg 0x43056b
movsx ecx, cl
lea eax, [edx + edx*4]
inc esi
lea edx, [ecx + eax*2 - 0x30]
mov cl, byte [esi]
xor eax, eax
inc eax
cmp cl, 0x30
jge 0x430551
test eax, eax
je 0x43057f
imul edi, edx
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x10]
inc dword [ebp + 0x10]
mov dword [eax + ecx*4], edi
jmp 0x43051e
mov eax, dword [ebp + 0x10]
pop esi
pop ebx
pop edi
leave
ret

Function at 0x430587
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push dword [ebp + 0x14]
lea eax, [ebp - 0x64]
push 0x64
push eax
push 0x4564f8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4305e5
cmp byte [ebp - 0x64], 0
je 0x4305e5
cmp byte [ebp - 0x64], 0x23
lea eax, [ebp - 0x64]
mov dword [ebp + 0x14], eax
jne 0x4305c3
lea eax, [ebp - 0x63]
mov dword [ebp + 0x14], eax
lea ecx, [ebp + 0x14]
push 0x10
push ecx
push eax
call fcn.0043e557
xor ecx, ecx
add esp, 0xc
mov cl, ah
mov ch, al
sar eax, 0x10
movzx eax, al
shl ecx, 8
or eax, ecx
leave
ret
mov eax, dword [ebp + 0x10]
leave
ret
Function at 0x430684
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
cmp byte [0x4631c5], 0
push ebx
push esi
push edi
je 0x4308c6
push 0x464620
lea eax, [ebp - 0x248]
push str._s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esp, 0xc
lea eax, [ebp - 0x144]
xor ebx, ebx
push eax
lea eax, [ebp - 0x248]
push eax
inc ebx
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x430768
test byte [ebp - 0x144], 0x10
lea eax, [ebp - 0x118]
je 0x430714
push 0x44dff4
push eax
call fcn.0043d450
pop ecx
test eax, eax
pop ecx
je 0x43074b
lea eax, [ebp - 0x118]
push 0x4506d8
push eax
call fcn.0043d450
pop ecx
test eax, eax
pop ecx
je 0x43074b
jmp 0x43074a
push 0x4506d4
push eax
call fcn.00432f40
pop ecx
push eax
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
je 0x43074a
lea eax, [ebp - 0x118]
push 0x44e854
push eax
call fcn.00432f40
pop ecx
push eax
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
jne 0x43074b
inc ebx
lea eax, [ebp - 0x144]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4306db
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.0043c9e1
cdq
idiv ebx
xor edi, edi
cmp edx, edi
mov dword [ebp - 4], edx
jne 0x430785
and byte [0x463780], 0
jmp 0x4308c6
lea eax, [ebp - 0x144]
xor ebx, ebx
push eax
lea eax, [ebp - 0x248]
push eax
inc ebx
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x43084a
test byte [ebp - 0x144], 0x10
lea eax, [ebp - 0x118]
je 0x4307dc
push 0x44dff4
push eax
call fcn.0043d450
pop ecx
test eax, eax
pop ecx
je 0x430818
lea eax, [ebp - 0x118]
push 0x4506d8
push eax
call fcn.0043d450
pop ecx
test eax, eax
pop ecx
je 0x430818
jmp 0x430812
push 0x4506d4
push eax
call fcn.00432f40
pop ecx
push eax
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
je 0x430812
lea eax, [ebp - 0x118]
push 0x44e854
push eax
call fcn.00432f40
pop ecx
push eax
call fcn.00447c00
pop ecx
test eax, eax
pop ecx
jne 0x430818
cmp ebx, dword [ebp - 4]
je 0x430830
inc ebx
lea eax, [ebp - 0x144]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4307a3
jmp 0x430843
lea eax, [ebp - 0x118]
push eax
push 0x463780
call fcn.0043cfd0
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
push edi
push 0x7e
push dword [0x461320]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x44e0f4], edi
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
je 0x430872
push edi
push edi
push dword [0x4618a4]
call esi
cmp dword [0x44e0e4], edi
je 0x430884
push edi
push edi
push dword [0x461a44]
call esi
cmp dword [0x44e108], edi
je 0x430897
push 1
push edi
push dword [0x461794]
call esi
push 0x28
pop esi
cmp dword [0x460700], esi
jne 0x4308c6
cmp dword [0x460704], edi
je 0x4308c6
push 1
mov dword [0x460700], edi
call fcn.00422030
push 1
mov dword [0x460700], esi
call fcn.00422030
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430a83
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp - 0x104]
push esi
mov dword [ebp - 4], eax
push str.Winamp.ini
lea eax, [ebp - 0x104]
push 0x100
push eax
push 0x4564f8
push str.Stats
push str.WinampReg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor esi, esi
lea eax, [ebp - 4]
push 0x10
push eax
push dword [ebp - 4]
call fcn.0043e557
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ecx + esi*4], eax
mov eax, dword [ebp - 4]
cmp byte [eax], 0
je 0x430ae6
inc dword [ebp - 4]
inc esi
cmp esi, 7
jl 0x430abe
pop esi
leave
ret

Function at 0x430ae9
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push str.Winamp.ini
push 0x80
push esi
mov ebp, 0x4516a4
push 0x4564f8
mov ebx, str.WinampReg
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
jne 0x430b5e
lea eax, [esp + 0xc]
push edi
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
and byte [esi], 0
xor edi, edi
movzx eax, byte [esp + edi + 0x10]
push eax
push str._02X
push esi
call fcn.0043d4e0
pop ecx
add eax, esi
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
inc edi
cmp edi, 0x10
jb 0x430b2b
push str.Winamp.ini
push esi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x43334b
Capabilities:
Create process on windows

Disassembly:
push 0
push 0x44dff4
push 0
push dword [esp + 0x14]
push str.open
push dword [esp + 0x18]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

Function at 0x433519
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
push ebx
push esi
push edi
mov edi, 0x4638a0
push edi
push 0x10
mov esi, str.Winamp
push str.NumRecentURLs
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebp + 0xc]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x84]
push str.RecentURL_s1
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x188]
push edi
push 0x104
push eax
lea eax, [ebp - 0x84]
push 0x4564f8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
lea eax, [ebp - 0x84]
push dword [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push dword [ebp + 8]
lea eax, [ebp - 0x188]
push eax
call fcn.0043d450
pop ecx
test eax, eax
pop ecx
je 0x433637
xor eax, eax
inc eax
cmp dword [ebp - 4], eax
jle 0x433637
inc eax
push eax
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x84]
push str.RecentURL_s_d
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x28c]
push edi
push 0x104
push eax
lea eax, [ebp - 0x84]
push 0x4564f8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x188]
push edi
push eax
lea eax, [ebp - 0x84]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push dword [ebp + 8]
lea eax, [ebp - 0x28c]
push eax
call fcn.0043d450
pop ecx
test eax, eax
pop ecx
je 0x433637
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.0043cfd0
mov eax, dword [ebp - 8]
pop ecx
cmp eax, dword [ebp - 4]
pop ecx
jl 0x4335b2
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433720
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
push 6
xor ebx, ebx
pop ecx
xor eax, eax
cmp dword [0x44e118], ebx
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [0x44e11c]
setne al
neg ecx
sbb ecx, ecx
and ecx, 2
or eax, ecx
test al, 3
mov dword [0x45f548], eax
je 0x4337eb
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push esi
push dword [0x450538]
mov esi, 0x45f550
push str._update_latest_version.jhtml_v_s
push esi
call edi
add esp, 0xc
test byte [0x45f548], 2
je 0x4337d0
lea eax, [ebp - 0x20]
push eax
call fcn.00430a83
mov dword [esp], str.ID
push esi
call fcn.0043cfe0
push esi
call fcn.0043d4e0
add eax, esi
push eax
call fcn.00430ae9
add esp, 0x10
xor eax, eax
push dword [ebp + eax*4 - 0x20]
lea ebx, [eax + 1]
push ebx
push str.st_d_d
push esi
call fcn.0043d4e0
pop ecx
add eax, esi
push eax
call edi
mov eax, ebx
add esp, 0x10
cmp eax, 7
jl 0x4337ab
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x4337ef
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
pop ebx
leave
ret
Function at 0x433ce0
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x4602f0]
sub esp, 0x104
test eax, eax
jne 0x433e15
call fcn.00433e50
call fcn.00434510
mov al, byte [0x463420]
test al, al
je 0x433e15
mov eax, dword [esp + 0x10c]
mov dword [0x460064], 0
test eax, eax
je 0x433db8
cmp byte [eax], 0
je 0x433db8
lea edx, [esp]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x433d32
lea eax, [esp]
push 0x4519d0
push eax
call fcn.0043cf55
add esp, 8
test eax, eax
je 0x433d66
mov byte [eax], 0
inc eax
push eax
call fcn.0043d6e9
add esp, 4
mov dword [0x460088], eax
jmp 0x433d70
mov dword [0x460088], 0
lea ecx, [esp]
push 0x44dfc0
push ecx
call fcn.0043cf55
add esp, 8
test eax, eax
jne 0x433da5
lea edx, [esp]
push edx
push 0x462fa0
push str._s_s
push 0x460098
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x433de1
xor eax, eax
mov cl, byte [esp + eax]
mov byte [eax + 0x460098], cl
inc eax
test cl, cl
jne 0x433da7
jmp 0x433de1
push 0x463420
push 0x462fa0
push str._s_s
push 0x460098
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
xor eax, eax
mov al, byte [0x463e2a]
mov dword [0x460088], eax
push 0x460084
push 0
push 0
push 0x433fa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [0x46008c], eax
mov cl, byte [0x44e030]
mov edx, dword [ecx*4 + 0x4519bc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
add esp, 0x104
ret

Function at 0x4352f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4352fb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4353fe
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4498c8]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4498c8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4498c8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4498c8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4498c8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4498c8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4498c8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4498c8]
xor eax, edx
inc ecx
dec edi
jne 0x435316
pop edi
test esi, esi
je 0x435420
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4498c8]
xor eax, edx
inc ecx
dec esi
jne 0x435402
pop esi
pop ebx
not eax
ret
Function at 0x4434fb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x453750
cmp edx, dword [eax]
je 0x44351d
add eax, 8
inc ecx
cmp eax, 0x4537e0
jl 0x44350e
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x453750]
jne 0x44364b
mov eax, dword [0x4603a4]
cmp eax, 1
je 0x443625
test eax, eax
jne 0x44354e
cmp dword [0x4533d0], 1
je 0x443625
cmp edx, 0xfc
je 0x44364b
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x443585
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0043cfd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0043d4e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4435c8
lea eax, [ebp - 0x1a4]
push eax
call fcn.0043d4e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x44ab5c
push edi
call fcn.0043d560
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0043cfd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0043cfe0
lea eax, [ebp - 0xa0]
push 0x44ab3c
push eax
call fcn.0043cfe0
push dword [esi + 0x453754]
lea eax, [ebp - 0xa0]
push eax
call fcn.0043cfe0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00446b80
add esp, 0x2c
pop edi
jmp 0x44364b
lea eax, [ebp + 8]
lea esi, [esi + 0x453754]
push 0
push eax
push dword [esi]
call fcn.0043d4e0
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 0x1001aee9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100d0db4
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100dbeac
mov dword [esi + 8], 0x100d97c0
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], eax
push fcn.1000b96d
push 0x1001b0f6
push 6
lea eax, [esi + 0x160]
push 8
push eax
mov byte [ebp - 4], 7
call fcn.10088249
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dbe78
mov dword [esi + 4], 0x100dbe5c
mov dword [esi + 8], 0x100dbe4c
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100248ea
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push esi
mov ecx, dword [esp + 8]
lea esi, [edx + ecx]
cmp edx, esi
je 0x10024919
push edi
movzx edi, byte [edx]
mov ecx, eax
and ecx, 0xff
xor ecx, edi
shr eax, 8
movzx ecx, word [ecx*2 + 0x100f75d0]
xor eax, ecx
inc edx
cmp edx, esi
jne 0x100248f9
pop edi
pop esi
ret 4

Function at 0x10029218
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d1c35
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100d9c7c
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.1000250f
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dd620
mov dword [esi + 4], 0x100dd610
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1007f713
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x100d7204
call fcn.100cece0
sub esp, 0x64
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov ecx, dword [ebp + 8]
push esi
mov dword [esi + 0x10], eax
mov al, byte [ebx + 0x2c]
mov byte [esi + 0x69], al
cmp dword [ebx], 0x10900
mov edx, ebx
sete al
mov byte [esi + 0x68], al
call fcn.1007f8eb
xor edi, edi
cmp eax, edi
jne 0x1007f8da
mov ecx, dword [ebx + 0x80]
lea eax, [ebx + 0x80]
or ecx, dword [eax + 4]
jne 0x1007f76b
push 1
pop eax
jmp 0x1007f76d
xor eax, eax
test al, al
lea ecx, [ebp - 0x70]
mov dword [ebp + 0xc], edi
sete byte [ebp + 0x17]
call fcn.100786d5
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], edi
cmp eax, edi
mov dword [ebp - 0x14], edi
jbe 0x1007f8bf
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x20]
add eax, dword [ebp - 0x10]
cmp word [ebx + 0x20], 1
mov dword [ebp - 0x1c], eax
jne 0x1007f892
cmp word [eax + 0x20], 1
jne 0x1007f892
cmp byte [esi + 0x68], 0
mov eax, dword [esi + 0x60]
sete cl
movzx edi, cl
lea ecx, [esi + 0x5c]
add edi, eax
call fcn.10080f40
mov ecx, eax
mov edx, edi
mov dword [ebp - 0x18], ecx
call fcn.10088249
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x70]
push dword [ebp - 0x18]
push esi
push ebx
push edi
push dword [ebp + 8]
call fcn.1007e9a8
test eax, eax
jne 0x1007f8aa
add edi, 0x2c
push 0x14
lea eax, [ebp - 0x30]
push edi
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1007f826
cmp byte [ebx + 0x2c], 0
je 0x1007f8c5
xor eax, eax
cmp byte [edi + eax], 0
jne 0x1007f8c5
inc eax
cmp eax, 0x14
jb 0x1007f816
mov edi, dword [ebp - 0x18]
and dword [edi + 0x1c], 0
cmp dword [esi + 0x3c], 0
jne 0x1007f83e
push dword [ebp + 0x10]
lea ecx, [esi + 0x38]
call fcn.10080ecb
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.10088249
test eax, eax
jne 0x1007f8aa
cmp byte [ebp + 0x17], al
je 0x1007f892
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x78]
cmp ecx, dword [eax + 8]
jne 0x1007f8a6
mov ecx, dword [ebx + 0x7c]
cmp ecx, dword [eax + 0xc]
jne 0x1007f8a6
and byte [ebp + 0x17], 0
mov cl, 1
cmp byte [ebx + 0x2d], 0
je 0x1007f892
cmp dword [eax + 0x24], 1
jne 0x1007f892
inc dword [ebp + 0xc]
mov eax, dword [ebx + 0x28]
cmp eax, dword [ebp + 0xc]
sete al
test cl, cl
je 0x1007f88a
test al, al
je 0x1007f8c5
test al, al
je 0x1007f892
test cl, cl
je 0x1007f8ae
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x40
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x24]
jae 0x1007f8bf
jmp 0x1007f792
xor cl, cl
jmp 0x1007f86a
mov esi, eax
jmp 0x1007f8cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1007dfbb
push 1
pop eax
jmp 0x1007f8da
cmp byte [ebp + 0x17], 0
je 0x1007f8ca
push 1
pop esi
jmp 0x1007f8cc
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1007dfbb
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10