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

Disassembly:
push 0xffffffffffffffff
push 0x480138
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x49b1b0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor esi, esi
push 0xffffffffffffffff
push esi
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
call fcn.00401c40
lea eax, [esp + 8]
push 0x24
push eax
mov dword [esp + 0x38], esi
call fcn.004168e0
mov eax, dword [esp + 0x14]
mov esi, 8
add esp, 8
cmp dword [esp + 0x20], esi
jae 0x41d729
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41d74c
cmp dword [esp + 0x20], esi
jb 0x41d748
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00469d48
add esp, 4
mov al, 1
jmp 0x41d761
cmp dword [esp + 0x20], esi
jb 0x41d75f
mov edx, dword [esp + 0xc]
push edx
call fcn.00469d48
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00469ab5
add esp, 0x2c
ret

Function at 0x41d780
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x480138
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x49b1b0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor esi, esi
push 0xffffffffffffffff
push esi
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
call fcn.00401c40
lea eax, [esp + 8]
push 0x24
push eax
mov dword [esp + 0x38], esi
call fcn.004168e0
mov eax, dword [esp + 0x14]
mov esi, 8
add esp, 8
cmp dword [esp + 0x20], esi
jae 0x41d7f9
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41d820
test al, 0x10
jne 0x41d820
cmp dword [esp + 0x20], esi
jb 0x41d81c
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00469d48
add esp, 4
mov al, 1
jmp 0x41d835
cmp dword [esp + 0x20], esi
jb 0x41d833
mov edx, dword [esp + 0xc]
push edx
call fcn.00469d48
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00469ab5
add esp, 0x2c
ret
Function at 0x41d860
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x480138
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x49b1b0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor esi, esi
push 0xffffffffffffffff
push esi
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
call fcn.00401c40
lea eax, [esp + 8]
push 0x24
push eax
mov dword [esp + 0x38], esi
call fcn.004168e0
mov eax, dword [esp + 0x14]
mov esi, 8
add esp, 8
cmp dword [esp + 0x20], esi
jae 0x41d8d9
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41d900
test al, 0x10
je 0x41d900
cmp dword [esp + 0x20], esi
jb 0x41d8fc
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00469d48
add esp, 4
mov al, 1
jmp 0x41d915
cmp dword [esp + 0x20], esi
jb 0x41d913
mov edx, dword [esp + 0xc]
push edx
call fcn.00469d48
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00469ab5
add esp, 0x2c
ret

Function at 0x41da20
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
cmp dword [edi + 0x18], 8
push esi
lea esi, [edi + 4]
jb 0x41da2e
mov eax, dword [esi]
jmp 0x41da30
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
cmp dword [edi + 0x18], 8
jb 0x41da44
mov ecx, dword [esi]
jmp 0x41da46
mov ecx, esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x18], 8
jb 0x41da56
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
pop esi
ret
Function at 0x41df80
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x480c28
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x49b1b0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x48]
mov eax, dword [ebx + 0x14]
xor edi, edi
test eax, eax
mov dword [esp + 0x14], eax
jbe 0x41e0a9
lea ebp, [ebx + 4]
lea ebx, [ebx]
cmp edi, dword [ebx + 0x14]
jbe 0x41dfda
call fcn.00469efa
mov esi, 8
cmp dword [ebx + 0x18], esi
jb 0x41dfe9
mov eax, dword [ebp]
jmp 0x41dfeb
mov eax, ebp
cmp word [eax + edi*2], 0x2f
je 0x41e013
cmp edi, dword [ebx + 0x14]
jbe 0x41dffc
call fcn.00469efa
cmp dword [ebx + 0x18], esi
jb 0x41e006
mov eax, dword [ebp]
jmp 0x41e008
mov eax, ebp
cmp word [eax + edi*2], 0x5c
jne 0x41e09c
push edi
xor ecx, ecx
lea esi, [esp + 0x1c]
mov edx, ebx
call fcn.00401c10
xor esi, esi
mov dword [esp + 0x40], esi
cmp dword [esp + 0x2c], esi
je 0x41e06f
lea ecx, [esp + 0x18]
push ecx
call fcn.0041d6b0
add esp, 4
test al, al
jne 0x41e06f
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x41e04d
lea eax, [esp + 0x1c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41e06f
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x41e08b
mov edx, dword [esp + 0x1c]
push edx
jmp 0x41e083
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x41e08b
mov eax, dword [esp + 0x1c]
push eax
call fcn.00469d48
add esp, 4
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], si
add edi, 1
cmp edi, dword [esp + 0x14]
jb 0x41dfd0
push ebx
call fcn.0041d6b0
add esp, 4
test al, al
jne 0x41e0d5
cmp dword [ebx + 0x18], 8
jb 0x41e0c1
mov eax, dword [ebx + 4]
jmp 0x41e0c4
lea eax, [ebx + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41e0d5
xor al, al
jmp 0x41e0de
push ebx
call fcn.0041d860
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00469ab5
add esp, 0x30
ret
Function at 0x41e550
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x480108
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x38]
mov edx, dword [ebx]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor esi, esi
lea eax, [esp + 0x38]
push eax
push esi
lea ecx, [esp + 0x1c]
push ecx
push esi
push str.LastDir
push edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x50], esi
call ebp
cmp eax, esi
je 0x41e5aa
mov dword [ebx + 4], eax
jmp 0x41e5f8
mov edi, dword [esp + 0x38]
lea esi, [esp + 0x18]
call fcn.0041d3b0
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x30], 0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
push 0
mov dword [edi], eax
mov eax, dword [ebx]
push str.LastDir
push eax
call ebp
test eax, eax
je 0x41e610
mov dword [ebx + 4], eax
test esi, esi
je 0x41e5f8
push esi
call fcn.00469cbe
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
mov ecx, dword [esp + 0x38]
push esi
push edi
call fcn.0041e760
test al, al
je 0x41e5eb
test esi, esi
je 0x41e62c
push esi
call fcn.00469cbe
add esp, 4
mov al, 1
jmp 0x41e5fa

Function at 0x41e630
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47f753
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
push 0xffffffffffffffff
lea eax, [esi + 4]
mov dword [esi], 1
push ebx
lea ecx, [esp + 0x24]
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
push ecx
mov word [eax + 4], bx
call fcn.00401c40
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x4c], 7
mov dword [esi + 0x48], ebx
mov word [esi + 0x38], bx
cmp dword [esp + 0x34], 8
mov dword [esi + 0x58], vtable.GameMgr::GMBuffer_unsigned_char_.0
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov byte [esi + 0x68], bl
jb 0x41e6ba
mov edx, dword [esp + 0x20]
push edx
call fcn.00469d48
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret 0x1c
Function at 0x41eba0
Capabilities:
Get common file path
Get program files directory
Get startup folder

Disassembly:
sub esp, 0x210
mov eax, dword [0x49b1b0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
xor edi, edi
push 0x206
lea eax, [esp + 0x12]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x14], edi
mov word [esp + 0x18], di
call fcn.0046ce70
add esp, 0xc
push edi
push 0x26
lea ecx, [esp + 0x14]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov word [esi + 4], di
jne 0x41ebff
push edi
push 0x4851c0
jmp 0x41ec1b
lea eax, [esp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41ec06
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x10]
push edx
call fcn.00401df0
mov ecx, dword [esp + 0x214]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00469ab5
add esp, 0x210
ret

Function at 0x41ec40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push esi
push 0x38
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0046ce70
add esp, 0xc
mov dword [esp + 4], 0x3c
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 4]
push edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x485308
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 1
mov dword [esp + 0x40], esi
mov dword [esp + 0xc], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop esi
je 0x41ecb1
mov eax, 0x20
cmp eax, dword [esp + 0x20]
sbb eax, eax
neg eax
add esp, 0x3c
ret
xor al, al
add esp, 0x3c
ret

Function at 0x41ecc0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x47f6d9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2c]
mov esi, ecx
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x18], esi
mov word [esi + 4], di
mov dword [esp + 0x24], edi
push ebx
mov dword [esp + 0x18], 1
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, edi
jle 0x41ed74
lea ebp, [eax + eax]
xor ecx, ecx
lea eax, [ebp + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00469ab0
add esp, 4
push ebp
mov edi, eax
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, ebp
jg 0x41ed6b
mov word [edi + eax*2], 0
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ed55
sub eax, edx
sar eax, 1
push eax
push edi
call fcn.00401df0
push edi
call fcn.00469cbe
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x420570
Capabilities:
Read data from internet
Receive data

Disassembly:
mov eax, dword [eax]
sub esp, 8
test eax, eax
jne 0x420582
or eax, 0xffffffff
add esp, 8
ret 4
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x420579
mov edx, dword [esp + 4]
add dword [esi + 0xc], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 4]
mov ecx, dword [esp + 4]
je 0x420611
mov edx, ecx
test edx, edx
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
jge 0x4205ca
fadd qword [0x48fb48]
mov edx, eax
test edx, edx
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
jge 0x4205de
fadd qword [0x48fb48]
fdivp st(1)
mov edx, dword [esi + 0xc]
test edx, edx
fstp qword [esi + 0x10]
fild dword [esi + 0xc]
jge 0x4205f3
fadd qword [0x48fb48]
mov edx, eax
sub edx, dword [esi]
test edx, edx
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
jge 0x420609
fadd qword [0x48fb48]
fdivp st(1)
mov dword [esi + 4], eax
fstp qword [esi + 0x18]
mov eax, ecx
add esp, 8
ret 4
Function at 0x422590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebx + 0x18]
test eax, eax
mov dword [esp + 0x18], 0x422080
mov dword [esp + 0x28], 0x422270
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0x421f10
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], 0
je 0x422600
mov ecx, dword [ecx]
cmp ecx, 0xffffffff
je 0x422600
push 0
lea edx, [esp + 0x18]
push edx
push 5
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x14]
add dword [edi], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
adc dword [edi + 4], 0
mov edi, dword [ebx + 0x14]
mov eax, edi
mov dword [edi + 0x1d0], ecx
mov dword [edi + 0x3bd10], 1
mov dword [edi + 0x3bcd4], edx
call fcn.004281f0
xor ebx, ebx
cmp eax, ebx
jne 0x42264b
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.00428280
add esp, 4
cmp eax, ebx
je 0x422656
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [esi]
mov edi, dword [esi + 4]
mov ecx, edx
or ecx, edi
jne 0x42266b
fld qword [0x48fb38]
fld st(0)
jmp 0x4226d7
mov ecx, dword [esi + 0x10]
add ecx, dword [esi + 8]
mov eax, dword [esi + 0x14]
adc eax, dword [esi + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0x24], eax
fild qword [esp + 0x20]
and ecx, 0x80000000
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ebx
fild qword [esp + 0x20]
mov eax, edi
mov ecx, edi
and eax, 0x7fffffff
fchs
mov dword [esp + 0x20], edx
faddp st(1)
mov dword [esp + 0x24], eax
fld qword [0x48fb38]
and ecx, 0x80000000
fmul st(1), st(0)
fild qword [esp + 0x20]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ebx
fild qword [esp + 0x20]
fchs
faddp st(1)
fdivp st(2)
fxch st(1)
mov ecx, dword [ebp + 0x14]
fxch st(1)
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
sub esp, 0x10
fstp qword [esp + 8]
fstp qword [esp]
call eax
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x422700
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x482888
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov dword [esp + 0x44], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x70], 0x4220e0
call fcn.0041e9f0
xor ebx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov dword [esp + 0xc0], ebx
mov eax, dword [esp + 0x44]
add eax, 0x18
cmp eax, ebx
mov dword [esp + 0x50], 0x422270
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], 0x421f10
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x40], ebx
je 0x4227b2
mov ecx, dword [ecx]
cmp ecx, 0xffffffff
je 0x4227b2
push ebx
lea edx, [esp + 0x44]
push edx
push 5
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x40]
add dword [edi], eax
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x50]
adc dword [edi + 4], ebx
mov edi, dword [ecx + 0x14]
lea edx, [esp + 0x68]
mov dword [edi + 0x3bcd4], eax
mov eax, edi
mov dword [edi + 0x1d0], edx
mov dword [edi + 0x3bd10], 1
call fcn.004281f0
cmp eax, ebx
jne 0x4227fe
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
call fcn.00428280
add esp, 4
cmp eax, ebx
je 0x42283e
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x422824
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x74]
push edx
call fcn.00417780
mov eax, dword [esp + 0x74]
add esp, 4
push eax
call fcn.00469d48
add esp, 4
xor al, al
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [esi]
mov edi, dword [esi + 4]
mov ecx, edx
or ecx, edi
jne 0x422853
fld qword [0x48fb38]
fld st(0)
jmp 0x4228bf
mov ecx, dword [esi + 0x10]
add ecx, dword [esi + 8]
mov eax, dword [esi + 0x14]
adc eax, dword [esi + 0xc]
mov dword [esp + 0x44], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0x48], eax
fild qword [esp + 0x44]
and ecx, 0x80000000
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ebx
fild qword [esp + 0x44]
mov eax, edi
mov ecx, edi
fchs
and eax, 0x7fffffff
faddp st(1)
mov dword [esp + 0x44], edx
fld qword [0x48fb38]
mov dword [esp + 0x48], eax
and ecx, 0x80000000
fmul st(1), st(0)
fild qword [esp + 0x44]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ebx
fild qword [esp + 0x44]
fchs
faddp st(1)
fdivp st(2)
fxch st(1)
mov ecx, dword [ebp + 0x14]
fxch st(1)
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
sub esp, 0x10
fstp qword [esp + 8]
fstp qword [esp]
call eax
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x4228fb
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x74]
push ecx
call fcn.00417780
mov edx, dword [esp + 0x74]
add esp, 4
push edx
call fcn.00469d48
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x425130
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x425140
pop edi
pop ebx
ret

Function at 0x425170
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x425180
pop esi
pop ebp
pop ebx
ret

Function at 0x4252f0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
test edi, edi
lea edx, [eax + 1]
je 0x425332
push ebx
push ebp
mov ebx, dword [esp + 0x14]
movzx ebx, word [ebx + edx*2]
mov ecx, esi
and ecx, 1
mov ebp, ecx
neg ebp
sar ebp, 4
and ebp, 0x7f
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x18]
add eax, dword [ebp + ebx*4]
add edx, edx
shr esi, 1
or edx, ecx
sub edi, 1
jne 0x425301
pop ebp
pop ebx
pop edi
pop esi
ret
Function at 0x425480
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
movzx eax, word [ebx]
mov ecx, eax
shr ecx, 4
mov edx, dword [esi + ecx*4]
movzx ecx, word [ebx + 2]
mov dword [esp + 0x10], edx
mov edx, ecx
xor eax, 0x7f0
xor ecx, 0x7f0
shr edx, 4
mov edx, dword [esi + edx*4]
shr eax, 4
mov eax, dword [esi + eax*4]
shr ecx, 4
mov ecx, dword [esi + ecx*4]
add edx, eax
add ecx, eax
push ebp
mov dword [esp + 8], edx
push edi
mov dword [esp + 0x10], ecx
xor edx, edx
lea ebx, [ebx]
cmp edx, dword [esp + 0x20]
jae 0x4255f7
mov eax, edx
or eax, 8
xor edi, edi
cmp eax, 1
je 0x425510
mov ebp, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 4]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x4254e6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
add edi, eax
mov dword [ecx + edx*4], edi
add edx, 1
cmp edx, 8
jb 0x4254d0
cmp edx, 0x10
jae 0x425592
lea eax, [edx - 8]
mov dword [esp + 0x18], eax
cmp edx, dword [esp + 0x20]
jae 0x4255f7
or eax, 8
xor edi, edi
cmp eax, 1
je 0x425572
mov ebp, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 0x104]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x425545
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
add edi, eax
mov eax, dword [esp + 0x18]
mov dword [ecx + edx*4], edi
add edx, 1
add eax, 1
cmp edx, 0x10
mov dword [esp + 0x18], eax
jb 0x425531
cmp edx, dword [esp + 0x20]
jae 0x4255f7
lea eax, [edx - 0x10]
mov dword [esp + 0x18], eax
nop
or eax, 0x100
xor edi, edi
cmp eax, 1
je 0x4255d6
lea esp, [esp]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebx + ecx*2 + 0x204]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x4255b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
add edi, eax
mov eax, dword [esp + 0x18]
mov dword [ecx + edx*4], edi
add edx, 1
add eax, 1
cmp edx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
jb 0x4255a0
pop edi
pop ebp
pop ebx
add esp, 8
ret