joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4633e6
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x66b504
mov dword [edi], esi
call fcn.0056010c
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
push 1
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4634c7
cmp dword [ebp + 8], esi
je 0x4634c7
push ebx
push 4
pop eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push str.ProxyEnable
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x463466
cmp dword [ebp - 0xc], esi
setne al
mov dword [edi], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80a]
mov word [ebp - 0x80c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 4]
push eax
push esi
push str.ProxyServer
mov dword [ebp - 8], 0x400
push dword [ebp + 8]
call ebx
test eax, eax
pop ebx
jne 0x4634ba
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x80c]
push eax
call fcn.0056010c
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4634ca
or eax, 0xffffffff
pop edi
pop esi
leave
ret 8
Function at 0x4650be
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x582378
call fcn.00508ecc
push ecx
mov eax, dword [0x663758]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push str._sNIO_curl.exe
push eax
call fcn.0055d1d9
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x465109
lea eax, [ebp - 0x10]
lea ecx, [esi + 8]
push eax
call fcn.005600bc
cmp dword [esi + 4], 0
push 2
pop ebx
jne 0x465121
push dword [esi + 8]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 4], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sNIO_wget.exe
push eax
call fcn.0055d1d9
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x46514a
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x10]
push eax
call fcn.005600bc
cmp dword [esi + 0xc], 0
jne 0x46515f
push dword [esi + 0x10]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0xc], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sNIO_msdl.exe
push eax
call fcn.0055d1d9
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x465188
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x18]
push eax
call fcn.005600bc
cmp dword [esi + 0x14], 0
jne 0x46519d
push dword [esi + 0x18]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0x14], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sNIO_rtmp.exe
push eax
call fcn.0055d1d9
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x4651c6
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x20]
push eax
call fcn.005600bc
cmp dword [esi + 0x1c], 0
jne 0x4651db
push dword [esi + 0x20]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0x1c], eax
push str.ca_bundle.crt
mov ebx, 0x5d323c
push dword [ebp + 8]
add esi, 0x24
push ebx
push esi
call fcn.0055d1d9
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x46520f
push str.ca_bundle.trust.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.0055d1d9
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x465229
push 0x5ee384
push dword [ebp + 8]
push ebx
push esi
call fcn.0055d1d9
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x465243
push str.ca_bundle.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.0055d1d9
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0055ff75
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4668ec
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0xa8]
test edi, edi
mov dword [ebp - 4], edi
je 0x4669d0
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x466916
push eax
jmp 0x466961
push 1
pop ebx
cmp edi, ebx
jle 0x46692e
cmp dword [esi + 0x38], ebx
jne 0x46692e
push ebx
lea ecx, [esi + 0xa0]
call fcn.004668aa
test edi, edi
jle 0x46693c
cmp dword [esi + 0x3c], 0
jle 0x4669c3
push dword [esi + 0xc]
call fcn.00411645
pop ecx
xor ecx, ecx
cmp edx, ecx
jg 0x466951
jl 0x466960
cmp eax, ecx
jbe 0x466960
test byte [esi + 0x68], bl
je 0x466972
cmp eax, dword [esi + 0x40]
jne 0x466960
cmp edx, dword [esi + 0x44]
je 0x466984
push ecx
lea ecx, [esi + 0xa0]
call fcn.004668aa
and dword [esi + 0x68], 0xfffffffe
jmp 0x4669d0
cmp edi, ebx
jne 0x466984
mov ebx, dword [esi + 0xa4]
mov ebx, dword [ebx]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], edx
xor ebx, ebx
xor edx, edx
test edi, edi
jle 0x4669c3
mov eax, dword [esi + 0xa4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4669ba
xor edi, edi
cmp dword [eax + 0x44], edi
jg 0x4669ad
jl 0x4669a7
cmp dword [eax + 0x40], edi
jae 0x4669ad
mov dword [eax + 0x40], edi
mov dword [eax + 0x44], edi
mov edi, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
add ecx, edi
mov edi, dword [ebp - 4]
adc ebx, eax
inc edx
cmp edx, edi
jl 0x46698c
or ecx, ebx
jne 0x4669d0
push 0
lea ecx, [esi + 0xa0]
call fcn.004668aa
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x4674a3
Capabilities:
Resume thread

Disassembly:
mov eax, 0x5826d5
call fcn.00508ecc
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0x128
call fcn.00560564
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x4674e1
push dword [edi + 0x34]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push esi
push edi
call fcn.00465d29
jmp 0x4674e3
xor eax, eax
or dword [ebp - 4], 0xffffffff
push ebx
push ebx
push 4
mov ecx, eax
mov dword [esi + 0x68], eax
call fcn.0056428a
test eax, eax
jne 0x467517
mov ecx, dword [esi + 0x68]
cmp ecx, ebx
je 0x467507
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x68], ebx
mov eax, dword [edi]
push 0xfffffffffffffffe
mov ecx, edi
call dword [eax + 0x14]
push 0xfffffffffffffffe
jmp 0x46755d
mov eax, dword [esi + 0x68]
push ebx
mov eax, dword [eax + 0x28]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x68]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp + 0x14], ebx
je 0x467560
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x467544
cmp dword [eax], ebx
jne 0x46755b
push 0x64
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x467564
cmp dword [esi + 0x20], 0x14
jge 0x467560
jmp 0x467539
push 1
pop eax
jmp 0x46758a
xor eax, eax
jmp 0x46758a
mov ecx, dword [esi + 0x68]
push 0x14
call fcn.00466589
mov ecx, dword [esi + 0x68]
call fcn.00468b77
mov ecx, dword [esi + 0x68]
cmp ecx, ebx
je 0x467584
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x68], ebx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x4677ad
Capabilities:
Resume thread

Disassembly:
mov eax, 0x5826e9
call fcn.00508ecc
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x100], ebx
je 0x4677cc
push 1
pop eax
jmp 0x467834
push 0x6c
mov dword [edi + 0x104], ebx
call fcn.00560564
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x4677f0
push edi
call fcn.00468b15
mov esi, eax
jmp 0x4677f2
xor esi, esi
or eax, 0xffffffff
cmp esi, ebx
mov dword [ebp - 4], eax
je 0x467834
push ebx
push ebx
push 4
mov ecx, esi
call fcn.0056428a
test eax, eax
jne 0x467819
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x467834
push ebx
mov dword [edi + 0x100], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x48795f
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x5849a6
call fcn.00508ecc
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00487a0c
mov eax, dword [0x663758]
lea ecx, [esi + 0x14]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x663758]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x59bb1c
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [0x663758]
mov dword [esi + 0x3c], eax
mov eax, dword [0x663758]
mov dword [esi + 0x40], eax
mov eax, dword [0x663758]
mov dword [esi + 0x44], eax
mov edi, 0x66b504
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x59bb10
call fcn.0056010c
push edi
lea ecx, [esi + 0x18]
call fcn.0056010c
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.0056010c
push edi
lea ecx, [esi + 0x40]
call fcn.0056010c
push edi
lea ecx, [esi + 0x44]
call fcn.0056010c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x48ee56
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x584fe3
call fcn.00508ecc
sub esp, 0xe4
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x48efb4
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48efb4
lea ecx, [ebp - 0xf0]
call fcn.00420d4a
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.00420eb3
mov ecx, eax
call fcn.004208d9
test al, al
jne 0x48eebb
or esi, 0xffffffff
jmp 0x48ef86
lea eax, [ebp - 0x10]
push str.MediaFormats
push eax
lea ecx, [ebp - 0xf0]
call fcn.004208f1
lea ecx, [ebp - 0x10]
call fcn.004208d9
test al, al
jne 0x48eeb3
push 0x66b504
lea eax, [ebp - 0x1c]
push 0x5d43fc
push eax
lea ecx, [ebp - 0x10]
call fcn.00420938
mov ecx, eax
call fcn.004206d5
push eax
lea ecx, [ebp - 0x14]
call fcn.0055ffe9
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [esi + 4]
push dword [ebp - 0x14]
call fcn.00508f85
pop ecx
test eax, eax
pop ecx
je 0x48ef1e
push 1
pop esi
jmp 0x48ef7a
lea eax, [ebp - 0x18]
push str.Categories
push eax
lea ecx, [ebp - 0x10]
call fcn.004208f1
lea ecx, [ebp - 0x18]
call fcn.004208d9
test al, al
je 0x48ef40
or esi, 0xffffffff
jmp 0x48ef7a
cmp dword [esi + 0x10], ebx
jle 0x48ef78
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.004208f1
lea ecx, [ebp + 8]
call fcn.004208d9
test al, al
jne 0x48ef99
lea eax, [ebp + 8]
push eax
push edi
call fcn.0048efc8
inc ebx
pop ecx
cmp ebx, dword [esi + 0x10]
pop ecx
jl 0x48ef45
xor esi, esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0055ff75
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00420d61
mov eax, esi
jmp 0x48efb7
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0055ff75
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00420d61
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x49281b
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x58557c
call fcn.00508ecc
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x11c]
push edi
call fcn.00416d28
pop ecx
push edi
lea ecx, [esi + 0x88]
call fcn.005600bc
mov eax, dword [0x663758]
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str._sMX_ytdlp_64.exe
push eax
call fcn.0055d1d9
add esp, 0xc
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str._sMX_ytdlp_32.exe
push eax
call fcn.0055d1d9
add esp, 0xc
mov ecx, 0x66b30c
call fcn.00412172
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 0x40
jne 0x4928c3
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x4928b5
lea ebx, [esi + 0x78]
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.005600bc
mov dword [esi + 0x7c], 0x40
jmp 0x4928d8
push dword [ebp - 0x10]
call edi
test eax, eax
lea ebx, [esi + 0x78]
jne 0x4928c6
jmp 0x4928a1
lea ebx, [esi + 0x78]
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.005600bc
mov dword [esi + 0x7c], 0x20
push dword [ebx]
call edi
neg eax
sbb eax, eax
and byte [ebp - 4], 0
and eax, 2
lea ecx, [ebp - 0x10]
dec eax
mov dword [0x66b544], eax
call fcn.0055ff75
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0055ff75
lea eax, [esi + 0x11c]
lea ecx, [esi + 0x114]
push eax
call fcn.005600bc
push dword [ebp + 8]
add esi, 0x104
push str._sMX_ytdlpa_64.exe
push esi
call fcn.0055d1d9
add esp, 0xc
push dword [esi]
call edi
mov ecx, dword [ebp - 0xc]
pop edi
neg eax
sbb eax, eax
pop esi
and eax, 2
pop ebx
dec eax
mov dword fs:[0], ecx
mov dword [0x66b540], eax
xor eax, eax
leave
ret 8
Function at 0x4b80b5
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x58a0e4
call fcn.00508ecc
push ecx
push esi
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
call fcn.004963ab
and dword [ebp - 4], 0
push str.Internal:_youtube.com
lea ecx, [esi + 8]
mov dword [esi], 0x59e1cc
mov dword [esi + 4], 0x70100
call fcn.0056010c
push str.youtube.com
lea ecx, [esi + 0x10]
call fcn.0056010c
push str.YouTube
lea ecx, [esi + 0x14]
call fcn.0056010c
push str.https:__www.youtube.com_
lea ecx, [esi + 0x18]
call fcn.0056010c
mov ecx, dword [ebp - 0xc]
push 1
pop eax
mov dword [esi + 0x1c], 0xa
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4c0c8b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x58b10e
call fcn.00508ecc
push ecx
mov eax, dword [0x663758]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], eax
mov eax, dword [0x663758]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], eax
mov eax, dword [0x663758]
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.004c0d3c
mov eax, dword [0x663758]
mov dword [esi + 0x4c], eax
mov eax, dword [0x663758]
mov dword [esi + 0x50], eax
mov edi, 0x66b504
mov dword [esi + 8], ebx
push edi
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 5
mov dword [esi], 0x59ea90
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0056010c
push edi
lea ecx, [esi + 0x1c]
call fcn.0056010c
push edi
lea ecx, [esi + 0x20]
call fcn.0056010c
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.0056010c
push edi
lea ecx, [esi + 0x50]
call fcn.0056010c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4c19a3
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x58b289
call fcn.00508ecc
sub esp, 0x100
push dword [ebp + 8]
mov dword [ebp - 0x28], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c19cb
or eax, 0xffffffff
jmp 0x4c1bad
push esi
lea ecx, [ebp - 0x10c]
call fcn.00420d4a
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.00420eb3
mov ecx, eax
call fcn.004208d9
test al, al
jne 0x4c1a04
or esi, 0xffffffff
jmp 0x4c1b9b
lea eax, [ebp - 0x18]
push str.Languages
push eax
lea ecx, [ebp - 0x10c]
call fcn.004208f1
lea ecx, [ebp - 0x18]
call fcn.004208d9
test al, al
jne 0x4c19fc
mov eax, dword [0x663758]
push ebx
push edi
mov dword [ebp - 0x24], eax
mov edi, 0x66b504
lea eax, [ebp + 8]
push edi
push 0x5d43fc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00420938
mov ecx, eax
call fcn.004206d5
push eax
lea ecx, [ebp - 0x24]
call fcn.0056010c
mov eax, dword [0x663758]
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.004208f1
lea ecx, [ebp - 0x10]
call fcn.004208cc
test eax, eax
je 0x4c1b67
push edi
lea eax, [ebp + 8]
push str.Code
push eax
lea ecx, [ebp - 0x10]
call fcn.00420938
mov ecx, eax
call fcn.004206d5
push eax
lea ecx, [ebp - 0x14]
call fcn.0056010c
push edi
lea eax, [ebp - 0x38]
push str.Original
push eax
lea ecx, [ebp - 0x10]
call fcn.00420938
mov ecx, eax
call fcn.004206d5
push eax
lea ecx, [ebp - 0x1c]
call fcn.0056010c
push edi
lea eax, [ebp - 0x34]
push str.Translated
push eax
lea ecx, [ebp - 0x10]
call fcn.00420938
mov ecx, eax
call fcn.004206d5
push eax
lea ecx, [ebp - 0x20]
call fcn.0056010c
mov eax, dword [ebp - 0x14]
xor esi, esi
cmp dword [eax - 8], esi
je 0x4c1b50
push 0xc
call fcn.00560564
pop ecx
mov dword [ebp - 0x2c], eax
cmp eax, esi
mov byte [ebp - 4], 5
je 0x4c1b19
mov ecx, eax
call fcn.004c17d2
mov esi, eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
mov byte [ebp - 4], 4
call fcn.005600bc
lea eax, [ebp - 0x1c]
lea ecx, [esi + 4]
push eax
call fcn.005600bc
lea eax, [ebp - 0x20]
lea ecx, [esi + 8]
push eax
call fcn.005600bc
mov eax, dword [ebp - 0x28]
push esi
lea ecx, [eax + 4]
mov eax, dword [eax + 0xc]
push eax
call fcn.0055f50c
lea eax, [ebp - 0x30]
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.0042097f
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x4c1a7d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0055ff75
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0055ff75
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0055ff75
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0055ff75
pop edi
xor esi, esi
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.00420d61
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4c1e1d
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x58b365
call fcn.00508ecc
push ecx
mov eax, dword [0x663758]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], eax
mov eax, dword [0x663758]
and dword [ebp - 4], 0
mov dword [esi + 0x10], eax
mov eax, dword [0x663758]
mov dword [esi + 0x14], eax
mov eax, dword [0x663758]
mov dword [esi + 0x18], eax
mov eax, dword [0x663758]
mov dword [esi + 0x30], eax
mov eax, dword [0x663758]
mov dword [esi + 0x34], eax
mov eax, dword [0x663758]
mov dword [esi + 0x38], eax
mov eax, dword [0x663758]
mov dword [esi + 0x3c], eax
mov eax, dword [0x663758]
mov dword [esi + 0x40], eax
mov eax, dword [0x663758]
mov dword [esi + 0x44], eax
mov eax, dword [0x663758]
mov dword [esi + 0x48], eax
mov byte [ebp - 4], 0xa
mov dword [esi], 0x59eb4c
call fcn.004c1f53
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

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

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

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

Disassembly:
mov eax, 0x58b3de
call fcn.00508ecc
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x59eb4c
lea ecx, [esi + 0x48]
mov dword [ebp - 4], 9
call fcn.0055ff75
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 8
call fcn.0055ff75
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 7
call fcn.0055ff75
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 6
call fcn.0055ff75
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 5
call fcn.0055ff75
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 4
call fcn.0055ff75
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.0055ff75
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.0055ff75
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.0055ff75
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.0055ff75
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.0055ff75
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4c229c
Capabilities:
Resume thread

Disassembly:
mov eax, 0x58b479
call fcn.00508ecc
push ecx
push ebx
push esi
push edi
mov edi, ecx
test byte [edi + 0x50], 1
je 0x4c22b6
push 1
jmp 0x4c22ce
lea ecx, [edi + 0x60]
call fcn.004e4180
test al, al
jne 0x4c22b2
xor ebx, ebx
cmp dword [edi + 0x228], ebx
je 0x4c22d1
push 2
pop eax
jmp 0x4c2341
mov eax, dword [edi + 0x40]
cmp dword [eax - 8], ebx
je 0x4c2321
push 0x78
call fcn.00560564
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x4c22fd
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004c56c0
mov esi, eax
jmp 0x4c22ff
xor esi, esi
or eax, 0xffffffff
cmp esi, ebx
mov dword [ebp - 4], eax
je 0x4c2341
push ebx
push ebx
push 4
mov ecx, esi
call fcn.0056428a
test eax, eax
jne 0x4c2326
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x4c2341
push ebx
mov dword [edi + 0x228], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4c2709
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x58b56c
call fcn.00508ecc
push ecx
push ecx
mov eax, dword [0x663758]
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
mov ebx, str.JSX_V8.dll
and dword [ebp - 4], 0
push ebx
mov esi, 0x5d323c
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0055d1d9
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4c2766
push str.JSX_SM.dll
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.0055d1d9
add esp, 0x10
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4c27b8
lea eax, [ebp + 8]
push eax
call fcn.00419d9a
pop ecx
push ebx
lea eax, [ebp - 0x10]
push dword [ebp + 8]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.0055d1d9
add esp, 0x10
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4c27ac
push str.JSX_SM.dll
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.0055d1d9
add esp, 0x10
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0055ff75
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x10]
lea ecx, [eax + 0x24]
call fcn.00419012
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0055ff75
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4