joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cdb9c
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x27
pop edi
push 0xf6
mov dword [esi + 0x60], 0x26
mov dword [esi + 0x64], 0x28
mov dword [esi + 0x68], 0x25
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], 0x11
mov dword [esi + 0x74], 0x4c
mov dword [esi + 0x78], 0x4f
mov dword [esi + 0x7c], 0x4d
mov dword [esi + 0x80], 0x49
mov dword [esi + 0x84], 0x50
mov dword [esi + 0x88], 0x4b
call fcn.004cdae5
movzx eax, al
push 0xe4
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], 0x39
mov dword [esi + 0x94], 0x4a
mov dword [esi + 0x98], 0x30
call fcn.004cdae5
pop ecx
pop ecx
push 0x57
movzx eax, al
mov dword [esi + 0x9c], eax
pop eax
push 0x45
pop ebp
push 0x41
pop edx
push 0x44
pop ecx
push 0x10
pop ebx
push 0
mov dword [esi + 0xa0], 0x74
mov dword [esi + 0xa4], 0x54
mov dword [esi + 0xa8], 0x47
mov dword [esi + 0xac], 0x46
mov dword [esi + 0xb0], 0x48
mov dword [esi + 0xb4], 0x20
mov dword [esi + 0xb8], 0x53
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], 0x43
mov dword [esi + 0xc4], 0x51
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], edx
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xd4], 0x32
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], 0x33
mov dword [esi + 0xe0], 0x52
mov dword [esi + 0xe4], 0x78
mov dword [esi + 0xe8], 0x26
mov dword [esi + 0xec], 0x28
mov dword [esi + 0xf0], 0x25
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xfc], 0x58
mov dword [esi + 0x100], 0x53
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], 0x51
mov dword [esi + 0x10c], ebp
mov dword [esi + 0x110], edx
mov dword [esi + 0x114], ecx
mov dword [esi + 0x118], 0x20
mov dword [esi + 0x11c], eax
mov dword [esi + 0x120], 0x11
mov dword [esi + 0x124], 0x31
mov dword [esi + 0x128], 0x74
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
and eax, 0x1ff
cmp eax, 9
jne 0x4cdd99
push 0x3b
call fcn.004cdae5
push edi
jmp 0x4cde4a
cmp eax, 0xc
jne 0x4cde13
push 0x2c
call fcn.004cdae5
movzx eax, al
push 0x6d
mov dword [esi + 0x7c], eax
call fcn.004cdae5
movzx eax, al
push 0xf9
mov dword [esi + 0x8c], eax
call fcn.004cdae5
movzx eax, al
push 0x7a
mov dword [esi + 0x9c], eax
call fcn.004cdae5
movzx eax, al
push 0x61
mov dword [esi + 0xbc], eax
call fcn.004cdae5
movzx eax, al
push 0x71
mov dword [esi + 0xc4], eax
call fcn.004cdae5
movzx eax, al
push 0x64
mov dword [esi + 0xcc], eax
call fcn.004cdae5
movzx eax, al
add esp, 0x1c
mov dword [esi + 0xd0], eax
jmp 0x4cde63
cmp eax, 0xa
jne 0x4cde37
push 0xf1
call fcn.004cdae5
movzx eax, al
mov dword [esi + 0x8c], eax
mov dword [esi + 0x9c], 0xde
jmp 0x4cde62
cmp eax, ebx
jne 0x4cde63
push 0xf2
call fcn.004cdae5
push 0xe0
movzx eax, al
mov dword [esi + 0x8c], eax
call fcn.004cdae5
movzx eax, al
pop ecx
mov dword [esi + 0x9c], eax
pop ecx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4d852d
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x639858
call fcn.00600064
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], vtable.Singleton_class_TrafficManager_.0
mov dword [eax + 0xc], vtable.MessageListener.0
mov dword [eax + 0x10], ecx
mov dword [eax], vtable.TrafficManager.2.0
mov dword [eax + 8], vtable.TrafficManager.1.0
mov dword [eax + 0xc], vtable.TrafficManager.0
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
fld1
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
fstp dword [eax + 0x1c]
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
mov ecx, dword [esp + 4]
mov dword [eax + 0x14], 0x3e4ccccd
mov dword [eax + 0x18], 0x40400000
mov dword [eax + 0x20], 0x41200000
mov dword fs:[0], ecx
leave
ret
Function at 0x4e0ee0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
sub esp, 0x20
mov eax, 2
mov dword [esp + 8], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
cdq
mov ecx, 3
idiv ecx
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], 3
push edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 1
mov byte [esp + 0x10], 0
mov edx, dword [esp + edx*4 + 0x14]
lea ecx, [edx + eax*4]
xor eax, eax
cmp ecx, esi
mov word [esp + 0x11], ax
mov bl, byte [esp + 0x12]
mov dword [esp + 0x38], ecx
mov byte [esp + 0x13], al
jle 0x4e0fef
lea ecx, [ecx]
mov eax, dword [ebp]
push 1
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
call dword [eax + 8]
cmp eax, 1
jne 0x4e0fef
movzx eax, byte [esp + 0x34]
mov edx, eax
and edx, 0x7f
cmp byte [edx + 0x659368], 0xff
je 0x4e0fe3
mov edx, dword [esp + 0x38]
mov al, byte [eax + 0x659368]
dec edx
mov byte [esp + esi + 0x10], al
inc esi
cmp esi, 4
mov dword [esp + 0x38], edx
jne 0x4e0fdf
mov cl, byte [esp + 0x11]
mov al, byte [esp + 0x10]
mov dl, cl
shr dl, 4
shl al, 2
or dl, al
mov al, byte [esp + 0x12]
mov byte [edi], dl
mov dl, al
shl cl, 4
shr dl, 2
or dl, cl
mov cl, byte [esp + 0x13]
shl al, 6
or al, cl
mov byte [edi + 1], dl
mov byte [edi + 2], al
xor esi, esi
add edi, 3
xor bl, bl
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], bl
mov byte [esp + 0x11], bl
mov byte [esp + 0x10], bl
jmp 0x4e0fe3
mov bl, byte [esp + 0x12]
mov eax, dword [esp + 0x38]
test eax, eax
jg 0x4e0f50
mov eax, dword [ebp]
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
call dword [eax + 4]
cmp byte [eax], 0
je 0x4e1038
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [ebp]
push 1
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
call dword [eax + 8]
cmp byte [esp + 0x34], 0x3d
mov edx, dword [ebp]
mov ecx, ebp
jne 0x4e1035
lea eax, [esp + 0x38]
push eax
call dword [edx + 4]
cmp byte [eax], 0
jne 0x4e1001
jmp 0x4e1038
call dword [edx + 0x18]
test esi, esi
je 0x4e1089
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x10]
mov esi, dword [esp + esi*4 + 0x20]
shl cl, 2
mov dl, al
shr dl, 4
or dl, cl
mov cl, bl
shr cl, 2
shl al, 4
or cl, al
mov byte [esp + 0x35], cl
mov cl, byte [esp + 0x13]
shl bl, 6
or bl, cl
test esi, esi
mov byte [esp + 0x34], dl
mov byte [esp + 0x36], bl
jle 0x4e1089
mov ecx, esi
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x4f0160
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x210
mov eax, dword [esp + 0x218]
mov edx, dword [esp + 0x21c]
push ebx
push ebp
mov ebp, dword [eax + 4]
push esi
lea ecx, [esp + 0x1c]
mov ebx, 0x80000080
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], 1
jmp 0x4f01a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + eax*4 - 4]
dec eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
mov eax, esi
jmp 0x4f01c0
movzx edx, word [eax + 4]
lea eax, [ebp + edx*8]
movzx edx, word [eax + 6]
mov ecx, edx
dec ecx
je 0x4f01db
dec ecx
je 0x4f0297
dec ecx
jne 0x4f01e8
cmp edx, dword [esp + 0x230]
jne 0x4f02aa
mov cx, word [esp + 0x230]
mov word [eax + 6], cx
mov ebx, dword [esp + 0x1c]
cmp eax, esi
jne 0x4f01c0
lea esp, [esp]
movzx edx, word [esi + 4]
movzx eax, word [ebp + edx*8 + 2]
cmp word [ebp + eax*8 + 6], 0
lea esi, [ebp + edx*8]
lea edi, [ebp + eax*8]
jne 0x4f024e
mov eax, dword [esp + 0x18]
and ebx, 0x7fffffff
cmp eax, ebx
jne 0x4f0236
lea ecx, [esp + 0x14]
push 4
push ecx
call fcn.0054d2c0
add esp, 8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [edx + eax*4], edi
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x18], eax
cmp esi, dword [esp + 0x10]
jne 0x4f0200
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4f01a0
mov esi, dword [esp + 0x224]
mov byte [esi], 1
test ebx, ebx
js 0x4f028a
mov ecx, dword [0x9617f0]
mov eax, dword [esp + 0x14]
mov edx, dword [ecx]
and ebx, 0x7fffffff
push 0x12
shl ebx, 2
push ebx
push eax
call dword [edx + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
cmp dword [esp + 0x230], 3
je 0x4f01f8
jmp 0x4f01e8
mov esi, dword [esp + 0x224]
mov byte [esi], 0
jmp 0x4f026a
Function at 0x4f8280
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ecx
mov eax, dword [0x961870]
push esi
mov esi, ecx
mov ecx, dword [0x96186c]
cmp ecx, eax
push edi
jae 0x4f82b0
mov dword [ecx], str.TtVehicle
rdtsc
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
fld dword [esi + 8]
mov edi, dword [esp + 0x10]
fadd dword [edi]
mov edx, dword [esi]
push edi
mov ecx, esi
fstp dword [esi + 8]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push edi
call dword [edx + 0x14]
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx]
push edi
call dword [edx + 0x14]
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx]
push edi
call dword [edx + 0x14]
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [0x96186c]
cmp eax, dword [0x961870]
pop edi
pop esi
jae 0x4f8338
mov ecx, eax
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
pop ecx
ret 4
Function at 0x4f86e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, ecx
mov dword [esi], vtable.hkBaseObject.0
push edi
mov edi, dword [esp + 0x10]
mov ax, word [edi + 4]
mov word [esi + 4], ax
mov cx, word [edi + 6]
mov word [esi + 6], cx
mov dword [esi], 0x65a978
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ebx, dword [edi + 0x14]
mov ecx, dword [0x9617f0]
mov edx, dword [ecx]
lea eax, [ebx + ebx*2]
push 0x12
shl eax, 4
push eax
call dword [edx + 0x10]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov ecx, dword [edi + 0x14]
xor edx, edx
test ecx, ecx
jle 0x4f87ae
mov ebx, 0xffffffe8
lea ecx, [eax + 0x18]
sub ebx, eax
push ebp
lea eax, [ecx - 0x18]
test eax, eax
je 0x4f87a2
mov eax, dword [edi + 0x10]
mov dword [ecx - 0x18], 0x6493b0
add eax, ebx
mov bp, word [eax + ecx + 4]
mov word [ecx - 0x14], bp
mov bp, word [eax + ecx + 6]
add eax, ecx
mov word [ecx - 0x12], bp
mov dword [ecx - 0x18], 0x65a974
mov ebp, dword [eax + 0x10]
mov dword [ecx - 8], ebp
mov ebp, dword [eax + 0x14]
mov dword [ecx - 4], ebp
mov ebp, dword [eax + 0x18]
mov dword [ecx], ebp
mov ebp, dword [eax + 0x1c]
mov dword [ecx + 4], ebp
mov ebp, dword [eax + 0x20]
mov dword [ecx + 8], ebp
mov ebp, dword [eax + 0x24]
mov dword [ecx + 0xc], ebp
mov ebp, dword [eax + 0x28]
mov dword [ecx + 0x10], ebp
mov eax, dword [eax + 0x2c]
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 0x14]
inc edx
add ecx, 0x30
cmp edx, eax
jl 0x4f8745
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
ret 4
Function at 0x4f8850
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
mov eax, ecx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov cx, word [edi + 4]
mov word [eax + 4], cx
mov dx, word [edi + 6]
mov word [eax + 6], dx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0x14]
mov edx, dword [edi + 0x10]
lea esi, [eax + 0xc]
and ecx, 0x7fffffff
cmp edx, ecx
mov dword [esp + 0x10], eax
jle 0x4f8910
mov edx, dword [esi + 4]
test edx, edx
mov ebx, dword [esi]
jle 0x4f88a9
mov ebp, edx
mov edx, dword [ebx]
push 0
mov ecx, ebx
call dword [edx]
add ebx, 0x1c
dec ebp
jne 0x4f8897
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 8]
mov ebx, dword [edi + 0x10]
and edx, 0x7fffffff
cmp edx, ebx
jge 0x4f88d1
add edx, edx
cmp ebx, edx
jl 0x4f88c1
mov edx, ebx
push 0x1c
push edx
push esi
call fcn.0054d250
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi + 4], ebx
mov ecx, dword [edi + 0x10]
mov esi, dword [esi]
xor ebx, ebx
test ecx, ecx
jle 0x4f89ca
xor ebp, ebp
test esi, esi
je 0x4f88fa
mov eax, dword [edi + 0xc]
add eax, ebp
push eax
mov ecx, esi
call fcn.004f86e0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x10]
inc ebx
add ebp, 0x1c
add esi, 0x1c
cmp ebx, ecx
jl 0x4f88e5
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
mov ebp, dword [esi + 4]
xor ebx, ebx
cmp edx, ebp
jle 0x4f897d
test ebp, ebp
jle 0x4f893e
xor ebp, ebp
nop
mov ecx, dword [edi + 0xc]
add ecx, ebp
push ecx
mov ecx, dword [esi]
add ecx, ebp
call fcn.004f8410
mov eax, dword [esi + 4]
inc ebx
add ebp, 0x1c
cmp ebx, eax
jl 0x4f8920
mov eax, dword [esp + 0x10]
cmp ebx, dword [edi + 0x10]
mov esi, dword [esi]
jge 0x4f89ca
mov edx, ebx
imul edx, edx, 0x1c
mov ebp, edx
add esi, edx
test esi, esi
je 0x4f8967
mov edx, dword [edi + 0xc]
add edx, ebp
push edx
mov ecx, esi
call fcn.004f86e0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x10]
inc ebx
add ebp, 0x1c
add esi, 0x1c
cmp ebx, ecx
jl 0x4f8952
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
test edx, edx
jle 0x4f89a1
xor ebp, ebp
mov eax, dword [edi + 0xc]
mov ecx, dword [esi]
add eax, ebp
push eax
add ecx, ebp
call fcn.004f8410
mov eax, dword [edi + 0x10]
inc ebx
add ebp, 0x1c
cmp ebx, eax
jl 0x4f8983
mov eax, dword [esp + 0x10]
cmp ebx, dword [esi + 4]
jge 0x4f89ca
mov edi, ebx
imul edi, edi, 0x1c
jmp 0x4f89b0
mov ecx, dword [esi]
mov edx, dword [ecx + edi]
add ecx, edi
push 0
call dword [edx]
mov eax, dword [esi + 4]
inc ebx
add edi, 0x1c
cmp ebx, eax
jl 0x4f89b0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x4fdee0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1d4
mov eax, dword [0x961870]
push ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [0x96186c]
cmp ecx, eax
push esi
push edi
jae 0x4fdf1e
mov dword [ecx], str.TtGsk
rdtsc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edx, dword [edi + 8]
mov ecx, dword [edi]
mov eax, dword [esi + 8]
mov ebx, dword [esi]
add edx, 0x20
push edx
add eax, 0x20
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x38]
call fcn.0054c890
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
add edx, 0xc
push edx
lea eax, [esp + 0x38]
push eax
push ecx
push ebx
lea ecx, [esp + 0x84]
mov byte [esp + 0x90], 1
call fcn.00524690
mov ecx, dword [0x961870]
mov dword [esp + 0x1c], eax
mov eax, dword [0x96186c]
cmp eax, ecx
jae 0x4fdfa0
mov ecx, eax
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [0x96186c], ecx
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4fdfd6
fld dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
fsub dword [ebx + 0xc]
fsub dword [eax + 0xc]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x4fdfe0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edi
push esi
call dword [edx + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
push edi
push esi
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x501e80
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x114
mov eax, dword [0x961870]
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x96186c]
cmp ecx, eax
push edi
jae 0x501ebc
mov dword [ecx], str.TthkShapeCollection::castRay
rdtsc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x24]
test eax, eax
mov edx, dword [esi]
mov byte [esp + 0x14], 0
mov ecx, esi
jne 0x501f1f
call dword [edx + 0x2c]
mov edi, eax
cmp edi, 0xffffffff
je 0x501f81
lea ecx, [ecx]
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push edi
mov ecx, esi
call dword [eax + 0x34]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax]
push ecx
push ebx
lea ecx, [esp + 0x1b]
push ecx
mov ecx, eax
call dword [edx + 0x20]
cmp byte [eax], 0
je 0x501f0e
mov edx, dword [ebp + 0x10]
mov byte [esp + 0x14], 1
mov dword [edx + 0x10], edi
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x30]
mov edi, eax
cmp edi, 0xffffffff
jne 0x501ee0
jmp 0x501f81
call dword [edx + 0x2c]
mov edi, eax
cmp edi, 0xffffffff
je 0x501f81
lea esp, [esp]
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
push edi
push esi
push ebx
lea edx, [esp + 0x1f]
push edx
call dword [eax]
cmp byte [eax], 0
je 0x501f72
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push edi
mov ecx, esi
call dword [eax + 0x34]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax]
push ecx
push ebx
lea ecx, [esp + 0x23]
push ecx
mov ecx, eax
call dword [edx + 0x20]
cmp byte [eax], 0
je 0x501f72
mov edx, dword [ebp + 0x10]
mov byte [esp + 0x14], 1
mov dword [edx + 0x10], edi
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x30]
mov edi, eax
cmp edi, 0xffffffff
jne 0x501f30
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x501fbd
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [0x96186c], ecx
mov cl, byte [esp + 0x14]
mov byte [eax], cl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
mov dl, byte [esp + 0x14]
pop edi
pop esi
mov byte [eax], dl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x501fd0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x114
mov eax, dword [0x961870]
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x96186c]
cmp ecx, eax
push edi
jae 0x50200c
mov dword [ecx], str.TthkShapeCollection::getMaximumProjection
rdtsc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x18], 0xff7fffff
call dword [edx + 0x2c]
mov edi, eax
cmp edi, 0xffffffff
je 0x50205e
mov ebx, dword [ebp + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push edi
mov ecx, esi
call dword [eax + 0x34]
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x1c]
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x50204d
fstp dword [esp + 0x18]
jmp 0x50204f
fstp st(0)
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x30]
mov edi, eax
cmp edi, 0xffffffff
jne 0x502025
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x502088
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [0x96186c], ecx
fld dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5020a0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x124
mov eax, dword [0x961870]
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x96186c]
cmp ecx, eax
push edi
jae 0x5020dc
mov dword [ecx], str.TthkShapeCollection::castRay
rdtsc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x24]
test eax, eax
mov ecx, esi
jne 0x50213d
mov edx, dword [esi]
call dword [edx + 0x2c]
mov edi, eax
cmp edi, 0xffffffff
je 0x5021a7
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
push edi
mov ecx, esi
call dword [eax + 0x34]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x24]
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x30]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5020f8
jmp 0x5021a7
mov eax, dword [esi]
call dword [eax + 0x2c]
mov edi, eax
cmp edi, 0xffffffff
je 0x5021a7
lea esp, [esp]
mov ecx, dword [ebx + 0x24]
mov edx, dword [ecx]
push edi
push esi
push ebx
lea eax, [esp + 0x2b]
push eax
call dword [edx]
cmp byte [eax], 0
je 0x502198
mov edx, dword [esi]
lea eax, [esp + 0x30]
push eax
push edi
mov ecx, esi
call dword [edx + 0x34]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x24]
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x30]
mov edi, eax
cmp edi, 0xffffffff
jne 0x502150
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x5021d1
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x510b60
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x34
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
push ebx
push esi
push edi
jae 0x510b96
mov dword [ecx], str.TtSphereBox
rdtsc
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [eax + 8]
mov ecx, dword [eax]
mov edx, dword [ebx + 8]
mov edi, dword [ebx]
add esi, 0x50
push esi
add edx, 0x20
mov dword [esp + 0x10], ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0054ce30
fld dword [esp + 0x20]
fabs
fst dword [esp + 0x10]
fld dword [esp + 0x24]
fabs
fstp dword [esp + 0x14]
fld dword [esp + 0x28]
fabs
fstp dword [esp + 0x18]
fcomp dword [edi + 0x10]
fnstsw ax
test ah, 5
jnp 0x510bea
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], eax
fld dword [esp + 0x14]
fcomp dword [edi + 0x14]
fnstsw ax
test ah, 5
jnp 0x510bff
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x14], ecx
fld dword [esp + 0x18]
fcomp dword [edi + 0x18]
fnstsw ax
test ah, 5
jnp 0x510c14
mov edx, dword [edi + 0x18]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
and eax, 0x80000000
xor ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x24]
and ecx, 0x80000000
xor edx, ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
and edx, 0x80000000
xor eax, edx
mov dword [esp + 0x18], eax
fld dword [esp + 0x18]
mov eax, dword [ebx + 8]
fmul dword [eax + 0x40]
add eax, 0x20
fld dword [esp + 0x14]
fmul dword [eax + 0x10]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [eax]
faddp st(1)
fadd dword [eax + 0x30]
fld dword [esp + 0x18]
fmul dword [eax + 0x24]
fld dword [esp + 0x14]
fmul dword [eax + 0x14]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [eax + 4]
faddp st(1)
fadd dword [eax + 0x34]
fld dword [esp + 0x18]
fmul dword [eax + 0x28]
fld dword [esp + 0x14]
fmul dword [eax + 0x18]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [eax + 8]
faddp st(1)
fadd dword [eax + 0x38]
mov eax, dword [esp + 0xc]
fstp dword [esp + 0x38]
fxch st(1)
fsub dword [esi]
fstp dword [esp + 0x10]
fsub dword [esi + 4]
fld dword [esp + 0x38]
fsub dword [esi + 8]
fld dword [edi + 0xc]
fadd dword [eax + 0xc]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fld st(1)
fmul st(2)
fcompp
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 0x41
fstp st(0)
jne 0x510cfc
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov edx, dword [ecx]
push ebx
push eax
call dword [edx + 4]
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x510d26
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [0x96186c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret