joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ea92
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x58d313
call fcn.00510fdc
sub esp, 0xe4
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x48ebf0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48ebf0
lea ecx, [ebp - 0xf0]
call fcn.00420ace
push ebx
push 0x74
push dword [ebp + 8]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], ebx
push eax
call fcn.00420c37
mov ecx, eax
call fcn.0042064f
test al, al
jne 0x48eaf7
or esi, 0xffffffff
jmp 0x48ebc2
lea eax, [ebp - 0x10]
push str.MediaFormats
push eax
lea ecx, [ebp - 0xf0]
call fcn.00420667
lea ecx, [ebp - 0x10]
call fcn.0042064f
test al, al
jne 0x48eaef
push 0x6749b4
lea eax, [ebp - 0x1c]
push 0x5de378
push eax
lea ecx, [ebp - 0x10]
call fcn.004206ae
mov ecx, eax
call fcn.0042044b
push eax
lea ecx, [ebp - 0x14]
call fcn.00568097
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [esi + 4]
push dword [ebp - 0x14]
call fcn.00511095
pop ecx
test eax, eax
pop ecx
je 0x48eb5a
push 1
pop esi
jmp 0x48ebb6
lea eax, [ebp - 0x18]
push str.Categories
push eax
lea ecx, [ebp - 0x10]
call fcn.00420667
lea ecx, [ebp - 0x18]
call fcn.0042064f
test al, al
je 0x48eb7c
or esi, 0xffffffff
jmp 0x48ebb6
cmp dword [esi + 0x10], ebx
jle 0x48ebb4
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x18]
mov edi, dword [eax + ebx*4]
lea eax, [ebp + 8]
push dword [edi + 8]
push eax
call fcn.00420667
lea ecx, [ebp + 8]
call fcn.0042064f
test al, al
jne 0x48ebd5
lea eax, [ebp + 8]
push eax
push edi
call fcn.0048ec04
inc ebx
pop ecx
cmp ebx, dword [esi + 0x10]
pop ecx
jl 0x48eb81
xor esi, esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00568023
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00420ae5
mov eax, esi
jmp 0x48ebf3
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00568023
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00420ae5
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4922eb
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x58d90d
call fcn.00510fdc
sub esp, 0xdc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
lea ecx, [ebp - 0x30]
call fcn.005675d9
mov ebx, 0x5a5720
mov dword [ebp - 0x30], ebx
and dword [ebp - 4], 0
push 0x4c
call fcn.00568612
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
test esi, esi
mov byte [ebp - 4], 1
je 0x49233a
mov ecx, esi
call fcn.004924a8
mov dword [esi], 0x5a5718
jmp 0x49233c
xor esi, esi
mov eax, dword [esi]
and byte [ebp - 4], 0
mov ecx, esi
call dword [eax]
test eax, eax
je 0x49235e
test esi, esi
je 0x4923ba
mov ecx, esi
call fcn.004925ef
push esi
call fcn.0056863b
pop ecx
jmp 0x4923ba
push esi
lea ecx, [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.00567520
lea eax, [esi + 0x20]
push 0x5dd200
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005682c8
add esi, 0x24
mov byte [ebp - 4], 2
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00568262
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00568023
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4923ae
mov dword [ebp - 0x10], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00568023
lea eax, [ebp - 0x14]
push eax
call fcn.00565b20
cmp dword [ebp - 0x10], 0
mov edi, str.LastServicesUpdate
mov esi, str.Settings
jne 0x49241d
cmp dword [ebp + 8], 0
je 0x49241d
call fcn.0057c7fa
mov eax, dword [eax + 4]
push 0
push edi
push esi
mov ecx, eax
call fcn.0057c9df
push dword [0x674a0c]
push eax
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00415f58
call fcn.00416011
add esp, 0xc
test eax, eax
jne 0x49241d
mov dword [ebp - 0x30], ebx
push 1
mov dword [ebp - 4], 5
pop esi
jmp 0x492483
call fcn.0057c7fa
push dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov ecx, eax
push edi
push esi
call fcn.00572eea
xor esi, esi
lea eax, [ebp - 0x30]
push esi
lea ecx, [ebp - 0xe8]
push dword [ebp + 8]
push str.Update_Download_Engine
push eax
call fcn.004926c7
mov eax, dword [0x674a08]
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 6
mov dword [ebp - 0x34], eax
call fcn.0056d1b6
mov eax, dword [ebp - 0x34]
and byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
mov dword [0x674a08], eax
call fcn.00492782
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.00492593
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0056760c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4924a8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x58d94f
call fcn.00510fdc
push ecx
mov eax, dword [0x66cc08]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ecx], eax
mov eax, dword [0x66cc08]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 8], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x20], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x24], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x38], eax
mov edi, 0x6749b4
mov byte [ebp - 4], 4
push edi
mov dword [esi], method.Json::Writer.virtual_4
call fcn.005681ba
push edi
lea ecx, [esi + 8]
call fcn.005681ba
push edi
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
call fcn.005681ba
push edi
lea ecx, [esi + 0x24]
call fcn.005681ba
push edi
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
call fcn.005681ba
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x492ed2
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
mov esi, ecx
push ebx
push 0x402
push dword [esi + 0x94]
call edi
push ebx
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x8000000
push 2
push ebx
push 3
push 0x40000000
push dword [esp + 0x40]
call ebp
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x492f3e
push ebx
push 0x8000000
push 3
push ebx
push 3
push SysReAllocString
push dword [esp + 0x3c]
call ebp
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x492f46
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x492ffb
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push ebx
push 0x406
push dword [esi + 0x94]
call edi
mov ebp, 0x1000
mov dword [esp + 0x14], ebx
push ebp
call fcn.005119ae
pop ecx
mov dword [esp + 0x24], eax
cmp dword [esi + 0x68], ebx
jne 0x492fce
lea eax, [esp + 0x28]
push ebx
push eax
push ebp
push dword [esp + 0x30]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x492fce
cmp dword [esp + 0x28], ebx
jbe 0x492fad
lea eax, [esp + 0x1c]
push ebx
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x14]
push ebx
add eax, dword [esp + 0x20]
push eax
push 0x402
push dword [esi + 0x94]
mov dword [esp + 0x24], eax
call edi
cmp dword [esp + 0x28], ebp
jae 0x492f71
push dword [esp + 0x24]
call fcn.00511ae8
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
push dword [esp + 0x18]
call ebp
push dword [esp + 0x10]
call ebp
push ebx
push ebx
push 0x402
push dword [esi + 0x94]
call edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x49fada
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x58e2d4
call fcn.00510fdc
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0x14]
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x10], esi
call fcn.00568097
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp + 0x10]
add eax, 0xffffffed
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
cmp eax, 0xffffffff
jne 0x49fb93
push dword [ebp + 0x14]
push edi
push 0x1057
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 0x18], edi
mov dword [ebx], eax
je 0x49fb47
mov esi, dword [ebp - 0x18]
mov ecx, esi
sub ecx, eax
sub ecx, 0xc
mov dword [ebp - 0x20], ecx
jmp 0x49fb51
mov ecx, dword [ebp - 0x20]
lea esi, [eax + ecx + 0xc]
mov dword [ebp - 0x18], esi
mov eax, esi
push 4
sub eax, ecx
pop edi
mov dword [ebp + 0x10], eax
cdq
idiv edi
test edx, edx
je 0x49fb8d
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp + 0x10]
je 0x49fb7e
add eax, edi
push edi
cdq
pop ecx
idiv ecx
mov ecx, esi
shl eax, 2
sub ecx, eax
mov dword [ebp - 0x20], ecx
jmp 0x49fb8d
add eax, 4
push 4
cdq
pop esi
idiv esi
lea esi, [ecx + eax*4]
mov dword [ebp - 0x18], esi
sub esi, ecx
mov dword [ebx], esi
jmp 0x49fbaa
cmp dword [ebp + 0x18], edi
je 0x49fba2
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp - 0x20], ecx
jmp 0x49fbaa
mov ecx, dword [ebp - 0x20]
add eax, ecx
mov dword [ebp - 0x18], eax
sub esp, 0x10
lea esi, [ebp - 0x20]
mov edi, esp
mov ecx, dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
push esi
call fcn.0049faaf
mov eax, dword [esi]
push 0x202020
mov ecx, esi
call dword [eax + 0x30]
dec dword [ebp - 0x14]
mov edx, dword [esi]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0x20]
push 0x8825
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [esi]
push dword [ebp + 0x18]
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
neg ecx
sbb ecx, ecx
or dword [ebp - 4], 0xffffffff
and ecx, 0xfffffffe
add ecx, 6
add ecx, dword [ebx]
add dword [eax], ecx
lea ecx, [ebp + 0x14]
call fcn.00568023
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18

Function at 0x4a1b68
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx]
push dword [esp + 4]
call dword [eax + 0xc8]
mov eax, dword [eax + 0x44]
xor ecx, ecx
cmp dword [eax - 8], ecx
jne 0x4a1b83
or eax, 0xffffffff
jmp 0x4a1b96
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret 4
Function at 0x4a9b62
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp dword [edi + 0x38], 0x32
je 0x4a9c15
mov esi, dword [ebp + 8]
push dword [esi + 0x74]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a9b90
push 0xfffffffffffffffe
jmp 0x4a9c12
lea eax, [esi + 8]
lea ecx, [edi + 0x54]
push eax
call fcn.0056816a
lea ecx, [esi + 0x90]
push 0x6749b4
call fcn.005681ba
mov eax, dword [esi]
xor ebx, ebx
push edi
mov ecx, esi
mov dword [esi + 0x94], ebx
call dword [eax + 0x18]
test eax, eax
je 0x4a9bfe
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x4a9bcb
cmp dword [eax], ebx
jne 0x4a9c10
cmp dword [esi + 0x8c], ebx
je 0x4a9c15
mov eax, dword [ebp - 4]
add eax, 0x18
mov ecx, dword [eax]
cmp dword [ecx - 8], ebx
je 0x4a9c15
push eax
lea ecx, [esi + 0x90]
call fcn.0056816a
mov eax, dword [esi]
push edi
mov ecx, esi
mov dword [esi + 0x94], ebx
call dword [eax + 0x18]
test eax, eax
jne 0x4a9c05
mov dword [edi + 0x5c], ebx
xor eax, eax
jmp 0x4a9c18
mov edi, dword [edi + 4]
cmp edi, ebx
je 0x4a9c15
cmp dword [edi], ebx
je 0x4a9c15
push 1
pop eax
jmp 0x4a9c18
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4a9cb8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp dword [edi + 0x38], 0x32
je 0x4a9d70
mov esi, dword [ebp + 8]
push dword [esi + 0x74]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a9ce7
push 0xfffffffffffffffe
pop eax
jmp 0x4a9d73
lea eax, [esi + 8]
lea ecx, [edi + 0x54]
push eax
call fcn.0056816a
lea ecx, [esi + 0x90]
push 0x6749b4
call fcn.005681ba
mov eax, dword [esi]
push 1
pop ebx
mov ecx, esi
push edi
mov dword [esi + 0x94], ebx
call dword [eax + 0x18]
test eax, eax
je 0x4a9d58
mov eax, dword [edi + 4]
xor ecx, ecx
cmp eax, ecx
je 0x4a9d25
cmp dword [eax], ecx
jne 0x4a9d6c
cmp dword [esi + 0x8c], ecx
je 0x4a9d70
mov eax, dword [ebp - 4]
add eax, 0x18
mov edx, dword [eax]
cmp dword [edx - 8], ecx
je 0x4a9d70
push eax
lea ecx, [esi + 0x90]
call fcn.0056816a
mov eax, dword [esi]
push edi
mov ecx, esi
mov dword [esi + 0x94], ebx
call dword [eax + 0x18]
test eax, eax
jne 0x4a9d60
and dword [edi + 0x5c], 0
xor eax, eax
jmp 0x4a9d73
mov edi, dword [edi + 4]
test edi, edi
je 0x4a9d70
cmp dword [edi], 0
je 0x4a9d70
mov eax, ebx
jmp 0x4a9d73
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4c9bdd
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x592d59
call fcn.00510fdc
push ecx
mov eax, dword [0x66cc08]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ebx, [esi + 4]
mov dword [ebx], eax
mov eax, dword [0x66cc08]
and dword [ebp - 4], 0
mov dword [esi + 8], eax
lea edi, [esi + 0xc]
push 0
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0050f7de
mov dword [edi], 0x59d710
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, 0x6749b4
mov ecx, ebx
push edi
mov byte [ebp - 4], 2
mov dword [esi], 0x5ab43c
call fcn.005681ba
push edi
lea ecx, [esi + 8]
call fcn.005681ba
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4d21e2
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x593e90
call fcn.00510fdc
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004b0981
and dword [ebp - 4], 0
mov edi, str.youtube.com
push edi
lea ecx, [esi + 8]
mov dword [esi], 0x5ab44c
mov dword [esi + 4], 0x70000
call fcn.005681ba
push edi
lea ecx, [esi + 0x10]
call fcn.005681ba
push str.YouTube
lea ecx, [esi + 0x14]
call fcn.005681ba
push str.https:__www.youtube.com_
lea ecx, [esi + 0x18]
call fcn.005681ba
mov ecx, dword [ebp - 0xc]
push 1
pop eax
mov dword [esi + 0x1c], 0x65
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4d21ed
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x593e90
call fcn.00510fdc
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004b0981
and dword [ebp - 4], 0
mov edi, str.youtube.com
push edi
lea ecx, [esi + 8]
mov dword [esi], 0x5ab44c
mov dword [esi + 4], 0x70000
call fcn.005681ba
push edi
lea ecx, [esi + 0x10]
call fcn.005681ba
push str.YouTube
lea ecx, [esi + 0x14]
call fcn.005681ba
push str.https:__www.youtube.com_
lea ecx, [esi + 0x18]
call fcn.005681ba
mov ecx, dword [ebp - 0xc]
push 1
pop eax
mov dword [esi + 0x1c], 0x65
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4d94de
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x594c1a
call fcn.00510fdc
push ecx
mov eax, dword [0x66cc08]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], eax
mov eax, dword [0x66cc08]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.004d958f
mov eax, dword [0x66cc08]
mov dword [esi + 0x4c], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x50], eax
mov edi, 0x6749b4
mov dword [esi + 8], ebx
push edi
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 5
mov dword [esi], 0x5ab884
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.005681ba
push edi
lea ecx, [esi + 0x1c]
call fcn.005681ba
push edi
lea ecx, [esi + 0x20]
call fcn.005681ba
push edi
lea ecx, [esi + 0x4c]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.005681ba
push edi
lea ecx, [esi + 0x50]
call fcn.005681ba
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4e0187
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5958c5
call fcn.00510fdc
sub esp, 0x100
push dword [ebp + 8]
mov dword [ebp - 0x28], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4e01af
or eax, 0xffffffff
jmp 0x4e0391
push esi
lea ecx, [ebp - 0x10c]
call fcn.00420ace
and dword [ebp - 4], 0
push 0
push 0x74
lea eax, [ebp - 0x44]
push dword [ebp + 8]
lea ecx, [ebp - 0x10c]
push eax
call fcn.00420c37
mov ecx, eax
call fcn.0042064f
test al, al
jne 0x4e01e8
or esi, 0xffffffff
jmp 0x4e037f
lea eax, [ebp - 0x18]
push str.Languages
push eax
lea ecx, [ebp - 0x10c]
call fcn.00420667
lea ecx, [ebp - 0x18]
call fcn.0042064f
test al, al
jne 0x4e01e0
mov eax, dword [0x66cc08]
push ebx
push edi
mov dword [ebp - 0x24], eax
mov edi, 0x6749b4
lea eax, [ebp + 8]
push edi
push 0x5de378
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004206ae
mov ecx, eax
call fcn.0042044b
push eax
lea ecx, [ebp - 0x24]
call fcn.005681ba
mov eax, dword [0x66cc08]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov ebx, str.Language
lea eax, [ebp - 0x10]
push ebx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00420667
lea ecx, [ebp - 0x10]
call fcn.00420642
test eax, eax
je 0x4e034b
push edi
lea eax, [ebp + 8]
push str.Code
push eax
lea ecx, [ebp - 0x10]
call fcn.004206ae
mov ecx, eax
call fcn.0042044b
push eax
lea ecx, [ebp - 0x14]
call fcn.005681ba
push edi
lea eax, [ebp - 0x38]
push str.Original
push eax
lea ecx, [ebp - 0x10]
call fcn.004206ae
mov ecx, eax
call fcn.0042044b
push eax
lea ecx, [ebp - 0x1c]
call fcn.005681ba
push edi
lea eax, [ebp - 0x34]
push str.Translated
push eax
lea ecx, [ebp - 0x10]
call fcn.004206ae
mov ecx, eax
call fcn.0042044b
push eax
lea ecx, [ebp - 0x20]
call fcn.005681ba
mov eax, dword [ebp - 0x14]
xor esi, esi
cmp dword [eax - 8], esi
je 0x4e0334
push 0xc
call fcn.00568612
pop ecx
mov dword [ebp - 0x2c], eax
cmp eax, esi
mov byte [ebp - 4], 5
je 0x4e02fd
mov ecx, eax
call fcn.004dffb6
mov esi, eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
mov byte [ebp - 4], 4
call fcn.0056816a
lea eax, [ebp - 0x1c]
lea ecx, [esi + 4]
push eax
call fcn.0056816a
lea eax, [ebp - 0x20]
lea ecx, [esi + 8]
push eax
call fcn.0056816a
mov eax, dword [ebp - 0x28]
push esi
lea ecx, [eax + 4]
mov eax, dword [eax + 0xc]
push eax
call fcn.00567520
lea eax, [ebp - 0x30]
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.004206f5
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x4e0261
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00568023
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00568023
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00568023
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00568023
pop edi
xor esi, esi
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.00420ae5
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4e0f67
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x595ab1
call fcn.00510fdc
push ecx
mov eax, dword [0x66cc08]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], eax
mov eax, dword [0x66cc08]
and dword [ebp - 4], 0
mov dword [esi + 0x10], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x14], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x18], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x30], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x34], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x38], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x3c], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x40], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x44], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x48], eax
mov byte [ebp - 4], 0xa
mov dword [esi], 0x5abcf4
call fcn.004e109d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4e0ff2
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x595b2a
call fcn.00510fdc
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x5abcf4
lea ecx, [esi + 0x48]
mov dword [ebp - 4], 9
call fcn.00568023
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 8
call fcn.00568023
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 7
call fcn.00568023
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 6
call fcn.00568023
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 5
call fcn.00568023
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 4
call fcn.00568023
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.00568023
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.00568023
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.00568023
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.00568023
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.00568023
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4e0ffd
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x595b2a
call fcn.00510fdc
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x5abcf4
lea ecx, [esi + 0x48]
mov dword [ebp - 4], 9
call fcn.00568023
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 8
call fcn.00568023
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 7
call fcn.00568023
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 6
call fcn.00568023
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 5
call fcn.00568023
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 4
call fcn.00568023
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.00568023
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.00568023
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.00568023
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.00568023
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.00568023
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret