Function at 0x51d090
Capabilities:
Hash data using djb2
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x6e2bfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
mov eax, dword [0x75909c]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x51d7eb
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x30], xmm0
mov dword [esp + 0x48], ebx
lea esi, [edi + 0x70]
jmp 0x51d100
xorps xmm0, xmm0
lea esp, [esp]
movss xmm1, dword [edi + 0x14]
movss xmm2, dword [edi + 0x1c]
mulss xmm2, dword [0x738a1c]
mov eax, esi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push ebx
mov dword [edi + 0x150], ebx
movss xmm4, dword [esi]
movss xmm5, dword [esi + 8]
mov dword [esp + 0x88], edx
movss xmm3, dword [esp + 0x88]
addss xmm3, xmm2
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x54], xmm0
subss xmm0, xmm1
movss dword [esp + 0x6c], xmm2
push ebx
movaps xmm2, xmm0
addss xmm0, xmm4
movss xmm4, dword [esi + 4]
movss dword [esp + 0x8c], xmm3
movss xmm3, dword [edi + 0x1c]
push ebx
addss xmm2, xmm5
movss xmm5, dword [esi]
movaps xmm6, xmm4
addss xmm3, xmm6
movss xmm6, dword [esi + 8]
push 0x400000
mov dword [esp + 0x90], ecx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
addss xmm5, xmm1
addss xmm6, xmm1
movss dword [esp + 0x7c], xmm1
movss xmm1, dword [0x7389bc]
push 0xffffffffffffffff
subss xmm0, xmm1
subss xmm4, xmm1
subss xmm2, xmm1
addss xmm5, xmm1
addss xmm3, xmm1
addss xmm6, xmm1
push 0x91afe0
lea eax, [esp + 0xd8]
mov dword [esp + 0x34], ebx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
movss dword [esp + 0xd8], xmm0
movss dword [esp + 0xdc], xmm4
movss dword [esp + 0xe0], xmm2
movss dword [esp + 0xe8], xmm5
movss dword [esp + 0xec], xmm3
movss dword [esp + 0xf0], xmm6
call fcn.00515820
mov ecx, dword [0x91bfe0]
cmp ecx, ebx
je 0x51d65e
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x98], eax
jle 0x51d65e
jmp 0x51d250
xor ebx, ebx
jmp 0x51d250
mov ecx, dword [eax*4 + 0x91afe0]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x4c], ecx
or ebx, 0xffffffff
jmp 0x51d270
mov ecx, dword [esp + 0x4c]
mov edi, dword [ebp + 8]
jmp 0x51d270
movzx edx, byte [ecx + 0x36]
inc ebx
cmp ebx, edx
jge 0x51d2ff
mov esi, dword [ecx + 0x50]
lea eax, [ebx + ebx*2]
shl eax, 4
add eax, esi
jmp 0x51d290
movss xmm0, dword [eax]
comiss xmm0, dword [esp + 0xd0]
ja 0x51d2f5
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [esp + 0xc0]
comiss xmm1, xmm0
ja 0x51d2f5
movss xmm0, dword [eax + 8]
comiss xmm0, dword [esp + 0xd8]
ja 0x51d2f5
movss xmm0, dword [eax + 0x18]
movss xmm1, dword [esp + 0xc8]
comiss xmm1, xmm0
ja 0x51d2f5
movss xmm0, dword [eax + 4]
comiss xmm0, dword [esp + 0xd4]
ja 0x51d2f5
movss xmm0, dword [eax + 0x14]
movss xmm1, dword [esp + 0xc4]
comiss xmm1, xmm0
jbe 0x51d2fd
inc ebx
add eax, 0x30
cmp ebx, edx
jl 0x51d290
cmp ebx, edx
je 0x51d51e
mov edx, dword [ecx + 0x4c]
mov ecx, dword [ecx + 0x44]
lea eax, [ebx + ebx*4]
movzx esi, byte [eax + edx]
movzx edi, byte [eax + edx + 2]
add eax, edx
movzx edx, byte [eax + 1]
movzx eax, byte [eax + 3]
shl eax, 4
add eax, ecx
mov dword [esp + 0xec], eax
shl edx, 4
add edx, ecx
shl esi, 4
add esi, ecx
shl edi, 4
add edi, ecx
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0xa0]
push eax
mov eax, dword [esp + 0x70]
push ecx
push eax
push edx
push esi
lea eax, [esp + 0x94]
mov ecx, edi
call fcn.0051c790
add esp, 0x14
test eax, eax
je 0x51d41c
mov eax, dword [esp + 0x1c]
movss xmm2, dword [esp + 0xa0]
inc eax
comiss xmm2, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
ja 0x51d388
movss dword [esp + 0x20], xmm2
movss xmm1, dword [esp + 0xa4]
comiss xmm1, dword [esp + 0x24]
ja 0x51d39e
movss dword [esp + 0x24], xmm1
movss xmm0, dword [esp + 0xa8]
comiss xmm0, dword [esp + 0x28]
ja 0x51d3b4
movss dword [esp + 0x28], xmm0
movss xmm3, dword [esp + 0x30]
comiss xmm3, xmm2
ja 0x51d3c2
movaps xmm3, xmm2
movss dword [esp + 0x30], xmm3
movss xmm3, dword [esp + 0x34]
comiss xmm3, xmm1
ja 0x51d3d6
movaps xmm3, xmm1
movss dword [esp + 0x34], xmm3
movss xmm3, dword [esp + 0x38]
comiss xmm3, xmm0
ja 0x51d3ea
movaps xmm3, xmm0
addss xmm2, dword [esp + 0x50]
addss xmm1, dword [esp + 0x54]
addss xmm0, dword [esp + 0x58]
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x50], xmm2
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x58], xmm0
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 0x50]
lea ecx, [ebx + ebx*2]
shl ecx, 4
test byte [eax + ecx + 0x20], 0x40
je 0x51d264
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xf0]
push edx
push eax
push edi
push esi
lea eax, [esp + 0x94]
call fcn.0051c790
add esp, 0x14
test eax, eax
je 0x51d264
mov eax, dword [esp + 0x1c]
movss xmm2, dword [esp + 0xa0]
inc eax
comiss xmm2, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
ja 0x51d485
movss dword [esp + 0x20], xmm2
movss xmm1, dword [esp + 0xa4]
comiss xmm1, dword [esp + 0x24]
ja 0x51d49b
movss dword [esp + 0x24], xmm1
movss xmm0, dword [esp + 0xa8]
comiss xmm0, dword [esp + 0x28]
ja 0x51d4b1
movss dword [esp + 0x28], xmm0
movss xmm3, dword [esp + 0x30]
comiss xmm3, xmm2
ja 0x51d4bf
movaps xmm3, xmm2
movss dword [esp + 0x30], xmm3
movss xmm3, dword [esp + 0x34]
comiss xmm3, xmm1
ja 0x51d4d3
movaps xmm3, xmm1
movss dword [esp + 0x34], xmm3
movss xmm3, dword [esp + 0x38]
comiss xmm3, xmm0
ja 0x51d4e7
movaps xmm3, xmm0
addss xmm2, dword [esp + 0x50]
addss xmm1, dword [esp + 0x54]
addss xmm0, dword [esp + 0x58]
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x50], xmm2
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x58], xmm0
mov dword [esp + 0x18], 1
jmp 0x51d264
mov eax, dword [esp + 0x18]
test eax, eax
je 0x51d584
mov eax, dword [edi + 0x150]
xor esi, esi
test eax, eax
mov dword [esp + 0x18], eax
jle 0x51d561
lea eax, [edi + 0x110]
lea esp, [esp]
mov edx, dword [eax]
cmp edx, dword [ecx + 0x20]
jne 0x51d54f
mov edx, dword [ecx + 0x24]
cmp dword [eax + 4], edx
je 0x51d55d
mov edx, dword [edi + 0x150]
inc esi
add eax, 8
cmp esi, edx
jl 0x51d540
mov eax, dword [esp + 0x18]
cmp esi, eax
jne 0x51d584
cmp eax, 8
jge 0x51d584
mov edx, dword [ecx + 0x20]
mov dword [edi + eax*8 + 0x110], edx
mov ecx, dword [ecx + 0x24]
mov dword [edi + eax*8 + 0x114], ecx
inc dword [edi + 0x150]
mov eax, dword [esp + 0x98]
mov ecx, dword [0x91bfe0]
inc eax
cmp eax, ecx
mov dword [esp + 0x98], eax
jl 0x51d245
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x51d65c
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x24]
mov edx, dword [esp + 0xb0]
push 0
movss dword [esp + 0xb8], xmm0
mov eax, dword [esp + 0xb8]
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x2c]
push 0
push 0x3f800000
mov dword [esp + 0x80], eax
lea eax, [esp + 0x7c]
push eax
lea esi, [edi + 0x70]
movss dword [esp + 0xc8], xmm0
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0xcc]
push esi
push edi
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
call fcn.0051a940
mov eax, dword [esp + 0x48]
inc eax
xor ebx, ebx
cmp eax, 8
mov dword [edi + 0x150], 0
mov dword [esp + 0x48], eax
jl 0x51d0f6
jmp 0x51d65e
xor ebx, ebx
cmp dword [esp + 0x48], 8
jne 0x51d7eb
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov dword [esp + 0x9c], ecx
xor ecx, ecx
cmp eax, 0xffffffff
jne 0x51d699
cmp ecx, ebx
jne 0x51d699
mov edx, dword [edi + 0xc]
mov ecx, dword [0x916514]
push edx
push eax
call fcn.00467180
mov esi, dword [0x916514]
jmp 0x51d6ca
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
mov eax, 0x8d68e0
call fcn.0043b2d0
cmp eax, 0xffffffff
je 0x51d7eb
mov ecx, dword [0x8d68e8]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*8 + 8]
shl eax, 5
mov esi, dword [eax + 0x8d725c]
cmp esi, ebx
je 0x51d7eb
lea ecx, [esp + 0xf0]
call fcn.00527d10
mov dword [esp + 0x26c], ebx
mov eax, dword [esi + 0x70]
test ah, 6
je 0x51d6f4
mov ecx, esi
call fcn.005042d0
movss xmm2, dword [0x738a1c]
movss xmm0, dword [esi + 0x50]
addss xmm0, dword [esi + 0x60]
movss xmm1, dword [esi + 0x64]
addss xmm1, dword [esi + 0x54]
mulss xmm0, xmm2
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esi + 0x68]
addss xmm0, dword [esi + 0x58]
mulss xmm1, xmm2
mulss xmm0, xmm2
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x78], xmm0
xor edi, edi
mov edx, str.GENERIC_LETHAL
mov ecx, 0x1505
mov eax, 0x47
lea esp, [esp]
inc edx
cmp eax, 0x61
jl 0x51d75e
cmp eax, 0x7a
jg 0x51d75e
sub eax, 0x20
imul ecx, ecx, 0x21
xor ecx, eax
movsx eax, byte [edx]
test eax, eax
jne 0x51d750
push ebx
and ecx, 0xfffffff
push edi
or ecx, 0x40000000
push ecx
lea edx, [esp + 0xfc]
push edx
lea eax, [esp + 0x80]
call fcn.00527ee0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, eax
or eax, ecx
mov dword [esp + 0x150], edx
mov edx, ecx
mov dword [esp + 0x154], edx
je 0x51d7b0
mov eax, 1
jmp 0x51d7b2
xor eax, eax
mov ecx, dword [esp + 0x25c]
shl eax, 4
xor eax, ecx
and eax, 0x10
xor ecx, eax
mov dword [esp + 0x25c], ecx
push esi
lea ecx, [esp + 0xf4]
call fcn.00528a80
and dword [esp + 0x25c], 0xfffffffc
lea eax, [esp + 0xf0]
call fcn.00527df0
mov ecx, dword [esp + 0x264]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4