Function at 0x436f80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc4
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 0x98]
mov edx, dword [ecx]
push ebp
mov ebp, dword [ecx + 0x1c]
push esi
push edi
call dword [edx + 0x44]
mov edx, eax
xor eax, eax
mov ax, word [ebx + 0x38]
mov edi, ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x54], 0x44800000
lea ecx, [eax + eax*8]
shl ecx, 5
inc ecx
mov esi, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
xor eax, eax
mov ax, word [ebx + 0x38]
mov edi, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*8]
lea ecx, [eax + eax + 1]
mov esi, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x7c67e0]
xor ecx, ecx
xor esi, esi
xor edi, edi
cmp dword [eax + 0xac], ecx
je 0x437007
mov dword [esp + 0x54], 0x44000000
fld dword [esp + 0x54]
mov dword [esp + 0x1c], ecx
fmul dword [ebx + 0x14]
fstp dword [esp + 0x20]
fld dword [esp + 0x54]
mov eax, dword [esp + 0x20]
fmul dword [ebx + 0x18]
mov dword [esp + 0x70], eax
fstp dword [esp + 0x24]
fld dword [esp + 0x54]
mov eax, dword [esp + 0x24]
fmul dword [ebx + 0x1c]
mov dword [esp + 0x74], eax
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x78], eax
cmp byte [ebx], 0
mov eax, dword [ebx + 0x28]
jne 0x437209
cmp eax, ecx
jbe 0x4373b0
xor eax, eax
mov ecx, dword [ebx + 0x40]
lea ecx, [ecx + eax*4]
xor eax, eax
mov ax, word [ecx]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], esi
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0x34]
fld dword [eax + ecx*4]
lea eax, [eax + ecx*4]
fld dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x30]
fst dword [esp + 0x48]
mov dword [esp + 0x4c], eax
xor eax, eax
mov ax, word [ecx + 2]
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0x34]
fld dword [eax + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + 4]
fst dword [esp + 0x7c]
mov eax, dword [eax + 8]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ecx
mov eax, esi
and eax, 0xffff
lea ecx, [eax + eax*2]
fstp dword [ebp + ecx*4]
lea eax, [ebp + ecx*4]
mov ecx, dword [esp + 0x80]
fld st(1)
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
inc esi
mov eax, esi
and eax, 0xffff
lea eax, [eax + eax*2]
fstp dword [ebp + eax*4]
lea eax, [ebp + eax*4]
mov dword [eax + 8], ecx
fstp dword [eax + 4]
mov dword [esp + 0x14], esi
inc esi
fadd dword [esp + 0x20]
mov eax, esi
fld dword [esp + 0x48]
and eax, 0xffff
fadd dword [esp + 0x24]
lea eax, [eax + eax*2]
lea eax, [ebp + eax*4]
inc esi
fstp dword [esp + 0x5c]
fld dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
fadd dword [esp + 0x28]
mov dword [eax + 4], ecx
fstp dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
fstp dword [eax]
mov dword [eax + 8], ecx
fld dword [esp + 0x7c]
mov eax, esi
fadd dword [esp + 0x20]
and eax, 0xffff
fld dword [esp + 0x80]
lea eax, [eax + eax*2]
fadd dword [esp + 0x24]
fstp dword [esp + 0x3c]
fld dword [esp + 0x84]
fadd dword [esp + 0x28]
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
fstp dword [ebp + eax*4]
mov dword [ebp + eax*4 + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [ebp + eax*4 + 8], ecx
lea eax, [ebp + eax*4]
mov eax, dword [esp + 0x10]
add eax, 2
mov ecx, edi
and ecx, 0xffff
mov word [edx + ecx*2], ax
mov cx, word [esp + 0x14]
inc esi
inc edi
mov eax, edi
and eax, 0xffff
mov word [edx + eax*2], cx
mov eax, dword [esp + 0x10]
add eax, 3
inc edi
mov ecx, edi
and ecx, 0xffff
mov word [edx + ecx*2], ax
inc edi
mov ecx, edi
and ecx, 0xffff
mov word [edx + ecx*2], ax
mov cx, word [esp + 0x14]
inc edi
mov eax, edi
and eax, 0xffff
mov word [edx + eax*2], cx
mov cx, word [esp + 0x10]
inc edi
mov eax, edi
and eax, 0xffff
mov word [edx + eax*2], cx
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x28]
inc edi
inc eax
mov dword [esp + 0x1c], eax
and eax, 0xffff
cmp eax, ecx
jb 0x43705a
jmp 0x4373ae
cmp eax, ecx
jbe 0x4373b0
xor eax, eax
mov ecx, dword [ebx + 0x40]
lea ecx, [ecx + eax*4]
xor eax, eax
mov ax, word [ecx]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], esi
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0x34]
fld dword [eax + ecx*4]
lea eax, [eax + ecx*4]
fld dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x30]
fst dword [esp + 0x80]
mov dword [esp + 0x84], eax
xor eax, eax
mov ax, word [ecx + 2]
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0x34]
fld dword [eax + ecx*4]
lea eax, [eax + ecx*4]
fld dword [eax + 4]
mov eax, dword [eax + 8]
fst dword [esp + 0x48]
mov dword [esp + 0x4c], eax
mov eax, esi
fld st(3)
and eax, 0xffff
lea ecx, [eax + eax*2]
fstp dword [ebp + ecx*4]
lea eax, [ebp + ecx*4]
mov ecx, dword [esp + 0x84]
fxch st(2)
fstp dword [eax + 4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
inc esi
mov eax, esi
and eax, 0xffff
lea eax, [eax + eax*2]
fst dword [ebp + eax*4]
lea eax, [ebp + eax*4]
fxch st(1)
mov dword [eax + 8], ecx
fstp dword [eax + 4]
mov dword [esp + 0x14], esi
inc esi
fadd dword [esp + 0x20]
mov eax, esi
fld dword [esp + 0x48]
and eax, 0xffff
fadd dword [esp + 0x24]
lea eax, [eax + eax*2]
lea eax, [ebp + eax*4]
inc esi
fstp dword [esp + 0x3c]
fld dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
fadd dword [esp + 0x28]
mov dword [eax + 4], ecx
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
fstp dword [eax]
mov dword [eax + 8], ecx
mov eax, esi
fadd dword [esp + 0x20]
and eax, 0xffff
fld dword [esp + 0x80]
lea eax, [eax + eax*2]
fadd dword [esp + 0x24]
lea eax, [ebp + eax*4]
fstp dword [esp + 0x5c]
fld dword [esp + 0x84]
fadd dword [esp + 0x28]
fstp dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
fstp dword [eax]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x10]
add eax, 2
mov ecx, edi
and ecx, 0xffff
mov word [edx + ecx*2], ax
mov cx, word [esp + 0x14]
inc esi
inc edi
mov eax, edi
and eax, 0xffff
mov word [edx + eax*2], cx
mov eax, dword [esp + 0x10]
add eax, 3
inc edi
mov ecx, edi
and ecx, 0xffff
mov word [edx + ecx*2], ax
inc edi
mov ecx, edi
and ecx, 0xffff
mov word [edx + ecx*2], ax
mov cx, word [esp + 0x14]
inc edi
mov eax, edi
and eax, 0xffff
mov word [edx + eax*2], cx
mov cx, word [esp + 0x10]
inc edi
mov eax, edi
and eax, 0xffff
mov word [edx + eax*2], cx
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x28]
inc edi
inc eax
mov dword [esp + 0x1c], eax
and eax, 0xffff
cmp eax, ecx
jb 0x437213
xor ecx, ecx
mov dl, byte [ebx + 0x10]
xor eax, eax
test dl, dl
mov ax, word [ebx + 0x38]
mov dword [esp + 0x64], eax
jne 0x4378a8
cmp byte [ebx], 0
mov dword [esp + 0x1c], ecx
jne 0x43763d
cmp eax, ecx
jle 0x438023
mov edx, dword [ebx + 0x50]
cmp byte [ecx + edx], 0
je 0x437621
mov edx, dword [ebx + 0x3c]
xor eax, eax
lea ecx, [ecx + ecx*2]
mov ax, word [edx + ecx*2]
mov edx, dword [ebx + 0x34]
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], ecx
lea eax, [eax + eax*2]
lea edx, [edx + eax*4]
mov dword [esp + 0x18], edx
mov edx, dword [edx]
mov eax, esi
and eax, 0xffff
lea eax, [eax + eax*2]
mov dword [ebp + eax*4], edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 4]
mov dword [ebp + eax*4 + 4], edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 8]
mov dword [ebp + eax*4 + 8], edx
mov edx, dword [ebx + 0x3c]
lea eax, [ebp + eax*4]
xor eax, eax
mov ax, word [edx + ecx*2 + 2]
mov edx, dword [ebx + 0x34]
inc esi
mov dword [esp + 0x14], esi
lea eax, [eax + eax*2]
lea edx, [edx + eax*4]
mov dword [esp + 0x18], edx
mov edx, dword [edx]
mov eax, esi
and eax, 0xffff
lea eax, [eax + eax*2]
mov dword [ebp + eax*4], edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 4]
mov dword [ebp + eax*4 + 4], edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 8]
mov dword [ebp + eax*4 + 8], edx
mov edx, dword [ebx + 0x3c]
lea eax, [ebp + eax*4]
xor eax, eax
mov ax, word [edx + ecx*2 + 4]
mov ecx, dword [ebx + 0x34]
inc esi
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
mov eax, esi
and eax, 0xffff
lea edx, [eax + eax*2]
lea eax, [ebp + edx*4]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x34]
add edx, 2
mov ecx, edi
and ecx, 0xffff
mov word [eax + ecx*2], dx
mov cx, word [esp + 0x14]
inc esi
inc edi
mov edx, edi
and edx, 0xffff
mov word [eax + edx*2], cx
mov cx, word [esp + 0x10]
inc edi
mov edx, edi
and edx, 0xffff
mov word [eax + edx*2], cx
mov edx, dword [ebx + 0x3c]
inc edi
mov dword [esp + 0x10], esi
xor eax, eax
mov ecx, dword [esp + 0x2c]
fld dword [esp + 0x20]
mov ax, word [edx + ecx*2]
mov edx, dword [ebx + 0x34]
lea eax, [eax + eax*2]
fadd dword [edx + eax*4]
lea eax, [edx + eax*4]
fld dword [esp + 0x24]
fadd dword [eax + 4]
fstp dword [esp + 0x3c]
fld dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
fadd dword [eax + 8]
mov eax, esi
and eax, 0xffff
lea eax, [eax + eax*2]
mov dword [ebp + eax*4 + 4], edx
lea eax, [ebp + eax*4]
fstp dword [esp + 0x40]
mov edx, dword [esp + 0x40]
fstp dword [eax]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0x3c]
fld dword [esp + 0x20]
xor eax, eax
mov ax, word [edx + ecx*2 + 2]
mov edx, dword [ebx + 0x34]
inc esi
mov dword [esp + 0x14], esi
lea eax, [eax + eax*2]
fadd dword [edx + eax*4]
lea eax, [edx + eax*4]
fld dword [esp + 0x24]
fadd dword [eax + 4]
fstp dword [esp + 0x5c]
fld dword [esp + 0x28]
mov edx, dword [esp + 0x5c]
fadd dword [eax + 8]
mov eax, esi
and eax, 0xffff
lea eax, [eax + eax*2]
mov dword [ebp + eax*4 + 4], edx
lea eax, [ebp + eax*4]
fstp dword [esp + 0x60]
mov edx, dword [esp + 0x60]
fstp dword [eax]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0x3c]
fld dword [esp + 0x20]
xor eax, eax
mov ax, word [edx + ecx*2 + 4]
mov ecx, dword [ebx + 0x34]
inc esi
lea eax, [eax + eax*2]
fadd dword [ecx + eax*4]
lea eax, [ecx + eax*4]
fld dword [esp + 0x24]
fadd dword [eax + 4]
fstp dword [esp + 0x48]
fld dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
fadd dword [eax + 8]
mov eax, esi
and eax, 0xffff
lea edx, [eax + eax*2]
lea eax, [ebp + edx*4]
fstp dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
fstp dword [eax]
inc esi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [esp + 0x34]
mov dx, word [esp + 0x10]
mov ecx, edi
and ecx, 0xffff
mov word [eax + ecx*2], dx
mov dx, word [esp + 0x14]
inc edi
mov ecx, edi
and ecx, 0xffff
mov word [eax + ecx*2], dx
mov ecx, dword [esp + 0x10]
inc edi
mov edx, edi
add ecx, 2
and edx, 0xffff
mov word [eax + edx*2], cx
mov eax, dword [esp + 0x64]
inc edi
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
and ecx, 0xffff
cmp ecx, eax
jl 0x4373da
jmp 0x438023
cmp eax, ecx
jle 0x438023
mov edx, dword [ebx + 0x50]
cmp byte [ecx + edx], 0
je 0x43788c
mov edx, dword [ebx + 0x3c]
xor eax, eax
lea ecx, [ecx + ecx*2]
mov ax, word [edx + ecx*2]
mov edx, dword [ebx + 0x34]
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], ecx
lea eax, [eax + eax*2]
lea edx, [edx + eax*4]
mov dword [esp + 0x18], edx
mov edx, dword [edx]
mov eax, esi
and eax, 0xffff
lea eax, [eax + eax*2]
mov dword [ebp + eax*4], edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 4]
mov dword [ebp + eax*4 + 4], edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 8]
mov dword [ebp + eax*4 + 8], edx
mov edx, dword [ebx + 0x3c]
lea eax, [ebp + eax*4]
xor eax, eax
mov ax, word [edx + ecx*2 + 2]
mov edx, dword [ebx + 0x34]
inc esi
mov dword [esp + 0x14], esi
lea eax, [eax + eax*2]
lea edx, [edx + eax*4]
mov dword [esp + 0x18], edx
mov edx, dword [edx]
mov eax, esi
and eax, 0xffff
lea eax, [eax + eax*2]
mov dword [ebp + eax*4], edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 4]
mov dword [ebp + eax*4 + 4], edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 8]
mov dword [ebp + eax*4 + 8], edx
mov edx, dword [ebx + 0x3c]
lea eax, [ebp + eax*4]
xor eax, eax
mov ax, word [edx + ecx*2 + 4]
mov ecx, dword [ebx + 0x34]
inc esi
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
mov eax, esi
and eax, 0xffff
lea edx, [eax + eax*2]
lea eax, [ebp + edx*4]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov cx, word [esp + 0x10]
mov eax, dword [esp + 0x34]
mov edx, edi
and edx, 0xffff
mov word [eax + edx*2], cx
mov cx, word [esp + 0x14]
inc esi
inc edi
mov edx, edi
and edx, 0xffff
mov word [eax + edx*2], cx
mov edx, dword [esp + 0x10]
inc edi
add edx, 2
mov ecx, edi
and ecx, 0xffff
mov word [eax + ecx*2], dx
mov edx, dword [ebx + 0x3c]
inc edi
mov dword [esp + 0x10], esi
xor eax, eax
mov ecx, dword [esp + 0x2c]
fld dword [esp + 0x20]
mov ax, word [edx + ecx*2]
mov edx, dword [ebx + 0x34]
lea eax, [eax + eax*2]
fadd dword [edx + eax*4]
lea eax, [edx + eax*4]
fld dword [esp + 0x24]
fadd dword [eax + 4]
fstp dword [esp + 0x3c]
fld dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
fadd dword [eax + 8]
mov eax, esi
and eax, 0xffff
lea eax, [eax + eax*2]
mov dword [ebp + eax*4 + 4], edx
lea eax, [ebp + eax*4]
fstp dword [esp + 0x40]
mov edx, dword [esp + 0x40]
fstp dword [eax]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0x3c]
fld dword [esp + 0x20]
xor eax, eax
mov ax, word [edx + ecx*2 + 2]
mov edx, dword [ebx + 0x34]
inc esi
mov dword [esp + 0x14], esi
lea eax, [eax + eax*2]
fadd dword [edx + eax*4]
lea eax, [edx + eax*4]
fld dword [esp + 0x24]
fadd dword [eax + 4]
fstp dword [esp + 0x5c]
fld dword [esp + 0x28]
mov edx, dword [esp + 0x5c]
fadd dword [eax + 8]
mov eax, esi
and eax, 0xffff
lea eax, [eax + eax*2]
mov dword [ebp + eax*4 + 4], edx
lea eax, [ebp + eax*4]
fstp dword [esp + 0x60]
mov edx, dword [esp + 0x60]
fstp dword [eax]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0x3c]
fld dword [esp + 0x20]
xor eax, eax
mov ax, word [edx + ecx*2 + 4]
mov ecx, dword [ebx + 0x34]
inc esi
lea eax, [eax + eax*2]
fadd dword [ecx + eax*4]
lea eax, [ecx + eax*4]
fld dword [esp + 0x24]
fadd dword [eax + 4]
fstp dword [esp + 0x48]
fld dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
fadd dword [eax + 8]
mov eax, esi
and eax, 0xffff
lea edx, [eax + eax*2]
lea eax, [ebp + edx*4]
fstp dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
fstp dword [eax]
inc esi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [esp + 0x10]
mov edx, edi
and edx, 0xffff
lea ecx, [eax + 2]
mov eax, dword [esp + 0x34]
mov word [eax + edx*2], cx
mov dx, word [esp + 0x14]
inc edi
mov ecx, edi
and ecx, 0xffff
mov word [eax + ecx*2], dx
mov dx, word [esp + 0x10]
inc edi
mov ecx, edi
and ecx, 0xffff
mov word [eax + ecx*2], dx
mov eax, dword [esp + 0x64]
inc edi
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
and ecx, 0xffff
cmp ecx, eax
jl 0x437645
jmp 0x438023
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x98]
cmp eax, ecx
mov dword [esp + 0x18], eax
je 0x4378f6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test eax, eax
je 0x4378d2
cmp eax, 0x7de588
je 0x4378e4
mov eax, dword [eax + 4]
test eax, eax
jne 0x4378c4
mov eax, dword [esp + 0x18]
xor cl, cl
neg cl
sbb ecx, ecx
and ecx, eax
mov dword [esp + 0x64], ecx
jmp 0x4378fc
mov eax, dword [esp + 0x18]
mov cl, 1
neg cl
sbb ecx, ecx
and ecx, eax
mov dword [esp + 0x64], ecx
jmp 0x4378fc
mov dword [esp + 0x64], ecx
jmp 0x437903
test ecx, ecx
je 0x437903
inc dword [ecx + 4]
mov edx, dword [ecx + 0x3c]
xor eax, eax
cmp byte [ebx], al
mov dword [esp + 0x68], eax
jne 0x437c99
cmp word [ecx + 0x38], ax
mov dword [esp + 0x2c], eax
jbe 0x438014
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov cx, word [edx]
mov dword [esp + 0x1c], 0
sub ecx, 2
test ecx, ecx
jle 0x437c66
xor edx, edx
mov dword [esp + 0x6c], edx
mov ecx, edx
add ecx, dword [ebx + 0x50]
cmp byte [ecx + eax], 0
je 0x437c39
mov ecx, dword [ebx + 0x3c]
add edx, eax
xor eax, eax
mov ax, word [ecx + edx*2]
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x10], esi
mov dword [esp + 0x88], edx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov dword [esp + 0x50], eax
mov eax, esi
and eax, 0xffff
inc esi
mov dword [esp + 0x14], esi
lea ecx, [eax + eax*2]
mov eax, esi
mov esi, dword [esp + 0x50]
mov esi, dword [esi]
mov dword [ebp + ecx*4], esi
mov esi, dword [esp + 0x50]
mov esi, dword [esi + 4]
mov dword [ebp + ecx*4 + 4], esi
mov esi, dword [esp + 0x50]
mov esi, dword [esi + 8]
mov dword [ebp + ecx*4 + 8], esi
mov esi, dword [ebx + 0x3c]
lea ecx, [ebp + ecx*4]
xor ecx, ecx
mov cx, word [esi + edx*2 + 2]
mov esi, dword [ebx + 0x34]
lea ecx, [ecx + ecx*2]
lea esi, [esi + ecx*4]
mov dword [esp + 0x18], esi
mov esi, dword [esi]
mov ecx, eax
and ecx, 0xffff
lea ecx, [ecx + ecx*2]
mov dword [ebp + ecx*4], esi
mov esi, dword [esp + 0x18]
mov esi, dword [esi + 4]
lea ecx, [ebp + ecx*4]
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x18]
mov esi, dword [esi + 8]
mov dword [ecx + 8], esi
mov esi, dword [ebx + 0x3c]
xor ecx, ecx
mov cx, word [esi + edx*2 + 4]
inc eax
lea edx, [ecx + ecx*2]
mov ecx, dword [ebx + 0x34]
mov esi, dword [ecx + edx*4]
lea edx, [ecx + edx*4]
mov ecx, eax
and ecx, 0xffff
lea ecx, [ecx + ecx*2]
lea ecx, [ebp + ecx*4]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x6c]
inc eax
and ecx, reloc.DSOUND.dll_DirectSoundCreate
jns 0x437a35
dec ecx
or ecx, 0xfffffffe
inc ecx
mov dword [esp + 0x50], ecx
jne 0x437a78
mov ecx, dword [esp + 0x10]
mov esi, edi
and esi, 0xffff
lea edx, [ecx + 2]
mov ecx, dword [esp + 0x34]
mov word [ecx + esi*2], dx
mov si, word [esp + 0x14]
inc edi
mov edx, edi
and edx, 0xffff
mov word [ecx + edx*2], si
mov si, word [esp + 0x10]
inc edi
mov edx, edi
and edx, 0xffff
mov word [ecx + edx*2], si
jmp 0x437ab3
mov ecx, dword [esp + 0x34]
mov si, word [esp + 0x10]
mov edx, edi
and edx, 0xffff
mov word [ecx + edx*2], si
mov si, word [esp + 0x14]
inc edi
mov edx, edi
and edx, 0xffff
mov word [ecx + edx*2], si
mov edx, dword [esp + 0x10]
inc edi
add edx, 2
mov esi, edi
and esi, 0xffff
mov word [ecx + esi*2], dx
mov esi, dword [ebx + 0x3c]
fld dword [esp + 0x20]
mov edx, dword [esp + 0x88]
xor ecx, ecx
mov cx, word [esi + edx*2]
mov esi, dword [ebx + 0x34]
mov dword [esp + 0x10], eax
inc edi
lea ecx, [ecx + ecx*2]
fadd dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
fld dword [esp + 0x24]
fadd dword [ecx + 4]
fstp dword [esp + 0x3c]
fld dword [esp + 0x28]
fadd dword [ecx + 8]
mov ecx, eax
and ecx, 0xffff
inc eax
mov esi, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
lea ecx, [ecx + ecx*2]
mov dword [ebp + ecx*4 + 4], eax
lea ecx, [ebp + ecx*4]
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
fstp dword [ecx]
mov dword [ecx + 8], eax
mov ecx, dword [ebx + 0x3c]
fld dword [esp + 0x20]
xor eax, eax
mov ax, word [ecx + edx*2 + 2]
mov ecx, dword [ebx + 0x34]
lea eax, [eax + eax*2]
fadd dword [ecx + eax*4]
lea eax, [ecx + eax*4]
fld dword [esp + 0x24]
fadd dword [eax + 4]
fstp dword [esp + 0x5c]
fld dword [esp + 0x28]
mov ecx, dword [esp + 0x5c]
fadd dword [eax + 8]
mov eax, esi
and eax, 0xffff
lea eax, [eax + eax*2]
mov dword [ebp + eax*4 + 4], ecx
lea eax, [ebp + eax*4]
fstp dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
fstp dword [eax]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x3c]
fld dword [esp + 0x20]
xor eax, eax
mov ax, word [ecx + edx*2 + 4]
inc esi
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0x34]
fadd dword [eax + edx*4]
lea eax, [eax + edx*4]
fld dword [esp + 0x24]
fadd dword [eax + 4]
fstp dword [esp + 0x48]
fld dword [esp + 0x28]
fadd dword [eax + 8]
mov eax, esi
and eax, 0xffff
lea ecx, [eax + eax*2]
fstp dword [esp + 0x4c]
lea eax, [ebp + ecx*4]
inc esi
mov edx, dword [esp + 0x48]
fstp dword [eax]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x437bf9
mov cx, word [esp + 0x10]
mov eax, dword [esp + 0x34]
mov edx, edi
and edx, 0xffff
mov word [eax + edx*2], cx
mov cx, word [esp + 0x14]
inc edi
mov edx, edi
and edx, 0xffff
mov word [eax + edx*2], cx
mov edx, dword [esp + 0x10]
inc edi
add edx, 2
mov ecx, edi
and ecx, 0xffff
mov word [eax + ecx*2], dx
jmp 0x437c34
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
add edx, 2
mov ecx, edi
and ecx, 0xffff
mov word [eax + ecx*2], dx
mov cx, word [esp + 0x14]
inc edi
mov edx, edi
and edx, 0xffff
mov word [eax + edx*2], cx
mov cx, word [esp + 0x10]
inc edi
mov edx, edi
and edx, 0xffff
mov word [eax + edx*2], cx
mov eax, dword [esp + 0x68]
inc edi
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
and ecx, 0xffff
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x30]
xor edx, edx
mov dx, word [ecx]
mov ecx, edx
mov edx, dword [esp + 0x6c]
sub ecx, 2
cmp edx, ecx
jl 0x437948
mov ecx, dword [esp + 0x30]
xor edx, edx
mov dx, word [ecx]
add ecx, 2
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x64]
add eax, edx
inc dword [esp + 0x2c]
xor edx, edx
mov dx, word [ecx + 0x38]
mov dword [esp + 0x68], eax
cmp dword [esp + 0x2c], edx
jl 0x437926
jmp 0x438014
cmp word [ecx + 0x38], 0
mov dword [esp + 0x18], 0
jbe 0x438014
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x30]
xor edx, edx
mov dx, word [ecx]
mov dword [esp + 0x1c], 0
sub edx, 2
test edx, edx
jle 0x437fea
xor edx, edx
mov dword [esp + 0x6c], edx
mov ecx, edx
add ecx, dword [ebx + 0x50]
cmp byte [ecx + eax], 0
je 0x437fbf
mov ecx, dword [ebx + 0x3c]
add edx, eax
xor eax, eax
mov ax, word [ecx + edx*2]
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x10], esi
mov dword [esp + 0x88], edx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov dword [esp + 0x2c], eax
mov eax, esi
and eax, 0xffff
inc esi
mov dword [esp + 0x14], esi
lea ecx, [eax + eax*2]
mov eax, esi
mov esi, dword [esp + 0x2c]
mov esi, dword [esi]
mov dword [ebp + ecx*4], esi
mov esi, dword [esp + 0x2c]
mov esi, dword [esi + 4]
mov dword [ebp + ecx*4 + 4], esi
mov esi, dword [esp + 0x2c]
mov esi, dword [esi + 8]
mov dword [ebp + ecx*4 + 8], esi
mov esi, dword [ebx + 0x3c]
lea ecx, [ebp + ecx*4]
xor ecx, ecx
mov cx, word [esi + edx*2 + 2]
mov esi, dword [ebx + 0x34]
lea ecx, [ecx + ecx*2]
lea esi, [esi + ecx*4]
mov dword [esp + 0x2c], esi
mov esi, dword [esi]
mov ecx, eax
and ecx, 0xffff
lea ecx, [ecx + ecx*2]
mov dword [ebp + ecx*4], esi
mov esi, dword [esp + 0x2c]
mov esi, dword [esi + 4]
lea ecx, [ebp + ecx*4]
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x2c]
mov esi, dword [esi + 8]
mov dword [ecx + 8], esi
mov esi, dword [ebx + 0x3c]
xor ecx, ecx
mov cx, word [esi + edx*2 + 4]
inc eax
lea edx, [ecx + ecx*2]
mov ecx, dword [ebx + 0x34]
mov esi, dword [ecx + edx*4]
lea edx, [ecx + edx*4]
mov ecx, eax
and ecx, 0xffff
lea ecx, [ecx + ecx*2]
lea ecx, [ebp + ecx*4]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x6c]
inc eax
and ecx, reloc.DSOUND.dll_DirectSoundCreate
jns 0x437dbf
dec ecx
or ecx, 0xfffffffe
inc ecx
mov dword [esp + 0x50], ecx
jne 0x437e02
mov ecx, dword [esp + 0x34]
mov si, word [esp + 0x10]
mov edx, edi
and edx, 0xffff
mov word [ecx + edx*2], si
mov si, word [esp + 0x14]
inc edi
mov edx, edi
and edx, 0xffff
mov word [ecx + edx*2], si
mov edx, dword [esp + 0x10]
inc edi
add edx, 2
mov esi, edi
and esi, 0xffff
mov word [ecx + esi*2], dx
jmp 0x437e3d
mov ecx, dword [esp + 0x10]
mov esi, edi
and esi, 0xffff
lea edx, [ecx + 2]
mov ecx, dword [esp + 0x34]
mov word [ecx + esi*2], dx
mov si, word [esp + 0x14]
inc edi
mov edx, edi
and edx, 0xffff
mov word [ecx + edx*2], si
mov si, word [esp + 0x10]
inc edi
mov edx, edi
and edx, 0xffff
mov word [ecx + edx*2], si
mov esi, dword [ebx + 0x3c]
fld dword [esp + 0x20]
mov edx, dword [esp + 0x88]
xor ecx, ecx
mov cx, word [esi + edx*2]
mov esi, dword [ebx + 0x34]
mov dword [esp + 0x10], eax
inc edi
lea ecx, [ecx + ecx*2]
fadd dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
fld dword [esp + 0x24]
fadd dword [ecx + 4]
fstp dword [esp + 0x3c]
fld dword [esp + 0x28]
fadd dword [ecx + 8]
mov ecx, eax
and ecx, 0xffff
inc eax
mov esi, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
lea ecx, [ecx + ecx*2]
mov dword [ebp + ecx*4 + 4], eax
lea ecx, [ebp + ecx*4]
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
fstp dword [ecx]
mov dword [ecx + 8], eax
mov ecx, dword [ebx + 0x3c]
fld dword [esp + 0x20]
xor eax, eax
mov ax, word [ecx + edx*2 + 2]
mov ecx, dword [ebx + 0x34]
lea eax, [eax + eax*2]
fadd dword [ecx + eax*4]
lea eax, [ecx + eax*4]
fld dword [esp + 0x24]
fadd dword [eax + 4]
fstp dword [esp + 0x5c]
fld dword [esp + 0x28]
mov ecx, dword [esp + 0x5c]
fadd dword [eax + 8]
mov eax, esi
and eax, 0xffff
lea eax, [eax + eax*2]
mov dword [ebp + eax*4 + 4], ecx
lea eax, [ebp + eax*4]
fstp dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
fstp dword [eax]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x3c]
fld dword [esp + 0x20]
xor eax, eax
mov ax, word [ecx + edx*2 + 4]
inc esi
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0x34]
fadd dword [eax + edx*4]
lea eax, [eax + edx*4]
fld dword [esp + 0x24]
fadd dword [eax + 4]
fstp dword [esp + 0x48]
fld dword [esp + 0x28]
fadd dword [eax + 8]
mov eax, esi
and eax, 0xffff
lea ecx, [eax + eax*2]
fstp dword [esp + 0x4c]
lea eax, [ebp + ecx*4]
inc esi
mov edx, dword [esp + 0x48]
fstp dword [eax]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x437f83
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
add edx, 2
mov ecx, edi
and ecx, 0xffff
mov word [eax + ecx*2], dx
mov cx, word [esp + 0x14]
inc edi
mov edx, edi
and edx, 0xffff
mov word [eax + edx*2], cx
mov cx, word [esp + 0x10]
inc edi
mov edx, edi
and edx, 0xffff
mov word [eax + edx*2], cx
jmp 0x437fbe
mov cx, word [esp + 0x10]
mov eax, dword [esp + 0x34]
mov edx, edi
and edx, 0xffff
mov word [eax + edx*2], cx
mov cx, word [esp + 0x14]
inc edi
mov edx, edi
and edx, 0xffff
mov word [eax + edx*2], cx
mov edx, dword [esp + 0x10]
inc edi
add edx, 2
mov ecx, edi
and ecx, 0xffff
mov word [eax + ecx*2], dx
inc edi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
xor eax, eax
mov ax, word [ecx]
inc edx
mov dword [esp + 0x1c], edx
and edx, 0xffff
mov dword [esp + 0x6c], edx
sub eax, 2
cmp edx, eax
mov eax, dword [esp + 0x68]
jl 0x437cd2
xor edx, edx
mov dx, word [ecx]
add ecx, 2
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x64]
add eax, edx
inc dword [esp + 0x18]
xor edx, edx
mov dx, word [ecx + 0x38]
mov dword [esp + 0x68], eax
cmp dword [esp + 0x18], edx
jl 0x437cb0
test ecx, ecx
je 0x438023
dec dword [ecx + 4]
jne 0x438023
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebx + 0x2c]
mov ecx, dword [ecx + 0x98]
mov edx, dword [ecx]
push esi
call dword [edx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 0x98]
mov esi, dword [ecx]
and edi, 0xffff
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
call dword [esi + 0x38]
push 0x7de664
lea ecx, [esp + 0x90]
call fcn.006e7cd0
mov ecx, dword [ebx + 0xc]
push ecx
call fcn.004c3c40
mov edx, dword [ebx + 8]
mov ecx, dword [edx + 0x9c]
add esp, 4
test ecx, ecx
je 0x43816c
test eax, eax
je 0x43816c
push 0
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0xb8]
push edx
mov ecx, eax
call fcn.004e86b0
push eax
lea ecx, [esp + 0x90]
call fcn.006e7cd0
lea eax, [ebx + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x98]
call fcn.006e83e0
mov ecx, eax
call fcn.006e8230
fld dword [eax]
fld dword [eax + 4]
mov edx, dword [eax + 8]
fst dword [esp + 0x74]
mov dword [esp + 0x78], edx
fld dword [esp + 0x78]
fld st(2)
fmul st(3)
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcom dword [0x746744]
fnstsw ax
test ah, 0x41
jne 0x438138
fld dword [0x746470]
fdiv st(1)
fstp dword [esp + 0x18]
fstp st(0)
fmul dword [esp + 0x18]
fld dword [esp + 0x74]
fmul dword [esp + 0x18]
fstp dword [esp + 0x74]
fld dword [esp + 0x78]
fmul dword [esp + 0x18]
fstp dword [esp + 0x78]
jmp 0x438152
fstp st(0)
mov dword [esp + 0x74], 0
fstp st(0)
mov dword [esp + 0x78], 0
fld dword [0x746468]
fmul dword [esp + 0x54]
fld dword [esp + 0x74]
fmul dword [esp + 0x54]
fld dword [esp + 0x78]
fmul dword [esp + 0x54]
fstp dword [esp + 0x78]
jmp 0x438174
fld dword [esp + 0x70]
fld dword [esp + 0x74]
mov eax, dword [ebx + 0x2c]
fld st(1)
fmul dword [0x746498]
mov eax, dword [eax + 0x98]
fld st(1)
add eax, 0xc
fmul dword [0x746498]
pop edi
pop esi
pop ebp
fstp dword [esp + 0x30]
fld dword [esp + 0x6c]
mov ecx, dword [esp + 0x30]
fmul dword [0x746498]
mov dword [eax + 4], ecx
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
fstp dword [eax]
mov dword [eax + 8], edx
fld dword [esp + 0x6c]
fld st(2)
fmulp st(3)
fld st(0)
fmul st(1)
faddp st(3)
fld st(1)
fmul st(2)
faddp st(3)
fxch st(2)
fsqrt
fxch st(2)
fstp st(0)
fstp st(0)
fmul dword [0x746498]
fstp dword [eax + 0xc]
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x98]
inc word [eax + 0x30]
cmp word [eax + 0x30], 0
pop ebx
jne 0x4381f7
mov word [eax + 0x30], 1
add esp, 0xc4
ret 4