joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456510
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, edx
push 0x54f910
push esi
mov bx, cx
call edi
mov dword [fcn.00404a00], eax
test eax, eax
jne 0x45653a
mov dword [fcn.00404a00], 0x404a00
push str.ControllerCommand
push esi
call edi
mov dword [fcn.00404a00], eax
test eax, eax
jne 0x456555
mov dword [fcn.00404a00], 0x404a00
push str.GetKeys
push esi
call edi
mov dword [fcn.00404a00], eax
test eax, eax
jne 0x456570
mov dword [fcn.00404a00], 0x404a00
push str.SetKeys
push esi
call edi
mov dword [fcn.00404a00], eax
test eax, eax
jne 0x45658b
mov dword [fcn.00404a00], 0x404a00
mov ebp, 0x101
cmp bx, bp
jne 0x4565b2
push 0x54f944
push esi
call edi
mov dword [fcn.00404a00], eax
test eax, eax
jne 0x4565c8
mov dword [fcn.00404a00], 0x404a00
jmp 0x4565c8
push 0x54f9a0
push esi
call edi
mov dword [0x22c2f2c], eax
test eax, eax
jne 0x4565c8
mov dword [0x22c2f2c], eax
push str.ReadController
push esi
call edi
mov dword [fcn.00404a00], eax
test eax, eax
jne 0x4565e3
mov dword [fcn.00404a00], 0x404a00
push 0x54f984
push esi
call edi
mov dword [fcn.00404a00], eax
test eax, eax
jne 0x4565fe
mov dword [fcn.00404a00], 0x404a00
push 0x54f97c
push esi
call edi
mov dword [fcn.00404a00], eax
test eax, eax
jne 0x456619
mov dword [fcn.00404a00], 0x404a00
push str.WM_KeyDown
push esi
call edi
mov dword [fcn.00404a00], eax
test eax, eax
jne 0x456634
mov dword [fcn.00404a00], 0x404a00
push str.WM_KeyUp
push esi
call edi
mov dword [fcn.00404a00], eax
test eax, eax
jne 0x45664f
mov dword [fcn.00404a00], 0x404a00
mov eax, dword [0x673560]
mov ecx, dword [0x67355c]
mov dword [0x22c2d9c], eax
mov eax, dword [0x27c3c80]
mov dword [0x22c2da4], eax
mov eax, 0x22c3080
mov dword [0x22c2d98], ecx
mov dword [0x22c2da0], 1
mov dword [0x22c2da8], 0x22c3080
nop dword [eax + eax]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 1
add eax, 0xc
cmp eax, 0x22c30b0
jne 0x456690
cmp bx, bp
jne 0x4566d9
vmovdqu xmm0, xmmword [0x22c2d98]
sub esp, 0x14
mov eax, esp
vmovdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 0x22c3080
call dword [0x56ce00]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x22c3080
push ecx
call dword [0x22c2f2c]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x466790
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dcad
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x56a040]
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 bh, cl
vxorpd xmm0, xmm0, xmm0
vmovlpd qword [ebp - 0x18], xmm0
push 0x56cfec
mov dword [ebp - 0x18], 0x56cfec
call fcn.004d9f61
add esp, 4
test eax, eax
jne 0x4667f4
cmp dword [0x56d018], 0x7fffffff
jne 0x466818
mov dword [0x56d018], 0x7ffffffe
xor bl, bl
mov byte [ebp - 0x14], bl
mov dword [ebp - 4], 0
test bl, bl
jne 0x46681c
push str._Core__vr_close_rom_busy__n
call fcn.00403a40
add esp, 4
mov esi, 1
jmp 0x46682a
mov bl, 1
jmp 0x4667f6
cmp byte [0x61d255], 0
jne 0x466837
mov esi, 5
test bl, bl
jne 0x466959
jmp 0x466966
call fcn.004614b0
mov al, 1
mov edi, 0x61d24f
xchg byte [edi], al
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [0x22c3180]
call esi
xor al, al
xchg byte [edi], al
test bh, bh
je 0x466862
call fcn.0047b1b0
sub esp, 0x28
mov ecx, 1
mov eax, esp
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax], 0
mov dword [eax + 0x24], 0x56d350
call fcn.004a6740
push str._Core__Stopping_emulation_thread..._n
call fcn.00403a40
add esp, 0x2c
mov dword [0x22c318c], 1
push 0x7d0
push dword [0x22c3184]
call esi
cmp eax, 0x102
jne 0x4668fc
push str._Core__Emulation_thread_timed_out____n
call fcn.00403a40
add esp, 4
push 0
push dword [0x22c3184]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x27c3270]
call fcn.004e91be
push dword [0x22c3224]
call fcn.004e91be
push dword [0x27c3260]
call fcn.004e91be
push dword [0x27c326c]
call fcn.004e91be
push dword [0x27c3270]
call fcn.004dfdfb
push dword [0x22c3224]
call fcn.004dfdfb
push dword [0x27c3260]
call fcn.004dfdfb
push dword [0x27c326c]
call fcn.004dfdfb
add esp, 0x20
xor esi, esi
push 0x56cfec
call fcn.004d9f82
add esp, 4
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.004d7bf5
mov esp, ebp
pop ebp
ret
Function at 0x4754e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
cmp dword [eax + 0x14], 7
push edi
mov edi, eax
jbe 0x4754f2
mov edi, dword [eax]
mov eax, dword [eax + 0x10]
mov ecx, edi
lea ebx, [edi + eax*2]
mov edx, ebx
call fcn.00408420
mov esi, eax
mov edx, 0
mov ebp, esi
mov eax, 0x811c9dc5
sub ebp, edi
je 0x475524
movzx ecx, byte [edi + edx]
inc edx
xor ecx, eax
imul eax, ecx, 0x1000193
cmp edx, ebp
jb 0x475513
xor dl, dl
cmp esi, ebx
je 0x475573
nop word [eax + eax]
movzx edi, word [esi]
mov ecx, edi
cmp ecx, 0x5c
je 0x47555d
cmp ecx, 0x2f
je 0x47555d
mov edx, edi
movzx ecx, dl
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 8
xor ecx, eax
imul eax, ecx, 0x1000193
xor dl, dl
jmp 0x47556c
test dl, dl
jne 0x47556c
xor eax, 0x5c
mov dl, 1
imul eax, eax, 0x26027a69
add esi, 2
cmp esi, ebx
jne 0x475530
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x48f210
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
push 0x48ea10
push dword [0x67355c]
push 0xb6
push dword [0x673560]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, eax
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
pop esi
ret

Function at 0x48f240
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
push edi
push str.Creating_lua_window..._n
mov esi, ecx
call fcn.00403a40
add esp, 4
push 0
push 0x48ea10
push dword [0x67355c]
push 0xb6
push dword [0x673560]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edi, eax
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push str.Setting_path..._n
call fcn.00403a40
add esp, 4
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x252a
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push str.Simulating_run_button_click..._n
call fcn.00403a40
add esp, 4
push 0x252c
push edi
call esi
push eax
push 0x252c
push 0x111
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ecx
ret
Function at 0x4a0c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51092d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x56a040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00494690
mov edx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
mov edi, dword [ebp + 8]
lea ebx, [ebp + 8]
cmp edx, 0xf
lea esi, [ebp + 8]
cmova eax, edi
cmova ebx, edi
add eax, dword [ebp + 0x18]
cmp edx, 0xf
cmova esi, edi
cmp esi, eax
je 0x4a0cfd
sub ebx, esi
mov edi, eax
movsx eax, byte [esi]
push eax
call fcn.004e3aba
mov byte [ebx + esi], al
add esp, 4
inc esi
cmp esi, edi
jne 0x4a0ce3
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
lea esi, [ebp + 8]
cmp edx, 0xf
mov ecx, 0x811c9dc5
cmova esi, edi
xor edx, edx
test ebx, ebx
je 0x4a0d25
movzx eax, byte [edx + esi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, ebx
jb 0x4a0d14
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004a3e40
mov ecx, dword [ebp + 0x1c]
cmp dword [eax + 4], 0
setne bl
cmp ecx, 0xf
jbe 0x4a0d6a
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x4a0d60
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a0d80
push ecx
push edi
call fcn.004d7c38
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.004e35d4
int3
Function at 0x4a0fb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5109ad
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x56a040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00494690
mov edx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
mov edi, dword [ebp + 8]
lea ebx, [ebp + 8]
cmp edx, 0xf
lea esi, [ebp + 8]
cmova eax, edi
cmova ebx, edi
add eax, dword [ebp + 0x18]
cmp edx, 0xf
cmova esi, edi
cmp esi, eax
je 0x4a102d
sub ebx, esi
mov edi, eax
movsx eax, byte [esi]
push eax
call fcn.004e3aba
mov byte [ebx + esi], al
add esp, 4
inc esi
cmp esi, edi
jne 0x4a1013
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
lea esi, [ebp + 8]
cmp edx, 0xf
mov edx, 0x811c9dc5
cmova esi, edi
xor ecx, ecx
test ebx, ebx
je 0x4a1055
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4a1044
mov esi, dword [ebp - 0x10]
lea eax, [ebp + 8]
push edx
push eax
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004a3e40
mov eax, dword [eax + 4]
test eax, eax
je 0x4a107f
cmp eax, dword [esi + 4]
je 0x4a107f
mov ebx, dword [eax + 0x20]
add esi, 0x20
jmp 0x4a1133
mov eax, dword [esi + 0x24]
add esi, 0x20
mov ecx, dword [ebp - 0x10]
sub eax, dword [esi]
sar eax, 2
imul ebx, eax, 0xf0f0f0f1
lea eax, [ebp + 8]
push eax
call fcn.004a2e40
push 0x2c
push 0
mov dword [eax], ebx
lea eax, [ebp - 0x44]
push eax
call fcn.004dbbb0
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.004a24a0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
je 0x4a10fb
lea eax, [ebp + 8]
mov dword [ebp - 0x14], edi
push eax
mov ecx, edi
call fcn.00407fb0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x18]
call fcn.004a4cb0
add dword [esi + 4], 0x44
jmp 0x4a110b
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
push edi
call fcn.004a4120
lea ecx, [ebp - 0x24]
call fcn.00422aa0
lea ecx, [ebp - 0x38]
call fcn.0044afe0
mov edx, dword [ebp - 0x40]
call fcn.004a3ba0
push 0x24
push dword [ebp - 0x40]
call fcn.004d7c38
mov edi, dword [ebp + 8]
add esp, 8
mov eax, dword [esi]
mov ecx, ebx
shl ecx, 4
add ecx, ebx
lea esi, [eax + ecx*4]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x4a116c
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x4a1162
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1183
push ecx
push edi
call fcn.004d7c38
add esp, 8
lea eax, [esi + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.004e35d4
int3
Function at 0x4a1790
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x4a17c2
jl 0x4a17b5
test ecx, ecx
jne 0x4a17c2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x4a189f
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4a17f2
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x4a17f4
xor eax, eax
cdq
mov dword [esp + 0x1c], edx
mov esi, eax
test edx, edx
jl 0x4a1848
jg 0x4a1805
test esi, esi
je 0x4a1848
mov eax, dword [esp + 0x10]
cmp eax, edx
jg 0x4a1819
jl 0x4a1813
cmp ecx, esi
jae 0x4a1819
mov esi, ecx
mov dword [esp + 0x1c], eax
push esi
push dword [esp + 0x1c]
push edi
call fcn.004db630
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
sub ecx, esi
mov eax, dword [eax]
sbb edx, dword [esp + 0x1c]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x14]
jmp 0x4a186c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x4a1888
mov ecx, dword [esp + 0xc]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
lea eax, [ebx + 0x2c]
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
test edx, edx
jg 0x4a17d7
jl 0x4a1888
test ecx, ecx
jne 0x4a17d7
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x4a18dd
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x4a18dd
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.004db630
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x4a1947
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x4a1903
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x4a1932
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.004e3264
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x4a1947
cmp edi, eax
ja 0x4a1910
test edi, edi
je 0x4a1947
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.004e3264
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a2e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510c75
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x56a040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov edx, ebx
cmp dword [ebx + 0x14], 0xf
jbe 0x4a2e77
mov edx, dword [ebx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x4a2e95
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x4a2e83
push esi
push ebx
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004a3e40
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4a2f67
cmp dword [edi + 8], 0x71c71c7
je 0x4a2f7e
lea eax, [edi + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x1c], 0
call fcn.004d7c03
add esp, 4
mov dword [ebp - 0x1c], eax
add eax, 8
mov ecx, eax
mov dword [ebp - 0x18], eax
push ebx
call fcn.00407fb0
mov ebx, dword [ebp - 0x18]
mov dword [ebx + 0x18], 0
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
inc eax
vxorps xmm0, xmm0, xmm0
vcvtsi2sd xmm0, xmm0, eax
shr eax, 0x1f
vaddsd xmm0, xmm0, qword [eax*8 + 0x55dd60]
mov eax, dword [edi + 0x1c]
vcvtsd2ss xmm1, xmm0, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2sd xmm0, xmm0, eax
shr eax, 0x1f
vaddsd xmm0, xmm0, qword [eax*8 + 0x55dd60]
vcvtsd2ss xmm0, xmm0, xmm0
vdivss xmm0, xmm1, xmm0
vcomiss xmm0, dword [edi]
seta al
test al, al
je 0x4a2f58
mov ecx, edi
call fcn.004a3d30
push esi
push ebx
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004a3e40
mov ecx, dword [eax]
jmp 0x4a2f5b
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x1c]
push ecx
push esi
mov ecx, edi
call fcn.004a3d90
add eax, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.unordered_map_set_too_long
call fcn.004d9574
int3
Function at 0x4a2f90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x28]
push edi
mov edi, ecx
cmp ebx, ebp
je 0x4a3146
cmp dword [ebx + 0x1c], 0xf
lea edx, [ebx + 8]
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x10]
jbe 0x4a2fcb
mov edx, dword [edx]
xor ecx, ecx
push esi
mov esi, 0x811c9dc5
test eax, eax
je 0x4a2ff5
mov ebp, eax
nop dword [eax]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebp
jb 0x4a2fe0
mov ebp, dword [esp + 0x30]
mov eax, dword [edi + 0x18]
mov edx, ebx
mov ecx, dword [esp + 0x1c]
and eax, esi
mov esi, dword [ebx]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
call fcn.004a3c10
dec dword [edi + 8]
cmp ebx, dword [esp + 0x14]
je 0x4a3042
mov dword [esp + 0x24], esi
cmp esi, ebp
je 0x4a3054
mov edx, esi
mov esi, dword [esi]
call fcn.004a3c10
dec dword [edi + 8]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x24], eax
jne 0x4a3024
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x18], ebx
jne 0x4a3079
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
jmp 0x4a307d
cmp dword [esp + 0x18], ebx
jne 0x4a313c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebp
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x18
ret 8
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
cmp esi, ebp
je 0x4a313c
nop dword [eax + eax]
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], eax
jbe 0x4a30a6
mov edx, dword [edx]
xor ecx, ecx
mov ebx, 0x811c9dc5
test eax, eax
je 0x4a30ca
mov ebp, dword [esp + 0x24]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, ebp
jb 0x4a30b5
mov ebp, dword [esp + 0x30]
mov eax, dword [edi + 0x18]
mov edx, esi
mov ecx, dword [esp + 0x1c]
and eax, ebx
mov ebx, dword [ecx + eax*8 + 4]
mov esi, dword [esi]
mov dword [esp + 0x24], ebx
lea eax, [ecx + eax*8]
mov dword [esp + 0x18], eax
call fcn.004a3c10
dec dword [edi + 8]
cmp dword [esp + 0x14], ebx
je 0x4a310c
mov ebx, esi
cmp esi, ebp
je 0x4a3136
mov edx, esi
mov esi, dword [esi]
call fcn.004a3c10
dec dword [edi + 8]
cmp ebx, dword [esp + 0x24]
jne 0x4a30f4
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov dword [eax], ebx
mov dword [eax + 4], ebx
cmp esi, ebp
jne 0x4a3090
mov eax, dword [esp + 0x2c]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebp
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x18
ret 8
mov eax, dword [esp + 0x18]
mov dword [eax], esi
mov eax, dword [esp + 0x2c]
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x4a44e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510dd5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x56a040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp esi, edi
je 0x4a465c
nop dword [eax]
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], edx
jbe 0x4a4534
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov ebx, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x4a4558
mov edi, dword [ebp - 0x10]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x4a4543
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push ebx
push edx
push eax
call fcn.004a3e40
cmp dword [ebp - 0x18], 0
jne 0x4a464f
mov edi, dword [ebp - 0x14]
cmp dword [edi + 8], 0x71c71c7
je 0x4a4670
lea eax, [edi + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x28], 0
call fcn.004d7c03
mov esi, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
add eax, 8
mov ecx, eax
mov dword [ebp - 0x10], eax
push esi
call fcn.00407fb0
mov eax, dword [esi + 0x18]
mov esi, dword [ebp - 0x10]
mov dword [esi + 0x18], eax
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
inc eax
vxorps xmm0, xmm0, xmm0
vcvtsi2sd xmm0, xmm0, eax
shr eax, 0x1f
vaddsd xmm0, xmm0, qword [eax*8 + 0x55dd60]
mov eax, dword [edi + 0x1c]
vcvtsd2ss xmm1, xmm0, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2sd xmm0, xmm0, eax
shr eax, 0x1f
vaddsd xmm0, xmm0, qword [eax*8 + 0x55dd60]
vcvtsd2ss xmm0, xmm0, xmm0
vdivss xmm0, xmm1, xmm0
vcomiss xmm0, dword [edi]
seta al
test al, al
je 0x4a462c
mov ecx, edi
call fcn.004a3d30
push ebx
push esi
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.004a3e40
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
jmp 0x4a462f
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push ecx
push ebx
mov ecx, edi
call fcn.004a3d90
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov dword [ebp + 8], esi
cmp esi, edi
jne 0x4a4520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.004d9574
int3
Function at 0x4a4840
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510e15
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
mov eax, dword [0x56a040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], edx
mov esi, ecx
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
vpxor xmm0, xmm0, xmm0
vmovq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp esi, edx
je 0x4a490e
nop dword [eax]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
vmovdqu xmm0, xmmword [esi]
vmovdqu xmmword [edi], xmm0
vmovq xmm0, qword [esi + 0x10]
mov dword [ebp - 0x28], edi
vmovq qword [edi + 0x10], xmm0
mov byte [ebp - 4], 1
lea eax, [esi + 0x18]
mov dword [esi + 0x10], 0
lea ecx, [edi + 0x18]
mov dword [esi + 0x14], 0xf
push eax
mov byte [esi], 0
call fcn.004a4cb0
add edi, 0x44
mov byte [ebp - 4], 0
add esi, 0x44
mov dword [ebp - 0x1c], edi
cmp esi, dword [ebp - 0x24]
jne 0x4a48b0
push ecx
mov edx, edi
mov ecx, edi
call fcn.004a3900
add esp, 4
mov eax, edi
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.004d7bf5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret