joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f59a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, esp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], esp
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x54], 0x56d5e0
mov edi, ecx
lea eax, [esi + 0x50]
xorps xmm0, xmm0
mov ecx, dword fs:[0]
mov dword [esi + 0x50], ecx
mov dword fs:[0], eax
movaps xmmword [esi + 0x10], xmm0
lea eax, [esi + 0x10]
push 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x4f5a1e
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x50]
mov dword fs:[0], eax
mov dword [edi + 0xc], ebx
mov dword [edi + 8], edx
mov dword [edi + 4], ecx
mov eax, dword [esi + 4]
mov dword [edi], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esi + 8]
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], 0x60b33c
mov dword [esi + 0x34], 1
mov dword [esi + 0x40], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x28], edx
mov dword [esi + 0x38], ecx
lea ecx, [esi + 0x30]
mov edx, 0x60b368
mov dword [esi + 0x2c], fcn.004e54a0
mov dword [esi + 0x3c], 1
call fcn.00580e60
ud2

Function at 0x4f7350
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x64f090]
test eax, eax
je 0x4f73d4
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x4f736f
cmp byte [eax + 4], 0
mov esi, eax
jne 0x4f73c9
mov eax, dword [0x64f090]
test eax, eax
je 0x4f73e3
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x4f73ce
mov esi, eax
test eax, eax
jne 0x4f73c3
movzx eax, byte [0x64fd9c]
mov ecx, 8
mov edx, 4
call fcn.00404090
test eax, eax
je 0x4f73fb
mov dword [eax], 0x64f090
mov byte [eax + 4], 0
mov esi, eax
mov eax, dword [0x64f090]
test eax, eax
je 0x4f73ef
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov word [esi + 4], 1
add esi, 5
jmp 0x4f73d0
xor esi, esi
mov eax, esi
pop esi
ret
mov ecx, 0x64f090
call fcn.00583bc0
jmp 0x4f735b
mov ecx, 0x64f090
call fcn.00583bc0
jmp 0x4f7379
mov ecx, 0x64f090
call fcn.00583bc0
jmp 0x4f73bb
mov ecx, 4
mov edx, 8
call fcn.00580bb0
ud2
Function at 0x4fa460
Capabilities:
Delete file

Disassembly:
push ebx
push edi
push esi
sub esp, 0x18
mov esi, ecx
mov ecx, esp
push dword [esp + 0x28]
call fcn.004df280
add esp, 4
mov ecx, dword [esp]
mov ebx, dword [esp + 4]
mov eax, dword [esp + 8]
test ecx, ecx
je 0x4fa4c4
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
mov edx, esp
push 1
call fcn.004e6ae0
add esp, 4
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test edi, edi
je 0x4fa4c0
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4fa4cb
mov byte [esi], 4
test ebx, ebx
jne 0x4fa4db
jmp 0x4fa4e7
mov eax, dword [esp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], eax
jmp 0x4fa4e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esi], 0
mov dword [esi + 4], eax
test ebx, ebx
je 0x4fa4e7
mov ecx, edi
mov edx, 2
call fcn.004040f0
add esp, 0x18
pop esi
pop edi
pop ebx
ret

Function at 0x4fa4f0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x56d700
mov eax, dword [ebp + 8]
mov edi, ecx
lea ecx, [ebp - 0x18]
mov esi, dword fs:[0]
mov dword [ebp - 0x18], esi
mov dword fs:[0], ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.004df280
add esp, 4
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
test ecx, ecx
je 0x4fa5d7
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
lea edx, [ebp - 0x28]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x40]
push 1
call fcn.004e6ae0
add esp, 4
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
test eax, eax
je 0x4fa5d4
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x28]
push esi
call fcn.004df280
add esp, 4
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
test ecx, ecx
je 0x4fa5e1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x28]
push 1
call fcn.004e6ae0
add esp, 4
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
test esi, esi
je 0x4fa5de
push 1
push esi
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, dword [ebp - 0x2c]
test eax, eax
je 0x4fa5ee
mov eax, dword [ebp - 0x34]
mov byte [eax], 4
test edi, edi
jne 0x4fa601
jmp 0x4fa60d
mov eax, dword [ebp - 0x38]
mov dword [edi], edx
mov dword [edi + 4], eax
jmp 0x4fa61e
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
mov dword [ecx], edi
mov dword [ecx + 4], eax
jmp 0x4fa60d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x34]
mov byte [ecx], 0
mov dword [ecx + 4], eax
test edi, edi
je 0x4fa60d
mov ecx, esi
mov edx, 2
call fcn.004040f0
test ebx, ebx
je 0x4fa61e
mov ecx, dword [ebp - 0x30]
mov edx, 2
call fcn.004040f0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4fa650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, esp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], esp
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x54], 0x56d710
movaps xmm0, xmmword [0x5887d0]
mov edi, ecx
lea ebx, [esi + 0x20]
lea ecx, [esi + 0xc]
mov eax, dword fs:[0]
mov dword [esi + 0x50], eax
lea eax, [esi + 0x50]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov word [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 7
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
movups xmmword [esi + 0x20], xmm0
push ebx
push eax
call fcn.004e6420
add esp, 8
movzx eax, byte [esi + 0xc]
cmp al, 4
jne 0x4fa70f
mov eax, ebx
mov ebx, dword [esi + 0x10]
xorps xmm0, xmm0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
movaps xmmword [esi + 0x30], xmm0
movaps xmmword [esi + 0x20], xmm0
mov dword [esi + 8], ebx
push 0x28
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
test eax, eax
je 0x4fa72b
test byte [esi + 0x40], 0x10
jne 0x4fa73d
mov byte [edi], 0
mov eax, 0x10b
jmp 0x4fa737
movzx ecx, byte [esi + 0xf]
movzx ebx, word [esi + 0xd]
mov edx, dword [esi + 0x10]
mov byte [edi + 3], cl
mov word [edi + 1], bx
mov byte [edi], al
mov dword [edi + 4], edx
jmp 0x4fa7b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], 0
mov dword [edi + 4], eax
push ebx
jmp 0x4fa7b2
mov dword [esi + 4], ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x58], 0
lea ecx, [esi + 0x14]
lea edx, [esi + 8]
push 0x4fa820
call fcn.004fa860
add esp, 4
cmp byte [esi + 0x14], 4
mov ecx, dword [esi + 0x1c]
jne 0x4fa771
movsd xmm0, qword [esi + 0x14]
movsd qword [ecx], xmm0
jmp 0x4fa7ae
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
test al, al
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], eax
je 0x4fa788
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x4fa7ae
cmp edx, 1
je 0x4fa797
cmp edx, 0x57
je 0x4fa797
cmp edx, 0x32
jne 0x4fa781
mov dword [esi + 0x58], 1
lea edx, [esi + 8]
push 0x4fb0e0
call fcn.004fa860
add esp, 4
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x50]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4fbd10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
sub esp, 8
mov eax, dword [0x64f0a0]
test eax, eax
je 0x4fbda2
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x4fbd3b
cmp dword [eax + 4], 0
mov esi, eax
je 0x4fbd3b
add esi, 8
jmp 0x4fbd53
mov eax, dword [0x64f0a0]
test eax, eax
je 0x4fbdb1
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor esi, esi
cmp eax, 1
jne 0x4fbd5a
mov eax, esi
add esp, 8
pop esi
ret
test eax, eax
mov esi, eax
jne 0x4fbdc6
movzx eax, byte [0x64fd9c]
mov ecx, 0xc
mov edx, 4
call fcn.00404090
test eax, eax
je 0x4fbe09
mov dword [eax], 0x64f0a0
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x64f0a0]
test eax, eax
jne 0x4fbdbd
mov ecx, 0x64f0a0
call fcn.00583bc0
jmp 0x4fbdbe
mov ecx, 0x64f0a0
call fcn.00583bc0
jmp 0x4fbd22
mov ecx, 0x64f0a0
call fcn.00583bc0
jmp 0x4fbd45
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
call fcn.005842c0
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
test edx, edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esi + 4], 1
mov dword [esi + 8], eax
je 0x4fbd36
test ecx, ecx
je 0x4fbd36
lock dec dword [ecx]
jne 0x4fbd36
lea ecx, [esp + 4]
call fcn.004fbe20
jmp 0x4fbd36
mov ecx, 4
mov edx, 0xc
call fcn.00580bb0
ud2

Function at 0x4fbfb0
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [0x64f0c0]
test eax, eax
je 0x4fc095
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x4fbfe1
mov esi, eax
mov eax, dword [eax]
or eax, dword [esi + 4]
jne 0x4fc08a
mov eax, dword [0x64f0c0]
test eax, eax
je 0x4fc0a4
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x4fc067
mov esi, eax
test eax, eax
jne 0x4fc047
movzx eax, byte [0x64fd9c]
mov ecx, 0x20
mov edx, 8
call fcn.00404090
test eax, eax
je 0x4fc0bf
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0x18], 0x64f0c0
mov esi, eax
mov eax, dword [0x64f0c0]
test eax, eax
je 0x4fc0b3
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xorps xmm0, xmm0
mov eax, esp
movaps xmmword [esp], xmm0
push 2
push 0x10
push eax
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x4fc06b
movaps xmm0, xmmword [esp]
jmp 0x4fc079
xor esi, esi
jmp 0x4fc08d
lea ecx, [esp + 0x10]
call fcn.004f59a0
movups xmm0, xmmword [esp + 0x10]
mov dword [esi + 4], 0
mov dword [esi], 1
movups xmmword [esi + 8], xmm0
add esi, 8
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov ecx, 0x64f0c0
call fcn.00583bc0
jmp 0x4fbfc8
mov ecx, 0x64f0c0
call fcn.00583bc0
jmp 0x4fbfef
mov ecx, 0x64f0c0
call fcn.00583bc0
jmp 0x4fc03f
mov ecx, 8
mov edx, 0x20
call fcn.00580bb0
ud2
Function at 0x4ff36c
Capabilities:
Decrypt data via sspi

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov esi, ecx
mov edi, edx
mov ecx, dword [edx + 0x48]
mov edx, dword [edx + 0x50]
push 0x62fc50
push dword [edi + 0x40]
call fcn.004ff2c3
pop ecx
pop ecx
test eax, eax
mov ecx, esp
cmove edx, eax
and dword [ecx + 0x24], 0
and dword [ecx + 0x28], 0
and dword [ecx + 0x2c], 0
mov dword [ecx], edx
mov dword [ecx + 4], 1
mov dword [ecx + 8], eax
lea eax, [esp + 0x30]
and dword [ecx + 0x10], 0
and dword [ecx + 0xc], 0
and dword [ecx + 0x18], 0
and dword [ecx + 0x14], 0
and dword [ecx + 0x20], 0
and dword [ecx + 0x1c], 0
and dword [eax], 0
mov dword [eax + 4], 4
mov dword [eax + 8], ecx
lea ecx, [edi + 0x70]
push 0
push 0
push eax
push ecx
call dword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x4ff4aa
test eax, eax
je 0x4ff438
cmp eax, 0x90317
je 0x4ff4a3
cmp eax, 0x90321
jne 0x4ff4b7
mov dword [edi + 8], 0x10000
mov byte [edi + 0xc], 0
xor eax, eax
cmp dword [esp + 0x28], 5
mov edx, dword [edi + 0x40]
jne 0x4ff423
mov eax, dword [esp + 0x24]
sub edx, eax
mov ecx, edi
call fcn.004ff2f2
and dword [edi + 0x90], 0
jmp 0x4ff4c8
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x48]
mov edx, dword [edi + 0x50]
mov ebp, dword [esp + 0xc]
and dword [edi + 0x38], 0
lea ebx, [edi + 0x30]
sub eax, ecx
add ebp, eax
push 0x62fc60
push ebp
push eax
call fcn.004ff4e0
add esp, 0xc
mov ebp, edx
mov edx, eax
mov ecx, ebx
add ebp, eax
push ebp
call fcn.00464149
pop eax
and dword [edi + 0x2c], 0
and dword [edi + 0x28], 0
xor eax, eax
cmp dword [esp + 0x28], 5
mov edx, dword [edi + 0x40]
jne 0x4ff487
mov eax, dword [esp + 0x24]
sub edx, eax
mov ecx, edi
call fcn.004ff2f2
mov eax, dword [edi + 0x40]
xor ecx, ecx
or eax, dword [edi + 0x44]
sete cl
mov dword [edi + 0x90], ecx
jmp 0x4ff4c8
mov word [esi], 0x104
jmp 0x4ff4cd
cmp dword [esp + 0x10], 4
jne 0x4ff4bf
mov eax, dword [esp + 0xc]
jmp 0x4ff4c2
and dword [esi], 0
mov dword [esi + 4], eax
jmp 0x4ff4cd
xor eax, eax
inc eax
mov dword [edi + 0x90], eax
mov word [esi], 4
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x500f35
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x74], 0
mov dword [esp + 0x1c], edx
mov dword [esp], ecx
mov dword [esp + 0x18], 0
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
je 0x500f72
mov ecx, dword [esp + 0x78]
add ecx, 0x400
jae 0x500f7c
mov dword [esp + 4], 0
jmp 0x500f8f
mov dword [esp + 4], 0
jmp 0x500f8f
call fcn.00501154
cmp eax, 1
mov dword [esp + 0x38], edx
sete al
mov dword [esp + 4], eax
lea ebp, [esp + 8]
mov edx, esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], esi
mov ebx, edx
cmp ebx, edi
jne 0x500fb7
mov esi, dword [esp + 0x70]
mov ecx, esi
push 0x20
pop edx
call fcn.0046417a
mov edi, dword [esi + 4]
mov ebx, dword [esi + 8]
mov eax, dword [esp + 0x70]
mov esi, edi
sub esi, ebx
mov eax, dword [eax]
add eax, ebx
cmp byte [esp + 4], 0
je 0x500fe6
mov edx, dword [esp + 0x38]
cmp esi, edx
cmovb edx, esi
xor ecx, ecx
push 0x632f54
push esi
push eax
call fcn.00417cca
add esp, 0xc
mov esi, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], esi
and dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
sub esp, 4
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x24]
push ebp
call fcn.00501173
add esp, 0x10
cmp byte [esp + 8], 4
je 0x501042
mov ecx, ebp
call fcn.00500c58
test al, al
je 0x50112c
movsd xmm0, qword [esp + 8]
lea eax, [esp + 0x3c]
movsd qword [esp + 0x3c], xmm0
push eax
call fcn.004fdf2b
pop eax
jmp 0x500f9f
mov esi, dword [esp + 0x28]
test esi, esi
je 0x501141
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ecx, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
push 0x63c6a4
push eax
push dword [esp + 0x1c]
call fcn.00417cca
add esp, 0xc
mov dword [esp + 0x18], edx
mov edx, esi
xor ecx, ecx
push 0x63c6b4
push dword [esp + 0x34]
push dword [esp + 0x1c]
call fcn.00417cca
add esp, 0xc
mov eax, dword [esp + 0x70]
add edx, ebx
cmp edx, edi
mov dword [eax + 8], edx
jne 0x500f9d
mov ebx, dword [esp + 0x34]
cmp edi, ebx
jne 0x500f9d
mov esi, dword [esp + 0x10]
xorps xmm0, xmm0
movups xmmword [esp + 0x4c], xmm0
movups xmmword [esp + 0x3c], xmm0
push 0x20
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x24]
push ebp
call fcn.005011dd
add esp, 0x10
cmp byte [esp + 8], 4
je 0x5010f0
mov ecx, ebp
call fcn.00500c58
test al, al
je 0x50112c
mov ecx, ebp
call fcn.00522035
jmp 0x5010c1
mov edx, dword [esp + 0xc]
test edx, edx
je 0x501147
xor ecx, ecx
push 0x632f64
push 0x20
lea eax, [esp + 0x44]
push eax
call fcn.00417cca
add esp, 0xc
mov ebx, dword [esp + 0x70]
mov esi, edx
mov edx, eax
add esi, eax
mov ecx, ebx
push esi
call fcn.00464149
pop eax
mov edi, dword [ebx + 4]
mov edx, dword [ebx + 8]
jmp 0x500f9d
movsd xmm0, qword [esp + 8]
mov eax, dword [esp]
movsd qword [eax], xmm0
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
sub ebx, dword [esp + 0x10]
jmp 0x501149
sub ebx, esi
mov eax, dword [esp]
mov dword [eax + 4], ebx
mov byte [eax], 4
jmp 0x501139
Function at 0x5013cf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x74], 0
mov dword [esp + 0x1c], edx
mov dword [esp], ecx
mov dword [esp + 0x18], 0
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
je 0x50140c
mov ecx, dword [esp + 0x78]
add ecx, 0x400
jae 0x501416
mov dword [esp + 4], 0
jmp 0x501429
mov dword [esp + 4], 0
jmp 0x501429
call fcn.00501154
cmp eax, 1
mov dword [esp + 0x38], edx
sete al
mov dword [esp + 4], eax
lea ebp, [esp + 8]
mov edx, esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], esi
mov ebx, edx
cmp ebx, edi
jne 0x501451
mov esi, dword [esp + 0x70]
mov ecx, esi
push 0x20
pop edx
call fcn.0046417a
mov edi, dword [esi + 4]
mov ebx, dword [esi + 8]
mov eax, dword [esp + 0x70]
mov esi, edi
sub esi, ebx
mov eax, dword [eax]
add eax, ebx
cmp byte [esp + 4], 0
je 0x501480
mov edx, dword [esp + 0x38]
cmp esi, edx
cmovb edx, esi
xor ecx, ecx
push 0x632f54
push esi
push eax
call fcn.00417cca
add esp, 0xc
mov esi, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], esi
and dword [esp + 0x28], 0
mov edx, dword [esp + 0x1c]
mov ecx, ebp
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.005015ea
pop eax
cmp byte [esp + 8], 4
je 0x5014d8
mov ecx, ebp
call fcn.00500c58
test al, al
je 0x5015c2
movsd xmm0, qword [esp + 8]
lea eax, [esp + 0x3c]
movsd qword [esp + 0x3c], xmm0
push eax
call fcn.004fdf2b
pop eax
jmp 0x501439
mov esi, dword [esp + 0x28]
test esi, esi
je 0x5015d7
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ecx, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
push 0x63c6a4
push eax
push dword [esp + 0x1c]
call fcn.00417cca
add esp, 0xc
mov dword [esp + 0x18], edx
mov edx, esi
xor ecx, ecx
push 0x63c6b4
push dword [esp + 0x34]
push dword [esp + 0x1c]
call fcn.00417cca
add esp, 0xc
mov eax, dword [esp + 0x70]
add edx, ebx
cmp edx, edi
mov dword [eax + 8], edx
jne 0x501437
mov ebx, dword [esp + 0x34]
cmp edi, ebx
jne 0x501437
mov esi, dword [esp + 0x10]
xorps xmm0, xmm0
movups xmmword [esp + 0x4c], xmm0
movups xmmword [esp + 0x3c], xmm0
mov edx, dword [esp + 0x1c]
mov ecx, ebp
push 0x20
lea eax, [esp + 0x40]
push eax
call fcn.00501694
pop eax
pop ecx
cmp byte [esp + 8], 4
je 0x501586
mov ecx, ebp
call fcn.00500c58
test al, al
je 0x5015c2
mov ecx, ebp
call fcn.00522035
jmp 0x501557
mov edx, dword [esp + 0xc]
test edx, edx
je 0x5015dd
xor ecx, ecx
push 0x632f64
push 0x20
lea eax, [esp + 0x44]
push eax
call fcn.00417cca
add esp, 0xc
mov ebx, dword [esp + 0x70]
mov esi, edx
mov edx, eax
add esi, eax
mov ecx, ebx
push esi
call fcn.00464149
pop eax
mov edi, dword [ebx + 4]
mov edx, dword [ebx + 8]
jmp 0x501437
movsd xmm0, qword [esp + 8]
mov eax, dword [esp]
movsd qword [eax], xmm0
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
sub ebx, dword [esp + 0x10]
jmp 0x5015df
sub ebx, esi
mov eax, dword [esp]
mov dword [eax + 4], ebx
mov byte [eax], 4
jmp 0x5015cf
Function at 0x5024db
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x74], 0
mov dword [esp + 0x1c], edx
mov dword [esp], ecx
mov dword [esp + 0x18], 0
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
je 0x502518
mov ecx, dword [esp + 0x78]
add ecx, 0x400
jae 0x502522
mov dword [esp + 4], 0
jmp 0x502535
mov dword [esp + 4], 0
jmp 0x502535
call fcn.00501154
cmp eax, 1
mov dword [esp + 0x38], edx
sete al
mov dword [esp + 4], eax
lea ebp, [esp + 8]
mov edx, esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], esi
mov ebx, edx
cmp ebx, edi
jne 0x50255d
mov esi, dword [esp + 0x70]
mov ecx, esi
push 0x20
pop edx
call fcn.0046417a
mov edi, dword [esi + 4]
mov ebx, dword [esi + 8]
mov eax, dword [esp + 0x70]
mov esi, edi
sub esi, ebx
mov eax, dword [eax]
add eax, ebx
cmp byte [esp + 4], 0
je 0x50258c
mov edx, dword [esp + 0x38]
cmp esi, edx
cmovb edx, esi
xor ecx, ecx
push 0x632f54
push esi
push eax
call fcn.00417cca
add esp, 0xc
mov esi, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], esi
and dword [esp + 0x28], 0
mov edx, dword [esp + 0x1c]
mov ecx, ebp
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.005026f2
pop eax
cmp byte [esp + 8], 4
je 0x5025e4
mov ecx, ebp
call fcn.00500c58
test al, al
je 0x5026ca
movsd xmm0, qword [esp + 8]
lea eax, [esp + 0x3c]
movsd qword [esp + 0x3c], xmm0
push eax
call fcn.004fdf2b
pop eax
jmp 0x502545
mov esi, dword [esp + 0x28]
test esi, esi
je 0x5026df
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ecx, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
push 0x63c6a4
push eax
push dword [esp + 0x1c]
call fcn.00417cca
add esp, 0xc
mov dword [esp + 0x18], edx
mov edx, esi
xor ecx, ecx
push 0x63c6b4
push dword [esp + 0x34]
push dword [esp + 0x1c]
call fcn.00417cca
add esp, 0xc
mov eax, dword [esp + 0x70]
add edx, ebx
cmp edx, edi
mov dword [eax + 8], edx
jne 0x502543
mov ebx, dword [esp + 0x34]
cmp edi, ebx
jne 0x502543
mov esi, dword [esp + 0x10]
xorps xmm0, xmm0
movups xmmword [esp + 0x4c], xmm0
movups xmmword [esp + 0x3c], xmm0
sub esp, 8
push dword [esp + 0x24]
push ebp
call fcn.00502791
add esp, 0x10
cmp byte [esp + 8], 4
je 0x50268e
mov ecx, ebp
call fcn.00500c58
test al, al
je 0x5026ca
mov ecx, ebp
call fcn.00522035
jmp 0x502663
mov edx, dword [esp + 0xc]
test edx, edx
je 0x5026e5
xor ecx, ecx
push 0x632f64
push 0x20
lea eax, [esp + 0x44]
push eax
call fcn.00417cca
add esp, 0xc
mov ebx, dword [esp + 0x70]
mov esi, edx
mov edx, eax
add esi, eax
mov ecx, ebx
push esi
call fcn.00464149
pop eax
mov edi, dword [ebx + 4]
mov edx, dword [ebx + 8]
jmp 0x502543
movsd xmm0, qword [esp + 8]
mov eax, dword [esp]
movsd qword [eax], xmm0
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
sub ebx, dword [esp + 0x10]
jmp 0x5026e7
sub ebx, esi
mov eax, dword [esp]
mov dword [eax + 4], ebx
mov byte [eax], 4
jmp 0x5026d7