joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100f7762
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10082a10
mov eax, dword [0x10130018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100fa417
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100f77a4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100f7900
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1010e8e0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x1013b418]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.10104c09
mov ecx, dword [esi*4 + 0x1013b418]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x100f78f9
cmp eax, dword [edi + ecx + 0x24]
jne 0x100f78f9
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100f78f9
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10104c09
add esp, 0x14
test edx, edx
jl 0x100f78f9
jg 0x100f786f
test eax, eax
jb 0x100f78f9
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100f78f9
jl 0x100f7889
cmp dword [ebp - 0x1008], eax
ja 0x100f78f9
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100f78a7
test ebx, ebx
je 0x100f78e0
cmp ecx, edi
jae 0x100f78e0
mov al, byte [ecx]
cmp al, 0xd
jne 0x100f78c1
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100f78cd
cmp byte [ecx + 1], 0xa
jne 0x100f78cd
inc ecx
jmp 0x100f78cd
movzx eax, al
movsx eax, byte [eax + 0x101303e0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100f78a7
cmp edx, ebx
jne 0x100f78a7
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100f78fe
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100818a7
leave
ret
Function at 0x100fc3cb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x1013b418]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100fc40b
cmp byte [ebx], 0xa
jne 0x100fc40b
or byte [eax + edi + 0x28], 4
jmp 0x100fc410
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100fc50e
mov al, byte [edx]
cmp al, 0x1a
je 0x100fc4f0
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x100fc43f
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x100fc464
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x100fc46e
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x100fc421
jmp 0x100fc50e
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100fc4eb
cmp dword [ebp - 0xc], 0
je 0x100fc4eb
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x1013b418]
test byte [eax + edi + 0x28], 0x48
je 0x100fc4c5
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100fc4b0
mov byte [esi], dl
jmp 0x100fc4c1
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1013b418]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100fc50e
cmp byte [ebp - 1], 0xa
jne 0x100fc4d4
cmp esi, ebx
jne 0x100fc4d4
mov byte [esi], 0xa
jmp 0x100fc50d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10104c27
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100fc50e
mov byte [esi], 0xd
jmp 0x100fc50d
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x1013b418]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100fc50a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100fc50e
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100fc517
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x1013b418]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100fc55a
cmp word [esi], dx
jne 0x100fc55a
or byte [edi + eax + 0x28], 4
jmp 0x100fc55f
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x100fc6b2
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x100fc692
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x100fc5a1
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100fc5d7
cmp eax, edx
jae 0x100fc5e3
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x100fc579
jmp 0x100fc6b2
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100fc68e
cmp dword [ebp - 0x14], 0
je 0x100fc68e
mov eax, dword [ebx*4 + 0x1013b418]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x100fc666
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x100fc62f
mov word [esi], cx
jmp 0x100fc662
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x1013b418]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x1013b418]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x1013b418]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x100fc6b2
pop ebx
cmp word [ebp - 4], bx
jne 0x100fc677
cmp esi, dword [ebp + 0xc]
jne 0x100fc677
mov word [esi], bx
jmp 0x100fc6af
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10104c27
add esp, 0x10
cmp word [ebp - 4], bx
je 0x100fc6b2
push 0xd
jmp 0x100fc6ab
mov ecx, dword [ebx*4 + 0x1013b418]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100fc6a9
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100fc6b2
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100fd0a2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100fcd44

Function at 0x100fd0ad
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100fced3

Function at 0x100ffcf4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1011f088
push 0x1011f080
push str.FlsAlloc
push 0x1e
call fcn.100ffb61
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100ffd28
push dword [ebp + 8]
mov ecx, esi
call dword [0x101152e8]
call esi
jmp 0x100ffd2e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100ffd72
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1011f098
push 0x1011f090
push str.FlsGetValue
push 0x20
call fcn.100ffb61
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100ffda9
push dword [ebp + 8]
mov ecx, esi
call dword [0x101152e8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10102789
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10102826
push ebx
push esi
call fcn.10102752
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10100b19
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x101027d3
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10102825
push edi
push eax
call fcn.100fa38f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x101027f3
call fcn.100fa3dd
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10102824
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10100b19
add esp, 0x20
test eax, eax
jne 0x10102812
push edi
call fcn.100fa3dd
jmp 0x1010281a
push ebx
call fcn.100fa3dd
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10102829
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1010283a
pop esi
ret
push ebx
push edi
push esi
call fcn.10102752
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100fa38f
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10102862
push ebx
push esi
push edi
call fcn.100cf2e0
add esp, 0xc
push 0
call fcn.100fa3dd
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10102fae
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10102ad5
Function at 0x1010c3af
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1010c32b
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1010c527
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1010c527
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1010c4d6
jg 0x1010c408
test eax, eax
je 0x1010c4cc
push 1
push 0x1000
call fcn.100fef7f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1010c42e
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x1010c4c3
push 0x8000
push ebx
call fcn.1010c25c
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1010c45a
jg 0x1010c455
cmp ecx, 0x1000
jb 0x1010c45a
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10103fa1
add esp, 0x10
cmp eax, 0xffffffff
je 0x1010c49f
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1010c455
jl 0x1010c486
test ecx, ecx
jne 0x1010c447
push dword [ebp - 0xc]
push ebx
call fcn.1010c25c
push esi
call fcn.100fa3dd
add esp, 0xc
xor edi, edi
jmp 0x1010c538
cmp byte [edi + 0x24], 0
je 0x1010c4b6
cmp dword [edi + 0x20], 5
jne 0x1010c4b6
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1010c4c1
mov edi, dword [edi + 0x18]
jmp 0x1010c4c3
xor edi, edi
push esi
call fcn.100fa3dd
pop ecx
jmp 0x1010c538
test ecx, ecx
jg 0x1010c498
jl 0x1010c4d6
test eax, eax
jae 0x1010c498
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10104c27
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1010c4f9
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1010c498
jmp 0x1010c530
push ebx
call fcn.1010759e
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1010c498
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x1010c538
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1010c535
mov edi, dword [edi + 0x18]
jmp 0x1010c538
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10104c27
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1010ec10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1010ec3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1010ec3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41b660
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x808
mov eax, dword [0x420004]
xor eax, esp
mov dword [esp + 0x804], eax
cmp dword [0x22c5e8c], 0xfc7
jne 0x41b68f
push 0
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x4232a4]
imul eax, eax, 0x343fd
cmp dword [0x22c5e8c], 0x139e
mov dword [0x4232a4], eax
jne 0x41b6be
mov ecx, dword [esp]
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_GetAce]
mov eax, dword [0x4232a4]
add eax, 0x269ec3
push esi
mov dword [0x4232a4], eax
movzx esi, word [0x4232a6]
and esi, 0x7fff
cmp dword [0x22c5e8c], 0x8e7
jne 0x41b6f3
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401000
add esp, 0x808
ret

Function at 0x41b7c0
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x420004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x4211f0]
push ebx
mov ebx, dword [0x22c5830]
push edi
mov edi, dword [0x22c5e8c]
call fcn.0041b710
cmp dword [0x22c5e8c], 0x2f
jne 0x41b825
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.0041b740
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.00401000
add esp, 0x24
ret
Function at 0x41baf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.00409170
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x41bb19
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe2aa2
jge 0x41bbbf
cmp dword [0x22c5e8c], 0xa5f
jne 0x41bb63
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
push 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x1018]
push edx
push 0x41ec7c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 4], 0x84526b
jne 0x41bb88
mov eax, dword [0x422010]
mov dword [0x22c5e8c], eax
mov ecx, dword [0x22c5e8c]
add ecx, 0xa231
mov dword [0x22c5e8c], ecx
cmp dword [0x22c5e8c], 0x141
jne 0x41bbba
push str.durudaxo_payuyafelamelokeyir_tacadasevow_kipazoci_kanorowawacasolicalotija
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x4232a8], 0xec58acac
mov dword [0x4232ac], 0xffffffff
jmp 0x41bb10
call fcn.0041b840
jmp dword [0x22c5830]
Function at 0x40c440
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c60e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40c46b
mov eax, 0x7000000
jmp 0x40c473
test eax, eax
je 0x40c5e9
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.00465760
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0xc8fc20]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40c601
cmp ecx, 0x21
jae 0x40c5f5
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045df30
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.0045e000
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x9de670]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x9de778]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40c5c4
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x9de848]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.00465840
mov eax, ecx
mov ecx, 0x21
call fcn.00465920
nop
call fcn.004643a0
jmp fcn.0040c440
Function at 0x415600
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x415824
sub esp, 0x18
mov eax, dword [0xce91a4]
test eax, eax
jne 0x41580d
nop
lea eax, [0xce9190]
mov dword [esp], eax
call fcn.0040a230
mov eax, dword [0xce9194]
test eax, eax
je 0x415649
cmp dword [eax + 8], 0xcc
jne 0x4156bf
mov edx, dword [0xce9188]
test edx, edx
jne 0x4156a1
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0xcee750]
mov dword [esp + 8], eax
call fcn.0040c620
mov eax, dword [esp + 0xc]
mov dword [0xce9188], eax
mov ecx, dword [0xce914c]
mov dword [eax], ecx
mov eax, dword [0xce9188]
mov dword [0xce914c], eax
movzx eax, byte [0xce9a60]
test al, al
jne 0x4156a1
xor eax, eax
jmp 0x4157b9
mov edx, dword [0xce9188]
mov ebx, dword [edx + 4]
mov dword [0xce9188], ebx
mov ebx, dword [0xce9194]
mov dword [edx + 4], ebx
mov dword [0xce9194], edx
mov edx, dword [0xce9194]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x4157a1
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004024e0
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0xce9650]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x41571d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x41572a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.004657b0
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0xce9650]
test edx, edx
jne 0x415756
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x415777
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.004657b0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.004657b0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.004657b0
nop
lea eax, [0xce9190]
mov dword [esp], eax
call fcn.0040a430
nop
lea eax, [0xce918c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402660
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00465840
lea esi, [0xce9a60]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x4156a1
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x415803
lea edx, [0xc87c70]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x4157ab
mov eax, ebx
mov ecx, 0x80
call fcn.00465830
mov ecx, 5
call fcn.00465830
lea eax, [0x93bd8c]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00437170
nop
call fcn.004643a0
jmp fcn.00415600
Function at 0x4294f0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42960c
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x429585
cmp cl, 2
je 0x42952d
cmp cl, 3
jne 0x4295f5
mov byte [eax + 8], 1
jmp 0x4295f1
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042e7e0
nop
lea eax, [0xccd6d8]
mov dword [esp], eax
call fcn.0040a230
nop
mov eax, dword [0xccd6a4]
sub eax, dword [0xccd688]
mov dword [0xccd6a4], eax
mov eax, dword [0xccd694]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xccd694], ecx
nop
lea eax, [0xccd6d8]
mov dword [esp], eax
call fcn.0040a430
jmp 0x4295f1
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00415600
nop
lea eax, [0xccd6d8]
mov dword [esp], eax
call fcn.0040a230
nop
mov eax, dword [0xccd67c]
sub eax, dword [0xccd660]
mov dword [0xccd67c], eax
mov eax, dword [0xccd66c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xccd66c], ecx
nop
nop
lea eax, [0xccd6d8]
mov dword [esp], eax
call fcn.0040a430
add esp, 0x14
ret
lea eax, [0x935889]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00437170
nop
call fcn.004643a0
jmp fcn.004294f0