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

Disassembly:
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10035bc5
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.10035bf7
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10035bac
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.10035be7
invalid

Function at 0x10046740
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 8]
push ebp
push esi
push edi
mov esi, 0x200
push esi
add eax, 0x4c
push eax
push ebx
call fcn.1003af30
mov ecx, dword [esp + 0x24]
push ecx
push esi
mov ebp, eax
push 1
push ebp
call dword [sym.imp.MSVCR100.dll_fread]
mov edi, eax
add esp, 0x1c
cmp edi, esi
jne 0x100467a6
mov edx, dword [ebx + 8]
add esi, esi
push esi
add edx, 0x4c
push edx
push ebx
call fcn.1003af30
mov ebp, eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
sub ecx, edi
push ecx
lea edx, [edi + ebp]
push 1
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add edi, eax
add esp, 0x1c
cmp edi, esi
je 0x10046775
mov esi, dword [ebx + 0x14]
push edi
lea eax, [esi + 8]
push ebp
push ebx
mov dword [ebx + 0x14], eax
call fcn.1003ab50
add esp, 0xc
mov dword [esi], eax
mov dword [esi + 4], 0xfffffffb
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x14]
pop edi
pop esi
pop ebp
cmp ecx, dword [eax + 0x18]
jb 0x100467d9
mov ecx, ebx
pop ebx
jmp fcn.100231b0
pop ebx
ret
Function at 0x100467e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
mov edi, eax
test edi, edi
je 0x10046845
mov eax, dword [esi + 8]
push ebx
push edi
add eax, 0x4c
push eax
push esi
call fcn.1003af30
push ebp
push edi
mov ebx, eax
push 1
push ebx
call dword [sym.imp.MSVCR100.dll_fread]
mov edi, dword [esi + 0x14]
mov ebp, eax
push ebp
lea ecx, [edi + 8]
push ebx
push esi
mov dword [esi + 0x14], ecx
call fcn.1003ab50
mov dword [edi], eax
mov dword [edi + 4], 0xfffffffb
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x14]
add esp, 0x28
pop ebx
cmp edx, dword [eax + 0x18]
jb 0x1004683a
mov ecx, esi
call fcn.100231b0
xor eax, eax
cmp eax, ebp
sbb eax, eax
pop edi
neg eax
pop ebp
ret
push ebp
call dword [sym.imp.MSVCR100.dll_getc]
mov edi, eax
push ebp
push edi
call dword [sym.imp.MSVCR100.dll_ungetc]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 8]
lea ecx, [eax + 8]
add edx, 0x70
mov dword [esi + 0x14], ecx
add esp, 0xc
mov dword [eax], edx
mov dword [eax + 4], 0xfffffffb
xor eax, eax
cmp edi, 0xffffffff
pop edi
setne al
pop ebp
ret
Function at 0x7742f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11a000]
push edi
or ebp, 0xffffffff
jmp 0x774312
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x774319
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x774308
mov eax, 1
add ebx, ebx
jne 0x77432b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x77433c
jne 0x77435b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77435b
dec eax
add ebx, ebx
jne 0x774348
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x774320
add ebx, ebx
jne 0x774357
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7743ad
xor ecx, ecx
sub eax, 3
jb 0x774373
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7743e2
sar eax, 1
mov ebp, eax
jmp 0x77437e
add ebx, ebx
jne 0x77437e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77434c
inc ecx
add ebx, ebx
jne 0x77438c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77434c
add ebx, ebx
jne 0x774399
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x77438e
jne 0x7743aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x77438e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7743cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7743be
jmp 0x77430e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7743cc
add edi, ecx
jmp 0x77430e
pop esi
mov edi, esi
mov ecx, 0x39dc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7743ea
cmp byte [edi], 0x22
jne 0x7743ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7743ef
lea edi, [esi + 0x371000]
mov eax, dword [edi]
or eax, eax
je 0x774467
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3878a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3879ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x77441c
mov ecx, edi
jns 0x77444b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3879f4]
or eax, eax
je 0x774461
mov dword [ebx], eax
add ebx, 4
jmp 0x774439
call dword [esi + 0x3879f0]
mov ebp, dword [esi + 0x3879f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x77449b
sub esp, 0xffffff80
jmp 0x485b20
Function at 0x40105b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x250
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
call ebx
push edx
mov dword [ebp - 0x228], eax
call esi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x21c], 6
push ecx
push ecx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push esi
push esi
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x220], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push edx
push edx
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x238]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassW]
push ecx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
mov dword [esp], 0
call ebx
lea ebx, [ebp - 0x210]
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push ecx
push ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1a
mov dword [esp], 0
call dword [sym.imp.SHELL32.DLL_SHGetFolderPathW]
sub esp, 0x14
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 5]
push esi
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x4012c8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 1
jmp loc.00460596

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c5da
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x44e740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.00421268
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x4020c6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.0042564e
push 0x44d0c4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.00427aab
push edi
push esi
call fcn.00421097
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424db6
mov esp, ebp
pop ebp
ret 4
Function at 0x40a900
Capabilities:
Get disk information
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x44e740]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor eax, eax
mov dword [edi + 4], eax
lea esi, [edi + 4]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
test edx, edx
je 0x40a931
mov byte [edx], al
push str.rpcrt4.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x40a94f
push str.rpcrt4.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x40a97f
push str.UuidCreateSequential
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a97f
lea ecx, [ebp - 0x98]
push ecx
call eax
test eax, eax
jne 0x40a97f
mov eax, dword [ebp - 0x8e]
mov dword [esi], eax
mov ax, word [ebp - 0x8a]
mov word [esi + 4], ax
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [edi + 0xa]
push eax
push 0
push 0
push 0x446d94
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0xe
lea eax, [ebp - 0x70]
mov dword [ebp - 0x68], 0x67452301
push edi
push eax
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0x58], 0xc3d2e1f0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
call fcn.00420440
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004204e0
push 0xa
lea eax, [ebp - 0x88]
mov dword [ebp - 0xf0], 0x67452301
push eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xec], 0xefcdab89
push eax
mov dword [ebp - 0xe8], 0x98badcfe
mov dword [ebp - 0xe4], 0x10325476
mov dword [ebp - 0xe0], 0xc3d2e1f0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
call fcn.00420440
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.004204e0
lea eax, [ebp - 0x110]
add esp, 8
cmp esi, eax
je 0x40aaa9
mov eax, dword [ebp - 0x110]
mov dword [esi], eax
mov eax, dword [ebp - 0x10c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x108]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x104]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x100]
mov dword [esi + 0x10], eax
push 4
lea eax, [ebp - 0x70]
mov dword [ebp - 0x68], 0x67452301
push edi
push eax
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0x58], 0xc3d2e1f0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
call fcn.00420440
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004204e0
add esp, 8
xor ecx, ecx
jmp 0x40ab10
mov eax, dword [ebp + ecx - 0x88]
add dword [esi + ecx], eax
add ecx, 4
cmp ecx, 0x14
jne 0x40ab10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00424db6
mov esp, ebp
pop ebp
ret
Function at 0x40abc0
Capabilities:
Check if file exists
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ccd2
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x44e740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.settings.dat
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, eax
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [edx], ax
jne 0x40ac61
xor ecx, ecx
jmp 0x40ac75
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ac66
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004074e0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x424], 1
jb 0x40ac99
mov eax, dword [esi]
jmp 0x40ac9b
mov eax, esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
setne al
test al, al
jne 0x40ada4
push 4
push str..old
mov ecx, esi
call fcn.00407400
cmp dword [esi + 0x14], 8
jb 0x40acc9
mov eax, dword [esi]
jmp 0x40accb
mov eax, esi
push eax
call edi
test eax, eax
setne al
test al, al
jne 0x40ada4
push 1
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40ad9f
cmp dword [0x44f714], 8
mov eax, dword [0x44f700]
jae 0x40ad09
mov eax, 0x44f700
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call edi
mov edx, eax
cmp word [edx], 0
jne 0x40ad2c
xor ecx, ecx
jmp 0x40ad46
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ad31
sub ecx, edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004074e0
cmp dword [esi + 0x14], 8
jb 0x40ad59
mov eax, dword [esi]
jmp 0x40ad5b
mov eax, esi
push str.settings.dat
push eax
lea eax, [ebp - 0x420]
push eax
call edi
mov edx, eax
cmp word [edx], 0
jne 0x40ad82
xor ecx, ecx
push ecx
push edx
mov ecx, esi
call fcn.004074e0
mov byte [ebx], 0
jmp 0x40adbf
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ad87
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004074e0
mov byte [ebx], 0
jmp 0x40adbf
cmp dword [esi + 0x14], 8
jb 0x40adae
mov eax, dword [esi]
jmp 0x40adb0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
sete al
or byte [ebx], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424db6
mov esp, ebp
pop ebp
ret
Function at 0x4100c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x44e740]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push esi
push edi
push eax
push 0x80
push 3
push eax
push 3
push SysReAllocString
push ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x98], ebx
cmp ebx, 0xffffffff
jne 0x410130
or eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424db6
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 8]
push 0
push eax
push 0x20
lea eax, [ebp - 0x34]
mov dword [ebp - 0x9c], 0xffffffff
push eax
push ebx
call esi
test eax, eax
je 0x4102c2
cmp dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], 0
jbe 0x4102b8
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ebx, [ebx]
push 0
push 0
push eax
push ebx
call edi
add dword [ebp - 0xa0], 0xc
lea eax, [ebp - 8]
push 0
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push ebx
call esi
test eax, eax
je 0x4102c2
cmp dword [ebp - 0x14], 5
jne 0x410280
push 0
push 0
push dword [ebp - 0xc]
push ebx
call edi
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x94]
push eax
push ebx
call esi
test eax, eax
je 0x4102c2
mov edi, dword [ebp - 0x94]
shl edi, 4
push edi
call fcn.00426a8d
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4102a9
mov eax, dword [ebp - 0x94]
xor ebx, ebx
test eax, eax
je 0x410261
lea edi, [esi + 0xc]
mov edi, edi
cmp dword [edi - 4], 0x58
jb 0x410259
push 0
push 0
push dword [edi]
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 8]
push eax
push 0x58
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4102a9
cmp dword [ebp - 0x90], 0x464e4956
je 0x41029d
mov eax, dword [ebp - 0x94]
inc ebx
add edi, 0x10
cmp ebx, eax
jb 0x410210
test esi, esi
je 0x41026e
push esi
call fcn.004265d3
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp eax, dword [ebp - 0x2c]
jae 0x4102b8
mov eax, dword [ebp - 0xa0]
jmp 0x410180
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x9c], eax
test esi, esi
je 0x4102c2
push esi
call fcn.004265d3
add esp, 4
jmp 0x4102c2
mov dword [ebp - 0x9c], 0
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x9c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00424db6
mov esp, ebp
pop ebp
ret
Function at 0x415a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43dfac
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x44e740]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
mov eax, dword [0x44e740]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov al, byte [esi + 0xb5]
test al, al
jne 0x415ac4
cmp edi, 0x2f88
jne 0x415a71
mov eax, 0x80010109
jmp 0x415c5d
test al, al
jne 0x415ac4
mov dword [esp + 0xd0], 0
lea edx, [esp + 0x58]
mov ecx, dword [esi + 0x9c]
push edx
mov dword [esp + 0x5c], 0
push 0x440458
mov eax, dword [ecx]
push ecx
call dword [eax]
test eax, eax
js 0x415aab
mov eax, dword [esp + 0x58]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov dword [esp + 0xd0], 0xffffffff
mov eax, dword [esp + 0x58]
test eax, eax
je 0x415ac4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [esi + 0x20], 0
je 0x415c48
push 0x60
lea eax, [esp + 0x60]
push 0
push eax
call fcn.00429ef0
add esp, 0xc
mov dword [esp + 0x3c], 7
xor eax, eax
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x28]
mov word [esp + 0x28], ax
push eax
push 0x447038
call fcn.004074e0
xor eax, eax
mov dword [esp + 0xd0], 1
push eax
push 0x447038
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.004074e0
sub esp, 0x18
mov byte [esp + 0xe8], 2
mov ecx, esp
push 0x447038
call fcn.004040b0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0xe8], 3
lea eax, [esp + 0x58]
push dword [esi + 0x24]
lea ecx, [esp + 0x78]
push eax
push edi
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x38]
push eax
push 2
call fcn.00418930
mov edi, dword [esp + 0x40]
test edi, edi
je 0x415bac
push dword [esp + 0x58]
mov edx, dword [esp + 0x48]
push ecx
mov ecx, edi
call fcn.00411f50
push edi
call fcn.00425576
add esp, 0xc
cmp dword [esp + 0x24], 8
jb 0x415bbf
push dword [esp + 0x10]
call fcn.00425576
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov byte [esp + 0xd0], 7
cmp dword [esp + 0x3c], 8
jb 0x415bf1
push dword [esp + 0x28]
call fcn.00425576
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov word [esp + 0x28], ax
lea ecx, [esp + 0x5c]
lea eax, [esp + 0x40]
mov dword [esp + 0x38], 0
push eax
call fcn.00418a20
push eax
mov byte [esp + 0xd4], 8
mov ecx, dword [esi + 0xb8]
push 0xb
call fcn.00417f60
cmp dword [esp + 0x54], 0x10
jb 0x415c3f
push dword [esp + 0x40]
call fcn.00425576
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.00411a10
movzx eax, byte [esi + 0xb5]
neg eax
sbb eax, eax
and eax, 0x7fffbffd
add eax, 0x80004004
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00424db6
mov esp, ebp
pop ebp
ret 8
Function at 0x417a40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e509
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x44e740]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
xor eax, eax
cmp dword [edi + 0x60], eax
je 0x417bd9
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov ecx, dword [edi + 0x5c]
add ecx, 0xa4
cmp ecx, edx
je 0x417a9c
push 0xffffffffffffffff
push eax
push edx
call fcn.00405930
mov eax, dword [ebp - 0x18]
mov esi, dword [edi + 0x60]
test eax, eax
je 0x417aa9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov eax, dword [esi]
push ecx
push 0x440458
push esi
call dword [eax]
push str.about:blank
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x18]
mov esi, eax
push 0
push 0
push 0
mov edx, dword [ecx]
push 0
push esi
push ecx
call dword [edx + 0x2c]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xb0
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.00429ef0
add esp, 4
lea ecx, [ebp - 0xcc]
call fcn.00419b60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
mov eax, dword [edi + 0x54]
cdq
push edx
push eax
call fcn.00419ec0
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00419c90
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xfc]
call fcn.00412500
push eax
push 9
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00417f60
cmp dword [ebp - 0xe8], 0x10
jb 0x417b62
push dword [ebp - 0xfc]
call fcn.00425576
add esp, 4
cmp dword [ebp - 0xd0], 8
jb 0x417b79
push dword [ebp - 0xe4]
call fcn.00425576
add esp, 4
push 5
push dword [edi + 0x54]
xor eax, eax
mov dword [ebp - 0xd0], 7
mov dword [ebp - 0xd4], 0
mov word [ebp - 0xe4], ax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.00419c10
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], vtable.std::ios_base.0
push eax
call fcn.004211bb
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x417bd4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00424db6
mov esp, ebp
pop ebp
ret 4