joyce8/EMBER2024-capa huggingface dataset:
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.00583b00
jmp 0x4fbdbe
mov ecx, 0x64f0a0
call fcn.00583b00
jmp 0x4fbd22
mov ecx, 0x64f0a0
call fcn.00583b00
jmp 0x4fbd45
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
call fcn.00584200
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.00580af0
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.00583b00
jmp 0x4fbfc8
mov ecx, 0x64f0c0
call fcn.00583b00
jmp 0x4fbfef
mov ecx, 0x64f0c0
call fcn.00583b00
jmp 0x4fc03f
mov ecx, 8
mov edx, 0x20
call fcn.00580af0
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 0x62fc10
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 0x62fc20
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 0x632f14
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 0x63c664
push eax
push dword [esp + 0x1c]
call fcn.00417cca
add esp, 0xc
mov dword [esp + 0x18], edx
mov edx, esi
xor ecx, ecx
push 0x63c674
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 0x632f24
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 0x632f14
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 0x63c664
push eax
push dword [esp + 0x1c]
call fcn.00417cca
add esp, 0xc
mov dword [esp + 0x18], edx
mov edx, esi
xor ecx, ecx
push 0x63c674
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 0x632f24
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 0x632f14
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 0x63c664
push eax
push dword [esp + 0x1c]
call fcn.00417cca
add esp, 0xc
mov dword [esp + 0x18], edx
mov edx, esi
xor ecx, ecx
push 0x63c674
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 0x632f24
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
Function at 0x50292a
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 0x502967
mov ecx, dword [esp + 0x78]
add ecx, 0x400
jae 0x502971
mov dword [esp + 4], 0
jmp 0x502984
mov dword [esp + 4], 0
jmp 0x502984
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 0x5029ac
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 0x5029db
mov edx, dword [esp + 0x38]
cmp esi, edx
cmovb edx, esi
xor ecx, ecx
push 0x632f14
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.00502b45
pop eax
cmp byte [esp + 8], 4
je 0x502a33
mov ecx, ebp
call fcn.00500c58
test al, al
je 0x502b1d
movsd xmm0, qword [esp + 8]
lea eax, [esp + 0x3c]
movsd qword [esp + 0x3c], xmm0
push eax
call fcn.004fdf2b
pop eax
jmp 0x502994
mov esi, dword [esp + 0x28]
test esi, esi
je 0x502b32
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 0x63c664
push eax
push dword [esp + 0x1c]
call fcn.00417cca
add esp, 0xc
mov dword [esp + 0x18], edx
mov edx, esi
xor ecx, ecx
push 0x63c674
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 0x502992
mov ebx, dword [esp + 0x34]
cmp edi, ebx
jne 0x502992
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.00502be8
add esp, 0x10
cmp byte [esp + 8], 4
je 0x502ae1
mov ecx, ebp
call fcn.00500c58
test al, al
je 0x502b1d
mov ecx, ebp
call fcn.00522035
jmp 0x502ab2
mov edx, dword [esp + 0xc]
test edx, edx
je 0x502b38
xor ecx, ecx
push 0x632f24
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 0x502992
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 0x502b3a
sub ebx, esi
mov eax, dword [esp]
mov dword [eax + 4], ebx
mov byte [eax], 4
jmp 0x502b2a
Function at 0x5046ad
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 0x5046ea
mov ecx, dword [esp + 0x78]
add ecx, 0x400
jae 0x5046f4
mov dword [esp + 4], 0
jmp 0x504707
mov dword [esp + 4], 0
jmp 0x504707
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 0x50472f
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 0x50475e
mov edx, dword [esp + 0x38]
cmp esi, edx
cmovb edx, esi
xor ecx, ecx
push 0x632f14
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.005048c8
pop eax
cmp byte [esp + 8], 4
je 0x5047b6
mov ecx, ebp
call fcn.00500c58
test al, al
je 0x5048a0
movsd xmm0, qword [esp + 8]
lea eax, [esp + 0x3c]
movsd qword [esp + 0x3c], xmm0
push eax
call fcn.004fdf2b
pop eax
jmp 0x504717
mov esi, dword [esp + 0x28]
test esi, esi
je 0x5048b5
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 0x63c664
push eax
push dword [esp + 0x1c]
call fcn.00417cca
add esp, 0xc
mov dword [esp + 0x18], edx
mov edx, esi
xor ecx, ecx
push 0x63c674
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 0x504715
mov ebx, dword [esp + 0x34]
cmp edi, ebx
jne 0x504715
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.00502d07
add esp, 0x10
cmp byte [esp + 8], 4
je 0x504864
mov ecx, ebp
call fcn.00500c58
test al, al
je 0x5048a0
mov ecx, ebp
call fcn.00522035
jmp 0x504835
mov edx, dword [esp + 0xc]
test edx, edx
je 0x5048bb
xor ecx, ecx
push 0x632f24
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 0x504715
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 0x5048bd
sub ebx, esi
mov eax, dword [esp]
mov dword [eax + 4], ebx
mov byte [eax], 4
jmp 0x5048ad
Function at 0x50496b
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 0x5049a8
mov ecx, dword [esp + 0x78]
add ecx, 0x400
jae 0x5049b2
mov dword [esp + 4], 0
jmp 0x5049c5
mov dword [esp + 4], 0
jmp 0x5049c5
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 0x5049ed
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 0x504a1c
mov edx, dword [esp + 0x38]
cmp esi, edx
cmovb edx, esi
xor ecx, ecx
push 0x632f14
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.004ec210
add esp, 0x10
cmp byte [esp + 8], 4
je 0x504a78
mov ecx, ebp
call fcn.00500c58
test al, al
je 0x504b62
movsd xmm0, qword [esp + 8]
lea eax, [esp + 0x3c]
movsd qword [esp + 0x3c], xmm0
push eax
call fcn.004fdf2b
pop eax
jmp 0x5049d5
mov esi, dword [esp + 0x28]
test esi, esi
je 0x504b77
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 0x63c664
push eax
push dword [esp + 0x1c]
call fcn.00417cca
add esp, 0xc
mov dword [esp + 0x18], edx
mov edx, esi
xor ecx, ecx
push 0x63c674
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 0x5049d3
mov ebx, dword [esp + 0x34]
cmp edi, ebx
jne 0x5049d3
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.004ec910
add esp, 0x10
cmp byte [esp + 8], 4
je 0x504b26
mov ecx, ebp
call fcn.00500c58
test al, al
je 0x504b62
mov ecx, ebp
call fcn.00522035
jmp 0x504af7
mov edx, dword [esp + 0xc]
test edx, edx
je 0x504b7d
xor ecx, ecx
push 0x632f24
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 0x5049d3
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 0x504b7f
sub ebx, esi
mov eax, dword [esp]
mov dword [eax + 4], ebx
mov byte [eax], 4
jmp 0x504b6f